Remove __libc_waitpid function name.
[glibc.git] / ChangeLog
bloba8d9c4996df5897031c9e269f98040d8befdde53
1 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6         libc_hidden_weak.
7         (waitpid): Define as alias of __waitpid.
8         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9         __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/sysv/linux/i386/syscalls.list (waitpid): Remove
14         __libc_waitpid alias.
15         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
16         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
17         Likewise.
18         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21         alias.
22         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23         __waitpid.
24         (__waitpid): Don't define as alias.  Use libc_hidden_def not
25         libc_hidden_weak.
26         (waitpid): Define as alias of __waitpid.
28 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
30         * manual/llio.texi: Add comment that write safety has been
31         fixed in Linux.
33         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34         (localplt-build-dso): Add elf/ld.so.
35         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37         and free for ld.so.
38         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
39         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
40         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41         Likewise.
42         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43         Likewise.
44         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
45         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
46         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
47         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
48         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
49         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
50         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
51         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
52         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
53         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
54         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
56 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
58         [BZ #14132]
59         * include/libc-symbols.h (INTUSE): Remove macro.
60         (INTDEF): Likewise.
61         (INTVARDEF): Likewise.
62         (_INTVARDEF): Likewise.
63         (INTDEF2): Likewise.
64         (INTVARDEF2): Likewise.
65         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
66         rtld_hidden_def instead of INTVARDEF.
67         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
68         (_dl_starting_up_internal): Remove declaration.
69         (_dl_starting_up): Use rtld_hidden_proto.
70         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
71         declaration.
72         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
73         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
74         _dl_starting_up.
75         * elf/dl-writev.h (_dl_writev): Likewise.
76         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
77         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
78         _dl_starting_up_internal.
80 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
83         test-skeleton.c.
85 2014-11-05  Will Newton  <will.newton@linaro.org>
87         * benchtests/Makefile: (bench-malloc): Add malloc thread
88         scalability benchmark.
89         * benchtests/bench-malloc-threads.c: New file.
91 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
93         * sysdeps/aarch64/strchrnul.S: New file.
95 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
97         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
98         definition.
99         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
100         Likwise.
101         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
102         Likewise.
103         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
104         Likewise.
105         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
106         Likewise.
107         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
108         Likewise.
110 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
112         * catgets/test-gencat.c: Use test-skeleton.c.
113         * catgets/tst-catgets.c: Likewise.
114         * csu/tst-empty.c: Likewise.
115         * elf/tst-audit2.c: Likewise.
116         * elf/tst-global1.c: Likewise.
117         * elf/tst-pathopt.c: Likewise.
118         * elf/tst-piemod1.c: Likewise.
119         * elf/tst-tls10.c: Likewise.
120         * elf/tst-tls11.c: Likewise.
121         * elf/tst-tls12.c: Likewise.
122         * gnulib/tst-gcc.c: Likewise.
123         * iconvdata/tst-e2big.c: Likewise.
124         * iconvdata/tst-loading.c: Likewise.
125         * iconv/tst-iconv1.c: Likewise.
126         * iconv/tst-iconv2.c: Likewise.
127         * inet/test-inet6_opt.c: Likewise.
128         * inet/tst-gethnm.c: Likewise.
129         * inet/tst-network.c: Likewise.
130         * inet/tst-ntoa.c: Likewise.
131         * intl/tst-codeset.c: Likewise.
132         * intl/tst-gettext2.c: Likewise.
133         * intl/tst-gettext3.c: Likewise.
134         * intl/tst-ngettext.c: Likewise.
135         * intl/tst-translit.c: Likewise.
136         * io/test-stat.c: Likewise.
137         * libio/test-fmemopen.c: Likewise.
138         * libio/tst-freopen.c: Likewise.
139         * libio/tst-sscanf.c: Likewise.
140         * libio/tst-ungetwc1.c: Likewise.
141         * libio/tst-ungetwc2.c: Likewise.
142         * libio/tst-widetext.c: Likewise.
143         * localedata/tst-ctype.c: Likewise.
144         * localedata/tst-digits.c: Likewise.
145         * localedata/tst-leaks.c: Likewise.
146         * localedata/tst-mbswcs1.c: Likewise.
147         * localedata/tst-mbswcs2.c: Likewise.
148         * localedata/tst-mbswcs3.c: Likewise.
149         * localedata/tst-mbswcs4.c: Likewise.
150         * localedata/tst-mbswcs5.c: Likewise.
151         * localedata/tst-setlocale.c: Likewise.
152         * localedata/tst-trans.c: Likewise.
153         * localedata/tst-wctype.c: Likewise.
154         * localedata/tst-xlocale1.c: Likewise.
155         * login/tst-grantpt.c: Likewise.
156         * malloc/tst-calloc.c: Likewise.
157         * malloc/tst-malloc.c: Likewise.
158         * malloc/tst-mallocstate.c: Likewise.
159         * malloc/tst-mcheck.c: Likewise.
160         * malloc/tst-mtrace.c: Likewise.
161         * malloc/tst-obstack.c: Likewise.
162         * math/atest-exp2.c: Likewise.
163         * math/atest-exp.c: Likewise.
164         * math/atest-sincos.c: Likewise.
165         * math/test-matherr.c: Likewise.
166         * math/test-misc.c: Likewise.
167         * math/test-powl.c: Likewise.
168         * math/tst-definitions.c: Likewise.
169         * misc/tst-dirname.c: Likewise.
170         * misc/tst-efgcvt.c: Likewise.
171         * misc/tst-fdset.c: Likewise.
172         * misc/tst-hsearch.c: Likewise.
173         * misc/tst-mntent2.c: Likewise.
174         * nptl/tst-sem7.c: Likewise.
175         * nptl/tst-sem8.c: Likewise.
176         * nptl/tst-sem9.c: Likewise.
177         * nss/test-netdb.c: Likewise.
178         * posix/tst-fnmatch.c: Likewise.
179         * posix/tst-getlogin.c: Likewise.
180         * posix/tst-gnuglob.c: Likewise.
181         * posix/tst-mmap.c: Likewise.
182         * pwd/tst-getpw.c: Likewise.
183         * resolv/tst-inet_ntop.c: Likewise.
184         * rt/tst-timer.c: Likewise.
185         * stdio-common/test-fseek.c: Likewise.
186         * stdio-common/test-popen.c: Likewise.
187         * stdio-common/test-vfprintf.c: Likewise.
188         * stdio-common/tst-cookie.c: Likewise.
189         * stdio-common/tst-fileno.c: Likewise.
190         * stdio-common/tst-gets.c: Likewise.
191         * stdio-common/tst-obprintf.c: Likewise.
192         * stdio-common/tst-perror.c: Likewise.
193         * stdio-common/tst-sprintf2.c: Likewise.
194         * stdio-common/tst-sprintf3.c: Likewise.
195         * stdio-common/tst-sprintf.c: Likewise.
196         * stdio-common/tst-swprintf.c: Likewise.
197         * stdio-common/tst-tmpnam.c: Likewise.
198         * stdio-common/tst-unbputc.c: Likewise.
199         * stdio-common/tst-wc-printf.c: Likewise.
200         * stdlib/tst-environ.c: Likewise.
201         * stdlib/tst-fmtmsg.c: Likewise.
202         * stdlib/tst-limits.c: Likewise.
203         * stdlib/tst-rand48-2.c: Likewise.
204         * stdlib/tst-rand48.c: Likewise.
205         * stdlib/tst-random2.c: Likewise.
206         * stdlib/tst-random.c: Likewise.
207         * stdlib/tst-strtol.c: Likewise.
208         * stdlib/tst-strtoll.c: Likewise.
209         * stdlib/tst-tls-atexit.c: Likewise.
210         * stdlib/tst-xpg-basename.c: Likewise.
211         * string/test-ffs.c: Likewise.
212         * string/tst-bswap.c: Likewise.
213         * string/tst-inlcall.c: Likewise.
214         * string/tst-strtok.c: Likewise.
215         * string/tst-strxfrm.c: Likewise.
216         * sysdeps/x86_64/tst-audit10.c: Likewise.
217         * sysdeps/x86_64/tst-audit3.c: Likewise.
218         * sysdeps/x86_64/tst-audit4.c: Likewise.
219         * sysdeps/x86_64/tst-audit5.c: Likewise.
220         * time/tst-ftime_l.c: Likewise.
221         * time/tst-getdate.c: Likewise.
222         * time/tst-mktime3.c: Likewise.
223         * time/tst-mktime.c: Likewise.
224         * time/tst-posixtz.c: Likewise.
225         * time/tst-strptime2.c: Likewise.
226         * time/tst-strptime3.c: Likewise.
227         * wcsmbs/tst-btowc.c: Likewise.
228         * wcsmbs/tst-mbrtowc.c: Likewise.
229         * wcsmbs/tst-mbsrtowcs.c: Likewise.
230         * wcsmbs/tst-wchar-h.c: Likewise.
231         * wcsmbs/tst-wcpncpy.c: Likewise.
232         * wcsmbs/tst-wcrtomb.c: Likewise.
233         * wcsmbs/tst-wcsnlen.c: Likewise.
234         * wcsmbs/tst-wcstof.c: Likewise.
236 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
238         [BZ #14132]
239         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
240         INTDEF.
241         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
242         declaration.
243         (_dl_mcount): Use rtld_hidden_proto.
244         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
245         _dl_mcount.
246         * elf/rtld.c (_rtld_global_ro): Likewise.
248         [BZ #14132]
249         * elf/dl-init.c (_dl_init): Don't use INTDEF.
250         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
251         of _dl_init_internal.
252         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
253         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
254         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
255         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
256         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
257         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
258         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
259         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
260         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
261         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
262         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
263         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
264         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
265         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
266         * sysdeps/tile/dl-start.S (_start): Likewise.
267         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
268         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
270         [BZ #14132]
271         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
272         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
273         (rtld_progname): Make macro definition unconditional.
274         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
275         INTDEF.
276         (dlmopen_doit): Do not use INTUSE with _dl_argv.
277         (dl_main): Likewise.
278         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
279         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
280         instead of _dl_argv_internal.
281         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
282         __GI__dl_argv instead of INTUSE(_dl_argv).
283         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
284         __GI__dl_argv instead of _dl_argv_internal.
286         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
287         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
288         macro.
289         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
290         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
291         New macro.
292         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
293         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
294         macro.
295         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
296         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
298 2014-11-04  Andreas Schwab  <schwab@suse.de>
300         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
302 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
304         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
305         mtvsrd instruction in binary form.
307 2014-11-03  Andreas Schwab  <schwab@suse.de>
309         [BZ #17522]
310         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
311         for less than MB_LEN_MAX use a local buffer of that size.
312         * libio/tst-fputws.c: New file.
313         * libio/Makefile (tests): Add tst-fputws.
315 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
317         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
318         the size of the fpu_fr.fpu_dregs[] array.
320 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
322         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
323         (__nanosleep): Do not define as alias.
324         (nanosleep): Define as alias of __nanosleep.
325         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
326         __libc_nanosleep name.
328 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
330         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
331         install.texi in comment.
333 2014-10-31  Torvald Riegel  <triegel@redhat.com>
335         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
336         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
337         ... add here and use lwsync or sync ...
338         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
339         ... and add here using lwsync.
341 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
343         * elf/dl-machine-reject-phdr.h: New file.
344         * elf/dl-load.c: #include that.
345         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
346         if that returned true.
348 2014-10-31  Roland McGrath  <roland@hack.frob.com>
350         [BZ #17496]
351         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
352         gen-as-const-headers chunk.  Add a big scare comment after the last
353         safe place to touch before-compile.
355 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
357         * manual/install.texi (Tools for Compilation): Update autoconf
358         version requirements.
359         * INSTALL: Regenerated.
361         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
362         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
363         (__libc_pselect): Likewise.
365         [BZ #14138]
366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
371 2014-10-31  Torvald Riegel  <triegel@redhat.com>
373         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
374         correct barrier instruction.
375         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
376         Likewise.
377         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
378         Likewise.
380 2014-10-30  Roland McGrath  <roland@hack.frob.com>
382         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
383         after defining inlines.  Instead, just use parens to defeat macro
384         expansion of __isctype in its declaration.
386 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
388         * include/sys/uio.h (__libc_readv): Remove declaration.
389         (__libc_writev): Likewise.
390         * misc/readv.c (__libc_readv): Rename to __readv.
391         (__readv): Do not define as alias.
392         (readv): Define as alias of __readv.
393         * misc/writev.c (__libc_writev): Rename to __writev.
394         (__writev): Do not define as alias.
395         (writev): Define as alias of __writev.
396         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
397         (__readv): Do not define as alias.
398         (readv): Define unconditionally as alias of __readv.
399         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
400         (__writev): Do not define as alias.
401         (writev): Define unconditionally as alias of __writev.
402         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
403         name.
404         (writev): Do not define __libc_writev name.
406 2014-10-30  Roland McGrath  <roland@hack.frob.com>
408         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
409         (convert_charseq): New function, broken out of ...
410         (use_from_charmap): ... here.  Call it.
411         (use_to_charmap): Use convert_charseq and free instead of duplicating
412         its code with a variable-length stack struct.
414 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
416         * include/fcntl.h (__libc_creat): Remove declaration.
417         * io/creat.c (__libc_creat): Rename to creat.
418         (creat): Do not define as alias.
419         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
420         of creat instead of __libc_creat.
421         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
422         to creat.
423         (creat): Do not define as alias.
424         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
425         __libc_creat.
426         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
427         __libc_creat name.
428         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
429         Likewise.
431 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
433         * manual/llio.texi: Add comments discussing why write() may be
434         considered MT-unsafe on Linux.
436 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
438         * dl-load.c (local_strdup): Remove.
439         (expand_dynamic_string_token): Use __strdup.
440         (decompose_rpath): Likewise.
441         (_dl_map_object): Likewise.
443 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
445         [BZ #14132]
446         * sysdeps/generic/unwind-dw2-fde.c
447         (__register_frame_info_bases_internal): Do not declare.
448         (__register_frame_info_table_bases_internal): Likewise.
449         (__deregister_frame_info_bases_internal): Likewise.
450         (__register_frame_info_bases): Declare and use hidden_proto before
451         definition.  Use hidden_def instead of INTDEF.
452         (__register_frame_info_table_bases): Likewise.
453         (__deregister_frame_info_bases): Likewise.
454         (__register_frame_info): Do not use INTUSE.
455         (__register_frame): Likewise.
456         (__register_frame_info_table): Likewise.
457         (__register_frame_table): Likewise.
458         (__deregister_frame_info): Likewise.
459         (__deregister_frame): Likewise.
461 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
464         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
465         not undefine.
466         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
467         Likewise.
468         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
469         Likewise.
471 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
473         [BZ #14138]
474         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
475         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
476         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
477         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
478         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
479         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
480         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
481         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
482         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
483         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
484         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
485         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
486         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
487         syscall.
488         (setfsuid): Likewise.
489         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
490         (setfsuid): Likewise.
491         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
492         (setfsuid): Likewise.
493         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
494         Likewise.
495         (setfsuid): Likewise.
496         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
497         (setfsuid): Likewise.
498         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
499         Likewise.
500         (setfsuid): Likewise.
502 2014-10-27  Andreas Schwab  <schwab@suse.de>
504         [BZ #17501]
505         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
506         check for Slow_SSE4_2 feature bit.
507         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
508         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
509         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
510         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
512 2014-10-24  Roland McGrath  <roland@hack.frob.com>
514         * configure.ac: Validate compiler version with a empirical test of
515         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
516         $CC -v output.
517         * configure: Regenerated.
519         * inet/htons.c (htons): Prototypify.
520         * inet/htonl.c (htonl): Likewise.
522 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
524         * string/strncat.c (strncat): Improve performance by using strlen.
526 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
528         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
530 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
532         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
533         Call libc_fetestexcept_aarch64.
535 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
537         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
538         Call libc_feholdexcept_aarch64.
540 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
542         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
543         Call get_rounding_mode.
545 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
547         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
548         Simplify logic.
550 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
552         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
553         Simplify logic.
555 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
557         [BZ #14138]
558         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
559         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
560         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
561         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
562         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
563         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
564         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
565         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
566         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
567         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
568         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
569         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
570         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
571         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
572         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
573         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
574         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
575         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
576         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
577         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
578         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
579         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
580         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
581         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
582         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
583         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
584         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
585         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
586         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
587         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
588         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
589         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
590         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
591         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
592         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
593         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
594         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
595         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
596         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
597         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
598         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
599         syscall.
600         (geteuid): Likewise.
601         (getgid): Likewise.
602         (getuid): Likewise.
603         (getresgid): Likewise.
604         (getresuid): Likewise.
605         (getgroups): Likewise.
606         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
607         (geteuid): Likewise.
608         (getgid): Likewise.
609         (getuid): Likewise.
610         (getresgid): Likewise.
611         (getresuid): Likewise.
612         (getgroups): Likewise.
613         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
614         (geteuid): Likewise.
615         (getgid): Likewise.
616         (getuid): Likewise.
617         (getresgid): Likewise.
618         (getresuid): Likewise.
619         (getgroups): Likewise.
620         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
621         Likewise.
622         (geteuid): Likewise.
623         (getgid): Likewise.
624         (getuid): Likewise.
625         (getresgid): Likewise.
626         (getresuid): Likewise.
627         (getgroups): Likewise.
628         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
629         (geteuid): Likewise.
630         (getgid): Likewise.
631         (getuid): Likewise.
632         (getresgid): Likewise.
633         (getresuid): Likewise.
634         (getgroups): Likewise.
635         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
636         Likewise.
637         (geteuid): Likewise.
638         (getgid): Likewise.
639         (getuid): Likewise.
640         (getgroups): Likewise.
642         [BZ #14138]
643         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
644         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
645         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
646         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
647         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
648         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
649         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
650         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
651         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
652         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
653         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
654         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
655         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
656         __chown.
657         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
658         (lchown): Likewise.
659         (fchown): Likewise.
660         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
661         Likewise.
662         (lchown): Likewise.
663         (fchown): Likewise.
664         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
665         (lchown): Likewise.
666         (fchown): Likewise.
667         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
668         Likewise.
669         (lchown): Likewise.
670         (fchown): Likewise.
672 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
674         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
675         Simplify logic.
677 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
679         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
680         Cleanup logic.
682 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
684         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
685         Remove unused include.
687 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
689         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
690         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
691         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
692         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
694 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
695             Helge Deller <deller@gmx.de>
697         [BZ #17508]
698         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
699         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
700         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
702 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
704         [BZ #14132]
705         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
706         Remove macro definition.
707         (__ashrdi3_v_glibc20): Likewise.
708         (__lshrdi3_v_glibc20): Likewise.
709         (__cmpdi2_v_glibc20): Likewise.
710         (__ucmpdi2_v_glibc20): Likewise.
711         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
712         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
713         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
714         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
715         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
716         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
718 2014-10-22  Roland McGrath  <roland@hack.frob.com>
720         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
721         old GNU extension [0] syntax.
722         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
723         alloca rather than an array member with variable length.
724         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
725         * nscd/nscd.c (invalidate_db): New function, broken out of ...
726         (parse_opt): ... here.  Likewise use alloca there.
727         Validate the -i argument before checking for rootness.
728         (send_shutdown): New function, broken out of ...
729         (parse_opt): ... here.
731 2014-10-22  Roland McGrath  <roland@hack.frob.com>
733         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
734         macro to get at the _rt_local_ro field.
735         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
736         ([PIC] case) or _dl_hwcap ([!PIC] case).
737         * sysdeps/arm/setjmp.S: Likewise.
739         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
740         * sysdeps/arm/configure.ac: New check to define it.
741         * sysdeps/arm/configure: Regenerated.
742         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
743         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
744         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
745         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
746         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
747         Use move/movt pair instead of a load.
748         (LDST_GLOBAL): Macro removed.
749         (LDR_GLOBAL): New macro replaces it.
750         (LDR_HIDDEN): New macro.
751         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
752         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
754         * setjmp/tst-setjmp-static.c: New file.
755         * setjmp/Makefile (tests): Add it.
756         (tests-static): New variable.
758 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
760         [BZ #17485]
761         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
763 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
765         [BZ #14132]
766         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
768 2014-10-21  Roland McGrath  <roland@hack.frob.com>
770         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
772 2014-10-20  Roland McGrath  <roland@hack.frob.com>
774         * io/fts.c (dirent_not_directory): New function.
775         (fts_build): Call it.
777 2014-10-20  Roland McGrath  <roland@hack.frob.com>
779         * nptl/version.c (__nptl_main): Use normal __write rather than
780         INTERNAL_SYSCALL.
781         (banner): Update copyright years.
783         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
784         gettimeofday.
785         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
786         * nptl/pthread_cond_timedwait.c: Likewise.
787         * nptl/pthread_mutex_timedlock.c: Likewise.
788         * nptl/sem_timedwait.c: Likewise.
790         * sysdeps/nptl/bits/libc-lock.h
791         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
792         (__libc_lock_init_recursive): Return void, not 0.
793         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
794         (__libc_rwlock_init): Likewise.
795         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
797 2014-10-20  Torvald Riegel  <triegel@redhat.com>
799         [BZ #15215]
800         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
801         (__pthread_once_slow): ... here.
802         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
803         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
805 2014-10-20  Torvald Riegel  <triegel@redhat.com>
807         [BZ #15215]
808         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
809         __PTHREAD_ONCE_FORK_GEN_INCR): New.
810         * sysdeps/nptl/fork.c (__libc_fork): Use them.
811         * nptl/pthread_once.c (__pthread_once): Likewise.
812         Update comments.
814 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
816         [BZ #14138]
817         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
818         name.
819         (writev): Use __libc_writev as strong name.
820         * sysdeps/unix/sysv/linux/readv.c: Remove file.
821         * sysdeps/unix/sysv/linux/writev.c: Likewise.
823 2014-10-17  Roland McGrath  <roland@hack.frob.com>
825         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
827         * sysdeps/i386/nptl/tls.h
828         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
829         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
830         New macros.
831         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
832         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
833         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
834         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
835         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
836         Call CHECK_THREAD_SYSINFO instead of doing an assert.
838         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
839         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
840         on [__NR_futex].
841         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
842         broken out of ...
843         (__pthread_mutex_init): ... here.  Call it.
844         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
845         Conditionalize PI cases on [__NR_futex].
846         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
847         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
848         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
850         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
851         conditional on [SIGSETXID].
852         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
853         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
854         is defined.  Likewise for SIGSETXID.
855         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
856         Conditionalize definitions on [SIGSETXID].
857         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
858         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
859         unblocking on [SIGCANCEL].
861         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
862         [__NR_set_robust_list].
864 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
866         * string/strcoll_l.c (get_next_seq): Fix up formatting.
867         (do_compare): Likewise.
869 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
871         [BZ #15884]
872         * string/strcoll_l.c: Don't include stdio.h.
873         (coll_seq): Remove members idxarr and rulearr.
874         (get_next_seq_cached): Remove function.
875         (get_next_seq): Likewise.
876         (get_next_seq_nocache): Rename to get_next_seq.
877         (do_compare): Remove function.
878         (do_compare_nocache): Rename to do_compare.
879         (STRCOLL): Remove weight and rules cache.
881 2014-10-16  Roland McGrath  <roland@hack.frob.com>
883         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
884         * sysdeps/arm/sfp-machine.h: ... to here.
885         * sysdeps/arm/Implies: Remove arm/soft-fp.
887 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
889         * conform/data/sys/utsname.h-data (*_t): Allow.
890         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
891         [POSIX] (WEXITED): Do not expect constant.
892         [POSIX] (WSTOPPED): Likewise.
893         [POSIX] (WNOHANG): Likewise.
894         [POSIX] (WNOWAIT): Likewise.
895         [POSIX] (siginfo_t): Do not expect type or elements.
896         [POSIX] (pid_t): Do not expect type.
897         [POSIX] (signal.h): Do not allow header.
898         [POSIX] (sys/resource.h): Likewise.
899         [POSIX] (si_*): Do not allow pattern.
900         [POSIX] (W*): Likewise.
901         [POSIX] (P_*): Likewise.
902         [POSIX] (BUS_*): Likewise.
903         [POSIX] (CLD_*): Likewise.
904         [POSIX] (FPE_*): Likewise.
905         [POSIX] (ILL_*): Likewise.
906         [POSIX] (POLL_*): Likewise.
907         [POSIX] (SEGV_*): Likewise.
908         [POSIX] (SI_*): Likewise.
909         [POSIX] (TRAP_*): Likewise.
910         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
911         variable.
913 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
915         [BZ #12926]
916         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
917         infinite loop when __recvmsg returns 0.
919 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
921         * CANCEL-FCT-WAIVE: Remove file.
922         * CANCEL-FILE-WAIVE: Likewise.
924         [BZ #14132]
925         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
926         instead of INTVARDEF.
927         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
928         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
929         rtld_hidden_data_def instead of INTVARDEF.
930         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
931         * elf/dl-deps.c (expand_dst): Likewise.
932         * elf/dl-load.c (_dl_dst_count): Likewise.
933         (_dl_dst_substitute): Likewise.
934         (decompose_rpath): Likewise.
935         (_dl_init_paths): Likewise.
936         (open_path): Likewise.
937         (_dl_map_object): Likewise.
938         * elf/rtld.c (dl_main): Likewise.
939         (process_dl_audit): Likewise.
940         (process_envvars): Likewise.
941         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
942         Remove declaration.
943         (__libc_enable_secure): Use rtld_hidden_proto.
945 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
947         * elf/dl-load.c
948         (add_path): New function broken out of _dl_rtld_di_serinfo.
949         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
951 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
953         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
954         parentheses around macro arguments.
955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
956         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
957         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
959         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
960         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
961         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
964         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
965         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
966         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
967         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
968         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
969         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
970         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
971         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
974         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
975         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
976         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
977         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
978         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
979         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
981         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
982         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
983         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
984         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
985         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
986         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
987         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
988         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
989         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
990         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
991         Likewise.
992         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
993         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
994         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
995         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
996         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
997         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
999         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1000         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1001         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1002         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1003         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1004         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1005         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1006         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1007         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1009         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1012         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1013         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1014         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1015         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1016         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1017         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1018         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1019         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1020         (_FP_FRAC_SRS_1): Likewise.
1021         (_FP_FRAC_CLZ_1): Likewise.
1022         (_FP_MUL_MEAT_1_imm): Likewise.
1023         (_FP_MUL_MEAT_1_wide): Likewise.
1024         (_FP_MUL_MEAT_1_hard): Likewise.
1025         (_FP_SQRT_MEAT_1): Likewise.
1026         (_FP_FRAC_ASSEMBLE_1): Likewise.
1027         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1028         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1029         (__FP_CLZ_2): Likewise.
1030         (_FP_MUL_MEAT_2_wide): Likewise.
1031         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1032         (_FP_MUL_MEAT_2_gmp): Likewise.
1033         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1034         (_FP_SQRT_MEAT_2): Likewise.
1035         (_FP_FRAC_ASSEMBLE_2): Likewise.
1036         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1037         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1038         (_FP_FRAC_CLZ_4): Likewise.
1039         (_FP_MUL_MEAT_4_wide): Likewise.
1040         (_FP_MUL_MEAT_4_gmp): Likewise.
1041         (_FP_SQRT_MEAT_4): Likewise.
1042         (_FP_FRAC_ASSEMBLE_4): Likewise.
1043         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1044         * soft-fp/op-common.h (_FP_CMP): Likewise.
1045         (_FP_CMP_EQ): Likewise.
1046         (_FP_CMP_UNORD): Likewise.
1047         (_FP_TO_INT): Likewise.
1048         (_FP_FROM_INT): Likewise.
1049         [!__FP_CLZ] (__FP_CLZ): Likewise.
1050         (_FP_DIV_HELP_imm): Likewise.
1051         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1052         Likewise.
1053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1054         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1055         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1056         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1057         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1058         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1059         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1060         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1061         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1062         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1063         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1064         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1065         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1066         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1067         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1068         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1069         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1070         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1072         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1074         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1075         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1076         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1079         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1080         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1081         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1082         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1083         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1084         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1085         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1086         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1087         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1088         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1089         (FP_UNPACK_RAW_SP): Likewise.
1090         (FP_PACK_RAW_S): Likewise.
1091         (FP_PACK_RAW_SP): Likewise.
1092         (FP_UNPACK_S): Likewise.
1093         (FP_UNPACK_SP): Likewise.
1094         (FP_UNPACK_SEMIRAW_S): Likewise.
1095         (FP_UNPACK_SEMIRAW_SP): Likewise.
1096         (FP_PACK_S): Likewise.
1097         (FP_PACK_SP): Likewise.
1098         (FP_PACK_SEMIRAW_S): Likewise.
1099         (FP_PACK_SEMIRAW_SP): Likewise.
1100         (_FP_SQRT_MEAT_S): Likewise.
1101         (FP_CMP_S): Likewise.
1102         (FP_CMP_EQ_S): Likewise.
1103         (FP_CMP_UNORD_S): Likewise.
1104         (FP_TO_INT_S): Likewise.
1105         (FP_FROM_INT_S): Likewise.
1107         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1109         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1110         (FP_EX_INVALID_IMZ): Likewise.
1111         (FP_EX_INVALID_IMZ_FMA): Likewise.
1112         (FP_EX_INVALID_ISI): Likewise.
1113         (FP_EX_INVALID_ZDZ): Likewise.
1114         (FP_EX_INVALID_IDI): Likewise.
1115         (FP_EX_INVALID_SQRT): Likewise.
1116         (FP_EX_INVALID_CVI): Likewise.
1117         (FP_EX_INVALID_VC): Likewise.
1118         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1119         "invalid" exceptions.
1120         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1121         (_FP_ADD_INTERNAL): Likewise.
1122         (_FP_MUL): Likewise.
1123         (_FP_FMA): Likewise.
1124         (_FP_DIV): Likewise.
1125         (_FP_CMP_CHECK_NAN): Likewise.
1126         (_FP_SQRT): Likewise.
1127         (_FP_TO_INT): Likewise.
1128         (FP_EXTEND): Likewise.
1130 2014-10-09  Allan McRae  <allan@archlinux.org>
1132         * po/fr.po: Update French translation from translation project.
1134 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1136         [BZ #14132]
1137         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1138         of INTDEF.
1139         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1140         (__cxa_atexit): Use libc_hidden_proto.
1141         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1143         [BZ #14132]
1144         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1145         declaration.
1146         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1147         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1148         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1149         [!_ISOMAC] (__iswctype_internal): Likewise.
1150         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1151         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1152         alias.
1153         (fcntl): Remove __fcntl_internal alias.
1154         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1155         __connect_internal alias.
1156         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1157         Likewise.
1159         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1160         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1161         FP_DENORM_ZERO.
1162         (_FP_CHECK_FLUSH_ZERO): New macro.
1163         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1164         (_FP_CMP): Likewise.
1165         (_FP_CMP_EQ): Likewise.
1166         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1167         FP_DENORM_ZERO.
1168         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1169         (FP_TRUNC): Likewise.
1171         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1172         treated as invalid conversion, not as normal exponent.
1174         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1175         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1176         (_FP_CMP_EQ): Likewise.
1177         (_FP_CMP_UNORD): Likewise.
1178         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1179         (FP_CMP_EQ_D): Likewise.
1180         (FP_CMP_UNORD_D): Likewise.
1181         * soft-fp/extended.h (FP_CMP_E): Likewise.
1182         (FP_CMP_EQ_E): Likewise.
1183         (FP_CMP_UNORD_E): Likewise.
1184         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1185         (FP_CMP_EQ_Q): Likewise.
1186         (FP_CMP_UNORD_Q): Likewise.
1187         * soft-fp/single.h (FP_CMP_S): Likewise.
1188         (FP_CMP_EQ_S): Likewise.
1189         (FP_CMP_UNORD_S): Likewise.
1190         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1191         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1192         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1193         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1194         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1195         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1196         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1197         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1198         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1199         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1200         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1201         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1202         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1203         to FP_CMP_Q.
1204         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1205         FP_CMP_Q.
1206         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1207         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1208         FP_CMP_EQ_Q.
1209         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1210         FP_CMP_Q.
1211         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1212         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1213         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1214         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1215         FP_CMP_EQ_Q.
1216         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1217         FP_CMP_Q.
1218         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1219         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1220         FP_CMP_EQ_Q.
1221         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1222         FP_CMP_Q.
1223         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1224         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1225         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1226         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1227         FP_CMP_EQ_Q.
1229         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1230         a subnormal result, set the underflow exception if trapping on
1231         underflow is enabled.
1232         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1233         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1234         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1235         redefine to 0.
1236         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1237         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1238         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1239         * soft-fp/extendxftf2.c (__extendxftf2): Use
1240         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1242         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1243         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1244         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1245         FP_HANDLE_EXCEPTIONS.
1246         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1247         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1248         FP_HANDLE_EXCEPTIONS.
1249         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1250         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1251         FP_HANDLE_EXCEPTIONS.
1252         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1253         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1254         FP_HANDLE_EXCEPTIONS.
1256 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
1258         [BZ #14132]
1259         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1260         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1261         use INTUSE.
1262         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1263         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1264         Remove alias.
1265         (__adjtimex): Define using libc_hidden_ver.
1266         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1267         Remove declaration.
1268         (ntp_gettime): Call __adjtimex directly.
1269         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1270         Remove declaration.
1271         (ntp_gettimex): Call __adjtimex directly.
1272         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1273         __adjtimex_internal alias.
1275 2014-10-08  Roland McGrath  <roland@hack.frob.com>
1277         [BZ #17460]
1278         * nscd/nscd.c (more_help): Rewrite list of tables collection
1279         using xstrdup and asprintf.
1281         * nscd/nscd_conf.c: Remove local xstrdup declaration.
1283 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1284             Roland McGrath  <roland@hack.frob.com>
1286         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1287         (do_lookup_unique): ... local function 'enter' here; update callers.
1289 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
1291         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1292         compat_symbol calls on [SHARED].
1293         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1294         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1295         Remove.
1296         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1297         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1298         (oldsetrlimit): Remove.
1299         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1301         (lchown): New syscall entry.
1302         (oldsetrlimit): Remove.
1303         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1304         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1305         (oldsetrlimit): Remove.
1306         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1308         [BZ #14138]
1309         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1310         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1311         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1312         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1313         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1314         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1315         (fchown): Likewise.
1316         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1317         (fchown): Likewise.
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1319         Likewise.
1321 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1323         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1324         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1325         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1326         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1327         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1328         Likewise.
1329         (__old_sem_post): Likewise.
1331 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
1333         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1334         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1335         HAVE_CLOCK_GETTIME_VSYSCALL macros.
1336         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1337         Use INLINE_VSYSCALL macro.
1338         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1339         __vdso_clock_gettime.
1340         * sysdeps/unix/sysv/linux/tile/init-first.c
1341         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1342         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1343         __vdso_clock_gettime.
1345         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1346         to set up frame more cleanly.
1348         * sysdeps/tile/memcmp.c: New file.
1350         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1352         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1353         * sysdeps/tile/tilegx/strcasestr.c: New file.
1354         * sysdeps/tile/tilegx/strnlen.c: New file.
1355         * sysdeps/tile/tilegx/strstr.c: New file.
1357         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1359 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
1361         * nptl/tst-setuid3.c: Write errors to stdout.
1363 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1365         * elf/dl-deps.c
1366         (preload): New functions broken out of _dl_map_object_deps.
1367         (_dl_map_object_deps):  Remove a nested function. Update call sites.
1369 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
1371         [BZ #14138]
1372         * sysdeps/unix/sysv/linux/execve.c: Remove file.
1373         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1375 2014-10-01  Steve Ellcey  <sellcey@mips.com>
1377         * sysdeps/mips/strcmp.S: New.
1379 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
1381         [BZ #14138]
1382         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1383         (linkat): Likewise.
1384         (mkdirat): Likewise.
1385         (readlinkat): Likewise.
1386         (renameat): Likewise.
1387         (symlinkat): Likewise.
1388         (unlinkat): Likewise.
1389         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1390         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1391         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1392         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1393         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1394         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1395         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1397 2014-09-30  Will Newton  <will.newton@linaro.org>
1399         * math/math.h: Define long double math functions if
1400         _LIBC_TEST is defined.
1401         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1403         * localedata/Makefile: Move assignment to tests-special
1404         into an ifdef testing run-built-tests.
1405         * timezone/Makefile: Likewise.
1407 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
1409         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1410         with $(BASH) not $(SHELL).
1412 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
1413             Matthew LeGendre  <legendre1@llnl.gov>
1415         [BZ #17411]
1416         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1417         l_reloc_result.
1419 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1421         * stdio-common/printf_fp.c
1422         (hack_digit): New function, broken out of ...
1423         (__printf_fp): ... local function here.  Update call sites.
1424         hack_digit now takes an additional parameter that is a pointer
1425         to a struct of the referenced locals.  Those locals moved inside
1426         the struct and references updated.
1428 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
1430         * aclocal.m4: Require autoconf 2.69.
1431         * configure: Regenerated.
1432         * sysdeps/aarch64/configure: Likewise.
1433         * sysdeps/alpha/configure: Likewise.
1434         * sysdeps/arm/armv7/configure: Likewise.
1435         * sysdeps/arm/configure: Likewise.
1436         * sysdeps/ia64/configure: Likewise.
1437         * sysdeps/mach/configure: Likewise.
1438         * sysdeps/mips/configure: Likewise.
1439         * sysdeps/s390/configure: Likewise.
1440         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1443         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1444         file.
1445         * sysdeps/ia64/configure.ac: Likewise.
1447 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1450         specify symbol version for ld.so.  Do not include entry for
1451         libpthread.
1452         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1453         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1454         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1456         [BZ #14171]
1457         * Makeconfig [$(build-shared) = yes]
1458         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1459         makefiles.
1460         [$(build-shared) = yes && $(soversions.mk-done) = t]
1461         ($(common-objpfx)gnu/lib-names.h): Remove rule.
1462         [$(build-shared) = yes && $(soversions.mk-done) = t]
1463         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
1464         to Makerules.
1465         [$(build-shared) = yes && $(soversions.mk-done) = t]
1466         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1467         here.
1468         [$(build-shared) = yes && $(soversions.mk-done) = t]
1469         (common-generated): Don't append gnu/lib-names.h and
1470         gnu/lib-names.stmp here.
1471         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1472         (lib-names-h-abi): New variable.
1473         [$(build-shared) = yes && $(soversions.mk-done) = t]
1474         (lib-names-stmp-abi): Likewise.
1475         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1476         abi-variants] (before-compile): Append
1477         $(common-objpfx)$(lib-names-h-abi).
1478         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1479         abi-variants] (common-generated): Append gnu/lib-names.h.
1480         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1481         abi-variants] (install-others-nosubdir): Depend on
1482         $(inst_includedir)/$(lib-names-h-abi).
1483         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1484         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1485         [$(build-shared) = yes && $(soversions.mk-done) = t]
1486         ($(common-objpfx)$(lib-names-h-abi)): New rule.
1487         [$(build-shared) = yes && $(soversions.mk-done) = t]
1488         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1489         [$(build-shared) = yes && $(soversions.mk-done) = t]
1490         (common-generated): Append $(lib-names-h-abi) and
1491         $(lib-names-stmp-abi).
1492         * scripts/lib-names.awk: Do not handle multi being set.
1493         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1494         Remove variable.
1495         (abi-lp64_be-ld-soname): Likewise.
1496         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1497         Likewise.
1498         (abi-hard-ld-soname): Likewise.
1499         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1500         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1501         Remove variable.
1502         (abi-o32_hard-ld-soname): Likewise.
1503         (abi-o32_soft_2008-ld-soname): Likewise.
1504         (abi-o32_hard_2008-ld-soname): Likewise.
1505         (abi-n32_soft-ld-soname): Likewise.
1506         (abi-n32_hard-ld-soname): Likewise.
1507         (abi-n32_soft_2008-ld-soname): Likewise.
1508         (abi-n32_hard_2008-ld-soname): Likewise.
1509         (abi-n64_soft-ld-soname): Likewise.
1510         (abi-n64_hard-ld-soname): Likewise.
1511         (abi-n64_soft_2008-ld-soname): Likewise.
1512         (abi-n64_hard_2008-ld-soname): Likewise.
1513         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1514         Likewise.
1515         (abi-64-v2-ld-soname): Likewise.
1516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1517         ld.so entries.
1518         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1519         variable.
1520         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1521         entry.
1522         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1523         variable.
1524         (abi-64-ld-soname): Likewise.
1525         (abi-x32-ld-soname): Likewise.
1526         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1527         entry.
1528         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1530 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
1532         [BZ #14138]
1533         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1534         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1535         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1536         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1537         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1538         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1539         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1540         syscall entry for GLIBC_2.2 symbol version.
1541         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1542         Likewise.
1543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1544         (setrlimit): Likewise.
1545         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1546         Likewise.
1548 2014-09-23  Will Newton  <will.newton@linaro.org>
1550         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1551         _LINUX_ARM_SYSDEP_H include guard too.
1552         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1553         define.
1555 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1557         * sysdeps/unix/sysv/linux/eventfd.c:
1558         Make first argument unsigned.
1559         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1560         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1562 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
1564         * socket/recvmmsg.c (recvmmsg): Drop const argument.
1565         * socket/sys/socket.h: Likewise
1566         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1568 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1570         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1572 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
1574         * time/tst-ftime.c: New test.
1575         * time/Makefile (tests): Add tst-ftime.
1577 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
1579         * soft-fp/extended.h: Fix comment formatting.
1580         * soft-fp/op-1.h: Likewise.
1581         * soft-fp/op-2.h: Likewise.
1582         * soft-fp/op-4.h: Likewise.
1583         * soft-fp/op-8.h: Likewise.
1584         * soft-fp/op-common.h: Likewise.
1585         * soft-fp/soft-fp.h: Likewise.
1587         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1589 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
1591         [BZ #6652]
1592         * Makeconfig (soversions-default-setname): Remove variable.
1593         ($(common-objpfx)soversions.i): Don't pass default_setname to
1594         soversions.awk.
1595         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1596         oldest_abi to abi-versions.awk.
1597         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1598         * config.make.in (oldest-abi): Remove variable.
1599         * configure.ac (--enable-oldest-abi): Remove configure option.
1600         * configure: Regenerated.
1601         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1602         text.
1603         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1604         * scripts/soversions.awk: Do not handle default_setname variable.
1605         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1606         variable.
1607         * sysdeps/mach/hurd/configure: Regenerated.
1608         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1609         variable.
1610         * sysdeps/unix/sysv/linux/configure: Regenerated.
1612 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1614         * elf/Makefile (CFLAGS-interp.c): Remove.
1615         ($(elf-objpfx)runtime-linker.h): Generate header with linker
1616         path string.
1617         * elf/interp.c: Include generated runtime-linker.h
1619         * Makerules (lib%.so): Don't include $(+interp) in
1620         prerequisites.
1621         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1622         * dlfcn/eval.c: Remove file.
1624         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1625         macros.
1627         [BZ #17266]
1628         * misc/sys/cdefs.h: Define __extern_always_inline for clang
1629         4.2 and newer.
1631         [BZ #17370]
1632         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1634 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1635             Jakub Jelinek  <jakub@redhat.com>
1637         [BZ #17266]
1638         * libio/stdio.h: Check definition of __fortify_function
1639         instead of __extern_always_inline to include bits/stdio2.h.
1640         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1641         check if __extern_always_inline is defined.
1642         [__USE_MISC || __USE_XOPEN]: Likewise.
1643         [__USE_ISOC99] Likewise.
1644         * misc/sys/cdefs.h (__fortify_function): Define only if
1645         __extern_always_inline is defined.
1646         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1647         __extern_always_inline and __extern_inline only for g++-4.3
1648         and newer or a compatible gcc.
1650 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
1652         [BZ #17371]
1653         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1654         last change to handle zero prefix length.
1656 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1658         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1659         _SC_REGEX_VERSION.
1661         * posix/getconf.c (vars): Add _POSIX_IPV6 and
1662         _POSIX_RAW_SOCKETS.
1664 2014-09-13  Allan McRae  <allan@archlinux.org>
1666         * po/ru.po: Update Russian translation from translation project.
1668 2014-09-12  Roland McGrath  <roland@hack.frob.com>
1670         * locale/programs/locale.c (show_locale_vars): Inline local function
1671         into its sole call site.  Clean up some style nits.
1672         (print_item): New function, broken out of ...
1673         (show_info): ... local function here.  Clean up style nits.
1675         * locale/programs/ld-ctype.c (set_one_default): New function, broken
1676         out of ...
1677         (set_class_defaults): ... local function set_default here.
1678         Define set_default as a macro locally to pass constant parameters.
1679         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1680         rather than a shared local.
1682         * stdlib/rpmatch.c (try): New function, broken out of ...
1683         (rpmatch): ... local function here.  Also, prototypify definition.
1685 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1687         * scripts/soversions.awk: Do not handle configuration names.
1688         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1689         vendor and os variables to soversions.awk.
1690         * configure.ac: Do not modify gnu-* host_os.
1691         * configure: Regenerated
1692         * shlib-versions: Remove first column with configuration names.
1693         * nptl/shlib-versions: Likewise.
1694         * nptl_db/shlib-versions: Likewise.
1695         * sysdeps/hppa/shlib-versions: Likewise.
1696         * sysdeps/m68k/shlib-versions: Likewise.
1697         * sysdeps/mach/hurd/shlib-versions: Likewise.
1698         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1699         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1700         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1701         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1702         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1703         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1704         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1705         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1707         Likewise.
1708         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1709         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1710         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1711         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1712         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1713         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1714         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1715         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1718         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1720         Regenerated.
1721         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1723         Condition symbol version definitions on [HAVE_ELFV2_ABI].
1725         * shlib-versions: Remove OS-specific entries.  Moved to files in
1726         sysdeps.
1727         * sysdeps/mach/hurd/shlib-versions: New file.
1728         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1730         * nptl/shlib-versions: Remove architecture-specific entries.
1731         Moved to files in sysdeps.
1732         * shlib-versions: Likewise.
1733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1734         file.
1735         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1736         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1737         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1738         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1740         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1741         (UDP_NO_CHECK6_RX): Likewise.
1743 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1745         * sysdeps/posix/sysconf.c (__sysconf): Spell
1746         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1748 2014-08-12  Florian Weimer  <fweimer@redhat.com>
1750         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1751         loading.
1752         * iconv/Versions (__gconv_transliterate): Export for use from
1753         gconv modules.
1754         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1755         (struct __gconv_trans_data, __gconv_trans_fct,
1756         __gconv_trans_context_fct, __gconv_trans_query_fct,
1757         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1758         definitions.
1759         (struct __gconv_step_data): Remove __trans member.
1760         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
1761         longer hidden.  Remove unused trans_data argument.
1762         * iconv/gconv_int.h (struct trans_struct): Remove definition.
1763         (__gconv_translit_find): Remove declaration.
1764         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
1765         prototype.
1766         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1767         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1768         trans_data argument.  Add hidden definition.
1769         (__gconv_translit_find): Remove.
1770         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1771         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1772         * iconv/skeleton.c: Remove transliteration initialization.
1773         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1774         __gconv_step_data initialization.
1775         * libio/iofwide.c (__libio_translit_): Remove.
1776         (_IO_fwide): Adjust struct __gconv_step_data initialization.
1777         * wcsmbs/btowc.c (__btowc): Likewise.
1778         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1779         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1780         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1781         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1782         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1783         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1784         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1785         * wcsmbs/wctob.c (wctob): Likewise.
1787 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1789         [BZ #16194]
1790         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1791         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
1792         register usage.
1793         * sysdeps/x86/Makefile: Adjust.
1795 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1796             Roland McGrath  <roland@hack.frob.com>
1798         * locale/weight.h: Add include guard.
1799         (findidx): Make static rather than auto; take new parameters
1800         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1801         * locale/weightwc.h: Likewise.
1802         * posix/fnmatch_loop.c
1803         (FCT): Change type of EXTRA from int32_t to wint_t.
1804         Don't include either header inside the function.
1805         Call FINDIDX rather than findidx, and pass new arguments.
1806         #undef FINDIDX at the end of the file.
1807         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1808         FINDIDX before including fnmatch_loop.c for the non-wide version.
1809         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1810         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1811         for the wide version.
1812         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1813         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1814         Pass new arguments to findidx.
1815         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1816         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1817         Don't #include it inside the function.  Pass new arguments to findidx.
1818         * posix/regex_internal.h
1819         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1820         (re_string_elem_size_at): Don't #include it inside the function.
1821         Pass new arguments to findidx.
1822         * string/strcoll_l.c: #include WEIGHT_H at top level.
1823         (get_next_seq): Don't #include it inside the function.
1824         Pass new arguments to findidx.
1825         (get_next_seq_nocache): Likewise.
1826         * string/strxfrm_l.c: #include WEIGHT_H at top level.
1827         (STRXFRM): Don't #include it inside the function.
1828         Pass new arguments to findidx.
1830 2014-09-11  Florian Weimer  <fweimer@redhat.com>
1832         [BZ #17344]
1833         * malloc/malloc.c (unlink): Turn asserts into a call to
1834         malloc_printerr.
1836 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
1838         [BZ #17370]
1839         * libio/wfileops (do_ftell_wide): Free OUT.
1841 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
1843         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1845 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1847         [BZ #17363]
1848         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1849         group if the current group is empty.
1851 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1853         * benchtests/bench-memset.c (test_main): Add more test from size
1854         from 32 to 512 bytes.
1855         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1856         Add POWER8 memset object.
1857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1858         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1859         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1860         implementation.
1861         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1862         Likewise.
1863         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1864         multiarch POWER8 memset optimization.
1865         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1866         POWER8 memset optimization.
1868         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1869         Remove bzero multiarch objects.
1870         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1871         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1872         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1873         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1874         Remove define.
1875         [__bzero]: Redefine to specific name.
1876         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1877         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1878         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1879         define.
1880         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1881         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1883 2014-09-10  Florian Weimer  <fweimer@redhat.com>
1885         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1886         warnings into errors.
1888         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1889         __cxa_thread_atexit_impl prototype.
1891 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1893         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1894         Fix capitalization of error message.
1896 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1898         * sysdeps/mips/preconfigure: Modify ABI tests.
1900 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
1902         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1904 2014-09-07  Roland McGrath  <roland@hack.frob.com>
1905             Carlos O'Donell  <carlos@systemhalted.org>
1907         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1908         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1909         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1910         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1911         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1912         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1913         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1914         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1915         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1916         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1917         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1918         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1919         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1920         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1921         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1922         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1923         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1924         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1925         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1926         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1927         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1928         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1929         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1930         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1931         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1932         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1933         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1934         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1935         Deconditionalize the code that was previously under [RESET_PID].
1936         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1937         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1938         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1939         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1940         include sysdep.h.
1942 2014-09-08  Allan McRae  <allan@archlinux.org>
1944         * version.h (RELEASE): Set to "development".
1945         (VERSION): Set to "2.20.90"
1947 2014-09-07  Allan McRae  <allan@archlinux.org
1949         * version.h (RELEASE): Set to "stable".
1950         (VERSION): Set to "2.20"
1951         * include/features.h (__GLIBC_MINOR__): Set to 20.
1953         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1954         Liebler.
1956         * po/ko.po: Update Korean translation from translation project.
1958 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
1960         [BZ #17354]
1961         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1962         macro for handling signed relocations.
1964 2014-09-03  Florian Weimer  <fweimer@redhat.com>
1966         [BZ #17325]
1967         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1968         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1969         assert.
1970         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1971         * iconvdata/ibm935.c (BODY): Likewise.
1972         * iconvdata/ibm937.c (BODY): Likewise.
1973         * iconvdata/ibm939.c (BODY): Likewise.
1974         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1975         assert.
1976         * iconvdata/Makefile (iconv-test.out): Pass module list to test
1977         script.
1978         * iconvdata/run-iconv-test.sh: New test loop for checking for
1979         decoder crashers.
1981 2014-09-02  Khem Raj  <raj.khem@gmail.com>
1983         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1984         libm_hidden_ver.
1986 2014-09-01  Allan McRae  <allan@archlinux.org>
1988         * po/eo.po: Update Esperanto translation from translation project.
1990         * po/ca.po: Update Catalan translation from translation project.
1992 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1994         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1995         __proc_dostop call.
1997 2014-08-27  Mark Wielaard  <mjw@redhat.com>
1999         [BZ #17319]
2000         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2001         to call set_thread_area instead of hand written asm.
2002         (__NR_set_thread_area): Removed define.
2003         (TLS_FLAG_WRITABLE): Likewise.
2004         (__ASSUME_SET_THREAD_AREA): Remove check.
2005         (TLS_EBX_ARG): Remove define.
2006         (TLS_LOAD_EBX): Likewise.
2008 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2010         Simplify atomicity of socket creation in bind.
2012         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2013         looking up the name after linking the file.
2015 2014-08-27  Allan McRae  <allan@archlinux.org>
2017         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2019 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2021         [BZ #17187]
2022         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2023         trans_compare, open_translit, __gconv_translit_find):
2024         Remove module loading code.
2026 2014-08-26  Allan McRae  <allan@archlinux.org>
2028         * po/vi.po: Update Vietnamese translation from translation project.
2030         * po/uk.po: Update Ukrainian translation from translation project.
2032         * po/fr.po: Update French translation from translation project.
2034         * po/ru.po: Update Russian translation from translation project.
2036         * po/pl.po: Update Polish translation from translation project.
2038         * po/cs.po: Update Czech translation from translation project.
2040         * po/de.po: Update German translation from translation project.
2042         * po/bg.po: Update Bulgarian translation from translation project.
2044         * po/sv.po: Update Sweedish translation from translation project.
2046         * po/nl.po: Update Dutch translation from translation project.
2048         * po/es.po: Update Spanish translation from translation project.
2050 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2052         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2054         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2055         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2056         (CPPFLAGS-iconvconfig): Likewise.
2057         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2059         * include/libc-symbols.h: Remove unnecessary check for
2060         NOT_IN_libc.
2061         * nptl/pthreadP.h: Likewise.
2062         * sysdeps/aarch64/setjmp.S: Likewise.
2063         * sysdeps/alpha/setjmp.S: Likewise.
2064         * sysdeps/arm/sysdep.h: Likewise.
2065         * sysdeps/i386/setjmp.S: Likewise.
2066         * sysdeps/m68k/setjmp.c: Likewise.
2067         * sysdeps/posix/getcwd.c: Likewise.
2068         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2069         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2070         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2071         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2072         * sysdeps/sh/sh3/setjmp.S: Likewise.
2073         * sysdeps/sh/sh4/setjmp.S: Likewise.
2074         * sysdeps/unix/alpha/sysdep.h: Likewise.
2075         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2076         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2077         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2078         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2081         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2083         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2085         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2086         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2088         * sysdeps/x86_64/setjmp.S: Likewise.
2090 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2092         [BZ #17263]
2093         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2094         <stdint.h>.
2095         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2096         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2098 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2100         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2102         [BZ #17262]
2103         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2104         and __x86_64__ when disabling x87 inline functions.
2106 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2108         [BZ #17259]
2109         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2110         asm statement with __cpuid_count.
2112 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2114         * configure.ac: Change __ehdr_start code to dereference the struct.
2115         Run readelf on the output to look for relocations.
2116         * configure: Regenerated.
2118 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2120         [BZ #17261]
2121         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2122         value to 0.
2123         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2125 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2127         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2129 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2131         [BZ #16892]
2132         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2133         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2135 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2137         * malloc/malloc.c: Fix typo in comment.
2139 2014-08-09  Allan McRae  <allan@archlinux.org>
2141         * Regenerate libc.po.
2143 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2145         * intl/tst-gettext2.sh: Check every lang file for creation.
2147 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2149         * sysdeps/aarch64/fpu/math_private.h
2150         (libc_feholdsetround_noex_aarch64_ctx): New function.
2152 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2154         * sysdeps/arm/armv6/strcpy.S (strcpy):
2155         Fix performance issue in misaligned cases.
2157 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2159         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2160         Move definition from termios.h.
2161         (struct termio): Likewise.
2162         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2163         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2164         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2165         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2166         Likewise.
2167         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2168         Move definition to ioctl-types.h
2169         (struct termio): Likewise.
2170         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2171         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2172         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2173         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2174         Likewise.
2176 2014-08-05  Richard Henderson  <rth@redhat.com>
2178         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2179         exceptions.
2180         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2181         Add fraiseexcpt.
2182         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2183         Use __feraiseexcept.
2184         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2185         Protect libm symbols with IS_IN_libm.
2187         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2189 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2191         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2193 2014-08-04  Will Newton  <will.newton@linaro.org>
2195         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2196         file.
2198 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2200         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2201         variants for each function.
2203 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2205         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2206         appended ...
2207         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2208         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2209         appended ...
2210         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2211         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2212         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2213         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2214         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2215         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2216         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2217         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2218         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2219         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2220         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2221         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2222         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2223         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2224         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2225         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2226         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2227         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2228         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2229         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2230         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2232         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2233         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2234         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2235         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2236         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2237         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2238         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2239         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2240         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2241         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2242         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2243         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2244         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2245         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2246         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2247         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2248         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2249         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2250         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2251         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2252         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2253         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2254         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2255         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2256         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2257         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2258         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2259         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2260         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2261         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2262         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2263         Update #include.
2264         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2265         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2267 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2269         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2270         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2271         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2272         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2273         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2274         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2276 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2278         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2279         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2280         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2281         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2283 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2285         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2286         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2287         (__libc_vfork): Define function under this name.
2288         (__vfork): Define as an alias.
2289         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2290         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2292 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2294         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2295         that was previously under [RESET_PID].
2296         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2298 2014-08-04  Andreas Schwab  <schwab@suse.de>
2300         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2302 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
2304         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2305         (main): Likewise.
2307 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2309         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2311 2014-08-01  Richard Henderon  <rth@redhat.com>
2313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2314         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2315         typo in exact zero test.
2316         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2317         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2318         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2320 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2322         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2323         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2324         * sysdeps/arm/sysdep.h: ... here.
2325         [!__ASSEMBLER__]: Include <stdint.h>.
2327 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2329         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2330         (HAVE_WCTYPE_H): Likewise.
2331         (HAVE_ISWCTYPE): Likewise.
2332         (ENABLE_NLS): Likewise.
2333         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2334         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2336         * posix/regex_internal.c: Check if DEBUG is defined and is
2337         set.
2339         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2340         (HAVE_MBSRTOWCS): Likewise.
2341         * posix/fnmatch.c: Include string.h unconditionally.
2343 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2345         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2346         reversal.
2348 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2350         * sysdeps/generic/safe-fatal.h: New file.
2351         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2352         * nptl/forward.c: Include it.
2353         (__pthread_unwind): Use __safe_fatal as default action, rather
2354         than a bogus use of INTERNAL_SYSCALL that could never work.
2356         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2357         * configure.ac (libc_cv_builtin_trap): New test.
2358         * configure: Regenerated.
2359         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2360         (ABORT_INSTRUCTION): Define using __builtin_trap.
2362         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2363         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2364         * sysdeps/nptl/nptl-signals.h: New file.
2365         * nptl/pthreadP.h: Include <nptl-signals.h>.
2367 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2369         * sysdeps/s390/s390-64/utf16-utf32-z9.c
2370         (ONE_DIRECTION): Define.
2371         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2372         (ONE_DIRECTION): Define.
2373         * sysdeps/s390/s390-64/utf8-utf32-z9.c
2374         (ONE_DIRECTION): Define.
2376 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2378         * sysdeps/s390/Makefile: Delete file.
2379         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2380         * sysdeps/s390/__longjmp.c: Delete file.
2381         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2382         Remove fields __flags and __reserved.
2383         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2384         and add versioning.
2385         * sysdeps/s390/rtld-__longjmp.c: Delete file.
2386         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2387         * sysdeps/s390/rtld-setjmp.S: Likewise.
2388         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2389         * sysdeps/s390/s390-32/__longjmp.c: ... here.
2390         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2391         * sysdeps/s390/s390-32/setjmp.S: ... here.
2392         Add versioning.
2393         (__sigsetjmp): Remove setting __flags field.
2394         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2395         * sysdeps/s390/s390-64/__longjmp.c: ... here.
2396         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2397         * sysdeps/s390/s390-64/setjmp.S: ... here.
2398         Add versioning.
2399         (__sigsetjmp): Remove setting __flags field.
2400         * sysdeps/s390/setjmp.S: Delete file.
2401         * sysdeps/s390/sigjmp.c: Likewise.
2402         * sysdeps/s390/v1-longjmp.c: Likewise.
2403         * sysdeps/s390/v1-setjmp.h: Likewise.
2404         * sysdeps/s390/v1-sigjmp.c: Likewise.
2405         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2406         Remove v1-longjmp_chk.
2407         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2408         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2409         Include debug/longjmp_chk.c and add versioning.
2410         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2411         Include nptl/pt-longjmp.c and add versioning.
2412         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2413         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2414         Include __longjmp.c.
2415         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2416         Move to ...
2417         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2418         (__getcontext): Remove setting __flags field.
2419         Add versioning.
2420         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2421         Don't restore upper high grps.
2422         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2423         Likewise.
2424         (__swapcontext): Remove setting uc_flags field.
2425         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2426         Delete file.
2427         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2428         Include __longjmp.c.
2429         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2430         Move to ...
2431         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2432         (__getcontext): Remove setting __flags field.
2433         Add versioning.
2434         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2435         (__swapcontext): Remove setting uc_flags field.
2436         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2437         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2438         Remove fields uc_high_gprs and __reserved.
2439         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2440         New file with reverted content.
2441         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2442         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2443         Regenerated.
2444         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2445         Regenerated.
2447 2014-07-31  Andreas Schwab  <schwab@suse.de>
2449         * config.h.in (HAVE_IFUNC): Define to 0.
2450         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2451         definedness.
2453 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
2455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2456         memmove-avx-unaligned, memcpy-avx-unaligned and
2457         mempcpy-avx-unaligned.
2458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2459         Add tests for AVX memcpy functions.
2460         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2461         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2462         memcpy_chk.
2463         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2464         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2465         memmove_chk.
2466         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2467         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2468         mempcpy_chk.
2469         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2470         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2471         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2473 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2475         [BZ #17213]
2476         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2477         powerpc64le.
2479 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2481         [BZ #16839]
2482         * manual/llio.texi: Add section about open file description locks.
2483         * manual/examples/ofdlocks.c: Example of open file description
2484         lock usage.
2485         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2486         F_OFD_SETLK, and F_OFD_SETLKW.
2488 2014-07-23  Allan McRae  <allan@archlinux.org>
2490         * po/es.po: Update Spanish translation from translation project.
2492 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
2494         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2496 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2498         [BZ #17078]
2499         * sysdeps/arm/dl-machine.h (elf_machine_rela)
2500         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2501         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2503 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
2505         [BZ #17088]
2506         * math/fesetenv.c (__fesetenv)
2507         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2508         * math/feupdateenv.c (__feupdateenv)
2509         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2511         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2512         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2513         (__ASSUME_SOCKETCALL): Do not define.
2515         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2516         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2517         (__ASSUME_SOCKETCALL): Do not define.
2518         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2519         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2520         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2521         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2522         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2523         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2524         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2525         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2527         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2528         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2529         (__ASSUME_SOCKETCALL): Do not define.
2530         (__ASSUME_IPC64): Define unconditionally.
2531         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2532         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2533         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2534         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2535         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2536         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2537         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2538         Likewise.
2540         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2541         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2542         (__ASSUME_SOCKETCALL): Do not define.
2543         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2544         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2545         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2546         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2547         (__ASSUME_REQUEUE_PI): Define unconditionally.
2548         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2549         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2550         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2551         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2552         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2553         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2555         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2556         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2557         (__ASSUME_SOCKETCALL): Do not define.
2558         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2559         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2560         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2561         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2562         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2563         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2565         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2566         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2567         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2568         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2569         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2570         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2571         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2572         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2573         (__ASSUME_GETCPU_SYSCALL): Likewise.
2575         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2576         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
2577         cases for individual architectures.
2578         * sysdeps/gnu/configure: Regenerated.
2579         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2580         LIBC_SLIBDIR_RTLDDIR.
2581         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2582         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2583         LIBC_SLIBDIR_RTLDDIR.
2584         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2586         LIBC_SLIBDIR_RTLDDIR.
2587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2588         Regenerated.
2589         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2590         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2591         file.
2592         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2593         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2594         file.
2595         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2596         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2597         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2598         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2600         * sysdeps/aarch64/shlib-versions: Move to ...
2601         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2602         * sysdeps/alpha/shlib-versions: Move to ...
2603         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2604         * sysdeps/arm/shlib-versions: Move to ...
2605         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2606         * sysdeps/hppa/shlib-versions: Move all contents except for
2607         libgcc_s entry to ...
2608         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
2609         entry from ...
2610         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
2611         * sysdeps/ia64/shlib-versions: Move to ...
2612         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
2613         entry from ...
2614         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
2615         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2616         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2617         * sysdeps/microblaze/shlib-versions: Move to ...
2618         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2619         * sysdeps/mips/shlib-versions: Move to ...
2620         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
2621         entry from ...
2622         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
2623         * sysdeps/tile/shlib-versions: Move to ...
2624         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2625         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2626         from ...
2627         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
2628         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2629         entry from ...
2630         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
2632 2014-07-17  Will Newton  <will.newton@linaro.org>
2634         * sysdeps/arm/bits/atomic.h
2635         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2636         (__arch_compare_and_exchange_bool_16_int): Likewise.
2637         (__arch_compare_and_exchange_bool_64_int): Likewise.
2639         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2640         into an #else block.
2642 2014-07-16  Roland McGrath  <roland@hack.frob.com>
2644         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2645         just Linux configurations.  Test empirically that the compiler sets
2646         __ARM_EABI__, rather than using the tuple to decide.
2647         * sysdeps/arm/preconfigure: Regenerated.
2648         * sysdeps/unix/sysv/linux/arm/configure: File removed.
2649         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2650         contents appended ...
2651         * sysdeps/arm/configure.ac: ... here.
2652         * sysdeps/arm/configure: Regenerated.
2654 2014-07-15  Roland McGrath  <roland@hack.frob.com>
2656         * nptl/pthread_kill.c: New file.
2657         * nptl/pthread_sigmask.c: New file.
2658         * nptl/pthread_sigqueue.c: New file.
2660         * sysdeps/nptl/lowlevellock.h: New file.
2661         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2662         * sysdeps/nptl/lowlevellock-futex.h: New file.
2664         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2665         Remove dead declarations.
2667 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
2669         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2670         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2671         config-cflags-avx2.
2672         * sysdeps/x86_64/configure.ac: Likewise.
2673         * sysdeps/i386/configure: Regenerated.
2674         * sysdeps/x86_64/configure: Likewise.
2675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2676         memset-avx2 only if config-cflags-avx2 is yes.
2677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2678         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2679         defined.
2680         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2681         only if HAVE_AVX2_SUPPORT is defined.
2682         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2684 2014-07-14  Alan Modra  <amodra@gmail.com>
2686         [BZ #17153]
2687         * elf/elf.h (DT_PPC64_NUM): Correct value.
2688         * NEWS: Add to fixed bug list.
2690 2014-07-13  Jim Meyering  <meyering@fb.com>
2692         [BZ 17150]
2693         regex: don't deref NULL upon heap allocation failure
2694         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2695         failure in one more place.
2696         To trigger the segfault, configure grep -with-included-regex,
2697         build it, and run these commands:
2698         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2700 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2702         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2704 2014-07-11  Richard Henderson  <rth@redhat.com>
2706         * sysdeps/aarch64/libm-test-ulps: Update.
2708 2014-07-10  Florian Weimer  <fweimer@redhat.com>
2710         [BZ #17135]
2711         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2712         * nptl/allocatestack.c (__nptl_setxid_error): New function.
2713         (__nptl_setxid): Initialize error member.  Call
2714         __nptl_setxid_error.
2715         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2716         * nptl/descr.h (struct xid_command): Add error member.
2717         * nptl/tst-setuid3.c: New file.
2718         * nptl/Makefile (tests): Add it.
2720 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2722         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2723         New define.
2724         (__lll_trylock): Use __lll_base_trylock.
2725         (__lll_cond_trylock): Likewise.
2727 2014-07-10  Roland McGrath  <roland@hack.frob.com>
2729         * nptl/pthread_create.c (start_thread): Use atomic_or and
2730         lll_futex_wake directly rather than lll_robust_dead.
2731         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2732         (lll_robust_dead): Macro removed.
2733         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2734         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2735         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2736         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2737         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2738         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2739         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2740         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2741         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2742         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2743         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2744         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2745         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2746         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2747         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2749         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2750         Use atomic_compare_and_exchange_val_acq directly rather than
2751         lll_robust_trylock.
2752         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2753         (__lll_robust_trylock, lll_robust_trylock): Removed.
2754         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2755         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2756         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2757         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2758         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2759         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2760         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2761         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2762         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2763         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2764         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2765         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2766         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2767         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2769 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2771         * manual/locale.texi (Locale Names): New section documenting
2772         locale name syntax.  Adjust menu and node chaining accordingly.
2773         (Choosing Locale): Reference Locale Names, Locale Categories.
2774         Mention setting LC_ALL=C.  Reflect that name syntax is now
2775         documented.
2776         (Locale Categories): New section title.  Reference Locale Names.
2777         LC_ALL is an environment variable, but not a category.
2778         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2779         description, now in Locale Name.  Reference that section.  Locale
2780         name syntax is now documented.
2782 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2784         [BZ #17137]
2785         * locale/findlocale.c (name_present, valid_locale_name): New
2786         functions.
2787         (_nl_find_locale): Use the loc_name variable to store name
2788         candidates.  Call name_present and valid_locale_name to check and
2789         validate locale names.  Return an error if the locale is invalid.
2791 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2793         * locale/setlocale.c (setlocale): Use strdup for allocating
2794         composite name copy.
2796 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2798         Sync up with gnulib.
2799         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2800         [!_LIBC && ENABLE_NLS]: Include gettext.h.
2801         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2802         and _GL_ARG_NONNULL.
2803         [USE_UNLOCKED_IO]: Include unlocked-io.h.
2804         [!_LIBC]: Include code for Windows and Cygwin.
2805         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2806         Include prototype for int strerror_r.
2807         [!_LIBC] (is_open): New function.
2808         (flush_stdout): New function.
2809         (print_errno_message): Use it.
2810         (error): Likewise.
2811         (error_at_line): Likewise.
2812         (error_tail) Add function attribute macros.  Use
2813         __builtin_expect.
2815         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2817         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2819         * io/ftw.c: Include sys/param.h unconditionally.
2821         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2823         [BZ #17125]
2824         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2825         libc_freeres_ptr.
2826         (freecache): New function to free CACHE on exit.
2828         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2829         initialization.
2831 2014-07-09  David S. Miller  <davem@davemloft.net>
2833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2835         * sysdeps/sparc/nptl/internaltypes.h: Delete.
2836         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2837         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2838         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2839         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2840         * sysdeps/sparc/nptl/sem_init.c: Likewise.
2841         * sysdeps/sparc/nptl/sem_post.c: Likewise.
2842         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2843         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2844         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2845         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2846         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2847         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2849 2014-07-09  Andreas Schwab  <schwab@suse.de>
2851         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2852         output.
2853         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2854         (do_test): Likewise.
2856         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2858 2014-07-09  Will Newton  <will.newton@linaro.org>
2860         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2861         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2862         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2863         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2864         * sysdeps/hppa/start.S (_start): Likewise.
2866 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2868         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2870         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2871         defined.
2873 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2875         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2876         after checking that it is non-NULL.
2878         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2880 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2882         * sysdeps/powerpc/memmove.c: Remove file.
2883         * sysdeps/powerpc/powerpc32/power4/memcopy.h
2884         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2885         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2886         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2887         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2888         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2889         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2890         string memmove instead of removed powerpc one.
2892         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2893         [weak_alias]: Fix compiler warning due trailing data.
2894         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2895         [weak_alias]: Likewise.
2896         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2897         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2900         (__libc_ifunc_impl_list): Add memmove functions.
2902 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2904         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2905         Remove code.
2906         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2907         Likewise
2908         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2909         Likewise
2910         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2911         Likewise
2912         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2913         Likewise
2914         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2915         Likewise
2916         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2917         Likewise
2918         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2919         Likewise
2920         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2921         Likewise
2922         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2923         Likewise
2924         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2925         Likewise
2926         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2927         Likewise
2928         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2929         Likewise
2930         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2931         Likewise
2932         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2933         Likewise
2934         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2935         Likewise
2936         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2937         Likewise
2939 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2941         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2942         to avoid alignment traps in non-cacheable memory.
2943         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2945         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2946         multiarch objects.
2947         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2948         file: multiarch power7 memmove.
2949         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2950         multiarch default memmove.
2951         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2952         multiarch memove for powerpc32/power4.
2954         * string/bcopy.c: Use full path to include memmove.c.
2955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2956         multiarch objects.
2957         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2958         bcopy for powerpc64.
2959         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2960         bcopy for powerpc64.
2961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2962         and memmove implementations.
2963         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2964         optimized multiarch memmove for POWER7/powerpc64.
2965         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2966         default multiarch memmove for powerpc64.
2967         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2968         multiarch for powerpc64.
2969         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2970         for POWER7/powerpc64.
2971         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2972         memmove for POWER7/powerpc64.
2974         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2975         glibc default one.
2977         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2978         __ELF_NATIVE_CLASS equal to 64.
2980 2014-07-07  Roland McGrath  <roland@hack.frob.com>
2982         * sysdeps/nptl/lowlevellock.h: File removed.
2984         * NEWS: NPTL is no longer an add-on!
2985         * nptl/internaltypes.h: Moved ...
2986         * sysdeps/nptl/internaltypes.h: ... here.
2987         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2988         * sysdeps/nptl/fork.c: Likewise.
2989         * sysdeps/nptl/gai_misc.h: Likewise.
2990         * sysdeps/nptl/librt-cancellation.c: Likewise.
2991         * sysdeps/nptl/jmp-unwind.c: Likewise.
2992         * sysdeps/nptl/setxid.h: Likewise.
2993         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2994         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2995         * sysdeps/unix/sysv/linux/arm/Implies: New file.
2996         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2997         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2998         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2999         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3000         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3001         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3002         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3003         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3004         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3005         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3006         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3007         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3008         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3009         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3010         * nptl/Makeconfig: Moved ...
3011         * sysdeps/nptl/Makeconfig: ... here.
3012         * nptl/configure: File removed.
3013         * nptl/ANNOUNCE: File removed.
3014         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3015         * sysdeps/unix/sysv/linux/configure: Regenerated.
3017         * nptl/Makefile (routines): Add libc_pthread_init,
3018         libc_multiple_threads, register-atfork and unregister-atfork.
3019         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3020         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3021         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3022         pthread-pi-defines.sym, structsem.sym.
3023         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3024         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3025         [$(subdir) = nptl] (tests): Add tst-setgetname.
3026         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3027         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3028         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3029         [!LIBC_SIGACTION]: Remove aliases.
3030         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3031         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3032         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3033         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3034         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3035         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3036         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3037         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3038         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3039         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3040         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3041         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3042         __libc_allocate_rtsig_private.
3043         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3044         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3045         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3046         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3047         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3048         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3049         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3050         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3051         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3052         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3053         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3054         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3055         * nptl/internaltypes.h: ... here.
3056         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3057         * sysdeps/nptl/jmp-unwind.c: ... here.
3058         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3059         * nptl/libc-lowlevellock.c: ... here.
3060         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3061         * nptl/libc_multiple_threads.c: ... here.
3062         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3063         * nptl/libc_pthread_init.c: ... here.
3064         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3065         * nptl/lowlevelbarrier.sym: ... here.
3066         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3067         * nptl/lowlevelcond.sym: ... here.
3068         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3069         * nptl/lowlevellock.c: ... here.
3070         * nptl/lowlevellock.h: Moved ...
3071         * sysdeps/nptl/lowlevellock.h: ... here.
3072         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3073         * nptl/lowlevelrobustlock.c: ... here.
3074         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3075         * nptl/lowlevelrobustlock.sym: ... here.
3076         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3077         * nptl/lowlevelrwlock.sym: ... here.
3078         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3079         * nptl/pt-fork.c: ... here.
3080         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3081         * nptl/pthread-pi-defines.sym: ... here.
3082         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3083         * nptl/pthread_attr_getaffinity.c: ... here.
3084         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3085         * nptl/pthread_attr_setaffinity.c: ... here.
3086         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3087         * nptl/pthread_mutex_cond_lock.c: ... here.
3088         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3089         Update #include.
3090         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3091         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3092         * nptl/pthread_once.c: ... here, replacing old file.
3093         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3094         * nptl/pthread_yield.c: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3096         * nptl/register-atfork.c: ... here.
3097         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3098         * nptl/sem_post.c: ... here.
3099         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3100         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3101         * nptl/sem_timedwait.c: ... here.
3102         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3103         * nptl/sem_trywait.c: ... here.
3104         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3105         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3106         * nptl/sem_wait.c: ... here.
3107         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3108         * nptl/structsem.sym: ... here.
3109         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3110         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3111         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3112         * nptl/unregister-atfork.c: ... here.
3113         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3114         * nptl/unwindbuf.sym: ... here.
3115         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3116         * sysdeps/nptl/fork.c: ... here.
3117         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3118         * sysdeps/nptl/fork.h: ... here.
3119         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3120         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3121         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3122         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3123         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3124         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3125         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3126         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3127         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3128         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3129         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3130         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3131         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3132         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3133         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3134         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3135         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3136         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3137         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3138         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3139         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3140         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3141         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3142         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3143         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3144         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3145         * sysdeps/unix/sysv/linux/raise.c: ... here.
3146         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3147         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3148         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3149         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3150         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3151         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3152         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3153         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3154         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3155         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3156         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3157         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3158         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3159         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3160         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3162 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3164         * sysdeps/generic/memcopy.h: Add comment for
3165         MEMCPY_OK_FOR_FWD_MEMMOVE.
3167 2014-07-04  Will Newton  <will.newton@linaro.org>
3169         * string/memchr.c: Merge from gnulib.
3170         [_LIBC]: Remove conditionals.
3171         (__ptr_t): Remove define.
3172         (LONG_MAX_32_BITS): Likewise.
3173         (LONG_MAX): Likewise.
3174         (MEMCHR): Use ANSI prototype and optimize algorithm.
3176         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3178 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3180         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3181         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3183         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3184         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3185         in a bare environment with no <stdlib.h> installed.
3186         * sysdeps/nptl/configure: Regenerated.
3188         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3190         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3191         AC_EGREP_CPP for kernel header checks, so they only succeed if
3192         including <linux/version.h> actually works right.
3193         * sysdeps/unix/sysv/linux/configure: Regenerated.
3195         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3196         value so it's not diagnosed as unused.
3198         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3199         thing) with "ifeq ($(subdir),rt)".
3201 2014-07-03  Richard Henderson  <rth@redhat.com>
3203         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3204         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3205         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3207         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3208         (math_force_eval): New.
3210         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3211         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3213         * sysdeps/alpha/fpu/s_round.c: Remove file.
3214         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3216         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3217         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3218         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3219         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3220         (_dl_start, print_statistics): Likewise.
3221         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3222         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3224         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3225         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3226         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3227         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3228         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3229         (HP_SMALL_TIMING_AVAIL): Define.
3230         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3231         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3232         (HP_SMALL_TIMING_AVAIL): Define.
3233         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3234         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3236         * sysdeps/aarch64/hp-timing.h: New file.
3238         * sysdeps/generic/hp-timing.h: Remove dead comment.
3239         * sysdeps/generic/hp-timing-common.h: New file.
3240         * sysdeps/alpha/hp-timing.h: Include it.
3241         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3242         * sysdeps/i386/i686/hp-timing.h: Likewise.
3243         * sysdeps/ia64/hp-timing.h: Likewise.
3244         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3245         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3246         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3247         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3248         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3249         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3250         (hp_timing_t): New.
3252         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3253         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3254         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3255         * elf/rtld.c (_dl_start_final): Likewise.
3256         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3257         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3258         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3259         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3260         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3261         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3262         (HP_TIMING_DIFF_INIT): Remove.
3263         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3264         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3265         (HP_TIMING_DIFF_INIT): Remove.
3266         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3267         * sysdeps/i386/i686/hp-timing.c: Remove file.
3268         * sysdeps/x86_64/hp-timing.c: Remove file.
3269         * sysdeps/ia64/hp-timing.c: Remove file.
3270         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3271         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3272         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3273         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3275         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3276         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3277         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3278         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3279         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3280         (HP_TIMING_ACCUM): Remove.
3281         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3282         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3283         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3285         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3286         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3287         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3288         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3289         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3290         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3291         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3292         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3294         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3296 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
3298         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3300 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3302         Sync up with gettext.
3303         * intl/loadmsgcat.c: Define O_BINARY if not defined.
3304         [_MSC_VER]: Include malloc.h
3305         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3306         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3307         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
3308         TEMP_FAILURE_RETRY.  Cast return of alloca.
3309         [!_LIBC] Call gl_rwlock_init.
3310         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3312 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3314         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3315         before checking its value.
3317 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3319         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3321         * debug/memcpy_chk.c: Don't include pagecopy.h.
3322         * debug/mempcpy_chk.c: Likewise.
3323         * string/memcpy.c: Likewise.
3324         * string/memmove.c: Likewise.
3325         * sysdeps/powerpc/memmove.c: Likewise.
3326         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
3327         definition of PAGE_COPY_FWD_MAYBE here...
3328         * sysdeps/generic/pagecopy.h: ... from here.
3329         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3331 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3332             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3334         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3336         optimizations.
3337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3338         (__libc_ifunc_impl_list): Likewise.
3339         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3340         multiarch strcat for PPC64.
3341         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3342         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3344 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3346         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3348 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3350         * intl/loadmsgcat.c: Remove declaration of
3351         get_sysdep_segment_value.
3352         (get_sysdep_segment_value): Use ISO C style.
3353         (_nl_load_domain): Use ISO C style.  Get rid of redundant
3354         semicolon.  Fix typo and formatting in comment.
3355         (_nl_unload_domain): Use ISO C style.
3357         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3359 2014-07-02  Will Newton  <will.newton@linaro.org>
3361         * malloc/obstack.c: Merge from gnulib master.
3362         [HAVE_CONFIG_H]: Remove conditional code.
3363         [!_LIBC]: Include config.h.
3364         [!ELIDE_CODE]: Don't include inttypes.h, include
3365         stdint.h unconditionally.
3366         (print_and_abort): Mark as _Noreturn.
3367         (_obstack_allocated_p): Mark as __attribute_pure__.
3368         (obstack_free): Rename to __obstack_free.
3369         [!__attribute__]: Remove conditional code.
3370         * malloc/obstack.h: Merge from gnulib master.
3371         [__cplusplus]: Move conditional down.
3372         [!__attribute_pure__]: Define __attribute_pure__ here
3373         if it is not already defined.
3374         (_obstack_memory_used): Mark as __attribute_pure__.
3375         [!__obstack_free]: Define as obstack_free.
3376         [__GNUC__]: Remove check for ancient NeXT gcc.
3378 2014-07-02  Will Newton  <will.newton@linaro.org>
3379             Paul Eggert  <eggert@cs.ucla.edu>
3381         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3383 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385         * resolv/gethnamaddr.c: Add comment warning that the file is
3386         not maintained.
3388 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
3390         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3391         entries.
3393         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3394         entry for aio_cancel and aio_cancel64.
3395         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3396         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3397         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3398         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3399         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3400         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3401         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3402         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3403         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3404         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3405         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3406         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3407         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3409 2014-07-01  Roland McGrath  <roland@hack.frob.com>
3411         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3412         * nptl/pthread_mutex_lock.c: Likewise.
3413         * nptl/pthread_mutex_timedlock.c: Likewise.
3414         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3416 2014-07-01  Richard henderson  <rth@redhat.com>
3418         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3419         (__isnan, __isnanl): Remove.
3420         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3422         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3424 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3426         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3428 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3430         * resolv/nss_dns/dns-host.c (getanswer_r)
3431         [MULTI_PTRS_ARE_ALIASES]: Remove code.
3433 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
3435         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3436         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3437         undefine.
3438         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3439         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3441 2014-07-01  Roland McGrath <roland@hack.frob.com>
3443         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3444         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3446         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3447         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3449         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3450         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3451         ... here.
3452         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3453         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3455         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3456         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3457         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3458         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3460         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3461         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3462         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3463         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3464         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3465         Moved ...
3466         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3467         ... here.
3468         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3469         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3470         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3471         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3472         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3473         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3474         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3475         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3476         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3477         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3478         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3479         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3480         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3481         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3482         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3483         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3484         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3485         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3486         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3487         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3488         ... here.
3489         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3490         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3491         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3492         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3493         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3494         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3495         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3496         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3498 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
3500         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3501         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3502         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3503         Add sysdep.
3505 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3509 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3511         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3512         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3514         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3516         * sysdeps/arm/libm-test-ulps: Regenerated.
3518 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3519             Roland McGrath <roland@hack.frob.com>
3521         * test-skeleton.c (signal_handler): Kill the whole process group
3522         before killing the child individually.
3523         (main): Report any failure on `setpgid'.
3525 2014-06-30  Roland McGrath  <roland@hack.frob.com>
3527         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3528         from _TLS_H to _ARM_NPTL_TLS_H.
3529         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3530         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3532 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3534         [BZ #16539]
3535         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3536         (__expm1l): Return argument unchanged when small but not
3537         subnormal.
3539         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3540         include macro name.
3541         (_FP_UNPACK_RAW_1_P): Likewise.
3542         (_FP_PACK_RAW_1): Likewise.
3543         (_FP_PACK_RAW_1_P): Likewise.
3544         (_FP_MUL_MEAT_1_wide): Likewise.
3545         (_FP_MUL_MEAT_DW_1_hard): Likewise.
3546         (_FP_MUL_MEAT_1_hard): Likewise.
3547         (_FP_DIV_MEAT_1_imm): Likewise.
3548         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3549         (_FP_DIV_MEAT_1_udiv): Likewise.
3550         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3551         (_FP_UNPACK_RAW_2): Likewise.
3552         (_FP_UNPACK_RAW_2_P): Likewise.
3553         (_FP_PACK_RAW_2): Likewise.
3554         (_FP_PACK_RAW_2_P): Likewise.
3555         (_FP_MUL_MEAT_DW_2_wide): Likewise.
3556         (_FP_MUL_MEAT_2_wide): Likewise.
3557         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3558         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3559         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3560         (_FP_MUL_MEAT_2_gmp): Likewise.
3561         (_FP_DIV_MEAT_2_udiv): Likewise.
3562         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3563         (_FP_FRAC_SRL_4): Likewise.
3564         (_FP_FRAC_SRST_4): Likewise.
3565         (_FP_FRAC_SRS_4): Likewise.
3566         (_FP_UNPACK_RAW_4): Likewise.
3567         (_FP_UNPACK_RAW_4_P): Likewise.
3568         (_FP_PACK_RAW_4): Likewise.
3569         (_FP_PACK_RAW_4_P): Likewise.
3570         (_FP_MUL_MEAT_DW_4_wide): Likewise.
3571         (_FP_MUL_MEAT_4_wide): Likewise.
3572         (_FP_MUL_MEAT_4_gmp): Likewise.
3573         (umul_ppppmnnn): Likewise.
3574         (_FP_DIV_MEAT_4_udiv): Likewise.
3575         (__FP_FRAC_ADD_4): Likewise.
3576         (__FP_FRAC_SUB_3): Likewise.
3577         (__FP_FRAC_SUB_4): Likewise.
3578         (__FP_FRAC_DEC_3): Likewise.
3579         (__FP_FRAC_DEC_4): Likewise.
3580         (__FP_FRAC_ADDI_4): Likewise.
3581         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3582         (_FP_FRAC_SRL_8): Likewise.
3583         (_FP_FRAC_SRS_8): Likewise.
3585         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3586         include macro name.
3587         (FP_UNPACK_RAW_EP): Likewise.
3588         (FP_PACK_RAW_E): Likewise.
3589         (FP_PACK_RAW_EP): Likewise.
3590         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3591         (_FP_ISSIGNAN): Likewise.
3592         (_FP_ADD_INTERNAL): Likewise.
3593         (_FP_FMA): Likewise.
3594         (_FP_CMP): Likewise.
3595         (_FP_SQRT): Likewise.
3596         (_FP_TO_INT): Likewise.
3597         (_FP_FROM_INT): Likewise.
3598         (FP_EXTEND): Likewise.
3599         (_FP_DIV_MEAT_N_loop): Likewise.
3601 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3603         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3604         throughout.
3606 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
3608         [BZ #17097]
3609         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3610         result with correct sign in case of exponents that produce
3611         overflow except for X very close to 1.
3613 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
3615         mktime: merge #if/#ifdef usage from glibc
3616         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3617         as that works with both Glibc's and Gnulib's style.
3618         See thread starting at Siddhesh Poyarekar's bug report at:
3619         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3621 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3623         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3624         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3625         * sysdeps/tile/tilegx/memmove.c: Remove file.
3627 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3629         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3630         abi-name definition.
3631         * scripts/soversions.awk: Do not handle or generate ABI lines.
3632         * shlib-versions: Remove ABI entries.
3633         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3634         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3636 2014-06-27  Roland McGrath  <roland@hack.frob.com>
3638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3639         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3640         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3641         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3642         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3643         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3645         Moved ...
3646         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3647         ... here.
3648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3649         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3651         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3653         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3654         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3655         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3657         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3659         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3660         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3661         Moved ...
3662         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3664         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3666         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3667         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3668         Moved ...
3669         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3671         Moved ...
3672         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3674         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3676         Moved ...
3677         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3679         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3681         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3682         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3683         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3684         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3685         Moved ...
3686         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3688         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3692         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3693         Moved ...
3694         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3695         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3696         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3697         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3698         Moved ...
3699         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3700         ... here.
3701         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3702         Identical file removed.
3703         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3704         Moved ...
3705         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3706         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3707         Identical file removed.
3708         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3709         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3710         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3711         Moved ...
3712         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3714         Identical file removed.
3715         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3716         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3717         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3718         Identical file removed.
3719         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3720         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3721         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3722         Identical file removed.
3723         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3724         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3725         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3726         Identical file removed.
3727         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3728         Moved ...
3729         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3730         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3731         Identical file removed.
3732         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3733         Moved ...
3734         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3735         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3736         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3738         Identical file removed.
3739         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3740         Moved ...
3741         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3742         ... here.
3743         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3744         Identical file removed.
3745         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3746         Moved ...
3747         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3748         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3749         Identical file removed.
3750         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3751         Moved ...
3752         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3753         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3754         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3756         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3757         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3758         Moved ...
3759         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3761         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3763         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3764         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3765         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3766         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3767         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3769 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
3771         [BZ #17092]
3772         * nscd/nscd.c (monitor_child): Return exit status of child
3773         instead of return value from wait syscall.
3775 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3777         * configure.ac (libc_commonpagesize): Remove variable.
3778         (libc_relro_required): Likewise.
3779         (libc_cv_z_relro): Remove configure test.
3780         * configure: Regenerated.
3781         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3782         variable.
3783         (libc_relro_required): Likewise.
3784         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3785         (libc_relro_required): Likewise.
3786         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3787         (libc_relro_required): Likewise.
3788         * sysdeps/arm/preconfigure: Regenerated.
3789         * sysdeps/ia64/preconfigure: Remove file.
3790         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3791         variable.
3792         (libc_relro_required): Likewise.
3794         [BZ #16561]
3795         [BZ #16562]
3796         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3797         (__ieee754_yn): Set FE_TONEAREST mode internally and then
3798         recompute overflowing results in original rounding mode.
3799         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3800         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3801         recompute overflowing results in original rounding mode.
3802         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3803         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3804         recompute overflowing results in original rounding mode.
3805         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3806         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3807         recompute overflowing results in original rounding mode.
3808         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3809         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3810         recompute overflowing results in original rounding mode.
3811         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3812         (libc_feholdsetround_ctx): New macro.
3813         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3814         * sysdeps/i386/fpu/libm-test-ulps: Update.
3815         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3817 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3819         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3820         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3821         corresponding .cpsetup call.
3823 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3825         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3826         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3827         * sysdeps/arm/Makefile [$(subdir) = csu]
3828         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3829         (static-only-routines): Add aeabi_read_tp here.
3830         (shared-only-routines): Add libc-aeabi_read_tp here.
3831         (CFLAGS-libc-start.c): Add -fexceptions here.
3832         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3833         (sysdep_routines, static-only-routines, shared-only-routines):
3834         Don't add to these here.
3835         (CFLAGS-libc-start.c): Likewise.
3837         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3838         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3839         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3840         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3841         * sysdeps/arm/Makefile [$(subdir) = rt]
3842         (librt-sysdep_routines, librt-shared-only-routines):
3843         Append rt-aeabi_unwind_cpp_pr1 here.
3844         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3845         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3846         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3847         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3848         Append nptl-aeabi_unwind_cpp_pr1 here.
3849         (tests): Filter out tst-cleanupx4 here.
3850         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3851         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3852         Don't do those here.
3854 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3856         * scripts/list-sources.sh: Do not handle ports specially.
3858 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3860         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3861         * sysdeps/arm/feupdateenv.c: Likewise.
3863         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3865 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3867         * manual/texinfo.tex: Update to version 2014-05-05.10 with
3868         trailing whitespace removed.
3869         * scripts/config.guess: Update to version 2014-03-23.
3870         * scripts/config.sub: Update to version 2014-05-01
3871         * scripts/install-sh: Update to version 2013-12-25.23.
3872         * scripts/move-if-change: Update from gnulib.
3874 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3876         * debug/memmove_chk.c: Remove pagecopy.h include.
3878 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
3880         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
3881         identical to gnulib mktime.
3883 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3885         * configure.ac: Do not test for machine being rs6000.  Do not test
3886         for powerpc*-*soft.
3887         * configure: Regenerated.
3889         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3890         test.
3891         * configure: Regenerated.
3892         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3893         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3894         Remove configure test.
3895         * sysdeps/arm/configure: Regenerated.
3896         * sysdeps/nptl/configure.ac: Do not check
3897         libc_cv_asm_cfi_directives.
3898         * sysdeps/nptl/configure: Regenerated.
3899         * sysdeps/x86_64/nptl/configure.ac: Remove file.
3900         * sysdeps/x86_64/nptl/configure: Remove generated file.
3901         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3902         unconditional.
3903         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3905 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3907         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3908         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3909         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3910         it is defined.
3912         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3913         instead of whether it is defined.
3914         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3915         * sysdeps/hppa/dl-machine.h: Likewise.
3916         * sysdeps/ia64/dl-machine.h: Likewise.
3917         * sysdeps/m68k/dl-machine.h: Likewise.
3918         * sysdeps/microblaze/dl-machine.h: Likewise.
3919         * sysdeps/mips/dl-machine.: Likewise.
3920         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3921         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3922         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3923         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3924         * sysdeps/sh/dl-machine.h: Likewise.
3925         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3926         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3927         * sysdeps/tile/dl-machine.h: Likewise.
3928         * sysdeps/x86_64/dl-machine.h: Likewise.
3930         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3931         code.
3932         (verify_persistent_db): Likewise.
3934 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3937         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3939         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3941         Moved ...
3942         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3943         ... here.
3944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3945         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3947         Identical file removed.
3948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3949         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3951         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3953         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3955         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3957         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3959         Moved ...
3960         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3962         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3964         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3966         Moved ...
3967         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3969         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3971         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3973         Identical file removed.
3974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3975         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3977         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3979         Moved ...
3980         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3981         ... here.
3982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3983         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3985         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3987         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3989         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3991         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3993         Moved ...
3994         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3996         Moved ...
3997         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3999         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4001         Moved ...
4002         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4004         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4006         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4007         folded into ...
4008         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4009         * sysdeps/unix/sysv/linux/s390/Versions
4010         (libpthread: GLIBC_2.19): New version set.
4011         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4012         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4013         (librt: GLIBC_2.3.3): New version set.
4014         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4015         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4016         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4017         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4018         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4019         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4020         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4021         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4022         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4023         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4024         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4025         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4026         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4027         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4028         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4029         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4030         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4031         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4032         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4033         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4034         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4035         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4036         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4037         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4038         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4039         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4040         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4041         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4042         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4043         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4044         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4045         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4050         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4051         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4052         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4053         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4054         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4055         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4056         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4057         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4058         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4060         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4061         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4062         (__libc_vfork): Define the function under this name.
4063         [!NOT_IN_libc] (__vfork): Make this an alias.
4064         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4065         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4066         * sysdeps/unix/sysv/linux/s390/s390-64/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         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4071         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4073         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4074         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4076         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4077         code that was previously under [RESET_PID].
4078         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4079         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4082         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4083         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4084         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4085         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4086         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4087         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4088         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4089         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4090         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4091         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4092         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4093         Moved ...
4094         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4095         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4096         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4097         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4098         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4099         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4100         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4101         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4102         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4103         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4104         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4105         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4106         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4107         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4108         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4109         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4110         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4111         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4112         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4113         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4114         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4115         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4116         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4117         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4118         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4119         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4120         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4121         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4122         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4124 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4126         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4127         that was previously under [RESET_PID].
4128         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4130 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4132         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4133         not undefine and redefine.
4134         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4135         [O_CLOEXEC]: Make code unconditional.
4136         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4137         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4138         <kernel-features.h>.
4139         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4140         conditional variable definition.
4141         (shm_open) [O_CLOEXEC]: Make code unconditional.
4142         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4143         code.
4145         * configure.ac (USE_REGPARMS): Don't define here.
4146         * configure: Regenerated.
4147         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4148         * sysdeps/i386/configure: Regenerated.
4150         * nptl/createthread.c: Don't include kernel-features.h.
4151         * nptl/pthread_cancel.c: Likewise.
4152         * nptl/pthread_condattr_setclock.c: Likewise.
4153         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4154         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4155         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4156         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4157         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4158         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4159         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4161         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4162         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4163         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4164         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4165         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4166         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4167         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4168         * nscd/gai.c: Likewise.
4169         * nss/nss_db/db-open.c: Likewise.
4170         * sysdeps/generic/ldsodefs.h: Likewise.
4171         * sysdeps/sh/nptl/tls.h: Likewise.
4172         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4173         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4174         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4175         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4176         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4177         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4178         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4179         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4180         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4181         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4182         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4183         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4184         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4185         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4186         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4187         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4188         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4189         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4190         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4191         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4193         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4194         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4195         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4196         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4197         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4198         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4199         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4200         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4201         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4202         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4203         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4204         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4205         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4206         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4207         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4208         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4209         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4210         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4211         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4212         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4213         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4214         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4215         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4216         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4217         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4218         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4219         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4220         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4221         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4222         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4223         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4224         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4225         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4226         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4227         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4228         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4229         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4252         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4253         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4254         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4255         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4256         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4257         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4258         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4259         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4260         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4261         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4262         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4263         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4264         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4265         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4266         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4267         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4268         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4269         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4270         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4271         * sysdeps/unix/sysv/linux/system.c: Likewise.
4272         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4273         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4274         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4275         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4276         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4277         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4278         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4280         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4281         * configure: Regenerated.
4282         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4284         * configure.ac (base_machine): Do not set specially for particular
4285         machines here.
4286         * configure: Regenerated.
4287         * sysdeps/powerpc/preconfigure: Move machine and base_machine
4288         settings from configure.ac.
4289         * sysdeps/i386/preconfigure: New file.
4290         * sysdeps/s390/preconfigure: Likewise.
4291         * sysdeps/sh/preconfigure: Likewise.
4292         * sysdeps/sparc/preconfigure: Likewise.
4294 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4296         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4297         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4298         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4299         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4300         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4301         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4302         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4303         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4304         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4305         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4306         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4307         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4308         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4309         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4310         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4311         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4312         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4313         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4314         * sysdeps/sparc/sparc64/Makefile: ... appended here.
4316         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4317         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4318         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4319         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4320         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4321         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4322         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4323         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4324         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4325         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4326         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4327         * sysdeps/sparc/sparc32/sem_post.c: ... here.
4328         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4329         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4330         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4331         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4332         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4333         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4334         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4335         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4336         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4337         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4338         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4339         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4340         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4341         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4342         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4343         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4344         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4345         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4346         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4347         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4348         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4349         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4350         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4351         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4352         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4353         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4356         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4358         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4360         Moved ...
4361         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4362         ... here.
4363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4364         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4366         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4368         Moved ...
4369         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4371         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4373         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4375         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4377         Moved ...
4378         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4380         Moved ...
4381         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4383         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4385         Moved ...
4386         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4388         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4390         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4392         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4394         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4396         Moved ...
4397         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4398         ... here.
4399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4400         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4402         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4404         Moved ...
4405         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4407         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4409         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4411         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4413         Moved ...
4414         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4416         Moved ...
4417         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4419         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4421         Moved ...
4422         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4424         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4426         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4428 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4430         * timezone/checktab.awk: Update from tzcode 2014e.
4431         * timezone/private.h: Likewise.
4432         * timezone/tzfile.h: Likewise.
4433         * timezone/zdump.c: Likewise.
4434         * timezone/zic.c: Likewise.
4436         * sysdeps/unix/sysv/linux/kernel-features.h
4437         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4438         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4439         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4440         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4441         Remove conditional code.
4443 2014-06-25  Will Newton  <will.newton@linaro.org>
4445         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4446         (_dl_arm_cap_flags): Add HWCAP2 values.
4447         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4448         (_DL_HWCAP_COUNT): Increase to 37.
4449         (_DL_HWCAP_LAST): New define.
4450         (_DL_HWCAP2_LAST): New define.
4451         (_dl_procinfo): Add support for printing
4452         AT_HWCAP2 entries.
4453         (_dl_string_hwcap): Use _dl_hwcap_string.
4455 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4459 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4461         * README: Do not mention ports directory.
4463         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4464         Remove macro.
4465         * sysdeps/unix/sysv/linux/futimes.c: Do not include
4466         <kernel-features.h>.
4467         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4468         conditional variable definition.
4469         (__futimes): Update comment.
4470         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4471         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4473         [BZ #16560]
4474         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4475         arguments close to 0.
4476         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4477         Likewise.
4478         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4479         Likewise.
4480         * math/auto-libm-test-in: Add more tests of exp10.
4481         * math/auto-libm-test-out: Regenerated.
4482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4484         * sysdeps/unix/sysv/linux/kernel-features.h
4485         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4486         * sysdeps/unix/sysv/linux/readv.c: Do not include
4487         <kernel-features.h>.
4488         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4489         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4490         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4491         unconditional.
4492         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4493         conditional code.
4494         * sysdeps/unix/sysv/linux/writev.c: Do not include
4495         <kernel-features.h>.
4496         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4497         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4498         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4499         unconditional.
4500         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4501         conditional code.
4503 2014-06-25  Will Newton  <will.newton@linaro.org>
4505         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4506         comment changes throughout the file.  Remove checks
4507         for HAVE_*_H definitions that are not required.
4508         (__gen_tempname): Call abort if an unknown kind value is
4509         passed.
4511 2014-06-25  Andreas Schwab  <schwab@suse.de>
4513         [BZ #17086]
4514         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4515         scalbln, scalblnf, scalblnl in libc.
4517 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4519         [BZ #17086]
4520         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4521         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4522         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4524 2014-06-24  Roland McGrath  <roland@hack.frob.com>
4526         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4527         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4528         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4529         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4530         Update #include.
4531         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4532         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4533         Update #include.
4534         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4535         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4536         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4537         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4538         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4539         * sysdeps/x86/bits/pthreadtypes.h: ... here.
4540         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4541         * sysdeps/x86/bits/semaphore.h: ... here.
4542         * sysdeps/x86/nptl/elide.h: Moved ...
4543         * sysdeps/x86/elide.h: ... here.
4544         * sysdeps/x86_64/nptl/Implies: File removed.
4545         * sysdeps/i386/nptl/Implies: File removed.
4547 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
4549         [BZ #16539]
4550         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4551         return the argument for normal arguments with exponent below -64.
4552         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4553         Likewise.
4554         * math/auto-libm-test-in: Add another test of expm1.
4555         * math/auto-libm-test-out: Regenerated.
4557         [BZ #16287]
4558         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4559         calling __erfcl for arguments at least 16.
4560         * math/auto-libm-test-in: Add more tests of erf.
4561         * math/auto-libm-test-out: Regenerated.
4563         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4564         individual architectures.
4565         * sysdeps/unix/sysv/linux/configure: Regenerated.
4566         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4567         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4568         * sysdeps/unix/sysv/linux/powerpc/configure.ac
4569         (ldd_rewrite_script): Define variable.
4570         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4572         file.
4573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4574         generated file.
4575         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4576         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4577         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4578         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4579         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4580         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4581         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4582         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4584 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4586         [BZ #17084]
4587         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4588         Rename member __data.d to __data.__elision_data.
4590 2014-06-24  Wilco  <wdijkstr@arm.com>
4592         * NEWS: Add 16918 to fixed bug list.
4594 2014-06-24  Wilco  <wdijkstr@arm.com>
4596         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4598 2014-06-24  Wilco  <wdijkstr@arm.com>
4600         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4601         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4602         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4603         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4604         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4605         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4606         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4607         Use _FPU_MASK_RM.
4609 2014-06-24  Wilco  <wdijkstr@arm.com>
4611         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4613 2014-06-24  Wilco  <wdijkstr@arm.com>
4615         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4616         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4617         * sysdeps/arm/fesetround.c (fesetround): Remove space.
4618         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4620 2014-06-24  Wilco  <wdijkstr@arm.com>
4622         [BZ #16918]
4623         * sysdeps/arm/feupdateenv.c (feupdateenv):
4624         Rewrite to reduce FPSCR accesses and fix return value.
4626 2014-06-24  Wilco  <wdijkstr@arm.com>
4628         * sysdeps/arm/fclrexcpt.c (feclearexcept):
4629         Optimize to avoid unnecessary FPSCR writes.
4630         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4631         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4632         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4633         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4635 2014-06-24  Wilco  <wdijkstr@arm.com>
4637         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4638         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4639         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4640         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4641         Call libc_fetestexcept_vfp.
4642         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4643         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4644         __SOFTFP__ ifdef so that they can be built for softfp.
4646 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4648         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4649         argument type signed char.
4651         * Makerules (check-abi): Dump diff of symlist if the test
4652         fails.
4654 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4656         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4657         using abort.
4659         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4660         Remove unused variable ST.
4662 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4664         [BZ #16354]
4665         [BZ #17061]
4666         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4667         small arguments before calling __expm1.
4668         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4669         small arguments before calling __expm1f.
4670         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4671         small arguments before calling __expm1l.
4672         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4673         Likewise.
4674         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4675         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
4676         spurious underflow for some cosh tests.
4677         * math/auto-libm-test-out: Regenerated.
4678         * sysdeps/i386/fpu/libm-test-ulps: Update.
4680         [BZ #17050]
4681         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4682         (__ieee754_y1): Set errno if return value overflows.
4683         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4684         (__ieee754_y1f): Set errno if return value overflows.
4685         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4686         (__ieee754_y1l): Set errno if return value overflows.
4687         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4688         (__ieee754_y1l): Set errno if return value overflows.
4689         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4690         * math/auto-libm-test-out: Regenerated.
4692         * math/gen-auto-libm-tests.c: Document use of
4693         ignore-zero-inf-sign.
4694         (input_flag_type): Add value flag_ignore_zero_inf_sign.
4695         (input_flags): Add ignore-zero-inf-sign.
4696         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4697         * math/gen-libm-test.pl (generate_testfile): Handle
4698         ignore-zero-inf-sign.
4699         * math/auto-libm-test-in: Mark some cpow tests with
4700         ignore-zero-inf-sign and some with xfail-rounding.
4701         * math/auto-libm-test-out: Regenerated.
4702         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4703         * sysdeps/i386/fpu/libm-test-ulps: Update.
4704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4706         [BZ #16315]
4707         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4708         overflowing or underflowing operations take place with sign of
4709         result.
4710         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4711         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4712         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4713         (__ieee754_pow): Recompute overflowing and underflowing results in
4714         original rounding mode.
4715         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4716         (__powl_helper): Allow negative argument X and scale negated value
4717         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
4718         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4719         overflowing or underflowing operations take place with sign of
4720         result.
4721         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4722         Include <math.h>.
4723         * math/auto-libm-test-in: Add more tests of pow.
4724         * math/auto-libm-test-out: Regenerated.
4725         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4726         (pow_tonearest_test_data): Remove.
4727         (pow_test_tonearest): Likewise.
4728         (pow_towardzero_test_data): Likewise.
4729         (pow_test_towardzero): Likewise.
4730         (pow_downward_test_data): Likewise.
4731         (pow_test_downward): Likewise.
4732         (pow_upward_test_data): Likewise.
4733         (pow_test_upward): Likewise.
4734         (main): Don't call removed functions.
4735         * sysdeps/i386/fpu/libm-test-ulps: Update.
4736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4738 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4741         Moved ...
4742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4744         Moved ...
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4747         Moved ...
4748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4750         Moved ...
4751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4753         File removed.
4754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4755         File removed.
4756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4757         File removed.
4758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4759         File removed.
4760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4761         File removed.
4762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4763         File removed.
4764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4765         File removed.
4766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4767         File removed.
4768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4769         File removed.
4770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4771         File removed.
4772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4773         File removed.
4774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4775         File removed.
4776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4777         Moved ...
4778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4780         Moved ...
4781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4782         ... here.
4783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4784         Moved ...
4785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4787         Moved ...
4788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4790         Moved ...
4791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4793         Moved ...
4794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4796         Moved ...
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4799         Moved ...
4800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4802         Moved ...
4803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4806         ... here.
4807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4808         Moved ...
4809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4811         Moved ...
4812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4813         ... here.
4814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4815         Moved ...
4816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4817         ... here.
4818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4819         Moved ...
4820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4821         ... here.
4822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4823         Moved ...
4824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4826         Moved ...
4827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4831         Moved ...
4832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4833         ... here.
4834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4835         Moved ...
4836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4837         ... here.
4838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4839         Moved ...
4840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4842         Moved ...
4843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4845         Moved ...
4846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4848         Moved ...
4849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4851         Moved ...
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4853         ... here.
4854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4855         Moved ...
4856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4858         Moved ...
4859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4861         Moved ...
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4864         Moved ...
4865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4869         Moved ...
4870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4872         Moved ...
4873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4875         Moved ...
4876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4877         ... here.
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4879         Moved ...
4880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4881         ... here.
4882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4883         Moved ...
4884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4885         ... here.
4886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4887         Moved ...
4888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4890         Moved ...
4891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4893         Moved ...
4894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4896         Moved ...
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4898         ... here.
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4900         Moved ...
4901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4902         ... here.
4903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4904         Moved ...
4905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4906         ... here.
4907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4908         Moved ...
4909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4911         Moved ...
4912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4914 2014-06-23  Will Newton  <will.newton@linaro.org>
4915             Wilco  <wdijkstr@arm.com>
4917         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4918         implementation.  Include get-rounding-mode.h.
4919         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4920         [!libc_feholdsetround_noex_ctx]: Define
4921         libc_feholdsetround_noex_ctx.
4922         [!libc_feholdsetround_noexf_ctx]: Define
4923         libc_feholdsetround_noexf_ctx.
4924         [!libc_feholdsetround_noexl_ctx]: Define
4925         libc_feholdsetround_noexl_ctx.
4926         (libc_feholdsetround_ctx): New function.
4927         (libc_feresetround_ctx): New function.
4928         (libc_feholdsetround_noex_ctx): New function.
4929         (libc_feresetround_noex_ctx): New function.
4931 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4933         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4934         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4935         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4936         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4937         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4938         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4940         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4941         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4942         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4943         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4944         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4945         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4946         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4947         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4948         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4949         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4950         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4951         Moved ...
4952         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4953         ... here.
4954         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4955         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4956         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4957         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4958         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4959         Moved ...
4960         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4961         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4962         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4963         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4964         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4965         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4966         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4967         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4968         Moved ...
4969         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4971         Moved ...
4972         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4973         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4974         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4975         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4976         Moved ...
4977         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4978         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4979         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4980         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4981         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4982         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4983         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4984         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4985         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4986         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4987         Moved ...
4988         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4989         ... here.
4990         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4991         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4992         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4993         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4994         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4995         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4996         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4997         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4998         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4999         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5000         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5001         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5002         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5003         Moved ...
5004         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5006         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5008         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5009         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5010         Moved ...
5011         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5012         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5013         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5014         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5015         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5017         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5018         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5019         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5020         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5021         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5022         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5023         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5024         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5025         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5026         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5027         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5028         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5029         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5030         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5031         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5032         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5033         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5034         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5035         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5036         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5037         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5038         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5039         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5040         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5041         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5042         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5043         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5044         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5046 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5048         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5049         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5050         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5051         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5052         (IPV6_PMTUDISC_INTERFACE): Likewise.
5053         (IPV6_PMTUDISC_OMIT): Likewise.
5055 2014-06-23  Andreas Schwab  <schwab@suse.de>
5057         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5058         Remove unused errout label.
5060 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5062         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5063         macro: hardware supports Vector Crypto instructions.
5065 2014-06-23  Will Newton  <will.newton@linaro.org>
5067         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5068         rather than __builtin_expect.
5070         * elf/dl-lookup.c (undefined_msg): Remove variable.
5071         (_dl_lookup_symbol_x): Replace undefined_msg with string
5072         literal.
5074         * elf/dl-lookup.c (do_lookup_unique): New function.
5075         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5076         to a separate function.
5078 2014-06-23  Andreas Schwab  <schwab@suse.de>
5080         [BZ #17079]
5081         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5082         before reading the next line.
5084 2014-06-23  Will Newton  <will.newton@linaro.org>
5086         * test-skeleton.c (signal_handler): Use printf and %m
5087         rather than perror.  Use printf rather than fprintf to
5088         stderr.  Use puts rather than fputs to stderr.
5089         (main): Likewise.
5091 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5093         * nscd/nscd.c (thread_info_t): Remove typedef.
5094         (thread_info): Remove variable.
5096 2014-06-21  Allan McRae  <allan@archlinux.org>
5098         * NEWS: Mention CVE-2014-4043.
5100 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5102         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5103         * nptl/smp.h: ... here.
5105         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5107         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5108         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5109         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5110         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5112         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5113         * nptl/stack-aliasing.h: New file.
5114         * sysdeps/i386/i686/stack-aliasing.h: New file.
5115         * sysdeps/i386/i686/nptl/Makefile: File removed.
5116         * sysdeps/x86_64/stack-aliasing.h: New file.
5117         * sysdeps/x86_64/nptl/Makefile
5118         (CFLAGS-pthread_create.c): Variable removed.
5120         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5121         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5122         old file.
5123         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5124         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5125         old file.
5127 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5129         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5130         (__ASSUME_SIGFRAME_V2): Remove macro.
5131         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5132         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5133         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5134         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5135         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5136         Declare as function.  Remove conditional macro definitions.
5137         (__default_rt_sa_restorer): Likewise.
5138         (__default_sa_restorer_v1): Remove declaration.
5139         (__default_sa_restorer_v2): Likewise.
5140         (__default_rt_sa_restorer_v1): Likewise.
5141         (__default_rt_sa_restorer_v2): Likewise.
5142         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5143         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5144         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5146 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5148         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5149         (libpthread-routines): Add sysdep.
5150         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5151         * sysdeps/unix/sysv/linux/sparc/Versions
5152         (libpthread: GLIBC_2.3.3): New version set.
5153         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5154         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5155         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5156         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5157         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5158         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5159         Moved ...
5160         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5161         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5162         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5163         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5164         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5165         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5166         * sysdeps/sparc/nptl/sem_init.c: ... here.
5167         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5168         * sysdeps/sparc/nptl/sem_post.c: ... here.
5169         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5170         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5171         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5172         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5173         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5174         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5175         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5176         (libpthread-routines): Add cpu_relax.
5177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5178         File removed.
5179         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5180         (librt: GLIBC_2.3.3): New version set.
5181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5182         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5183         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5184         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5187         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5189         Moved ...
5190         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5192         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5194         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5196         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5198         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5200         Moved ...
5201         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5202         Update #include.
5203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5204         Moved ...
5205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5206         Update #include.
5207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5208         Moved ...
5209         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5210         Update #include.
5211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5212         Moved ...
5213         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5214         Update #include.
5215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5216         Moved ...
5217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5218         Update #include.
5219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5220         Moved ...
5221         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5222         Update #include.
5223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5224         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5226         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5228         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5230         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5232         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5234         Moved ...
5235         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5237         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5239         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5241 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5243         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5244         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5245         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5246         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5247         * nscd/nscd.c: Likewise.
5248         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5249         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5250         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5251         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5253         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5254         <kernel-features.h>.
5255         (init_mq_netlink): Remove conditional have_sock_cloexec
5256         definitions.  Remove code conditional on have_sock_cloexec < 0.
5257         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5258         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5259         * sysdeps/unix/sysv/linux/opensock.c: Do not include
5260         <kernel-features.h>.
5261         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5262         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5264 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5267         Add tests for memset_chk and memset.
5269         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5270         with AVX2_Usable.
5272 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5274         [BZ #16046]
5275         * elf/tst-dl-iter-static.c: New file.
5276         * elf/Makefile (tests-static): Add tst-dl-iter-static.
5278         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5279         error.
5281 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5283         * sysdeps/unix/sysv/linux/kernel-features.h
5284         (__ASSUME_F_GETOWN_EX): Remove macro.
5285         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5286         <kernel-features.h>.
5287         (miss_F_GETOWN_EX): Remove variable or macro.
5288         (do_fcntl): Do not check miss_F_GETOWN_EX.
5289         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5291         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5292         Remove macro.
5293         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5294         [!__ASSUME_AT_RANDOM]: Remove conditional code.
5295         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5297         * sysdeps/unix/sysv/linux/kernel-features.h
5298         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5299         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5300         [ADJ_OFFSET_SS_READ]: Make code unconditional.
5301         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5303 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5305         [BZ #17075]
5306         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5307         Fix calculation of the symbol's value.
5308         * sysdeps/arm/tst-armtlsdescloc.c: New file.
5309         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5310         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5311         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5312         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5313         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5314         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5315         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5316         (modules-names): Add `tst-armtlsdescmod',
5317         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5318         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5319         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5320         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5321         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5322         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5323         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5324         ($(objpfx)tst-armtlsdescloc): New dependency.
5325         ($(objpfx)tst-armtlsdescextnow): Likewise.
5326         ($(objpfx)tst-armtlsdescextlazy): Likewise.
5327         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5328         TLS scheme support.
5329         * sysdeps/arm/configure: Regenerate.
5331 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5333         * include/fcntl.h (__atfct_seterrno): Remove prototype.
5334         (__atfct_seterrno_2): Likewise.
5335         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5336         <kernel-features.h>.
5337         (__ASSUME_ATFCTS): Do not undefine and redefine.
5338         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5339         (__have_atfcts): Remove conditional definition.
5340         (__fxstatat([__NR_fstatat64]: Make code unconditional.
5341         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5342         unreachable if [__ASSUME_ATFCTS].
5343         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5344         not undefine and redefine.
5345         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5346         <kernel-features.h>.
5347         (faccessat) [__NR_faccessat]: Make code unconditional.
5348         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5349         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5350         <kernel-features.h>.
5351         (fchmodat) [__NR_fchmodat]: Make code unconditional.
5352         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5353         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5354         <kernel-features.h>.
5355         (fchownat) [__NR_fchownat]: Make code unconditional.
5356         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5357         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5358         <kernel-features.h>.
5359         (futimesat) [__NR_futimesat]: Make code unconditional.
5360         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5361         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5362         <kernel-features.h>.
5363         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5364         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5365         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5366         <kernel-features.h>.
5367         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5368         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5369         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5370         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5371         <kernel-features.h>.
5372         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5373         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5374         * sysdeps/unix/sysv/linux/linkat.c: Do not include
5375         <kernel-features.h>.
5376         (linkat) [__NR_linkat]: Make code unconditional.
5377         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5378         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5379         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5380         <kernel-features.h>.
5381         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5382         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5383         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5384         <kernel-features.h>.
5385         (mkdirat) [__NR_mkdirat]: Make code unconditional.
5386         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5387         * sysdeps/unix/sysv/linux/openat.c: Do not include
5388         <kernel-features.h>.
5389         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5390         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5391         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5392         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5393         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5394         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5395         <kernel-features.h>.
5396         (readlinkat) [__NR_readlinkat]: Make code unconditional.
5397         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
5398         result of INLINE_SYSCALL directly, not via int variable.
5399         * sysdeps/unix/sysv/linux/renameat.c: Do not include
5400         <kernel-features.h>.
5401         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5402         (renameat) [__NR_renameat]: Make code unconditional.
5403         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5404         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5405         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5406         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5407         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5408         (__ASSUME_ATFCTS): Do not undefine and redefine.
5409         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5410         <kernel-features.h>.
5411         (symlinkat) [__NR_symlinkat]: Make code unconditional.
5412         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5413         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5414         <kernel-features.h>.
5415         (unlinkat) [__NR_unlinkat]: Make code unconditional.
5416         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5417         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5418         (__ASSUME_ATFCTS): Do not undefine and redefine.
5419         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5420         <kernel-features.h>.
5421         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5422         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5423         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5424         <kernel-features.h>.
5425         (__xmknodat) [__NR_mknodat]: Make code unconditional.
5426         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5428 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5430         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5432 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
5434         [BZ #17069]
5435         * posix/regcomp.c (parse_reg_exp): Deallocate partially
5436         constructed tree before returning error.
5437         * posix/bug-regexp36.c: Expand test case.
5439 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5441         [BZ #6803]
5442         * math/libm-test.inc (scalbln_test_date):
5443         Add errno expectations.
5444         * math/w_scalblnf.c: New File.
5445         Add wrapper which checks for setting errno to ERANGE.
5446         Add weak_alias for corresponding scalbln function.
5447         * math/w_scalbln.c: Likewise.
5448         * math/w_scalblnl.c: Likewise.
5449         * math/Makefile (libm-calls): Add w_scalbln.
5450         * sysdeps/ieee754/flt-32/s_scalblnf.c:
5451         Remove weak_alias for corresponding scalbln function.
5452         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5453         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5454         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5455         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5456         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5457         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5458         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5459         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5460         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5461         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5462         Remove long_double_symbol for scalblnl function in libm, libc.
5463         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5464         Add wrapper which checks for setting errno to ERANGE.
5465         Add long_double_symbol for scalblnl function in libm, libc.
5466         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5467         Remove long_double_symbol for scalblnl in libm.
5468         * sysdeps/ieee754/ldbl-128ibm/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.
5471         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5472         Do not use wrapper because of own implementation.
5474 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
5476         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5477         3 bytes for __pad1 for x32.
5478         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5480 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
5481             H.J. Lu  <hongjiu.lu@intel.com>
5483         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5484         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5485         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5486         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5487         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5489 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
5491         [BZ #17069]
5492         * posix/regcomp.c (parse_expression): Deallocate partially
5493         constructed tree before returning error.
5494         * posix/Makefile.c (tests): Add bug-regex36.
5495         (generated): Add bug-regex36.mtrace.
5496         (tests-special): Add $(objpfx)bug-regex36-mem.out
5497         (bug-regex36-ENV): New variable.
5498         ($(objpfx)bug-regex36-mem.out): New rule.
5499         * posix/bug-regex36.c: New file.
5501 2014-06-19  Will Newton  <will.newton@linaro.org>
5503         * malloc/malloc.c (systrim): If extra is zero then return
5504         early.
5506 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5508         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5510 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
5512         * sysdeps/aarch64/strchr.S: New file.
5514 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5516         [BZ #17022]
5517         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5518         from arguments -2 or below.
5519         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5520         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5522 2014-06-18  Andreas Schwab  <schwab@suse.de>
5524         [BZ #17062]
5525         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5526         of a bracket expr not to run off the end of the string.
5527         * posix/Makefile (tests): Add tst-fnmatch3.
5528         * posix/tst-fnmatch3.c: New file.
5530 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5532         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5533         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5534         [$(cross-compiling) = no]: Likewise.
5535         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5536         [$(cross-compiling) = no]: Likewise.
5538 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5540         [BZ #17031]
5541         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5542         double, adjusted for any remainder from the high double.
5543         * math/libm-test.inc (nearbyint): Add tests.
5544         (rint): Likewise.
5546 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5548         * nptl/sysdeps/powerpc/Makefile: Moved ...
5549         * sysdeps/powerpc/nptl/Makefile: ... here.
5550         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5551         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5552         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5553         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5554         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5555         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5556         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5557         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5558         * nptl/sysdeps/powerpc/tls.h: Moved ...
5559         * sysdeps/powerpc/nptl/tls.h: ... here.
5561 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
5563         [BZ #16681]
5564         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5565         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5566         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5567         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5568         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5569         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5570         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5571         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5572         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5574 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
5576         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5578 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
5580         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5581         defined operator.
5583         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5584         $TIMEOUTFACTOR.
5586 2014-06-16  Florian Weimer  <fweimer@redhat.com>
5588         [BZ #17058]
5589         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5590         non-executed part of the test.
5592 2014-06-16  Andreas Schwab  <schwab@suse.de>
5594         * string/bits/string2.h (strdup, strndup): Update feature guard.
5596 2014-06-14  David S. Miller  <davem@davemloft.net>
5598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5600 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5602         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5603         that was previously under [RESET_PID].
5604         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5606         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5607         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5608         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5609         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5610         (__libc_vfork): New strong alias.
5611         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5613 2014-06-14 Andi Kleen  <ak@linux.intel.com>
5615         * sysdeps/generic/elide.h: New file.
5617 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5619         * Makefile (installed-headers): Adjust path of pthread.h header.
5621 2014-06-13  Roland McGrath  <roland@hack.frob.com>
5623         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5624         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5625         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5626         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5628         * nptl/sysdeps/s390/Makefile: Moved ...
5629         * sysdeps/s390/nptl/Makefile: ... here.
5630         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5631         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5632         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5633         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5634         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5635         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5636         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5637         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5638         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5639         * sysdeps/s390/nptl/pthreaddef.h: ... here.
5640         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5641         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5642         * nptl/sysdeps/s390/tls.h: Moved ...
5643         * sysdeps/s390/nptl/tls.h: ... here.
5645         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5646         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5648 2014-06-13  David S. Miller  <davem@davemloft.net>
5650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5653         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5657         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5658         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5659         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5660         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5661         Remove RESET_PID cpp guards.
5662         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5663         Remove RESET_PID cpp guards.
5664         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5666 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
5668         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5669         __sp to uintptr_t.
5671 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5673         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5674         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5675         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5676         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5677         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5678         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5679         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5680         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5681         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5682         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5683         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5684         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5685         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5686         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5687         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5688         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5689         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5690         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5691         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5692         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5694         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5695         (pthread_rwlock_rdlock): Add elision.
5696         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5697         (pthread_rwlock_wrlock): Add elision.
5698         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5699         (pthread_rwlock_trywrlock): Add elision.
5700         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5701         (pthread_rwlock_tryrdlock): Add elision.
5702         * nptl/pthread_rwlock_unlock.c: Include elide.h.
5703         (pthread_rwlock_tryrdlock): Add elision unlock.
5704         * nptl/sysdeps/pthread/pthread.h:
5705         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5706         (PTHREAD_RWLOCK_INITIALIZER,
5707         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5708         Handle new elision field.
5709         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5710         * sysdeps/arm/nptl/bits/pthreadtypes.h
5711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5712         * sysdeps/sh/nptl/bits/pthreadtypes.h
5713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5714         * sysdeps/tile/nptl/bits/pthreadtypes.h
5715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5716         * sysdeps/a/nptl/bits/pthreadtypes.h
5717         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5718         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5719         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5720         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5721         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5722         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5723         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5724         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5725         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5726         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5727         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5728         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5729         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5730         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5731         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5732         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5733         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5734         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5735         (elision_init): Set try_xbegin to zero when no RTM.
5736         * sysdeps/x86/nptl/bits/pthreadtypes.h
5737         (pthread_rwlock_t): Change __pad1 to __rwelision.
5738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5740 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5742         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5743         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5744         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5745         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5747 2014-06-13  Meador Inge  <meadori@codesourcery.com>
5749         [BZ #16996]
5750         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5751         that the cached result has been set before returning it.
5753 2014-06-12  Roland McGrath  <roland@hack.frob.com>
5755         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5756         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5757         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5758         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5759         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5760         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5762         * nptl/sysdeps/sparc/Makefile: Moved ...
5763         * sysdeps/sparc/nptl/Makefile: ... here.
5764         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5765         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5766         * nptl/sysdeps/sparc/tls.h: Moved ...
5767         * sysdeps/sparc/nptl/tls.h: ... here.
5768         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5769         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5770         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5771         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5772         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5773         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5774         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5775         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5776         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5777         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5778         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5779         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5780         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5781         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5782         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5783         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5784         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5785         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5786         Update #include.
5787         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5788         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5789         Update #include.
5790         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5791         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5792         Update #include.
5793         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5794         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5795         Update #include.
5797         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5799         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5800         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5802         * sysdeps/pthread/posix-timer.h: Include <list.h>.
5803         (struct list_links): Type removed.
5804         (struct thread_node, struct timer_node): Replace struct list_links
5805         with struct list_head.
5806         (list_unlink_ip): Likewise.
5807         * sysdeps/pthread/timer_routines.c
5808         (timer_free_list, thread_free_list, thread_active_list): Likewise.
5809         (list_append, list_insbefore): Likewise.
5810         (list_init): Function removed.
5811         (thread_init, init_module): Use INIT_LIST_HEAD instead.
5812         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5813         * sysdeps/pthread/Makefile: ... here, new file.
5815         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5816         * sysdeps/nptl/Implies: ... here.
5817         * sysdeps/unix/sysv/linux/Implies: Add nptl.
5818         * nptl/sysdeps/pthread/list.h: Moved ...
5819         * include/list.h: ... here.
5820         * nptl/sysdeps/pthread/createthread.c: Moved ...
5821         * nptl/createthread.c: ... here.
5822         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5823         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5824         * nptl/pt-longjmp.c: ... here.
5825         * nptl/sysdeps/pthread/Makefile: Moved ...
5826         * sysdeps/nptl/Makefile: ... here.
5827         * nptl/sysdeps/pthread/Subdirs: Moved ...
5828         * sysdeps/nptl/Subdirs: ... here.
5829         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5830         * sysdeps/nptl/aio_misc.h: ... here.
5831         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5832         * sysdeps/nptl/bits/libc-lock.h: ... here.
5833         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5834         * sysdeps/nptl/bits/libc-lockP.h: ... here.
5835         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5836         * sysdeps/nptl/bits/stdio-lock.h: ... here.
5837         * nptl/sysdeps/pthread/configure: Moved ...
5838         * sysdeps/nptl/configure: ... here.
5839         * nptl/sysdeps/pthread/configure.ac: Moved ...
5840         * sysdeps/nptl/configure.ac: ... here.
5841         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5842         * sysdeps/nptl/gai_misc.h: ... here.
5843         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5844         * sysdeps/nptl/librt-cancellation.c: ... here.
5845         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5846         * sysdeps/nptl/malloc-machine.h: ... here.
5847         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5848         * sysdeps/nptl/pthread-functions.h: ... here.
5849         * nptl/sysdeps/pthread/pthread.h: Moved ...
5850         * sysdeps/nptl/pthread.h: ... here.
5851         * nptl/sysdeps/pthread/setxid.h: Moved ...
5852         * sysdeps/nptl/setxid.h: ... here.
5853         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5854         * sysdeps/nptl/sigfillset.c: ... here.
5855         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5856         * sysdeps/nptl/tcb-offsets.h: ... here.
5857         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5858         * sysdeps/nptl/tst-mqueue8x.c: ... here.
5859         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5860         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5861         * nptl/sysdeps/pthread/allocalim.h: Moved ...
5862         * sysdeps/pthread/allocalim.h: ... here.
5863         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5864         * sysdeps/pthread/bits/sigthread.h: ... here.
5865         * nptl/sysdeps/pthread/flockfile.c: Moved ...
5866         * sysdeps/pthread/flockfile.c: ... here.
5867         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5868         * sysdeps/pthread/ftrylockfile.c: ... here.
5869         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5870         * sysdeps/pthread/funlockfile.c: ... here.
5871         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5872         * sysdeps/pthread/posix-timer.h: ... here.
5873         * nptl/sysdeps/pthread/timer_create.c: Moved ...
5874         * sysdeps/pthread/timer_create.c: ... here.
5875         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5876         * sysdeps/pthread/timer_delete.c: ... here.
5877         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5878         * sysdeps/pthread/timer_getoverr.c: ... here.
5879         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5880         * sysdeps/pthread/timer_gettime.c: ... here.
5881         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5882         * sysdeps/pthread/timer_routines.c: ... here.
5883         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5884         * sysdeps/pthread/timer_settime.c: ... here.
5885         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5886         * sysdeps/pthread/tst-timer.c: ... here.
5887         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5888         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5890         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5891         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5893         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5894         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5895         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5896         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5897         Update #include target.
5898         * nptl/sysdeps/i386/i686/Makefile: Moved ...
5899         * sysdeps/i386/i686/nptl/Makefile: ... here.
5900         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5901         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5902         Update #include target.
5903         * nptl/sysdeps/i386/i686/tls.h: Moved ...
5904         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
5905         * nptl/sysdeps/i386/Makefile: Moved ...
5906         * sysdeps/i386/nptl/Makefile: ... here.
5907         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5908         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5909         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5910         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5911         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5912         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5913         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5914         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5915         * sysdeps/i386/nptl/pthreaddef.h: ... here.
5916         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5917         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5918         * nptl/sysdeps/i386/tls.h: Moved ...
5919         * sysdeps/i386/nptl/tls.h: ... here.
5921         * sysdeps/sh/Makefile [$(subdir) = csu]
5922         (gen-as-const-headers): Add tcb-offsets.sym.
5923         * nptl/sysdeps/sh/Makefile: File removed.
5924         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5925         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5926         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5927         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5928         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5929         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5930         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5931         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5932         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5933         * sysdeps/sh/nptl/pthreaddef.h: ... here.
5934         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5935         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5936         * nptl/sysdeps/sh/tls.h: Moved ...
5937         * sysdeps/sh/nptl/tls.h: ... here.
5938         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5939         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5940         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5941         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5942         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5943         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5944         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5945         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5946         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5947         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5948         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5949         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5950         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5951         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5952         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5953         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5954         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5955         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5956         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5957         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5958         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5959         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5960         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5961         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5962         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5963         Moved ...
5964         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5966         Moved ...
5967         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5968         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5969         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5970         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5971         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5972         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5973         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5974         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5975         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5976         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5977         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5978         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5979         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5980         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5981         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5982         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5983         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5984         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5985         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5987 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5989         * posix/spawn_faction_addopen.c: Include string.h.
5991 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5993         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5994         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5995         * nptl/sysdeps/x86_64/Makefile: Moved ...
5996         * sysdeps/x86_64/nptl/Makefile: ... here.
5997         * nptl/sysdeps/x86_64/configure: Moved ...
5998         * sysdeps/x86_64/nptl/configure: ... here.
5999         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6000         * sysdeps/x86_64/nptl/configure.ac: ... here.
6001         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6002         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6003         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6004         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6005         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6006         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6007         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6008         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6009         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6010         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6011         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6012         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6013         * nptl/sysdeps/x86_64/tls.h: Moved ...
6014         * sysdeps/x86_64/nptl/tls.h: ... here.
6015         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6016         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6017         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6018         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6020         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6022 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6026 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6028         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6029         type.
6030         [POSIX] (off_t): Likewise.
6031         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6032         [POSIX] (S_ISBLK): Require macro.
6033         [POSIX] (S_ISCHR): Likewise.
6034         [POSIX] (S_ISDIR): Likewise.
6035         [POSIX] (S_ISFIFO): Likewise.
6036         [POSIX] (S_ISREG): Likewise.
6037         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6038         optional-macro.
6039         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6040         type.
6041         [POSIX] (time_t): Likewise.
6042         [POSIX] (timer_t): Likewise.
6044 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6046         [BZ #17048]
6047         * posix/spawn_int.h (struct __spawn_action): Make the path string
6048         non-const to support deallocation.
6049         * posix/spawn_faction_addopen.c
6050         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6051         * posix/spawn_faction_destroy.c
6052         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6053         path in all spawn_do_open actions.
6054         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6055         posix_spawn_file_actions_addopen.
6057 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6059         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6060         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6061         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6062         conditional code always true.
6063         (__libc_vfork): New alias.
6065 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6067         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6068         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6070         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6072         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6073         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6075         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6076         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6078         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6079         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6081 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6083         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6084         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6085         multiarch strcmp for PPC64.
6086         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6087         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6089         multiarch optimizations.
6090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6091         (__libc_ifunc_impl_list): Likewise.
6093 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6095         * benchtests/scripts/validate_benchout.py: New script.
6096         * benchtests/Makefile (bench-func): Call it.
6097         * benchtests/scripts/benchout.schema.json: New file.
6099 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6101         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6102         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6103         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6104         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6105         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6106         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6107         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6108         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6109         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6110         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6111         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6112         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6113         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6114         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6115         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6116         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6118         Moved ...
6119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6120         ... here.
6121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6122         Moved ...
6123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6125         Moved ...
6126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6127         ... here.
6128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6129         Moved ...
6130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6131         ... here.
6132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6133         Moved ...
6134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6136         Moved ...
6137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6138         ... here.
6139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6140         Moved ...
6141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6142         ... here.
6143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6144         Moved ...
6145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6147         Moved ...
6148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6149         ... here.
6150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6151         Moved ...
6152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6153         ... here.
6154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6155         Moved ...
6156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6157         ... here.
6158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6159         Moved ...
6160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6162         Moved ...
6163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6164         ... here.
6165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6166         Moved ...
6167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6168         ... here.
6169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6170         Moved ...
6171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6172         ... here.
6173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6174         Moved ...
6175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6177         Moved ...
6178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6179         ... here.
6180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6181         Moved ...
6182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6183         ... here.
6184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6185         Moved ...
6186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6188         Moved ...
6189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6190         ... here.
6191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6192         Moved ...
6193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6195         Moved ...
6196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6198         Moved ...
6199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6200         ... here.
6201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6202         Moved ...
6203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6204         ... here.
6205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6206         Moved ...
6207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6208         ... here.
6209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6210         Moved ...
6211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6213         Moved ...
6214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6215         ... here.
6216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6217         Moved ...
6218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6219         ... here.
6220         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6221         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6222         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6223         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6224         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6225         Moved ...
6226         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6227         ... here.
6228         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6229         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6230         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6231         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6232         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6233         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6234         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6235         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6236         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6237         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6238         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6239         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6240         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6241         Moved ...
6242         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6244         Moved ...
6245         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6246         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6247         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6248         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6249         Moved ...
6250         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6251         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6252         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6253         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6254         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6255         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6256         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6258 2014-06-10  Wilco  <wdijkstr@arm.com>
6260         * math/test-fenv-return.c: New file.
6261         * math/Makefile: Add new test test-fenv-return.
6263 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
6265         [BZ #17042]
6266         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6267         when x - 1 is zero.
6268         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6269         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6270         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6271         0.0L for an argument of 1.0L.
6272         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6273         Likewise.
6274         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6275         value when x - 1 is zero.
6276         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6277         * sysdeps/i386/fpu/libm-test-ulps: Update.
6278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6280 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
6282         [BZ #15119]
6283         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6285 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6287         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6288         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6290 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6292         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6293         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6295         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6296         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6298         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6299         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6301         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6302         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6304         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6305         if not already defined.
6306         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6307         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6308         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6309         (TLS_INIT_TP): Use it.
6310         (TLS_DEFINE_INIT_TP): New macro.
6311         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6313 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
6315         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6316         constant.
6317         [POSIX] (IXANY): Likewise.
6318         [POSIX] (OLCUC): Likewise.
6319         [POSIX || POSIX2008] (CBAUD): Do not allow.
6320         [POSIX || POSIX2008] (DEFECHO): Likewise.
6321         [POSIX || POSIX2008] (ECHOCTL): Likewise.
6322         [POSIX || POSIX2008] (ECHOKE): Likewise.
6323         [POSIX || POSIX2008] (ECHOPRT): Likewise.
6324         [POSIX || POSIX2008] (EXTA): Likewise.
6325         [POSIX || POSIX2008] (EXTB): Likewise.
6326         [POSIX || POSIX2008] (FLUSHO): Likewise.
6327         [POSIX || POSIX2008] (LOBLK): Likewise.
6328         [POSIX || POSIX2008] (PENDIN): Likewise.
6329         [POSIX || POSIX2008] (SWTCH): Likewise.
6330         [POSIX || POSIX2008] (VDISCARD): Likewise.
6331         [POSIX || POSIX2008] (VDSUSP): Likewise.
6332         [POSIX || POSIX2008] (VLNEXT): Likewise.
6333         [POSIX || POSIX2008] (VREPRINT): Likewise.
6334         [POSIX || POSIX2008] (VSTATUS): Likewise.
6335         [POSIX || POSIX2008] (VWERASE): Likewise.
6336         (B*): Change to B[0123456789]*.
6337         * conform/data/time.h-data [POSIX || UNIX98]
6338         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6339         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6340         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6341         [POSIX] (tm_*): Do not allow.
6343 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
6345         * Makefile (install): Don't set LANGUAGE.
6346         * Makefile.in (install): Likewise.
6347         * assert/Makefile (test-assert-ENV): Remove variable.
6348         (test-assert-perr-ENV): Likewise.
6349         * elf/Makefile (neededtest4-ENV): Likewise.
6350         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6351         [$(cross-compiling) = no]: Don't set LANGUAGE.
6352         * io/ftwtest-sh (LANG): Remove variable.
6353         * libio/Makefile (tst-widetext-ENV): Likewise.
6354         * manual/install.texi (Running make install): Don't refer to
6355         environment settings for make install.
6356         * INSTALL: Regenerated.
6357         * nptl/tst-tls6.sh: Don't set LANG.
6358         * posix/globtest.sh (LANG): Remove variable.
6359         * string/Makefile (tester-ENV): Likewise.
6360         (inl-tester-ENV): Likewise.
6361         (noinl-tester-ENV): Likewise.
6362         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6363         [$(cross-compiling) = no]: Don't set LANGUAGE.
6364         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6365         without explicit environment settings.
6367 2014-06-06  Roland McGrath  <roland@hack.frob.com>
6369         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6370         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6371         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6372         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6374 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
6376         * crypt/crypt-private.h [DOS]: Add some includes taken from the
6377         other files in the crypt directory.
6378         * crypt/crypt.c: Remove duplicate includes.
6379         * crypt/crypt-entry.c: Likewise.
6380         * crypt/crypt_util.c: Likewise.
6382 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
6384         * Makeconfig (run-program-env): New variable.
6385         (run-program-prefix-before-env): Likewise.
6386         (run-program-prefix-after-env): Likewise.
6387         (run-program-prefix): Define in terms of new variables.
6388         (built-program-cmd-before-env): New variable.
6389         (built-program-cmd-after-env): Likewise.
6390         (built-program-cmd): Define in terms of new variables.
6391         (test-program-prefix-before-env): New variable.
6392         (test-program-prefix-after-env): Likewise.
6393         (test-program-prefix): Define in terms of new variables.
6394         (test-program-cmd-before-env): New variable.
6395         (test-program-cmd-after-env): Likewise.
6396         (test-program-cmd): Define in terms of new variables.
6397         * Rules (make-test-out): Use $(run-program-env).
6398         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6399         (help): Do not mention environment variables.  Mention
6400         --timeoutfactor option.
6401         (timeoutfactor): New variable.
6402         (blacklist_exports): Remove function.
6403         (exports): Remove variable.
6404         (command): Do not include ${exports}.
6405         * manual/install.texi (Configuring and compiling): Do not mention
6406         test wrappers preserving environment variables.  Mention that last
6407         assignment to a variable must take precedence.
6408         * INSTALL: Regenerated.
6409         * benchtests/Makefile (run-bench): Use $(run-program-env).
6410         * catgets/Makefile ($(objpfx)test1.cat): Use
6411         $(built-program-cmd-before-env), $(run-program-env) and
6412         $(built-program-cmd-after-env).
6413         ($(objpfx)test2.cat): Do not specify environment variables
6414         explicitly.
6415         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6416         $(run-program-env) and $(built-program-cmd-after-env).
6417         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6418         $(run-program-env) and $(test-program-cmd-after-env).
6419         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6420         explicitly.
6421         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6422         run_program_env and test_program_cmd_after_env arguments.
6423         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6424         * elf/tst-pathopt.sh: Use run_program_env argument.
6425         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6426         $(test-wrapper-env) and $(run-program-env).
6427         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6428         run_program_env arguments.
6429         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6430         * intl/Makefile ($(objpfx)tst-gettext.out): Use
6431         $(test-program-prefix-before-env), $(run-program-env) and
6432         $(test-program-prefix-after-env).
6433         ($(objpfx)tst-gettext2.out): Likewise.
6434         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6435         run_program_env and test_program_prefix_after_env arguments.
6436         * intl/tst-gettext2.sh: Likewise.
6437         * intl/tst-gettext4.sh: Do not set environment variables
6438         explicitly.
6439         * intl/tst-gettext6.sh: Likewise.
6440         * intl/tst-translit.sh: Likewise.
6441         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6442         $(test-program-prefix-before-env), $(run-program-env) and
6443         $(test-program-prefix-after-env).
6444         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6445         run_program_env and test_program_prefix_after_env arguments.
6446         * math/Makefile (run-regen-ulps): Use $(run-program-env).
6447         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6448         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
6449         explicitly with each use of ${test_wrapper_env}.
6450         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6451         $(test-program-prefix-before-env), $(run-program-env) and
6452         $(test-program-prefix-after-env).
6453         * posix/tst-getconf.sh: Do not set environment variables
6454         explicitly.
6455         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6456         run_program_env and test_program_prefix_after_env arguments.
6457         * stdio-common/tst-printf.sh: Do not set environment variables
6458         explicitly.
6459         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6460         $(test-program-prefix-before-env), $(run-program-env) and
6461         $(test-program-prefix-after-env).
6462         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6463         run_program_env and test_program_prefix_after_env arguments.
6464         Split $test calls into $test_pre and $test.
6465         * timezone/Makefile (build-testdata): Use
6466         $(built-program-cmd-before-env), $(run-program-env) and
6467         $(built-program-cmd-after-env).
6469 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6471         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6472         strlen for non SHARED builds.
6474 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6476         * nptl/allocatestack.c (check_list): Inlined function...
6477         (__reclaim_stacks): ... here.
6479 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6481         [BZ #15698]
6482         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6483         memory overrun.
6485 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
6487         * Rules (make-test-out): Include
6488         LOCPATH=$(common-objpfx)localedata in default environment.
6489         * debug/Makefile (tst-chk1-ENV): Remove variable.
6490         (tst-chk2-ENV): Likewise.
6491         (tst-chk3-ENV): Likewise.
6492         (tst-chk4-ENV): Likewise.
6493         (tst-chk5-ENV): Likewise.
6494         (tst-chk6-ENV): Likewise.
6495         (tst-lfschk1-ENV): Likewise.
6496         (tst-lfschk2-ENV): Likewise.
6497         (tst-lfschk3-ENV): Likewise.
6498         (tst-lfschk4-ENV): Likewise.
6499         (tst-lfschk5-ENV): Likewise.
6500         (tst-lfschk6-ENV): Likewise.
6501         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6502         (tst-iconv7-ENV): Likewise.
6503         * intl/Makefile (LOCPATH-ENV): Likewise.
6504         (tst-codeset-ENV): Likewise.
6505         (tst-gettext3-ENV): Likewise.
6506         (tst-gettext5-ENV): Likewise.
6507         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6508         (tst-fopenloc-ENV): Likewise.
6509         (tst-fgetws-ENV): Remove variable.
6510         (tst-ungetwc1-ENV): Likewise.
6511         (tst-ungetwc2-ENV): Likewise.
6512         (bug-ungetwc2-ENV): Likewise.
6513         (tst-swscanf-ENV): Likewise.
6514         (bug-ftell-ENV): Likewise.
6515         (tst-fgetwc-ENV): Likewise.
6516         (tst-fseek-ENV): Likewise.
6517         (tst-ftell-partial-wide-ENV): Likewise.
6518         (tst-ftell-active-handler-ENV): Likewise.
6519         (tst-ftell-append-ENV): Likewise.
6520         * posix/Makefile (tst-fnmatch-ENV): Likewise.
6521         (tst-regexloc-ENV): Likewise.
6522         (bug-regex1-ENV): Likewise.
6523         (tst-regex-ENV): Likewise.
6524         (tst-regex2-ENV): Likewise.
6525         (bug-regex5-ENV): Likewise.
6526         (bug-regex6-ENV): Likewise.
6527         (bug-regex17-ENV): Likewise.
6528         (bug-regex18-ENV): Likewise.
6529         (bug-regex19-ENV): Likewise.
6530         (bug-regex20-ENV): Likewise.
6531         (bug-regex22-ENV): Likewise.
6532         (bug-regex23-ENV): Likewise.
6533         (bug-regex25-ENV): Likewise.
6534         (bug-regex26-ENV): Likewise.
6535         (bug-regex30-ENV): Likewise.
6536         (bug-regex32-ENV): Likewise.
6537         (bug-regex33-ENV): Likewise.
6538         (bug-regex34-ENV): Likewise.
6539         (bug-regex35-ENV): Likewise.
6540         (tst-rxspencer-ENV): Likewise.
6541         (tst-rxspencer-no-utf8-ENV): Likewise.
6542         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6543         (tst-sscanf-ENV): Likewise.
6544         (tst-swprintf-ENV): Likewise.
6545         (tst-swscanf-ENV): Likewise.
6546         (test-vfprintf-ENV): Likewise.
6547         (scanf13-ENV): Likewise.
6548         (bug14-ENV): Likewise.
6549         (tst-grouping-ENV): Likewise.
6550         * stdlib/Makefile (tst-strtod-ENV): Likewise.
6551         (tst-strtod3-ENV): Likewise.
6552         (tst-strtod4-ENV): Likewise.
6553         (tst-strtod5-ENV): Likewise.
6554         (testmb2-ENV): Likewise./
6555         * string/Makefile (tst-strxfrm-ENV): Likewise.
6556         (tst-strxfrm2-ENV): Likewise.
6557         (bug-strcoll1-ENV): Likewise.
6558         (test-strcasecmp-ENV): Likewise.
6559         (test-strncasecmp-ENV): Likewise.
6560         * time/Makefile (tst-strptime-ENV): Likewise.
6561         (tst-ftime_l-ENV): Likewise.
6562         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6563         (tst-mbrtowc-ENV): Likewise.
6564         (tst-wcrtomb-ENV): Likewise.
6565         (tst-mbrtowc2-ENV): Likewise.
6566         (tst-c16c32-1-ENV): Likewise.
6567         (tst-mbsnrtowcs-ENV): Likewise.
6569 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6571         * manual/resource.texi (How to get information about the memory
6572         subsystem?): Fix typo.
6573         Reported by Peon de la Parra Ivan <peon@keba.com>
6575 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
6577         [BZ #16882]
6578         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6579         (pthread_spin_lock): Branch out of spin loop to proper location.
6580         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6581         (pthread_spin_lock): Likewise.
6583         * nptl/tst-spin4.c: New test.
6584         * nptl/Makefile (tests): Add tst-spin4.
6586 2014-06-03  Andreas Schwab  <schwab@suse.de>
6588         [BZ #15946]
6589         * resolv/res_send.c (send_dg): Reload file descriptor after
6590         calling reopen.
6592 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
6594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6596 2014-06-03  Richard Henderson  <rth@redhat.com>
6598         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6599         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6600         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6601         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
6602         in the SAVE_PID block.
6603         (__libc_vfork): New alias.
6604         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6606         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6607         child in registers, not on the stack.  Remove RESET_PID conditionals.
6608         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6610 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6612         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6614 2014-06-03  Wilco  <wdijkstr@arm.com>
6616         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6617         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6618         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6619         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6620         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6621         Likewise.
6623 2014-06-03  Wilco  <wdijkstr@arm.com>
6625         * sysdeps/aarch64/fpu/math_private.h
6626         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6627         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6628         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6629         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6630         Fix declarations.
6632 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6634         * crypt/crypt-private.h: Include ufc-crypt.h.
6635         (__b64_from_24bit): Declare extern.
6636         * crypt/crypt_util.c(__b64_from_24bit): New function.
6637         (b64t): New static const variable.
6638         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6639         (b64t): Remove variable.
6640         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6641         * crypt/sha256-crypt.c: Include crypt-private.h.
6642         (b64t): Remove variable.
6643         (__sha256_crypt_r): Remove b64_from_24bit and replace
6644         with __b64_from_24bit.
6645         * crypt/sha512-crypt.c: Likewise.
6647 2014-06-02  Roland McGrath  <roland@hack.frob.com>
6649         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6650         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6651         Label the code __libc_vfork rather than __vfork.
6652         [!NOT_IN_libc] (vfork): Define as weak alias.
6653         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6654         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6655         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6657 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6659         * malloc/malloc.c (malloc_info): Fix format specifier for
6660         n_mmaps.
6662 2014-06-02  Wilco  <wdijkstr@arm.com>
6664         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6665         FPCR write.
6667 2014-06-02  Wilco  <wdijkstr@arm.com>
6669         [BZ #17009]
6670         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6671         Rewrite to reduce FPCR/FPSR accesses.
6673 2014-06-01  David S. Miller  <davem@davemloft.net>
6675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6677 2014-05-31  David S. Miller  <davem@davemloft.net>
6679         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6680         to occur in round to nearest mode when |x| >= 2.0
6682 2014-05-30  Richard Henderson  <rth@twiddle.net>
6684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6685         (PSEUDO_RET_NOERRNO): Remove.
6686         (ret): Don't redefine.
6687         (ret_NOERRNO): Define in terms of ret.
6688         (ret_ERRVAL): Likewise.
6690         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6691         use of PSEUDO_RET; perform the error check directly.
6693 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
6695         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6696         with __int128_t.
6698 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6700         * malloc/malloc (malloc_info): Fix formatting.
6702 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6703             Roland McGrath  <roland@hack.frob.com>
6705         * malloc/malloc (malloc_info): Also print mmapped statistics.
6707 2014-05-30  Roland McGrath  <roland@hack.frob.com>
6709         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6710         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6712 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
6714         * malloc/malloc.c (malloc_info): Inline mi_arena.
6716 2014-05-29  Richard Henderson  <rth@twiddle.net>
6718         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6719         Remove comma before expanding ASM_ARGS_##nr.
6720         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6721         Make _x0 a strict output; make _x8 a strict input; adjust expansion
6722         of ASM_ARGS_##nr.
6723         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6724         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6725         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6726         (ASM_ARGS_1): Add leading comma.
6728         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6729         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6730         to __errno_location.
6731         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6732         Remove the expected plt for __errno_location.
6734         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6735         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6736         call to __read_tp.
6738         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6739         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
6740         it and break it down.
6741         (DOCARGS_0, DOCARGS_1): Do nothing.
6742         (DOCARGS_2): Update to store into the new stack frame.
6743         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6744         (UNDOCARGS_1): Update to restore from the new stack frame.
6745         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6746         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6748         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6749         (SINGLE_THREAD_P): New parameter for result regno.
6750         (PSEUDO): Update to match; use cbz instead of beq.
6752         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6753         Use ENTRY to define the _nocancel entry point.  Share the syscall
6754         and syscall error check paths with the cancel path.
6755         (PSEUDO_END): New.
6757         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6758         whitespace; tabs before and after asm mnemonics.
6760 2014-05-29  Eric Wong  <normalperson@yhbt.net>
6762         [BZ #15132]
6763         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6764         Call fstat64 or stat64 internally, depending on arguments passed.
6765         Replace stat buffer argument with file descriptor argument.
6766         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6767         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6768         Pass fd to __internal_statvfs instead of calling fstat64.
6769         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6770         Pass fd to __internal_statvfs64 instead of calling fstat64.
6771         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6772         Pass -1 to __internal_statvfs instead of calling stat64.
6773         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6774         Pass -1 to __internal_statvfs64 instead of calling stat64.
6776 2014-05-28  Roland McGrath  <roland@hack.frob.com>
6778         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6779         that was previously under [RESET_PID].
6780         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6782         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6783         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6785 2014-05-27  Roland McGrath  <roland@hack.frob.com>
6787         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6789         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6790         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6792 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
6794         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6796 2014-05-27  Andreas Schwab  <schwab@suse.de>
6798         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6799         TLS_INIT_TP macro.
6800         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6801         * elf/rtld.c (init_tls, dl_main): Likewise.
6802         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6803         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6804         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6805         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6806         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6807         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6808         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6809         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6810         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6811         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6812         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6813         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6814         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6815         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6816         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6817         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6818         * sysdeps/generic/tls.h: Update description.
6820 2014-05-27  Will Newton  <will.newton@linaro.org>
6822         [BZ #16990]
6823         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6824         and restore r2 rather than just restoring.
6826 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6828         [BZ #16724]
6829         * libio/tst-ftell-append.c: New test case.
6830         * libio/Makefile (tests): Add test case.
6831         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6832         append mode.
6833         * libio/wfileops.c (do_ftell_wide): Likewise.
6835 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6839         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6840         ...
6841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6843         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6844         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6845         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6846         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6847         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6848         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6850         Moved ...
6851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6853         Moved ...
6854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6855         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6856         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6857         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6858         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6859         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6860         ...
6861         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6862         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6863         Moved ...
6864         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6865         here.
6866         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6867         ...
6868         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6869         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6870         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6872         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6873         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6874         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6875         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6877         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6878         merge into ...
6879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6881         ...
6882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6883         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6884         ...
6885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6887         Moved ...
6888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6889         here.
6890         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6891         Moved ...
6892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6894         Moved ...
6895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6898         conditional [RESET_PID].
6899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6900         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6901         removed.
6902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6903         removed.
6905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6906         <tcb-offsets.h>.
6907         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6908         (__libc_vfork): New strong alias.
6909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6910         removed.
6911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6912         Removed.
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6915         <tcb-offsets.h>.
6916         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6917         (__libc_vfork): New strong alias.
6918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6919         removed.
6920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6921         removed.
6923 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
6925         * malloc/malloc.c (mi_arena): New function.
6926         (malloc_info): Remove nested function mi_arena. Call non-nosted
6927         function mi_arena.
6929 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6931         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6932         by insrwi.
6933         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6934         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6935         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6936         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6937         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6938         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6939         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6941 2014-05-26  Andreas Schwab  <schwab@suse.de>
6943         [BZ #16984]
6944         * locale/programs/repertoire.c (repertoire_read): Add slash
6945         between I18NPATH element and file name.
6946         * locale/programs/locfile.c (locfile_read): Likewise.
6948 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6950         * nptl/pthread_mutexattr_settype.c
6951         (__pthread_mutexattr_settype):
6952         Disable lock elision for PTHREAD_MUTEX_NORMAL.
6954 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6956         * nptl/tst-mutex5 (do_test):
6957         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6959 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6961         * benchtests/README: Document 'init' directive.
6962         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6963         BENCH_INIT.
6964         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6965         (parse_file): Recognize 'init' directive.
6967 2014-05-26  Kyle McMartin  <kyle@redhat.com>
6969         [BZ #16796]
6970         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6971         alignment of struct pthread.
6973 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6975         [BZ #16878]
6976         * nscd/netgroupcache.c (addgetnetgrentX): Look for
6977         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6978         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6979         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6981 2014-05-25  Richard Henderson  <rth@twiddle.net>
6983         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6984         (SINGLE_THREAD_P_PIC): Remove.
6985         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6986         (SINGLE_THREAD_P_PIC): Remove.
6988         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6989         branch to syscall error ...
6990         (PSEUDO): ... here.
6991         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6992         from __local_syscall_error to .Lsyscall_error.
6993         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6994         (SYSCALL_ERROR): Update label name.
6996         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6997         Do not use DOARGS/UNDOARGS.
6998         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6999         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7000         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7001         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7002         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7004         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7005         block comment.
7007         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7008         define if !NOT_IN_libc.
7009         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7010         define with non-default symbol versions.
7012 2014-05-23  Richard Henderson  <rth@twiddle.net>
7014         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7015         (vfork, __vfork): Define via compat_symbol.
7017         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7018         [!HAVE_IFUNC] (vfork_compat): Remove.
7019         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7021 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7023         [BZ #16978]
7024         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7025         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7026         variable.
7028 2014-05-23  Richard Henderson  <rth@twiddle.net>
7030         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7031         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7032         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7033         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7035         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7036         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7037         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7038         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7039         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7040         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7041         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7042         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7043         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7044         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7045         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7046         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7047         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7048         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7049         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7050         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7051         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7052         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7053         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7054         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7055         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7056         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7057         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7058         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7059         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7060         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7061         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7062         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7063         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7064         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7065         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7066         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7067         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7068         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7069         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7070         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7071         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7072         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7073         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7074         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7075         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7076         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7077         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7078         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7079         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7080         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7081         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7082         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7083         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7084         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7085         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7086         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7087         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7088         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7089         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7090         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7092         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7093         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7094         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7095         before exiting on error.
7096         (__libc_vfork): New strong alias.
7097         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7098         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7100         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7101         that was previously under [RESET_PID].
7102         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7104         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7106 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7108         [BZ #16977]
7109         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7110         value when x - 1 is zero.
7111         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7112         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7113         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7114         0.0L for an argument of 1.0L.
7115         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7116         Likewise.
7117         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7118         value when x - 1 is zero.
7119         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7120         * sysdeps/i386/fpu/libm-test-ulps: Update.
7121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7123 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7125         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7126         alphasort and versionsort.
7128 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7130         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7131         macro.
7132         [copysignf]: Likewise.
7134 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7136         * crypt/md5-crypt.c: Fix formatting.
7138 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7140         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7141         (b64_from_24bit): New function.
7143 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7145         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7146         libc_hidden_builtin_def to ifunc.
7147         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7148         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7150 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7152         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7153         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7155 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7157         * nscd/Depend (linuxthreads): Remove.
7158         (nptl): Add.
7159         * resolv/Depend (linuxthreads): Remove.
7160         * rt/Depend (linuxthreads): Remove.
7162         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7163         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7164         $(common-objpfx)elf/.
7165         (link-libc-before-gnulib): Likewise.
7166         (elfobjdir): Remove variable.
7167         * Makefile (install): Use $(elf-objpfx) instead of
7168         $(common-objpfx)elf/.
7169         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7170         $(elfobjdir)/.
7171         (link-libc-deps): Likewise.
7172         ($(common-objpfx)libc.so): Likewise.
7173         ($(common-objpfx)linkobj/libc.so): Likewise.
7174         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7175         instead of $(common-objpfx)elf/.
7176         (symbolic-link-list): Likewise.
7177         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7178         [$(cross-compiling) = no]: Likewise.
7179         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7180         $(elfobjdir)/.
7181         (static-gnulib-arch): Likewise.
7182         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7183         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7184         $(common-objpfx)elf/.
7186 2014-05-21  Richard Henderson  <rth@redhat.com>
7188         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7189         (SINGLE_THREAD_P): Use the correct width load.  Fold
7190         into the ldr offset.
7192         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7193         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7195 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7197         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7198         (libgcc_s_resume): Use __attribute_used__.
7199         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7200         Likewise.
7202 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7204         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7205         optimization when used with float constants.
7207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7209 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
7211         [BZ #16915]
7212         * locale/nl_langinfo_l.c: Make direct reference to every
7213         _nl_current_CATEGORY symbol.
7214         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7215         (tests-static): Add tst-langinfo-static.
7216         (tests-special): Add tst-langinfo-static.out.
7217         ($(objpfx)tst-langinfo.out): Redirect output.
7218         ($(objpfx)tst-langinfo-static.out): New.
7219         * localedata/tst-langinfo.sh: Send output to stdout.
7220         * localedata/tst-langinfo-static.c: New file.
7222         [BZ #16965]
7223         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7224         when the shift amount is modulo the limb size.
7226 2014-05-20  Richard Henderson  <rth@redhat.com>
7228         [BZ #16967]
7229         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7230         Change type of sa_flags from unsigned int to int.
7232         [BZ #16966]
7233         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7235         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7237 2014-05-20  Will Newton  <will.newton@linaro.org>
7239         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7240         Test the return value of the system call in the nocancel case.
7242 2014-05-20  Will Newton  <will.newton@linaro.org>
7243             Yvan Roux  <yvan.roux@linaro.org>
7245         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7246         #include of asm/ptrace.h.
7247         (PTRACE_GET_THREAD_AREA): Remove #undef.
7248         (PTRACE_GETHBPREGS): Likewise.
7249         (PTRACE_SETHBPREGS): Likewise.
7250         (struct user_regs_struct): New structure.
7251         (struct user_fpsimd_struct): New structure.
7252         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7253         #include of asm/ptrace.h and second #include of sys/user.h.
7254         (PTRACE_GET_THREAD_AREA): Remove #undef.
7255         (PTRACE_GETHBPREGS): Likewise.
7256         (PTRACE_SETHBPREGS): Likewise.
7257         (ELF_NGREG): Use new struct user_regs_struct.
7258         (elf_fpregset_t): Use new struct user_fpsimd_struct.
7260 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7262         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7263         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7265 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
7267         [BZ #16958]
7268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7269         membar to avoid block loads/stores to overlap previous stores.
7271 2014-05-17  Richard Henderson  <rth@redhat.com>
7273         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7274         Create the __##syscall_name##_nocancel entry point.
7275         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7276         Remove; let the sysdep-cancel.h code create it.
7278 2014-05-17  David S. Miller  <davem@davemloft.net>
7280         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7281         Protect with __USE_GNU.
7282         (TIOCSET_TEMPT): Likewise.
7283         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7284         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7285         these are already provided in bits/ioctl-types.h
7287 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7289         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7290         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7292         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7293         Use wait4 regardless of [__NR_waitpid].
7295 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7297         PR libgcc/60166
7298         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7299         (_FP_NANSIGN_Q): Set the quiet bit.
7301 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
7303         * benchtests/Makefile
7304         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7305         not $(common-objpfx)math/libm.so.
7306         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7307         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7308         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7309         $(common-objpfx)dlfcn/libdl.so.
7310         ($(objpfx)tst-audit8): Depend on $(libm), not
7311         $(common-objpfx)math/libm.so.
7312         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7313         not $(common-objpfx)dlfcn/libdl.so.
7314         * math/Makefile
7315         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7316         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
7317         [$(build-shared) = yes].
7318         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7319         $(common-objpfx)nptl/libpthread.so.
7320         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7321         $(common-objpfx)math/libm.so$(libm.so-version) or
7322         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7323         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7324         $(common-objpfx)dlfcn/libdl.so.
7325         * setjmp/Makefile (link-libm): Remove variable.
7326         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7327         * stdio-common/Makefile (link-libm): Remove variable.
7328         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7329         * stdlib/Makefile (link-libm): Remove variable.
7330         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7331         ($(objpfx)tst-strtod-round): Likewise.
7332         ($(objpfx)tst-tininess): Likewise.
7333         ($(objpfx)tst-strtod-underflow): Likewise.
7334         ($(objpfx)tst-strtod6): Likewise.
7335         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7336         $(libdl), not $(common-objpfx)nptl/libpthread.so and
7337         $(common-objpfx)dlfcn/libdl.so.
7339 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7341         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7342         BSD terminal modes definitions.
7344 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7346         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7347         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7349         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7350         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7351         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7352         Don't do #include_next.
7353         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7354         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7355         Don't do #include_next.
7356         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7357         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7358         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7359         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7361 2014-05-16  Allan McRae  <allan@archlinux.org>
7363         * po/sv.po: Update Swedish translation from translation project.
7365         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7366         in sed expression.
7368 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
7370         [BZ #16917]
7371         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7372         errno if the TIOCGPTN ioctl fails with an error different than
7373         EINVAL.
7374         * login/tst-ptsname.c: New file.
7375         * login/Makefile (tests): Add tst-ptsname.
7377         [BZ #16943]
7378         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7379         and prlimit64.
7381 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7383         [BZ #16849]
7384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7385         herrno to return EAI_AGAIN.
7387 2014-05-14  Roland McGrath  <roland@hack.frob.com>
7389         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7390         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7391         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7392         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7393         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7394         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7395         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7396         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7397         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7398         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7399         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7400         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7401         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7402         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7403         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7404         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7405         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7406         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7407         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7408         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7409         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7410         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7411         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7412         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7413         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7414         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7415         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7416         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7417         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7418         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7420         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7422         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7424         Moved ...
7425         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7427         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7429         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7431         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7433         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7435         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7437         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7439         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7441         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7443         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7445         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7447         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7449         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7451         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7453         Moved ...
7454         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7456         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7458         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7460         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7462         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7464         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7466         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7468         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7470         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7472         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7474         Moved ...
7475         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7477         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7479         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7480         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7481         (libpthread-sysdep_routines): Add elision-related stuff here instead.
7482         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7483         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7484         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7485         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7486         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7487         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7488         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7489         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7490         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7491         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7492         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7493         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7494         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7495         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7496         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7497         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7498         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7499         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7500         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7501         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7502         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7503         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7504         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7505         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7506         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7507         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7508         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7509         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7511         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7512         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7514         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7515         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7516         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7517         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7518         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7519         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7520         Moved ...
7521         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7522         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7523         Moved ...
7524         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7525         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7526         Moved ...
7527         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7528         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7529         Moved ...
7530         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7531         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7532         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7533         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7534         Moved ...
7535         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7536         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7537         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7538         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7539         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7540         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7541         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7542         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7543         Moved ...
7544         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7545         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7546         Moved ...
7547         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7548         ... here.
7549         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7550         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7551         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7552         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7553         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7554         Moved ...
7555         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7556         ... here.
7557         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7558         Moved ...
7559         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7560         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7561         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7562         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7563         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7564         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7565         Moved ...
7566         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7567         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7568         Moved ...
7569         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7570         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7571         Moved ...
7572         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7573         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7574         Moved ...
7575         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7576         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7577         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7578         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7579         Moved ...
7580         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7581         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7582         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7583         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7584         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7585         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7586         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7587         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7588         Moved ...
7589         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7590         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7591         Moved ...
7592         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7593         ... here.
7594         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7595         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7596         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7597         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7598         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7599         Moved ...
7600         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7601         ... here.
7602         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7603         Moved ...
7604         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7605         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7606         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7607         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7608         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7609         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7610         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7611         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7612         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7613         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7614         Moved ...
7615         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7616         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7617         Moved ...
7618         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7619         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7620         Moved ...
7621         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7622         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7623         Moved ...
7624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7625         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7626         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7627         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7628         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7629         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7630         Moved ...
7631         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7632         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7633         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7634         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7635         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7636         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7637         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7638         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7639         Moved ...
7640         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7641         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7642         Moved ...
7643         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7644         ... here.
7645         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7646         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7647         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7648         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7649         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7650         Moved ...
7651         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7652         ... here.
7653         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7654         Moved ...
7655         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7656         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7657         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7658         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7659         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7660         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7661         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7662         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7663         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7664         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7665         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7667         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7668         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7670         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7671         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7673         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7674         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7675         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7676         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7677         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7678         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7679         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7680         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7681         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7682         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7683         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7684         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7685         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7686         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7687         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7688         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7689         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7690         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7691         Moved ...
7692         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7693         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7694         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7695         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7696         Moved ...
7697         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7698         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7699         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7700         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7701         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7702         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7703         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7704         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7705         Moved ...
7706         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7708         Moved ...
7709         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7710         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7711         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7712         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7713         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7714         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7715         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7716         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7717         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7718         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7719         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7720         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7721         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7722         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7723         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7724         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7725         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7727         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7728         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7729         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7730         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7731         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7733         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7734         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7735         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7736         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7737         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7738         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7739         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7740         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7741         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7742         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7744         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7745         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7747         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7748         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7749         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7750         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7751         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7752         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7753         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7754         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7755         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7756         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7757         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7758         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7759         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7760         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7762         Update #include.
7763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7764         Likewise.
7765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7766         Likewise.
7767         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7768         Likewise.
7769         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7770         Likewise.
7771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7772         Likewise.
7773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7774         Likewise.
7775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7776         Likewise.
7777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7778         Likewise.
7779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7780         Likewise.
7781         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7782         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7783         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7784         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7785         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7787         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7788         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7789         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7790         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7791         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7792         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7793         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7794         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
7795         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
7797         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7798         that was previously under [RESET_PID].
7799         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7800         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7801         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7803         * sysdeps/i386/nptl/Implies: New file.
7804         * sysdeps/x86_64/nptl/Implies: New file.
7805         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7806         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7807         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7808         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7810         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7811         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7812         (__libc_vfork): New strong alias.
7813         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7814         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7816         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7817         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7818         (__libc_vfork): New strong alias.
7819         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7820         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7822         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7823         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7824         (__libc_vfork): New strong alias.
7825         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7826         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7827         * nptl/pt-vfork.c: New file.
7828         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7829         (libpthread: GLIBC_2.20): New version set (empty).
7831 2014-05-14  Will Newton  <will.newton@linaro.org>
7833         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7834         rather than #if.
7836 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7838         [BZ #16564]
7839         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7840         arguments with exponent 65 or above.
7841         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7842         arguments 0x1p113L or above.
7843         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7844         to arguments 0x1p107L or above.
7845         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7846         positive arguments with exponent 65 or above.
7847         * math/auto-libm-test-in: Add more tests of log1p.
7848         * math/auto-libm-test-out: Regenerated.
7850         [BZ #16928]
7851         * math/s_cacos.c (__cacos): Ensure zero real part of result from
7852         non-finite arguments is +0.
7853         * math/s_cacosf.c (__cacosf): Likewise.
7854         * math/s_cacosl.c (__cacosl): Likewise.
7855         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7856         * sysdeps/i386/fpu/libm-test-ulps: Update.
7857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7859         [BZ #16927]
7860         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7861         value.
7862         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7863         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7864         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7865         for explicit high bit of mantissa when testing for argument equal
7866         to 1.
7867         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7868         * sysdeps/i386/fpu/libm-test-ulps: Update.
7869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7871         [BZ #16516]
7872         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7873         (__erf): Scale by 16 instead of 8 in potentially underflowing
7874         case.  Ensure exception if result actually underflows.
7875         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7876         (__erff): Scale by 16 instead of 8 in potentially underflowing
7877         case.  Ensure exception if result actually underflows.
7878         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7879         (efx8): Remove variable.
7880         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7881         case.  Ensure exception if result actually underflows.
7882         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7883         (efx8): Remove variable.
7884         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7885         case.  Ensure exception if result actually underflows.
7886         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7887         (efx8): Remove variable.
7888         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7889         case.  Ensure exception if result actually underflows.
7890         * math/auto-libm-test-in: Add more tests of erf.
7891         * math/auto-libm-test-out: Regenerated.
7893 2014-05-14  Andreas Schwab  <schwab@suse.de>
7895         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7896         Remove code conditionalized on USE___THREAD.
7898         * config.h.in (HAVE_PT_CHOWN): Define as 0.
7899         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7900         not definedness.
7902 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7904         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7905         Define unconditionally.
7906         (__ASSUME_O_CLOEXEC): Likewise.
7907         (__ASSUME_SOCK_CLOEXEC): Likewise.
7908         (__ASSUME_IN_NONBLOCK): Likewise.
7909         (__ASSUME_PIPE2): Likewise.
7910         (__ASSUME_EVENTFD2): Likewise.
7911         (__ASSUME_SIGNALFD4): Likewise.
7912         (__ASSUME_DUP3): Likewise.
7913         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7914         (__ASSUME_DUP3): Do not define.
7915         (__ASSUME_EVENTFD2): Likewise.
7916         (__ASSUME_IN_NONBLOCK): Likewise.
7917         (__ASSUME_O_CLOEXEC): Likewise.
7918         (__ASSUME_PIPE2): Likewise.
7919         (__ASSUME_SIGNALFD4): Likewise.
7920         (__ASSUME_SOCK_CLOEXEC): Likewise.
7921         (__ASSUME_UTIMES): Undefine.
7922         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7923         (__ASSUME_UTIMES): Do not define.
7924         (__ASSUME_O_CLOEXEC): Likewise.
7925         (__ASSUME_SOCK_CLOEXEC): Likewise.
7926         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7927         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7928         0x020621].
7929         (__ASSUME_PIPE2): Likewise.
7930         (__ASSUME_EVENTFD2): Likewise.
7931         (__ASSUME_SIGNALFD4): Likewise.
7932         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7933         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7934         Do not define.
7935         (__ASSUME_EVENTFD2): Likewise.
7936         (__ASSUME_SIGNALFD4): Likewise.
7937         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7938         (__ASSUME_32BITUIDS): Likewise.
7939         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7940         (__ASSUME_IPC64): Likewise.
7941         (__ASSUME_ST_INO_64_BIT): Likewise.
7942         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7943         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7944         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7945         (__ASSUME_UTIMES): Do not define.
7946         (__ASSUME_PSELECT): Likewise.
7947         (__ASSUME_PPOLL): Likewise.
7948         (__ASSUME_O_CLOEXEC): Likewise.
7949         (__ASSUME_SOCK_CLOEXEC): Likewise.
7950         (__ASSUME_IN_NONBLOCK): Likewise.
7951         (__ASSUME_PIPE2): Likewise.
7952         (__ASSUME_EVENTFD2): Likewise.
7953         (__ASSUME_SIGNALFD4): Likewise.
7954         (__ASSUME_DUP3): Likewise.
7955         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7956         (__ASSUME_UTIMES): Likewise.
7957         (__ASSUME_O_CLOEXEC): Likewise.
7958         (__ASSUME_SOCK_CLOEXEC): Likewise.
7959         (__ASSUME_IN_NONBLOCK): Likewise.
7960         (__ASSUME_PIPE2): Likewise.
7961         (__ASSUME_EVENTFD2): Likewise.
7962         (__ASSUME_SIGNALFD4): Likewise.
7963         (__ASSUME_DUP3): Likewise.
7964         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7965         (__ASSUME_UTIMES): Likewise.
7966         (__ASSUME_O_CLOEXEC): Likewise.
7967         (__ASSUME_SOCK_CLOEXEC): Likewise.
7968         (__ASSUME_IN_NONBLOCK): Likewise.
7969         (__ASSUME_PIPE2): Likewise.
7970         (__ASSUME_EVENTFD2): Likewise.
7971         (__ASSUME_SIGNALFD4): Likewise.
7972         (__ASSUME_DUP3): Likewise.
7973         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7974         Likewise.
7975         (__ASSUME_UTIMES): Likewise.
7976         (__ASSUME_EVENTFD2): Likewise.
7977         (__ASSUME_SIGNALFD4): Likewise.
7978         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7979         (__ASSUME_O_CLOEXEC): Likewise.
7980         (__ASSUME_SOCK_CLOEXEC): Likewise.
7981         (__ASSUME_IN_NONBLOCK): Likewise.
7982         (__ASSUME_PIPE2): Likewise.
7983         (__ASSUME_EVENTFD2): Likewise.
7984         (__ASSUME_SIGNALFD4): Likewise.
7985         (__ASSUME_DUP3): Likewise.
7986         (__ASSUME_UTIMES): Undefine.
7988         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7989         feclearexcept.  Remove symbol versioning code.
7990         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
7991         symbol versioning code.
7992         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
7993         symbol versioning code.
7994         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7995         feupdateenv.  Remove symbol versioning code.
7996         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7997         fegetexceptflag.  Remove symbol versioning code.
7998         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7999         fesetexceptflag.  Remove symbol versioning code.
8000         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8001         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8002         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8003         (__posix_fadvise64_l32): Remove prototype.
8004         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8005         code.
8007 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8009         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8010         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8011         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8012         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8014 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8016         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8017         current working directory
8019 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8021         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8022         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8023         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8024         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8025         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8026         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8027         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8028         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8029         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8030         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8031         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8032         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8033         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8034         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8035         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8036         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8037         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8038         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8039         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8040         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8041         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8042         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8043         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8044         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8045         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8046         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8047         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8048         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8049         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8050         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8051         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8052         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8053         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8054         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8055         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8056         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8057         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8058         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8059         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8060         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8061         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8062         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8064         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8065         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8067         * sysdeps/unix/sysv/linux/arm/Makefile
8068         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8069         Add rt-aeabi_unwind_cpp_pr1.
8070         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8071         Add nptl-aeabi_unwind_cpp_pr1.
8072         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8073         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8074         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8075         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8076         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8077         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8079         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8080         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8081         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8082         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8084         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8085         Deconditionalize the code that was previously under [RESET_PID].
8086         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8088         * sysdeps/generic/exit-thread.h: New file.
8089         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8090         * include/unistd.h (__exit_thread): Remove declaration.
8091         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8092         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8093         * csu/libc-start.c: Include <exit-thread.h>.
8094         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8095         * nptl/pthread_create.c: Include <exit-thread.h>.
8096         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8097         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8098         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8099         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8100         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8101         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8102         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8103         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8104         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8105         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8106         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8107         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8108         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8109         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8110         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8111         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8112         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8114 2014-05-13  Andreas Schwab  <schwab@suse.de>
8116         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8118 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8120         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8121         (__ASSUME_UTIMES): Do not condition on kernel version.
8122         (__ASSUME_PSELECT): Define unconditionally.
8123         (__ASSUME_PPOLL): Likewise.
8124         (__ASSUME_ATFCTS): Likewise.
8125         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8126         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8127         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8128         (__ASSUME_UTIMENSAT): Define unconditionally.
8129         (__ASSUME_PRIVATE_FUTEX): Likewise.
8130         (__ASSUME_FALLOCATE): Likewise.
8131         (__ASSUME_O_CLOEXEC): Likewise.
8132         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8133         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8134         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8135         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8136         (__ASSUME_IN_NONBLOCK): Likewise.
8137         (__ASSUME_PIPE2): Likewise.
8138         (__ASSUME_EVENTFD2): Likewise.
8139         (__ASSUME_SIGNALFD4): Likewise.
8140         (__ASSUME_DUP3): Likewise.
8141         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8142         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8143         (__ASSUME_AT_RANDOM): Likewise.
8144         (__ASSUME_PREADV): Likewise.
8145         (__ASSUME_PWRITEV): Likewise.
8146         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8147         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8148         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8149         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8150         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8151         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8152         (__ASSUME_O_CLOEXEC): Define unconditionally.
8153         (__ASSUME_PSELECT): Do not undefine conditionally.
8154         (__ASSUME_PPOLL): Likewise.
8155         (__ASSUME_ATFCTS): Likewise.
8156         (__ASSUME_SET_ROBUST_LIST): Likewise.
8157         (__ASSUME_UTIMENSAT): Likewise.
8158         (__ASSUME_FDATASYNC): Define unconditionally.
8159         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8160         (__ASSUME_SIGFRAME_V2): Likewise.
8161         )__ASSUME_EVENTFD2): Likewise.
8162         (__ASSUME_SIGNALFD4): Likewise.
8163         (__ASSUME_PSELECT): Do not undefine conditionally.
8164         (__ASSUME_PPOLL): Likewise.
8165         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8166         (__ASSUME_PSELECT): Define unconditionally.
8167         (__ASSUME_PPOLL): Likewise.
8168         (__ASSUME_O_CLOEXEC): Likewise.
8169         (__ASSUME_SOCK_CLOEXEC): Likewise.
8170         (__ASSUME_IN_NONBLOCK): Likewise.
8171         (__ASSUME_PIPE2): Likewise.
8172         (__ASSUME_EVENTFD2): Likewise.
8173         (__ASSUME_SIGNALFD4): Likewise.
8174         (__ASSUME_DUP3): Likewise.
8175         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8176         (__ASSUME_O_CLOEXEC): Likewise.
8177         (__ASSUME_SOCK_CLOEXEC): Likewise.
8178         (__ASSUME_IN_NONBLOCK): Likewise.
8179         (__ASSUME_PIPE2): Likewise.
8180         (__ASSUME_EVENTFD2): Likewise.
8181         (__ASSUME_SIGNALFD4): Likewise.
8182         (__ASSUME_DUP3): Likewise.
8183         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8184         (__ASSUME_EVENTFD2): Likewise.
8185         (__ASSUME_SIGNALFD4): Likewise.
8186         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8188 2014-05-12  Andreas Schwab  <schwab@suse.de>
8190         [BZ #16932]
8191         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8192         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8193         than maximum RPC packet size.
8194         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8195         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8196         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8197         (_nss_nis_getservbyport_r): Likewise.
8199 2014-05-12  Will Newton  <will.newton@linaro.org>
8201         * malloc/Makefile (tests): Add tst-mallopt.
8202         * malloc/tst-mallopt.c: New file.
8204 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8206         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8207         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8209 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8211         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8212         (tst-tlsmod6.so): Likewise.
8214 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8216         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8218 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
8220         [BZ #16064]
8221         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8222         and <dl-procinfo.h>.
8223         (__fegetenv): Save SSE state in envp->__eip if supported.
8224         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8225         envp->__eip if supported.
8226         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8227         and <dl-procinfo.h>.
8228         (__fesetenv): Always set __eip, __cs_selector, __opcode,
8229         __data_offset and __data_selector in environment to 0.  Set SSE
8230         state if supported.
8231         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8232         test-fenv-sse.
8233         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8234         -mfpmath=sse.
8235         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8237 2014-05-09  Will Newton  <will.newton@linaro.org>
8239         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8240         and libc_relro_required for ARM.
8241         * sysdeps/arm/preconfigure: Regenerate.
8243 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8244             Stefan Liebler  <stli@linux.vnet.ibm.com>
8246         * config.make.in (enable-lock-elision): New Makefile variable.
8247         * configure.ac: Likewise.
8248         * configure: Regenerate.
8249         * sysdeps/s390/configure.ac:
8250         Add check for gcc transactions support.
8251         * sysdeps/s390/configure: Regenerate.
8252         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8253         Build elision files if enabled.
8254         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8255         Add lock elision support for s390.
8256         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8257         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8258         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8259         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8260         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8261         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8262         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8263         Likewise.
8264         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8265         Likewise.
8266         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8267         Likewise.
8268         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8269         Likewise.
8270         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8271         (__lll_timedlock_elision, __lll_lock_elision)
8272         (__lll_unlock_elision, __lll_trylock_elision)
8273         (lll_timedlock_elision, lll_lock_elision)
8274         (lll_unlock_elision, lll_trylock_elision): Add.
8275         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8276         (pthread_mutex_t): Add lock elision support for s390.
8278 2014-05-14  Wilco  <wdijkstr@arm.com>
8280         * sysdeps/arm/fclrexcpt.c: Cleanup.
8281         * sysdeps/arm/fedisblxcpt.c: Cleanup.
8282         * sysdeps/arm/feenablxcpt.c: Cleanup.
8283         * sysdeps/arm/fegetenv.c: Cleanup.
8284         * sysdeps/arm/fegetexcept.c: Cleanup.
8285         * sysdeps/arm/fegetround.c: Cleanup.
8286         * sysdeps/arm/feholdexcpt.c: Cleanup.
8287         * sysdeps/arm/fesetenv.c: Cleanup.
8288         * sysdeps/arm/fesetround.c: Cleanup.
8289         * sysdeps/arm/feupdateenv.c: Cleanup.
8290         * sysdeps/arm/fgetexcptflg.c: Cleanup.
8291         * sysdeps/arm/fraiseexcpt.c: Cleanup.
8292         * sysdeps/arm/fsetexcptflg.c: Cleanup.
8293         * sysdeps/arm/ftestexcept.c: Cleanup.
8294         * sysdeps/arm/get-rounding-mode.h: Cleanup.
8295         * sysdeps/arm/setfpucw.c: Cleanup.
8297 2014-05-09  Will Newton  <will.newton@linaro.org>
8299         * sysdeps/arm/armv7/strcmp.S: New file.
8300         * NEWS: Mention addition of ARMv7 optimized strcmp.
8302 2014-05-08  Roland McGrath  <roland@hack.frob.com>
8304         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8305         look for %.ac rather than %.in.
8307         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8308         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8309         * sysdeps/mach/hurd/configure: Regenerated.
8310         * sysdeps/unix/sysv/linux/configure: Regenerated.
8312         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8314 2014-05-07  Steve Ellcey  <sellcey@mips.com>
8316         [BZ# 16922]
8317         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8318         (LONG_SUB): Ditto.
8319         (PTR_SUB): Ditto.
8321 2014-05-07  Andreas Schwab  <schwab@suse.de>
8323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8324         when skipping over non-matching result from nscd.
8326 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
8328         [BZ #16876]
8329         * nptl/sockperf.c (client): Check socket return value.
8331         [BZ #16877]
8332         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8333         nscd security class.
8335 2014-05-06  Roland McGrath  <roland@hack.frob.com>
8337         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8338         * sysdeps/arm/unwind.h: ... here.
8340 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
8342         [BZ# 16916]
8343         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8344         Define.
8346 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8348         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8349         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8350         multiarch strncpy for PPC64.
8351         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8352         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8354         multiarch optimizations.
8355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8356         (__libc_ifunc_impl_list): Likewise.
8357         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8358         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8359         multiarch stpncpy for PPC64.
8360         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8361         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8363 2014-05-06  Andreas Schwab  <schwab@suse.de>
8365         [BZ #16912]
8366         * gmon/mcount.c (_MCOUNT_DECL): Use
8367         atomic_compare_and_exchange_bool_acq instead of
8368         catomic_compare_and_exchange_bool_acq.
8370 2014-05-05  Roland McGrath  <roland@hack.frob.com>
8372         * elf/Makefile (others, install-bin): Remove pldd.
8373         (pldd-modules): Variable removed.
8374         ($(objpfx)pldd): Target removed.
8375         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8376         (others, install-bin): Append pldd here.
8377         ($(objpfx)pldd): New target.
8379         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8380         to 0, so the first #if test emitted later doesn't see it undefined.
8381         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8382         * sysdeps/gnu/errlist.c: Regenerated.
8384 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8386         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8387         [libc_hidden_builtin_def]: Define to empty value.
8388         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8389         [libc_hidden_builtin_def]: Likewise.
8390         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8391         [libc_hidden_builtin_def]: Likewise.
8392         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8393         [libc_hidden_builtin_def]: Likewise.
8394         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8395         __redirect_memcpy and define ifunc as default hidden symbol.
8396         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8397         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8399 2014-05-04  Adam Conrad  <adconrad@0c3.net>
8401         * locale/iso-4217.def: Reintroduce XDR currency.
8403 2014-05-04  Allan McRae  <allan@archlinux.org>
8405         * po/eo.po: Update Esperanto translation from translation project.
8407 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
8409         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8410         and FEATURE_INDEX_MAX to 1.
8411         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8413 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8415         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8416         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8417         * iconvdata/big5.c (ONE_DIRECTION): Define.
8418         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8419         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8420         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8421         * iconvdata/cp932.c (ONE_DIRECTION): Define.
8422         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8423         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8424         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8425         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8426         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8427         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8428         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8429         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8430         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8431         * iconvdata/gbk.c (ONE_DIRECTION): Define.
8432         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8433         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8434         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8435         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8436         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8437         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8438         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8439         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8440         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8441         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8442         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8443         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8444         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8445         * iconvdata/iso646.c (ONE_DIRECTION): Define.
8446         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8447         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8448         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8449         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8450         * iconvdata/johab.c (ONE_DIRECTION): Define.
8451         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8452         * iconvdata/sjis.c (ONE_DIRECTION): Define.
8453         * iconvdata/t.61.c (ONE_DIRECTION): Define.
8454         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8455         * iconvdata/tscii.c (ONE_DIRECTION): Define.
8456         * iconvdata/uhc.c (ONE_DIRECTION): Define.
8457         * iconvdata/unicode.c (ONE_DIRECTION): Define.
8458         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8459         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8460         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8462 2014-05-01  Roland McGrath  <roland@hack.frob.com>
8464         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8465         (_IO_JUMPS_OFFSET): Define to 0.
8467         * nptl/sysdeps/pthread/bits/libc-lock.h
8468         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8469         (__libc_lock_define_initialized_recursive): Always define using
8470         initializer.  Modern compilers treat uninitialized (implicit zero) and
8471         explicit zero initializers the same (i.e. put the datum in bss).
8473 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8475         * nscd/nscd-client.h: Include <string.h>.
8477 2014-05-01  David S. Miller  <davem@davemloft.net>
8479         [BZ #16885]
8480         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8481         multiple zero bytes exist at the end of a string.
8482         Reported by Aurelien Jarno <aurelien@aurel32.net>
8484         * string/test-strcmp.c (check): Add explicit test for situations where
8485         there are multiple zero bytes after the first.
8487 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8489         [BZ #16890]
8490         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8491         when compiling wprintf.
8492         * stdio-common/tstdiomisc.c (t3): New function.
8493         (main): Call it.
8495 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8497         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8498         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8499         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8500         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8502 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8504         * stdlib/longlong.h: Updated from GCC.
8506 2014-05-01  Will Newton  <will.newton@linaro.org>
8507             Bernard Ogden  <bernie.ogden@linaro.org>
8509         * NEWS: Update fixed bug list.
8511         [BZ #15119]
8512         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8514 2014-04-30  David S. Miller  <davem@davemloft.net>
8516         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8517         (libc_feholdexcept_setround_sparc_ctx): New function.
8518         (libc_fesetenv_sparc_ctx): Likewise.
8519         (libc_feupdateenv_sparc_ctx): Likewise.
8520         (libc_feholdsetround_sparc_ctx): Likewise.
8521         (libc_feholdexcept_setround_ctx): Define.
8522         (libc_feholdexcept_setroundf_ctx): Likewise.
8523         (libc_feholdexcept_setroundl_ctx): Likewise.
8524         (libc_fesetenv_ctx): Likewise.
8525         (libc_fesetenvf_ctx): Likewise.
8526         (libc_fesetenvl_ctx): Likewise.
8527         (libc_feupdateenv_ctx): Likewise.
8528         (libc_feupdateenvf_ctx): Likewise.
8529         (libc_feupdateenvl_ctx): Likewise.
8530         (libc_feresetround_ctx): Likewise.
8531         (libc_feresetroundf_ctx): Likewise.
8532         (libc_feresetroundl_ctx): Likewise.
8533         (libc_feholdsetround_ctx): Likewise.
8534         (libc_feholdsetroundf_ctx): Likewise.
8535         (libc_feholdsetroundl_ctx): Likewise.
8537         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8538         with __USE_GNU instead of XOPEN cpp guards.
8540         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8541         0.
8543         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8544         with XOPEN cpp guards.
8546 2014-04-30  Julian Brown  <julian@codesourcery.com>
8548         [BZ #16888]
8549         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8550         handling.
8552 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
8554         [BZ #9894]
8555         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8556         Change to 2.6.32.
8557         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8558         * sysdeps/unix/sysv/linux/configure: Regenerated.
8559         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8560         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8561         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8562         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8563         * README: Update reference to required Linux kernel version.
8564         * manual/install.texi (Linux): Update reference to required Linux
8565         kernel headers version.
8566         * INSTALL: Regenerated.
8568         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8569         header inclusion.
8570         [POSIX] (limits.h): Likewise.
8571         [POSIX] (math.h): Likewise.
8572         [POSIX] (sys/wait.h): Likewise.
8573         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8574         function.
8575         [POSIX] (stddef.h): Do not allow header inclusion.
8577 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8579         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8581 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
8583         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8584         Return immediately after lll_futex_wake.
8586 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8588         [BZ #16791]
8589         * nscd/nscd-client.h (datahead_init_common): Initialize entire
8590         structure.
8591         (datahead_init_pos): Call datahead_init_common early.
8592         (datahead_init_neg): Likewise.
8594         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8595         datahead_init_neg): New functions.
8596         * nscd/aicache.c (addhstaiX): Use them.
8597         * nscd/grpcache.c (cache_addgr): Likewise.
8598         * nscd/hstcache.c (cache_addhst): Likewise.
8599         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8600         * nscd/netgroupcache.c (do_notfound): Likewise.
8601         (addgetnetgrentX): Likewise.
8602         (addinnetgrX): Likewise.
8603         * nscd/pwdcache.c (cache_addpw): Likewise.
8604         * nscd/servicescache.c (cache_addserv): Likewise.
8606 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8607             Atsushi Onoe  <atsushi@onoe.org>
8609         [BZ #14308]
8610         [BZ #12994]
8611         [BZ #13651]
8612         * resolv/res_query.c (__libc_res_nsearch): Return if at least
8613         one response is valid.
8614         * resolv/res_send.c (send_dg): Check for validity of other
8615         response if the current response is a referral.
8617 2014-04-29  Steve Ellcey  <sellcey@mips.com>
8619         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8621 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
8623         [BZ #16823]
8624         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8625         Always divide by positive zero when computing -Inf result.
8626         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8627         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8629 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8631         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8632         FPSCR if value do not change.
8633         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8634         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8635         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8636         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8637         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8638         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8639         function.
8641 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
8643         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8644         * sysdeps/unix/sysv/linux/hppa: Move directory from
8645         ports/systeps/unix/sysv/linux/hppa.
8646         * README: Update listing for hppa-*-linux-gnu.
8648 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
8650         [BZ #16754]
8651         * manual/stdio.texi (Hook functions): Fix types of stream hook
8652         functions.
8653         [BZ #16854]
8654         * socket/sys/socket.h: Fix typo in comment.
8656 2014-04-28  Wilco  <wdijkstr@arm.com>
8658         * sysdeps/arm/fenv_private.h: New file.
8659         * sysdeps/arm/math_private.h: New file.
8660         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8662 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
8664         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8665         with __int128_t.
8666         (La_x86_64_retval): Likewise.
8668 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
8670         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8671         fpsr if value didn't change.
8672         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8673         to fpcr if value didn't change.
8674         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8675         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8676         fpsr or fpcr if value didn't change.
8677         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8678         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8679         fpcr if value didn't change.
8680         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8681         to fpsr if value didn't change.
8683 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8685         * nptl/tst-sem3.c: Use test-skeleton.c
8686         (main): Rename to do_test.  Use return instead of
8687         exit.
8688         * nptl/tst-sem4.c: Use test-skeleton.c
8689         (main): Rename to do_test.
8691 2014-04-22  David S. Miller  <davem@davemloft.net>
8693         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8694         (struct sigaction): New struct member __glibc_reserved0, change
8695         type of sa_flags to int.
8697 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
8699         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8700         (COUNT_LEADING_ZEROS_0): Define for AArch64.
8702 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8704         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8705         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8707 2014-04-22  Will Newton  <will.newton@linaro.org>
8708             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
8710         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8711         (__longjmp): Add longjmp and longjmp_target SystemTap
8712         probes.
8713         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8714         (__sigsetjmp): Add setjmp SystemTap probe.
8716 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
8718         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8719         match manual order.
8721 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8723         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8725         * sysdeps/powerpc/fpu/fenv_private.h
8726         (libc_feholdexcept_setroundl_ctx): Define to
8727         libc_feholdexcept_setround_ppc_ctx.
8728         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8729         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8730         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8731         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8733 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8735         * sysdeps/aarch64/math-tests.h: New file.
8737 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
8739         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8740         New.
8741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8742         Check and set bit_AVX2_Usable.
8743         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8744         macro.
8745         (bit_AVX2): Likewise.
8746         (index_AVX2_Usable): Likewise.
8747         (CPUID_AVX2): Likewise.
8748         (HAS_AVX2): Likewise.
8750 2014-04-17  Will Newton  <will.newton@linaro.org>
8752         * manual/setjmp.texi (System V contexts): Add note that
8753         calling setcontext on a context created by a call to a
8754         signal handler is undefined.  Update text to note that
8755         setcontext from a signal handler is possible but not
8756         recommended.
8758         [BZ #16629]
8759         * stdlib/tst-setcontext.c: Include signal.h.
8760         (main): Check that the signal stack before and
8761         after swapcontext is the same.
8763         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8764         Re-implement to restore registers in user code and avoid
8765         rt_sigreturn system call.
8767 2014-04-17  Wilco  <wdijkstr@arm.com>
8769         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8770         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8771         * math/test-fenv.c: Skip exception trap tests on targets which only
8772         support non-stop mode.
8774 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8775             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8777         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8778         (libc_feholdsetround_aarch64_ctx)
8779         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8780         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8781         (libc_feresetround_ctx, libc_feresetroundf_ctx)
8782         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8783         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8784         (libc_feresetround_noexl_ctx): Define.
8786 2014-04-16  Richard Henderson  <rth@redhat.com>
8788         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8790         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8791         unwind tables.
8793         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8794         const from the non-libc, non-ldso copy.
8796         * sysdeps/alpha/libm-test-ulps: Regenerate.
8798 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
8799             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8801         * sysdeps/aarch64/fpu/math_private.h: New file.
8803 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8805         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8807 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
8809         [BZ #16275]
8810         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8811         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8812         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8813         Intel MPX bound registers before _dl_profile_fixup.
8814         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8815         registers after _dl_profile_fixup.  Save and restore bound
8816         registers bnd0/bnd1 when calling _dl_call_pltexit.
8817         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8818         (LR_BND_OFFSET): Likewise.
8819         (LRV_BND0_OFFSET): Likewise.
8820         (LRV_BND1_OFFSET): Likewise.
8822 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8824         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8825         to...
8826         * sysdeps/mach/hurd/i386/tls.h: ... here.
8827         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8828         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8829         fields.
8831 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8833         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8835 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8837         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8839 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8841         [BZ #14770]
8842         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8843         * sysdeps/s390/configure: Regenerate.
8845         [BZ #16824]
8846         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8847         Set round-to-nearest internally to reduce error accumulation.
8849 2014-04-16  Alan Modra  <amodra@gmail.com>
8851         [BZ #16740]
8852         [BZ #16619]
8853         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8854         * math/libm-test.inc (frexp_test_data): Add tests.
8855         * NEWS: Update fixed bug list.
8857 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8859         * benchtests/Makefile: Depend on libraries in build directory.
8860         (bench-math): Separate out math tests.
8861         (bench-pthread): Separate out pthread tests.
8862         (bench): Include math and pthread tests.
8864 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
8866         [BZ #16831]
8867         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8868         _dl_debug_initialize.
8870         * configure.ac: Remove SELinux header check.
8871         * configure: Regenerate.
8872         * nscd/selinux.c (perms): Array of const char* to permission names.
8873         (nscd_request_avc_has_perm): Call security_deny_unknown to find
8874         default policy. Call string_to_security_class and string_to_av_perm to
8875         translate strings. Enforce default policy and call avs_has_perm with
8876         results of translated strings.
8878 2014-04-13  David S. Miller  <davem@davemloft.net>
8880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8882 2014-04-12  Allan McRae  <allan@archlinux.org>
8884         [BZ #16838]
8885         * manual/string.texi (Collation Functions): Fix qsort argument
8886         order in example.
8887         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8889 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
8891         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8892         Make the test a no-op if there are no exceptions defined.
8894 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8896         * elf/Makefile (tests): make tst-dlopen-aout conditional on
8897         enable-hardcoded-path-in-tests
8899 2014-04-11  Will Newton  <will.newton@linaro.org>
8901         * benchtests/Makefile (extra-objs): Add json-lib.o.
8902         (bench-func): Tidy up JSON output.
8903         * benchtests/bench-skeleton.c: Include json-lib.h.
8904         (main): Use JSON library functions to do output of
8905         benchmark results.
8906         * benchtests/bench-timing-type.c (main): Output the
8907         timing type simply, leaving formatting to the user.
8908         * benchtests/json-lib.c: New file.
8909         * benchtests/json-lib.h: Likewise.
8911 2014-04-11  Torvald Riegel  <triegel@redhat.com>
8913         [BZ #15215]
8914         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8915         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
8916         memory barriers.  Add comments.
8917         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8918         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8919         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8920         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8921         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8922         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8924 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8926         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8927         * sysdeps/s390/s390-64/configure.ac: ... this ...
8928         * sysdeps/s390/configure.ac: ... to here.
8929         * sysdeps/s390/s390-32/configure: Delete file.
8930         * sysdeps/s390/s390-64/configure: Delete file.
8931         * sysdeps/s390/configure: Regenerate.
8933 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
8935         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8937 2014-04-11  Will Newton  <will.newton@linaro.org>
8939         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8940         to zero if it is not defined elsewhere.  (mtrim): Test
8941         the value of MALLOC_DEBUG with #if rather than #ifdef.
8943 2014-04-10 Torvald Riegel  <triegel@redhat.com>
8945         * benchtests/pthread_once-inputs: New file.
8946         * benchtests/pthread_once-source.c: New file.
8947         * benchtests/README: Update documentation.
8949 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8950             H.J. Lu  <hongjiu.lu@intel.com>
8952         [BZ #16275]
8953         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8954         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8955         * sysdeps/x86_64/configure: Regenerated.
8956         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8957         macro.
8958         (REGISTER_SAVE_RAX): Likewise.
8959         (REGISTER_SAVE_RCX): Likewise.
8960         (REGISTER_SAVE_RDX): Likewise.
8961         (REGISTER_SAVE_RSI): Likewise.
8962         (REGISTER_SAVE_RDI): Likewise.
8963         (REGISTER_SAVE_R8): Likewise.
8964         (REGISTER_SAVE_R9): Likewise.
8965         (REGISTER_SAVE_BND0): Likewise.
8966         (REGISTER_SAVE_BND1): Likewise.
8967         (REGISTER_SAVE_BND2): Likewise.
8968         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
8969         bound registers when calling _dl_fixup.
8971 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8973         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8974         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8975         of its definition.
8976         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8977         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8978         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8979         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8980         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8981         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8982         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8984 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
8986         [BZ #15514]
8987         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8988         pathconf(_PC_NAME_MAX).
8990 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8992         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8993         Remove macro usage.
8994         (__PTHREAD_SPINS): Move definition to ...
8995         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8996         (__PTHREAD_SPINS): ... here.
8997         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8998         (__PTHREAD_SPIN): Likewise.
8999         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9000         (__PTHREAD_SPIN): Likewise.
9001         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9002         (__PTHREAD_SPIN): Likewise.
9003         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9004         (__PTHREAD_SPIN): Likewise.
9005         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9006         (__PTHREAD_SPIN): Likewise.
9007         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9008         (__PTHREAD_SPIN): Likewise.
9009         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9010         (__PTHREAD_SPIN): Likewise.
9011         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9012         (__PTHREAD_SPIN): Likewise.
9013         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9014         (__PTHREAD_SPIN): Likewise.
9015         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9016         (__PTHREAD_SPIN): Likewise.
9017         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9018         (__PTHREAD_SPIN): Likewise.
9019         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9020         (__PTHREAD_SPIN): Likewise.
9022         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9023         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9024         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9025         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9026         imply folder.
9027         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9028         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9029         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9030         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9031         correct imply path.
9032         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9033         strlen symbol for non multi-arch builds.
9034         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9035         missing hidden_def and weak_alias.
9037 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9039         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9041 2014-04-07  Will Newton  <will.newton@linaro.org>
9043         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9044         and contents.  [!_LIBC] Remove #ifndef and contents.
9045         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9046         * string/memccpy.c (__memccpy): Use ANSI prototype.
9047         * string/memfrob.c (memfrob): Likewise.
9048         * string/strcoll.c (STRCOLL): Likewise.
9049         * string/strlen.c (strlen): Likewise.
9050         * string/strtok.c (STRTOK): Likewise.
9051         * string/strcat.c: Remove unused #include of memcopy.h.
9052         (strcat): Use ANSI prototype.
9053         * string/strchr.c: Remove unused #include of memcopy.h.
9054         (strchr): Use ANSI prototype.
9055         * string/strcmp.c: Remove unused #include of memcopy.h.
9056         (strcmp): Use ANSI prototype.
9057         * string/strcpy.c: Remove unused #include of memcopy.h.
9058         (strcpy): Use ANSI prototype.
9060 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9062         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9063         * config.make.in (config-extra-cppflags): Set it from
9064         libc_extra_cppflags.
9065         * configure.ac (libc_extra_cflags): Make it accumulate over
9066         configure fragments.
9067         (libc_extra_cppflags): New flag.
9068         * configure. Regenerate.
9069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9070         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9071         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9074         [BZ #16815]
9075         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9076         result for FE_DOWNWARD rounding mode.
9077         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9078         Likewise.
9079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9081 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9083         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9084         in function argument name.
9086 2014-04-03  David Svoboda  <svoboda@cert.org>
9088         [BZ #5666]
9089         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9090         explicitly.
9092 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9094         * elf/dl-unmap-segments.h: New file.
9095         * sysdeps/generic/ldsodefs.h
9096         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9097         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9098         * elf/dl-fptr.c: Likewise.
9099         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9100         * sysdeps/aarch64/tlsdesc.c: Likewise.
9101         * sysdeps/arm/tlsdesc.c: Likewise.
9102         * sysdeps/i386/tlsdesc.c: Likewise.
9103         * sysdeps/tile/dl-runtime.c: Likewise.
9104         * sysdeps/x86_64/tlsdesc.c: Likewise.
9105         * elf/dl-load.h: New file.
9106         * elf/dl-load.c: Include it.
9107         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9108         Macros moved to dl-load.h.
9109         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9110         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9111         Use _dl_unmap_segments in place of __munmap.
9112         Break out segment-mapping loop into ...
9113         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9115 2014-04-03  Will Newton  <will.newton@linaro.org>
9117         * elf/dl-lookup.c (do_lookup_x): Remove comment
9118         referring to nested function and move variable
9119         declarations down to before first use.
9121 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9123         [BZ #16799]
9124         [BZ #16800]
9125         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9126         with 0 numerator.
9127         * math/s_catanf.c (__catanf): Likewise.
9128         * math/s_catanh.c (__catanh): Likewise.
9129         * math/s_catanhf.c (__catanhf): Likewise.
9130         * math/s_catanhl.c (__catanhl): Likewise.
9131         * math/s_catanl.c (__catanl): Likewise.
9132         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9133         by positive zero when computing -Inf result.
9134         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9135         (catanh_test): Likewise.
9136         * sysdeps/i386/fpu/libm-test-ulps: Update.
9137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9139         [BZ #16789]
9140         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9141         instead of using underflowing value in computing result.
9142         * math/s_clog10.c (__clog10): Likewise.
9143         * math/s_clog10f.c (__clog10f): Likewise.
9144         * math/s_clog10l.c (__clog10l): Likewise.
9145         * math/s_clogf.c (__clogf): Likewise.
9146         * math/s_clogl.c (__clogl): Likewise.
9147         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9148         (clog10_test): Likewise.
9149         * sysdeps/i386/fpu/libm-test-ulps: Update.
9150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9152 2014-04-02  Alan Modra  <amodra@gmail.com>
9154         [BZ #16739]
9155         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9156         output when value is near a power of two.  Use int64_t for lx and
9157         remove casts.  Use decimal rather than hex exponent constants.
9158         Don't use long double multiplication when double will suffice.
9159         * math/libm-test.inc (nextafter_test_data): Add tests.
9160         * NEWS: Add 16739 and 16786 to bug list.
9162         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9164         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9166 2014-04-01  Will Newton  <will.newton@linaro.org>
9168         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9169         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9171 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9173         [BZ #13347]
9174         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9175         * nptl/tst-setuid2.c: New file.
9176         * nptl/Makefile (xtests): Add tst-setuid2.
9178 2014-04-01  Alan Modra  <amodra@gmail.com>
9180         [BZ #16786]
9181         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9183 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9185         [BZ #6803]
9186         [BZ #6804]
9187         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9188         set errno as appropriate.
9189         * math/w_scalbf.c (__scalbf): Likewise.
9190         * math/w_scalbl.c (__scalbl): Likewise.
9191         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9192         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9193         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9194         Add more NaN tests.
9196         [BZ #16349]
9197         * math/w_atan2.c: Include <errno.h>.
9198         (__atan2): Set errno for result underflowing to zero.
9199         * math/w_atan2f.c: Include <errno.h>.
9200         (__atan2f): Set errno for result underflowing to zero.
9201         * math/w_atan2l.c: Include <errno.h>.
9202         (__atan2l): Set errno for result underflowing to zero.
9203         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9204         tests.
9205         * math/auto-libm-test-out: Regenerated.
9207 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9209         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9210         Encode instruction correctly in little endian.
9211         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9212         Likewise.
9213         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9214         Likewise.
9215         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9216         Likewise.
9217         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9218         Likewise.
9220 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9222         [BZ #9894]
9223         * sysdeps/unix/sysv/linux/kernel-features.h
9224         [__sparc__ && !__arch64__ && !__sparc_v9__]
9225         (__ASSUME_SET_ROBUST_LIST): Do not define.
9226         [__sparc__ && !__arch64__ && !__sparc_v9__]
9227         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9228         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9229         Likewise.
9230         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9231         (__ASSUME_FUTEX_LOCK_PI): Undefine.
9232         (__ASSUME_REQUEUE_PI): Likewise.
9233         (__ASSUME_SET_ROBUST_LIST): Likewise.
9234         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9235         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9236         Undefine.
9237         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9238         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9239         Likewise.
9240         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9241         Likewise.
9242         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9243         Likewise.
9244         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9245         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9246         Undefine.
9247         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9248         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9249         Likewise.
9251         [BZ #16648]
9252         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9253         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9254         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9256 2014-03-31  Will Newton  <will.newton@linaro.org>
9258         * benchtests/Makefile (bench): Add ffs and ffsll to list
9259         of tests.
9260         * benchtests/ffs-inputs: New file.
9261         * benchtests/ffsll-inputs: Likewise.
9263 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
9265         [BZ #16770]
9266         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9267         too large before casting to int.
9268         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9269         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9270         * math/libm-test.inc (scalb_test_data): Add more tests.
9272 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9274         * benchtests/Makefile (DETAILED_OPT): New make option.
9275         (bench-func): Run benchmark program with -d if DETAILED_OPT is
9276         set.
9277         * benchtests/bench-skeleton.c: Include stdbool.h.
9278         (main): Store and print timings per input.
9279         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9280         member to each argument value.
9281         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9282         (_print_arg_data): Initialize per-input timing to 0.
9284         * benchtests/Makefile (timing-type): New binary.
9285         (bench-clean): Also remove bench-timing-type.
9286         (bench): New target for timing-type.
9287         (bench-func): Print output in JSON format.
9288         * benchtests/bench-skeleton.c (main): Print output in JSON
9289         format.
9290         * benchtests/bench-timing-type.c: New file.
9291         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9292         (TIMING_PRINT_STATS): Remove.
9293         * benchtests/scripts/bench.py (_print_arg_data): Store variant
9294         name separately.
9296         * benchtests/bench-modf.c: Remove.
9297         * benchtests/modf-inputs: New inputs file.
9299 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
9301         [BZ #16362]
9302         * math/s_clog10.c (M_PI_LOG10E): New macro.
9303         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9304         imaginary parts are 0.
9305         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9306         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9307         imaginary parts are 0.
9308         * math/s_clog10l.c (M_PI_LOG10El): New macro.
9309         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9310         imaginary parts are 0.
9311         * math/libm-test.inc (clog10_test_data): Update expected results
9312         for when real and imaginary parts are 0.
9314 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
9316         * elf/dl-load.c: Finish conversion of __builtin_expect into
9317         __glibc_{un}likely.
9319 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
9321         [BZ #16348]
9322         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9323         1+x for argument with exponent below -67.
9324         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9325         Likewise.
9326         * math/auto-libm-test-in: Add more tests of exp.
9327         * math/auto-libm-test-out: Regenerated.
9329 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9331         [BZ #16759]
9332         * inet/getnetgrent_r.c (get_nonempty_val): New function.
9333         (nscd_getnetgrent): Use it.
9335         [BZ #16760]
9336         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9337         of stpcpy.
9339 2014-03-27  Andi Kleen  <ak@linux.intel.com>
9341         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9342         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9343         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9344         (lll_robust_unlock): Remove out of line section. Use cfi
9345         intrinsics.
9346         (LLL_STUB_UNWIND_INFO*): Remove.
9347         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9348         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9349         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9350         (lll_robust_unlock): Remove out of line section. Use cfi
9351         intrinsics.
9352         (LLL_STUB_UNWIND_INFO*): Remove.
9354 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9356         [BZ #16758]
9357         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9358         blank values.
9360 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9362         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9364 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
9366         [BZ #16198]
9367         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9368         fnstenv.
9369         * math/test-fenv-preserve.c: New file.
9370         * math/Makefile (tests): Add test-fenv-preserve.
9372 2014-03-26  Will Newton <will.newton@linaro.org>
9374         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9376 2014-03-25  Roland McGrath  <roland@hack.frob.com>
9378         * scripts/versionlist.awk: Partition the version sets and emit all
9379         GLIBC_* (sorted) before all others (sorted).
9381 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9383         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9384         GLIBC_2.2.5 version.
9386 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9388         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9389         calls.
9391         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9392         previous change.
9394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9396 2014-03-25  Andreas Schwab  <schwab@suse.de>
9398         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9399         label to be used after in6ailist is initialized.
9401 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9403         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9404         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9406 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9408         [BZ #16357]
9409         [BZ #16599]
9410         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9411         min_plus_half.
9412         (fp_formats): Update initializers.
9413         (init_fp_formats): Initialize new field.
9414         (output_for_one_input_case): Allow underflow for results up to
9415         min_plus_half.
9416         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9417         * math/auto-libm-test-in: Don't mark some underflows from asin and
9418         atanh as spurious.
9419         * math/auto-libm-test-out: Regenerated.
9420         * sysdeps/i386/fpu/libm-test-ulps: Update.
9421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9423 2014-03-25  Andreas Schwab  <schwab@suse.de>
9425         * libio/Makefile (tst-ftell-partial-wide-ENV)
9426         (tst-ftell-active-handler-ENV): Define.
9428 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
9430         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9432 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9434         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9436 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9438         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9439         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9440         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9442 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9444         [BZ #16634]
9445         * elf/dl-load.c (open_verify): Add mode parameter.
9446         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9447         (open_path): Change from boolean 'secure' to complete flag 'mode'
9448         (_dl_map_object): Adjust.
9449         * elf/Makefile (tests): Add tst-dlopen-aout.
9450         * elf/tst-dlopen-aout.c: New test.
9452 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
9454         [BZ #16714]
9455         * sysdeps/unix/sysv/linux/s390/bits/stat.h
9456         (struct stat): Rename member pad0 to __glibc_reserved0.
9458         [BZ #16712]
9459         * sysdeps/s390/s390-32/bits/wordsize.h
9460         (__WORDSIZE32_SIZE_ULONG): New define.
9461         * sysdeps/s390/s390-64/bits/wordsize.h
9462         (__WORDSIZE32_SIZE_ULONG): Likewise.
9463         * sysdeps/generic/stdint.h (SIZE_MAX):
9464         Define as UL if __WORDSIZE32_SIZE_ULONG.
9466         [BZ #16713]
9467         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9468         (__glibc_reserved0): New variable.
9469         (sa_flags): Change type to int.
9471         * posix/Makefile (before-compile): Use += before-compile instead
9472         of a :=.
9474         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9475         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9477 2014-03-20  Andreas Schwab  <schwab@suse.de>
9479         [BZ #16743]
9480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9481         non-matching result from nscd.
9483 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9485         * scripts/bench.py: Moved to ...
9486         * benchtests/scripts/bench.py: ... here.
9487         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9489 2014-03-24  Andreas Schwab  <schwab@suse.de>
9491         [BZ #16002]
9492         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9493         alloca_account and account alloca use for struct in6ailist.
9495 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9497         [BZ #16284]
9498         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9499         rounding mode to recompute results that overflow to infinity or
9500         underflow to zero.
9501         * math/auto-libm-test-in: Don't mark tests as expected to fail for
9502         bug 16284.
9503         * math/auto-libm-test-out: Regenerated.
9504         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9505         (ccosh_test): Likewise.
9506         (csin_test_data): Use plus_oflow.
9507         (csin_test): Use ALL_RM_TEST.
9508         (csinh_test_data): Use plus_oflow.
9509         (csinh_test): Use ALL_RM_TEST.
9510         * sysdeps/i386/fpu/libm-test-ulps: Update.
9511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9513 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
9515         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9516         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9517         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9519         [BZ #16731]
9520         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9521         when x - 1 is zero.
9522         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9523         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9524         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9525         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9526         argument is 1.
9527         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9528         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9529         zero.
9530         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9531         * sysdeps/i386/fpu/libm-test-ulps: Update.
9532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9534 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9536         * scripts/bench.pl: Remove file.
9537         * scripts/bench.py: New benchmark script.
9538         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9539         * benchtests/README: Mention python dependency.
9540         * scripts/pylintrc: New file.
9541         * scripts/pylint: New file.
9543         * bits/mathdef.h: Use #ifdef instead of #if.
9544         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9545         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9546         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9547         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9548         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9549         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9551 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9552             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9554         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9556         and strpbrk-ppc64 objects.
9557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9558         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9559         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9560         multiarch strpbrk for POWER7.
9561         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9562         multiarch strpbrk for PPC64.
9563         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9564         ifunc selector.
9565         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9566         strpbrk for POWER7.
9568 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9570         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9571         (atan_test): Likewise.
9572         (atanh_test_data): Use NO_TEST_INLINE for two tests.
9573         (atanh_test): Use ALL_RM_TEST.
9574         (atan2_test_data): Likewise.
9575         (cabs_test): Likewise.
9576         (cacosh_test): Likewise.
9577         (carg_test): Likewise.
9578         (casin_test): Likewise.
9579         (casinh_test): Likewise.
9580         (cbrt_test): Likewise.
9581         (csqrt_test): Likewise.
9582         (erf_test): Likewise.
9583         (erfc_test): Likewise.
9584         (pow10_test): Likewise.
9585         (exp2_test): Likewise.
9586         (hypot_test): Likewise.
9587         (j0_test): Likewise.
9588         (j1_test): Likewise.
9589         (lgamma_test): Likewise.
9590         (gamma_test): Likewise.
9591         (sincos_test): Likewise.
9592         (tanh_test): Likewise.
9593         (y0_test): Likewise.
9594         (y1_test): Likewise.
9595         * sysdeps/i386/fpu/libm-test-ulps: Update.
9596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9598 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9600         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9602         and strcspn-ppc64 objects.
9603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9604         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9605         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9606         multiarch strcspn for POWER7.
9607         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9608         multiarch strcspn for PPC64.
9609         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9610         ifunc selector.
9611         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9612         strcspn for POWER7.
9614 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9616         * math/gen-libm-test.pl (generate_testfile): Expect only function
9617         name as argument to AUTO_TESTS_* and pass results for all rounding
9618         modes to parse_args.
9619         (parse_auto_input): Separate inputs of automatic tests from
9620         outputs before storing in %auto_tests.
9621         * math/libm-test.inc (acos_test_data): Update call to
9622         AUTO_TESTS_f_f.
9623         (acos_test): Use ALL_RM_TEST.
9624         (acos_tonearest_test_data): Remove.
9625         (acos_test_tonearest): Likewise.
9626         (acos_towardzero_test_data): Likewise.
9627         (acos_test_towardzero): Likewise.
9628         (acos_downward_test_data): Likewise.
9629         (acos_test_downward): Likewise.
9630         (acos_upward_test_data): Likewise.
9631         (acos_test_upward): Likewise.
9632         (acosh_test_data): Update call to AUTO_TESTS_f_f.
9633         (asin_test_data): Likewise.
9634         (asin_test): Use ALL_RM_TEST.
9635         (asin_tonearest_test_data): Remove.
9636         (asin_test_tonearest): Likewise.
9637         (asin_towardzero_test_data): Likewise.
9638         (asin_test_towardzero): Likewise.
9639         (asin_downward_test_data): Likewise.
9640         (asin_test_downward): Likewise.
9641         (asin_upward_test_data): Likewise.
9642         (asin_test_upward): Likewise.
9643         (asinh_test_data): Update call to AUTO_TESTS_f_f.
9644         (atan_test_data): Likewise.
9645         (atanh_test_data): Likewise.
9646         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9647         (cabs_test_data): Update call to AUTO_TESTS_c_f.
9648         (carg_test_data): Likewise.
9649         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9650         (ccos_test_data): Update call to AUTO_TESTS_c_c.
9651         (ccosh_test_data): Likewise.
9652         (cexp_test_data): Likewise.
9653         (clog_test_data): Likewise.
9654         (clog10_test_data): Likewise.
9655         (cos_test_data): Update call to AUTO_TESTS_f_f.
9656         (cos_test): Use ALL_RM_TEST.
9657         (cos_tonearest_test_data): Remove.
9658         (cos_test_tonearest): Likewise.
9659         (cos_towardzero_test_data): Likewise.
9660         (cos_test_towardzero): Likewise.
9661         (cos_downward_test_data): Likewise.
9662         (cos_test_downward): Likewise.
9663         (cos_upward_test_data): Likewise.
9664         (cos_test_upward): Likewise.
9665         (cosh_test_data): Update call to AUTO_TESTS_f_f.
9666         (cosh_test): Use ALL_RM_TEST.
9667         (cosh_tonearest_test_data): Remove.
9668         (cosh_test_tonearest): Likewise.
9669         (cosh_towardzero_test_data): Likewise.
9670         (cosh_test_towardzero): Likewise.
9671         (cosh_downward_test_data): Likewise.
9672         (cosh_test_downward): Likewise.
9673         (cosh_upward_test_data): Likewise.
9674         (cosh_test_upward): Likewise.
9675         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9676         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9677         (ctan_test_data): Likewise.
9678         (ctan_test): Use ALL_RM_TEST.
9679         (ctan_tonearest_test_data): Remove.
9680         (ctan_test_tonearest): Likewise.
9681         (ctan_towardzero_test_data): Likewise.
9682         (ctan_test_towardzero): Likewise.
9683         (ctan_downward_test_data): Likewise.
9684         (ctan_test_downward): Likewise.
9685         (ctan_upward_test_data): Likewise.
9686         (ctan_test_upward): Likewise.
9687         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9688         (ctanh_test): Use ALL_RM_TEST.
9689         (ctanh_tonearest_test_data): Remove.
9690         (ctanh_test_tonearest): Likewise.
9691         (ctanh_towardzero_test_data): Likewise.
9692         (ctanh_test_towardzero): Likewise.
9693         (ctanh_downward_test_data): Likewise.
9694         (ctanh_test_downward): Likewise.
9695         (ctanh_upward_test_data): Likewise.
9696         (ctanh_test_upward): Likewise.
9697         (erf_test_data): Update call to AUTO_TESTS_f_f.
9698         (erfc_test_data): Likewise.
9699         (exp_test_data): Likewise.
9700         (exp_test): Use ALL_RM_TEST.
9701         (exp_tonearest_test_data): Remove.
9702         (exp_test_tonearest): Likewise.
9703         (exp_towardzero_test_data): Likewise.
9704         (exp_test_towardzero): Likewise.
9705         (exp_downward_test_data): Likewise.
9706         (exp_test_downward): Likewise.
9707         (exp_upward_test_data): Likewise.
9708         (exp_test_upward): Likewise.
9709         (exp10_test_data): Update call to AUTO_TESTS_f_f.
9710         (exp10_test): Use ALL_RM_TEST.
9711         (exp10_tonearest_test_data): Remove.
9712         (exp10_test_tonearest): Likewise.
9713         (exp10_towardzero_test_data): Likewise.
9714         (exp10_test_towardzero): Likewise.
9715         (exp10_downward_test_data): Likewise.
9716         (exp10_test_downward): Likewise.
9717         (exp10_upward_test_data): Likewise.
9718         (exp10_test_upward): Likewise.
9719         (exp2_test_data): Update call to AUTO_TESTS_f_f.
9720         (expm1_test_data): Likewise.
9721         (expm1_test): Use ALL_RM_TEST.
9722         (expm1_tonearest_test_data): Remove.
9723         (expm1_test_tonearest): Likewise.
9724         (expm1_towardzero_test_data): Likewise.
9725         (expm1_test_towardzero): Likewise.
9726         (expm1_downward_test_data): Likewise.
9727         (expm1_test_downward): Likewise.
9728         (expm1_upward_test_data): Likewise.
9729         (expm1_test_upward): Likewise.
9730         (fma_test_data): Update call to AUTO_TESTS_fff_f.
9731         (fma_test): Use ALL_RM_TEST.
9732         (fma_towardzero_test_data): Remove.
9733         (fma_test_towardzero): Likewise.
9734         (fma_downward_test_data): Likewise.
9735         (fma_test_downward): Likewise.
9736         (fma_upward_test_data): Likewise.
9737         (fma_test_upward): Likewise.
9738         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9739         (j0_test_data): Update call to AUTO_TESTS_f_f.
9740         (j1_test_data): Likewise.
9741         (jn_test_data): Update call to AUTO_TESTS_if_f.
9742         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9743         (log_test_data): Update call to AUTO_TESTS_f_f.
9744         (log10_test_data): Likewise.
9745         (log1p_test_data): Likewise.
9746         (log2_test_data): Likewise.
9747         (pow_test_data): Update call to AUTO_TESTS_ff_f.
9748         (pow_tonearest_test_data): Likewise.
9749         (sin_test_data): Update call to AUTO_TESTS_f_f.
9750         (sin_test): Use ALL_RM_TEST.
9751         (sin_tonearest_test_data): Remove.
9752         (sin_test_tonearest): Likewise.
9753         (sin_towardzero_test_data): Likewise.
9754         (sin_test_towardzero): Likewise.
9755         (sin_downward_test_data): Likewise.
9756         (sin_test_downward): Likewise.
9757         (sin_upward_test_data): Likewise.
9758         (sin_test_upward): Likewise.
9759         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9760         (sinh_test_data): Update call to AUTO_TESTS_f_f.
9761         (sinh_test): Use ALL_RM_TEST.
9762         (sinh_tonearest_test_data): Remove.
9763         (sinh_test_tonearest): Likewise.
9764         (sinh_towardzero_test_data): Likewise.
9765         (sinh_test_towardzero): Likewise.
9766         (sinh_downward_test_data): Likewise.
9767         (sinh_test_downward): Likewise.
9768         (sinh_upward_test_data): Likewise.
9769         (sinh_test_upward): Likewise.
9770         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9771         (sqrt_test): Use ALL_RM_TEST.
9772         (sqrt_tonearest_test_data): Remove.
9773         (sqrt_test_tonearest): Likewise.
9774         (sqrt_towardzero_test_data): Likewise.
9775         (sqrt_test_towardzero): Likewise.
9776         (sqrt_downward_test_data): Likewise.
9777         (sqrt_test_downward): Likewise.
9778         (sqrt_upward_test_data): Likewise.
9779         (sqrt_test_upward): Likewise.
9780         (tan_test_data): Update call to AUTO_TESTS_f_f.
9781         (tan_test): Use ALL_RM_TEST.
9782         (tan_tonearest_test_data): Remove.
9783         (tan_test_tonearest): Likewise.
9784         (tan_towardzero_test_data): Likewise.
9785         (tan_test_towardzero): Likewise.
9786         (tan_downward_test_data): Likewise.
9787         (tan_test_downward): Likewise.
9788         (tan_upward_test_data): Likewise.
9789         (tan_test_upward): Likewise.
9790         (tanh_test_data): Update call to AUTO_TESTS_f_f.
9791         (tgamma_test_data): Likewise.
9792         (y0_test_data): Likewise.
9793         (y1_test_data): Likewise.
9794         (yn_test_data): Update call to AUTO_TESTS_if_f.
9795         (main): Do not call removed functions.
9797 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9799         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9800         (ldexp_test_data): Remove.
9801         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
9802         scalbn_test_data.
9803         (scalb_test): Use ALL_RM_TEST.
9805 2014-03-19  Andreas Schwab  <schwab@suse.de>
9807         * nscd/nscd.service: Also invalidate netgroup cache on reload.
9809 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9811         [BZ #16649]
9812         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9813         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9814         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9815         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9816         (__ASSUME_PREADV): Undefine.
9817         (__ASSUME_PWRITEV): Likewise.
9819 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9821         * bits/mman-linux.h: Add comment about non-Linux use.
9822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9823         bits/mman-linux.h resting place.
9825         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9826         * bits/mman-linux.h: ... here.
9828 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9830         * conform/conformtest.pl: Add standard definition when calling C
9831         preprocessor on data files.
9832         (checknamespace): Remove unused variable.
9834 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9836         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9837         minus_oflow, plus_uflow and minus_uflow in expected results.
9838         * math/libm-test.inc (scalbn_test_data): Add more tests of
9839         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
9840         minus_uflow.
9841         (scalbn_test): Use ALL_RM_TEST.
9842         (scalbln_test_data): Add more tests of negative arguments.  Use
9843         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9844         (scalbln_test): Use ALL_RM_TEST.
9846 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9848         * scripts/abilist.awk: Ignore symbols marked with .hidden.
9850 2014-03-18  Will Newton  <will.newton@linaro.org>
9852         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9853         inaccurate comment.
9855 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9857         * Makerules [!subdir] (check-abi): Exit with error status if a
9858         test failed.
9860 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9862         * math/libm-test.inc (nearbyint_test_data): Include all tests used
9863         for rint.  Include results for all rounding modes.
9864         (nearbyint_test): Use ALL_RM_TEST.
9865         (rint_test_data): Include all tests used for nearbyint.
9867 2014-03-17  Will Newton  <will.newton@linaro.org>
9869         * nptl/sysdeps/pthread/pthread.h: Revert previous
9870         change.
9872         * sysdeps/generic/ldsodefs.h: Revert previous
9873         change.
9875         * libio/genops.c: Revert previous change.
9876         * libio/libioP.h: Likewise.
9877         * stdio-common/vfprintf.c: Likewise.
9879         * sysdeps/generic/math_private.h: Revert previous
9880         change.
9882         * sysdeps/generic/math_private.h: Check whether
9883         HAVE_RM_CTX is defined with #ifdef rather
9884         than #if.
9886         * argp/argp-fmtstream.h: Check whether
9887         __STRICT_ANSI__ is defined with #ifdef rather
9888         than #if.
9889         * argp/argp.h: Likewise.
9891         * libio/genops.c: Check whether
9892         _IO_JUMPS_OFFSET is defined with #ifdef rather
9893         than #if.
9894         * libio/libioP.h: Likewise.
9895         * stdio-common/vfprintf.c: Likewise.
9897         * sysdeps/generic/ldsodefs.h: Check whether
9898         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9899         than #if.
9901         * nptl/sysdeps/pthread/pthread.h: Check
9902         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9903         its value.
9905 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9907         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9908         setting O_APPEND.
9909         * libio/tst-ftell-active-handler.c (do_append_test): Add a
9910         test case.
9912         [BZ #16680]
9913         * libio/fileops.c (_IO_file_open): Seek to end of file but
9914         don't cache the offset.
9915         (get_file_offset): Remove function.
9916         (do_ftell): Use cached offset when available.
9917         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9918         don't cache the offset.
9919         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9920         case.
9921         (do_one_test): Call it.
9922         (do_ftell_test): Fix up expected old offset for a+ mode.
9923         * libio/wfileops.c (do_ftell_wide): Used cached offset when
9924         available.
9926         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9927         up test status with function return status.
9928         (do_write_test): Likewise.
9929         (do_append_test): Likewise.
9931         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9932         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9933         Remove.
9935 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9937         * math/gen-libm-test.pl (parse_args): Handle results specified for
9938         each rounding mode separately.
9939         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9940         tests and results from lrint_tonearest_test_data,
9941         lrint_towardzero_test_data, lrint_downward_test_data and
9942         lrint_upward_test_data.
9943         (lrint_test): Use ALL_RM_TEST.
9944         (lrint_tonearest_test_data): Remove.
9945         (lrint_test_tonearest): Likewise.
9946         (lrint_towardzero_test_data): Likewise.
9947         (lrint_test_towardzero): Likewise.
9948         (lrint_downward_test_data): Likewise.
9949         (lrint_test_downward): Likewise.
9950         (lrint_upward_test_data): Likewise.
9951         (lrint_test_upward): Likewise.
9952         (llrint_test_data): Merge in per-rounding-mode tests and results
9953         from llrint_tonearest_test_data, llrint_towardzero_test_data,
9954         llrint_downward_test_data and llrint_upward_test_data.
9955         (llrint_test): Use ALL_RM_TEST.
9956         (llrint_tonearest_test_data): Remove.
9957         (llrint_test_tonearest): Likewise.
9958         (llrint_towardzero_test_data): Likewise.
9959         (llrint_test_towardzero): Likewise.
9960         (llrint_downward_test_data): Likewise.
9961         (llrint_test_downward): Likewise.
9962         (llrint_upward_test_data): Likewise.
9963         (llrint_test_upward): Likewise.
9964         (rint_test_data): Merge in per-rounding-mode tests and results
9965         from rint_tonearest_test_data, rint_towardzero_test_data,
9966         rint_downward_test_data and rint_upward_test_data.  Add
9967         per-rounding-mode results for tests not in those arrays.
9968         (rint_test): Use ALL_RM_TEST.
9969         (rint_tonearest_test_data): Remove.
9970         (rint_test_tonearest): Likewise.
9971         (rint_towardzero_test_data): Likewise.
9972         (rint_test_towardzero): Likewise.
9973         (rint_downward_test_data): Likewise.
9974         (rint_test_downward): Likewise.
9975         (rint_upward_test_data): Likewise.
9976         (rint_test_upward): Likewise.
9977         (main): Don't call removed functions.
9979 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9981         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9982         "Compiled on ..." crapola.  It is anti-useful.
9984 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
9986         * scripts/evaluate-test.sh: Handle fourth argument to determine
9987         whether test run should stop on failure.
9988         * Makeconfig (stop-on-test-failure): New variable.
9989         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9990         $(stop-on-test-failure).
9991         * Makefile (tests): Give a summary of results from testing and
9992         exit with failure status if they include an ERROR or FAIL.
9993         (xtests): Likewise.
9994         * manual/install.texi (Configuring and compiling): Mention
9995         stop-on-test-failure=y.
9996         * INSTALL: Regenerated.
9998 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10000         * scripts/versionlist.awk: New file.
10001         * Makerules [$(build-shared) = yes]
10002         (postclean-generated): Add Versions.def, not Versions.def.v and
10003         Versions.def.v.i.
10004         ($(common-objpfx)Versions.def.v.i): Target removed.
10005         ($(common-objpfx)Versions.def): New target.
10006         ($(common-objpfx)Versions.all): Depend on that rather that
10007         $(common-objpfx)Versions.def.v.
10008         * Versions.def: File removed.
10010         * Makeconfig (+gccwarn): Add -Wundef.
10011         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10012         a dl-sysdep.h breaking its contract.
10013         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10014         * include/stackinfo.h: New file.
10015         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10016         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10017         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10018         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10019         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10020         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10021         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10022         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10023         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10024         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10025         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10026         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10027         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10028         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10029         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10031 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10033         [BZ #16707]
10034         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10035         implementation.
10036         * math/libm-test.inc (round_test_data): Add more tests.
10038         [BZ #16706]
10039         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10040         implementation.
10041         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10043         [BZ #16701]
10044         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10045         implementation.
10046         * math/libm-test.inc (ceil_test_data): Add more tests.
10048         * math/libm-test.inc (trunc_test_data): Add more tests related to
10049         BZ#16414.
10051 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10053         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10054         with #if rather than #ifdef.
10055         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10057 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10059         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10060         first.  Disable AVX-512 GCC support if assembler doesn't support
10061         it.
10062         * sysdeps/x86_64/configure: Regenerated.
10064 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10066         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10067         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10068         (__old_pthread_attr_setstack): Likewise.
10069         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10070         [!_STACK_GROWS_DOWN]: Likewise.
10072 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10074         * config.make.in (have-bash2): Delete.
10075         * configure.ac (libc_cv_have_bash2): Delete.
10076         * configure: Regenerate.
10077         * elf/Makefile (common-ldd-rewrite): Rename to ...
10078         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10079         (sh-ldd-rewrite): Delete.
10080         (bash-ldd-rewrite): Delete.
10081         (have-bash2): Delete checks.
10082         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10083         ldd-rewrite.
10085         * config.make.in (have-ksh): Delete.
10086         (KSH): Delete.
10087         * configure.ac (libc_cv_have_ksh): Delete.
10088         * configure: Regenerate.
10090         * elf/Makefile: Delete $(have-ksh) check.
10091         ($(objpfx)sotruss): Change KSH to BASH.
10092         * elf/sotruss.ksh: Rename to ...
10093         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10094         function style to match POSIX.  Drop ksh vim mode setting.
10096         * manual/time.texi (Specifying the Time Zone with TZ): Change
10097         Tuesday to Thursday.
10099         * debug/tst-longjmp_chk2.c: Update header comment.
10100         (stackoverflow_handler): Add comment.  Call assert on pass value.
10102 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10104         [BZ #16194]
10105         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10106         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10107         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10108         (La_x86_64_vector): Add zmm.
10109         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10110         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10111         ($(objpfx)tst-audit10): New target.
10112         ($(objpfx)tst-audit10.out): Likewise.
10113         (tst-audit10-ENV): New.
10114         (AVX512-CFLAGS): Likewise.
10115         (CFLAGS-tst-audit10.c): Likewise.
10116         (CFLAGS-tst-auditmod10a.c): Likewise.
10117         (CFLAGS-tst-auditmod10b.c): Likewise.
10118         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10119         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10120         * sysdeps/x86_64/configure: Regenerated.
10121         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10122         AVX-512 zmm register support.
10123         (_dl_x86_64_save_sse): Likewise.
10124         (_dl_x86_64_restore_sse): Likewise.
10125         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10126         size vector registers.
10127         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10128         (ZMM_SIZE): Likewise.
10129         * sysdeps/x86_64/tst-audit10.c: New file.
10130         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10131         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10133 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10135         * configure.ac (HAVE_EHDR_START): New check.
10136         * configure: Regenerated.
10137         * config.h.in (HAVE_EHDR_START): New #undef.
10138         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10139         assuming the lowest-addressed segment maps the start of the file.
10141 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10143         * INSTALL: Regenerated.
10145 2014-03-13  Will Newton  <will.newton@linaro.org>
10147         * manual/setjmp.texi (System V contexts): Improve
10148         clarity and grammar of documentation.
10150 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10152         [BZ #16381]
10153         * elf/Makefile (tests): Add tst-pie2.
10154         (tests-pie): Add tst-pie2.
10155         * elf/tst-pie2.c: New file.
10156         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10157         for ET_EXEC.
10158         * elf/rtld.c (map_doit): Load executable as lt_executable.
10159         (dl_main): Likewise.
10161 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10163         [BZ #16642]
10164         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10165         (__ASSUME_PSELECT): Undefine.
10167 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10169         [BZ #16689]
10170         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10171         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10172         static build.
10173         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10174         selector for static builds.
10176 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10178         [BZ #16695]
10179         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10180         key in the buffer.
10182 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10184         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10185         IFUNC selector for static builds.
10187 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10189         * sysdeps/mips/math_private.h [__mips_hard_float]
10190         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10191         libc_feresetround_mips_ctx.
10192         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10193         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10194         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10196         [BZ #16677]
10197         * math/s_nextafter.c (__nextafter): Do not return value from
10198         overflowing computation.
10199         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10200         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10201         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10202         Likewise.
10203         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10204         Likewise.
10205         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10206         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10208 2014-03-11  Roland McGrath  <roland@hack.frob.com>
10210         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10211         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10212         Move sfi_sp use from the load-multiple (that no longer sets sp) to
10213         the new mov targetting sp.
10215 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10217         [BZ #16683]
10218         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10219         Define it for static builds as well.
10220         (NO_BZERO_IMPL): Likewise.
10222 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10224         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10225         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10226         multiarch strspn for PPC64.
10227         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10228         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10230         (__libc_ifunc_impl_list): Likewise.
10231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10232         multiarch optimizations
10233         * string/strspn.c (strspn): Using macro to redefine symbol name.
10235 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10236             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10238         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10239         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10240         multiarch strncat for PPC64.
10241         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10242         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10244         (__libc_ifunc_impl_list): Likewise.
10245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10246         multiarch optimizations
10248 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10250         [BZ #16639]
10251         * nscd/nscd.service: Make service type forking.
10253 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10255         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10256         sign in non default rounding modes.
10257         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10259 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
10261         * math/libm-test.inc (ALL_RM_TEST): New macro.
10262         (ceil_test): Use ALL_RM_TEST.
10263         (cimag_test): Likewise.
10264         (conj_test): Likewise.
10265         (copysign_test): Likewise.
10266         (cproj_test): Likewise.
10267         (creal_test): Likewise.
10268         (fabs_test): Likewise.
10269         (floor_test): Likewise.
10270         (fmax_test): Likewise.
10271         (fmin_test): Likewise.
10272         (fmod_test): Likewise.
10273         (fpclassify_test): Likewise.
10274         (frexp_test): Likewise.
10275         (ilogb_test): Likewise.
10276         (isfinite_test): Likewise.
10277         (finite_test): Likewise.
10278         (isgreater_test): Likewise.
10279         (isgreaterequal_test): Likewise.
10280         (isinf_test): Likewise.
10281         (isless_test): Likewise.
10282         (islessequal_test): Likewise.
10283         (islessgreater_test): Likewise.
10284         (isnan_test): Likewise.
10285         (isnormal_test): Likewise.
10286         (issignaling_test): Likewise.
10287         (isunordered_test): Likewise.
10288         (logb_test): Likewise.
10289         (logb_downward_test_data): Remove.
10290         (logb_test_downward): Likewise.
10291         (lround_test): Use ALL_RM_TEST.
10292         (llround_test): Likewise.
10293         (modf_test): Likewise.
10294         (nexttoward_test): Likewise.
10295         (remainder_test): Likewise.
10296         (drem_test): Likewise.
10297         (remainder_tonearest_test_data): Likewise.
10298         (remainder_test_tonearest): Likewise.
10299         (drem_test_tonearest): Likewise.
10300         (remainder_towardzero_test_data): Likewise.
10301         (remainder_test_towardzero): Likewise.
10302         (drem_test_towardzero): Likewise.
10303         (remainder_downward_test_data): Likewise.
10304         (remainder_test_downward): Likewise.
10305         (drem_test_downward): Likewise.
10306         (remainder_upward_test_data): Likewise.
10307         (remainder_test_upward): Likewise.
10308         (drem_test_upward): Likewise.
10309         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
10310         (round_test): Use ALL_RM_TEST.
10311         (signbit_test): Likewise.
10312         (trunc_test): Likewise.
10313         (significand_test): Likewise.
10314         (main): Don't call removed functions.
10316 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10318         [BZ #16674]
10319         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10320         || __USE_XOPEN2K8].
10321         (ILL_ILLOPN): Likewise.
10322         (ILL_ILLADR): Likewise.
10323         (ILL_ILLTRP): Likewise.
10324         (ILL_PRVOPC): Likewise.
10325         (ILL_PRVREG): Likewise.
10326         (ILL_COPROC): Likewise.
10327         (ILL_BADSTK): Likewise.
10328         (FPE_INTDIV): Likewise.
10329         (FPE_INTOVF): Likewise.
10330         (FPE_FLTDIV): Likewise.
10331         (FPE_FLTOVF): Likewise.
10332         (FPE_FLTUND): Likewise.
10333         (FPE_FLTRES): Likewise.
10334         (FPE_FLTINV): Likewise.
10335         (FPE_FLTSUB): Likewise.
10336         (SEGV_MAPERR): Likewise.
10337         (SEGV_ACCERR): Likewise.
10338         (BUS_ADRALN): Likewise.
10339         (BUS_ADRERR): Likewise.
10340         (BUS_OBJERR): Likewise.
10341         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10342         (TRAP_TRACE): Likewise.
10343         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10344         __USE_XOPEN2K8].
10345         (CLD_KILLED): Likewise.
10346         (CLD_DUMPED): Likewise.
10347         (CLD_TRAPPED): Likewise.
10348         (CLD_STOPPED): Likewise.
10349         (CLD_CONTINUED): Likewise.
10350         (POLL_IN): Likewise.
10351         (POLL_OUT): Likewise.
10352         (POLL_MSG): Likewise.
10353         (POLL_ERR): Likewise.
10354         (POLL_PRI): Likewise.
10355         (POLL_HUP): Likewise.
10356         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10357         Likewise.
10358         (ILL_ILLOPN): Likewise.
10359         (ILL_ILLADR): Likewise.
10360         (ILL_ILLTRP): Likewise.
10361         (ILL_PRVOPC): Likewise.
10362         (ILL_PRVREG): Likewise.
10363         (ILL_COPROC): Likewise.
10364         (ILL_BADSTK): Likewise.
10365         (FPE_INTDIV): Likewise.
10366         (FPE_INTOVF): Likewise.
10367         (FPE_FLTDIV): Likewise.
10368         (FPE_FLTOVF): Likewise.
10369         (FPE_FLTUND): Likewise.
10370         (FPE_FLTRES): Likewise.
10371         (FPE_FLTINV): Likewise.
10372         (FPE_FLTSUB): Likewise.
10373         (SEGV_MAPERR): Likewise.
10374         (SEGV_ACCERR): Likewise.
10375         (BUS_ADRALN): Likewise.
10376         (BUS_ADRERR): Likewise.
10377         (BUS_OBJERR): Likewise.
10378         (BUS_MCEERR_AR): Likewise.
10379         (BUS_MCEERR_AO): Likewise.
10380         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10381         (TRAP_TRACE): Likewise.
10382         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10383         __USE_XOPEN2K8].
10384         (CLD_KILLED): Likewise.
10385         (CLD_DUMPED): Likewise.
10386         (CLD_TRAPPED): Likewise.
10387         (CLD_STOPPED): Likewise.
10388         (CLD_CONTINUED): Likewise.
10389         (POLL_IN): Likewise.
10390         (POLL_OUT): Likewise.
10391         (POLL_MSG): Likewise.
10392         (POLL_ERR): Likewise.
10393         (POLL_PRI): Likewise.
10394         (POLL_HUP): Likewise.
10395         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10396         (ILL_ILLOPN): Likewise.
10397         (ILL_ILLADR): Likewise.
10398         (ILL_ILLTRP): Likewise.
10399         (ILL_PRVOPC): Likewise.
10400         (ILL_PRVREG): Likewise.
10401         (ILL_COPROC): Likewise.
10402         (ILL_BADSTK): Likewise.
10403         (FPE_INTDIV): Likewise.
10404         (FPE_INTOVF): Likewise.
10405         (FPE_FLTDIV): Likewise.
10406         (FPE_FLTOVF): Likewise.
10407         (FPE_FLTUND): Likewise.
10408         (FPE_FLTRES): Likewise.
10409         (FPE_FLTINV): Likewise.
10410         (FPE_FLTSUB): Likewise.
10411         (SEGV_MAPERR): Likewise.
10412         (SEGV_ACCERR): Likewise.
10413         (BUS_ADRALN): Likewise.
10414         (BUS_ADRERR): Likewise.
10415         (BUS_OBJERR): Likewise.
10416         (BUS_MCEERR_AR): Likewise.
10417         (BUS_MCEERR_AO): Likewise.
10418         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10419         (TRAP_TRACE): Likewise.
10420         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10421         __USE_XOPEN2K8].
10422         (CLD_KILLED): Likewise.
10423         (CLD_DUMPED): Likewise.
10424         (CLD_TRAPPED): Likewise.
10425         (CLD_STOPPED): Likewise.
10426         (CLD_CONTINUED): Likewise.
10427         (POLL_IN): Likewise.
10428         (POLL_OUT): Likewise.
10429         (POLL_MSG): Likewise.
10430         (POLL_ERR): Likewise.
10431         (POLL_PRI): Likewise.
10432         (POLL_HUP): Likewise.
10433         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10434         Likewise.
10435         (ILL_ILLOPN): Likewise.
10436         (ILL_ILLADR): Likewise.
10437         (ILL_ILLTRP): Likewise.
10438         (ILL_PRVOPC): Likewise.
10439         (ILL_PRVREG): Likewise.
10440         (ILL_COPROC): Likewise.
10441         (ILL_BADSTK): Likewise.
10442         (ILL_BADIADDR): Likewise.
10443         (ILL_BREAK): Likewise.
10444         (FPE_INTDIV): Likewise.
10445         (FPE_INTOVF): Likewise.
10446         (FPE_FLTDIV): Likewise.
10447         (FPE_FLTOVF): Likewise.
10448         (FPE_FLTUND): Likewise.
10449         (FPE_FLTRES): Likewise.
10450         (FPE_FLTINV): Likewise.
10451         (FPE_FLTSUB): Likewise.
10452         (FPE_DECOVF): Likewise.
10453         (FPE_DECDIV): Likewise.
10454         (FPE_DECERR): Likewise.
10455         (FPE_INVASC): Likewise.
10456         (FPE_INVDEC): Likewise.
10457         (SEGV_MAPERR): Likewise.
10458         (SEGV_ACCERR): Likewise.
10459         (SEGV_PSTKOVF): Likewise.
10460         (BUS_ADRALN): Likewise.
10461         (BUS_ADRERR): Likewise.
10462         (BUS_OBJERR): Likewise.
10463         (BUS_MCEERR_AR): Likewise.
10464         (BUS_MCEERR_AO): Likewise.
10465         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10466         (TRAP_TRACE): Likewise.
10467         (TRAP_BRANCH): Likewise.
10468         (TRAP_HWBKPT): Likewise.
10469         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10470         __USE_XOPEN2K8].
10471         (CLD_KILLED): Likewise.
10472         (CLD_DUMPED): Likewise.
10473         (CLD_TRAPPED): Likewise.
10474         (CLD_STOPPED): Likewise.
10475         (CLD_CONTINUED): Likewise.
10476         (POLL_IN): Likewise.
10477         (POLL_OUT): Likewise.
10478         (POLL_MSG): Likewise.
10479         (POLL_ERR): Likewise.
10480         (POLL_PRI): Likewise.
10481         (POLL_HUP): Likewise.
10482         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10483         (ILL_ILLOPN): Likewise.
10484         (ILL_ILLADR): Likewise.
10485         (ILL_ILLTRP): Likewise.
10486         (ILL_PRVOPC): Likewise.
10487         (ILL_PRVREG): Likewise.
10488         (ILL_COPROC): Likewise.
10489         (ILL_BADSTK): Likewise.
10490         (FPE_INTDIV): Likewise.
10491         (FPE_INTOVF): Likewise.
10492         (FPE_FLTDIV): Likewise.
10493         (FPE_FLTOVF): Likewise.
10494         (FPE_FLTUND): Likewise.
10495         (FPE_FLTRES): Likewise.
10496         (FPE_FLTINV): Likewise.
10497         (FPE_FLTSUB): Likewise.
10498         (SEGV_MAPERR): Likewise.
10499         (SEGV_ACCERR): Likewise.
10500         (BUS_ADRALN): Likewise.
10501         (BUS_ADRERR): Likewise.
10502         (BUS_OBJERR): Likewise.
10503         (BUS_MCEERR_AR): Likewise.
10504         (BUS_MCEERR_AO): Likewise.
10505         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10506         (TRAP_TRACE): Likewise.
10507         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10508         __USE_XOPEN2K8].
10509         (CLD_KILLED): Likewise.
10510         (CLD_DUMPED): Likewise.
10511         (CLD_TRAPPED): Likewise.
10512         (CLD_STOPPED): Likewise.
10513         (CLD_CONTINUED): Likewise.
10514         (POLL_IN): Likewise.
10515         (POLL_OUT): Likewise.
10516         (POLL_MSG): Likewise.
10517         (POLL_ERR): Likewise.
10518         (POLL_PRI): Likewise.
10519         (POLL_HUP): Likewise.
10520         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10521         (ILL_ILLOPN): Likewise.
10522         (ILL_ILLADR): Likewise.
10523         (ILL_ILLTRP): Likewise.
10524         (ILL_PRVOPC): Likewise.
10525         (ILL_PRVREG): Likewise.
10526         (ILL_COPROC): Likewise.
10527         (ILL_BADSTK): Likewise.
10528         (FPE_INTDIV): Likewise.
10529         (FPE_INTOVF): Likewise.
10530         (FPE_FLTDIV): Likewise.
10531         (FPE_FLTOVF): Likewise.
10532         (FPE_FLTUND): Likewise.
10533         (FPE_FLTRES): Likewise.
10534         (FPE_FLTINV): Likewise.
10535         (FPE_FLTSUB): Likewise.
10536         (SEGV_MAPERR): Likewise.
10537         (SEGV_ACCERR): Likewise.
10538         (BUS_ADRALN): Likewise.
10539         (BUS_ADRERR): Likewise.
10540         (BUS_OBJERR): Likewise.
10541         (BUS_MCEERR_AR): Likewise.
10542         (BUS_MCEERR_AO): Likewise.
10543         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10544         (TRAP_TRACE): Likewise.
10545         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10546         __USE_XOPEN2K8].
10547         (CLD_KILLED): Likewise.
10548         (CLD_DUMPED): Likewise.
10549         (CLD_TRAPPED): Likewise.
10550         (CLD_STOPPED): Likewise.
10551         (CLD_CONTINUED): Likewise.
10552         (POLL_IN): Likewise.
10553         (POLL_OUT): Likewise.
10554         (POLL_MSG): Likewise.
10555         (POLL_ERR): Likewise.
10556         (POLL_PRI): Likewise.
10557         (POLL_HUP): Likewise.
10558         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10559         (ILL_ILLOPN): Likewise.
10560         (ILL_ILLADR): Likewise.
10561         (ILL_ILLTRP): Likewise.
10562         (ILL_PRVOPC): Likewise.
10563         (ILL_PRVREG): Likewise.
10564         (ILL_COPROC): Likewise.
10565         (ILL_BADSTK): Likewise.
10566         (FPE_INTDIV): Likewise.
10567         (FPE_INTOVF): Likewise.
10568         (FPE_FLTDIV): Likewise.
10569         (FPE_FLTOVF): Likewise.
10570         (FPE_FLTUND): Likewise.
10571         (FPE_FLTRES): Likewise.
10572         (FPE_FLTINV): Likewise.
10573         (FPE_FLTSUB): Likewise.
10574         (SEGV_MAPERR): Likewise.
10575         (SEGV_ACCERR): Likewise.
10576         (BUS_ADRALN): Likewise.
10577         (BUS_ADRERR): Likewise.
10578         (BUS_OBJERR): Likewise.
10579         (BUS_MCEERR_AR): Likewise.
10580         (BUS_MCEERR_AO): Likewise.
10581         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10582         (TRAP_TRACE): Likewise.
10583         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10584         __USE_XOPEN2K8].
10585         (CLD_KILLED): Likewise.
10586         (CLD_DUMPED): Likewise.
10587         (CLD_TRAPPED): Likewise.
10588         (CLD_STOPPED): Likewise.
10589         (CLD_CONTINUED): Likewise.
10590         (POLL_IN): Likewise.
10591         (POLL_OUT): Likewise.
10592         (POLL_MSG): Likewise.
10593         (POLL_ERR): Likewise.
10594         (POLL_PRI): Likewise.
10595         (POLL_HUP): Likewise.
10596         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10597         (ILL_ILLOPN): Likewise.
10598         (ILL_ILLADR): Likewise.
10599         (ILL_ILLTRP): Likewise.
10600         (ILL_PRVOPC): Likewise.
10601         (ILL_PRVREG): Likewise.
10602         (ILL_COPROC): Likewise.
10603         (ILL_BADSTK): Likewise.
10604         (ILL_DBLFLT): Likewise.
10605         (ILL_HARDWALL): Likewise.
10606         (FPE_INTDIV): Likewise.
10607         (FPE_INTOVF): Likewise.
10608         (FPE_FLTDIV): Likewise.
10609         (FPE_FLTOVF): Likewise.
10610         (FPE_FLTUND): Likewise.
10611         (FPE_FLTRES): Likewise.
10612         (FPE_FLTINV): Likewise.
10613         (FPE_FLTSUB): Likewise.
10614         (SEGV_MAPERR): Likewise.
10615         (SEGV_ACCERR): Likewise.
10616         (BUS_ADRALN): Likewise.
10617         (BUS_ADRERR): Likewise.
10618         (BUS_OBJERR): Likewise.
10619         (BUS_MCEERR_AR): Likewise.
10620         (BUS_MCEERR_AO): Likewise.
10621         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10622         (TRAP_TRACE): Likewise.
10623         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10624         __USE_XOPEN2K8].
10625         (CLD_KILLED): Likewise.
10626         (CLD_DUMPED): Likewise.
10627         (CLD_TRAPPED): Likewise.
10628         (CLD_STOPPED): Likewise.
10629         (CLD_CONTINUED): Likewise.
10630         (POLL_IN): Likewise.
10631         (POLL_OUT): Likewise.
10632         (POLL_MSG): Likewise.
10633         (POLL_ERR): Likewise.
10634         (POLL_PRI): Likewise.
10635         (POLL_HUP): Likewise.
10636         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10637         (ILL_ILLOPN): Likewise.
10638         (ILL_ILLADR): Likewise.
10639         (ILL_ILLTRP): Likewise.
10640         (ILL_PRVOPC): Likewise.
10641         (ILL_PRVREG): Likewise.
10642         (ILL_COPROC): Likewise.
10643         (ILL_BADSTK): Likewise.
10644         (FPE_INTDIV): Likewise.
10645         (FPE_INTOVF): Likewise.
10646         (FPE_FLTDIV): Likewise.
10647         (FPE_FLTOVF): Likewise.
10648         (FPE_FLTUND): Likewise.
10649         (FPE_FLTRES): Likewise.
10650         (FPE_FLTINV): Likewise.
10651         (FPE_FLTSUB): Likewise.
10652         (SEGV_MAPERR): Likewise.
10653         (SEGV_ACCERR): Likewise.
10654         (BUS_ADRALN): Likewise.
10655         (BUS_ADRERR): Likewise.
10656         (BUS_OBJERR): Likewise.
10657         (BUS_MCEERR_AR): Likewise.
10658         (BUS_MCEERR_AO): Likewise.
10659         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10660         (TRAP_TRACE): Likewise.
10661         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10662         __USE_XOPEN2K8].
10663         (CLD_KILLED): Likewise.
10664         (CLD_DUMPED): Likewise.
10665         (CLD_TRAPPED): Likewise.
10666         (CLD_STOPPED): Likewise.
10667         (CLD_CONTINUED): Likewise.
10668         (POLL_IN): Likewise.
10669         (POLL_OUT): Likewise.
10670         (POLL_MSG): Likewise.
10671         (POLL_ERR): Likewise.
10672         (POLL_PRI): Likewise.
10673         (POLL_HUP): Likewise.
10674         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10675         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10677         [BZ #16670]
10678         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10679         before #include of <time.h>.
10680         [!__USE_XOPEN2K] (__need_timespec): Likewise.
10681         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10682         (test-xfail-UNIX98/sched.h/conform): Likewise.
10684 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10686         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10687         error absence of trapping exception support.
10688         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10690 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10692         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10693         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10694         * timezone/Makefile (testdata): Move definition above include of
10695         Rules.
10696         (test-zones): New variable.
10697         (tests-special): Add zone files.
10698         (build-testdata): Use $(evaluate-test).
10700         * elf/Makefile (tests-special): Rename tests to end with .out.
10701         ($(objpfx)noload-mem): Likewise.
10702         ($(objpfx)tst-leaks1-mem): Likewise.
10703         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10704         * iconv/Makefile (xtests-special): Change test-iconvconfig to
10705         $(objpfx)test-iconvconfig.out.
10706         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
10707         set -e inside subshell and redirect output to file.
10708         * iconvdata/Makefile (generated): Rename tests to end with .out.
10709         Correct type.
10710         (tests-special): Rename tests to end with .out.
10711         ($(objpfx)mtrace-tst-loading): Likewise.
10712         * intl/Makefile (generated): Likewise.
10713         (tests-special): Likewise.
10714         ($(objpfx)mtrace-tst-gettext): Likewise.
10715         * misc/Makefile (generated): Likewise.
10716         (tests-special): Likewise.
10717         ($(objpfx)tst-error1-mem): Likewise.
10718         * nptl/Makefile (tests-special): Likewise.
10719         ($(objpfx)tst-stack3-mem): Likewise.
10720         (generated): Likewise.
10721         * posix/Makefile (generated): Likewise.
10722         (tests-special): Likewise.
10723         (xtests-special): Likewise.
10724         ($(objpfx)tst-fnmatch-mem): Likewise.
10725         ($(objpfx)bug-regex2-mem): Likewise.
10726         ($(objpfx)bug-regex14-mem): Likewise.
10727         ($(objpfx)bug-regex21-mem): Likewise.
10728         ($(objpfx)bug-regex31-mem): Likewise.
10729         ($(objpfx)tst-vfork3-mem): Likewise.
10730         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10731         ($(objpfx)tst-pcre-mem): Likewise.
10732         ($(objpfx)tst-boost-mem): Likewise.
10733         ($(objpfx)bug-ga2-mem): Likewise.
10734         ($(objpfx)bug-glob2-mem): Likewise.
10735         * resolv/Makefile (generate): Likewise.
10736         (tests-special): Likewise.
10737         (xtests-special): Likewise.
10738         (generated): Likewise.
10739         ($(objpfx)mtrace-tst-leaks): Likewise.
10740         ($(objpfx)mtrace-tst-leaks2): Likewise.
10742         * scripts/merge-test-results.sh: New file.
10743         * Makefile (tests-special-notdir): New variable.
10744         (tests): Run merge-test-results.sh.
10745         (xtests): Likewise.
10746         * Rules (tests-special-notdir): New variable.
10747         (xtests-special-notdir): Likewise.
10748         (tests): Run merge-test-results.sh
10749         (xtests): Likewise.
10751         * Makeconfig (test-xfail-name): New variable.
10752         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10753         compute variable name for expected failures.
10754         * conform/Makefile (conformtest-headers-data): New variable.
10755         (conformtest-standards): Likewise.
10756         (conformtest-headers-ISO): Likewise.
10757         (conformtest-headers-ISO99): Likewise.
10758         (conformtest-headers-ISO11): Likewise.
10759         (conformtest-headers-POSIX): Likewise.
10760         (conformtest-headers-XPG3): Likewise.
10761         (conformtest-headers-XPG4): Likewise.
10762         (conformtest-headers-UNIX98): Likewise.
10763         (conformtest-headers-XOPEN2K): Likewise.
10764         (conformtest-headers-POSIX2008): Likewise.
10765         (conformtest-headers-XOPEN2K8): Likewise.
10766         (conformtest-header-list-base): Likewise.
10767         (conformtest-header-list-tests): Likewise.
10768         (conformtest-header-base): Likewise.
10769         (conformtest-header-tests): Likewise.
10770         (tests-special): Add $(conformtest-header-list-tests).  If
10771         [$(fast-check) && !$(cross-compiling)], add
10772         $(conformtest-header-tests) instead of
10773         $(objpfx)run-conformtest.out.
10774         (generated): Add $(conformtest-header-list-base).  If
10775         [$(fast-check) && !$(cross-compiling)], add
10776         $(conformtest-header-base).  Remove previous setting.
10777         ($(conformtest-header-list-tests)): New target.
10778         (test-xfail-run-conformtest): Remove variable.
10779         ($(objpfx)run-conformtest.out): Remove target.
10780         (test-xfail-ISO11/complex.h/conform): New variable.
10781         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10782         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10783         (test-xfail-XPG3/varargs.h/conform): Likewise.
10784         (test-xfail-XPG4/varargs.h/conform): Likewise.
10785         (test-xfail-UNIX98/varargs.h/conform): Likewise.
10786         (test-xfail-XPG4/ndbm.h/conform): Likewise.
10787         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10788         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10789         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10790         (test-xfail-XPG3/fcntl.h/conform): Likewise.
10791         (test-xfail-XPG3/ftw.h/conform): Likewise.
10792         (test-xfail-XPG3/grp.h/conform): Likewise.
10793         (test-xfail-XPG3/langinfo.h/conform): Likewise.
10794         (test-xfail-XPG3/limits.h/conform): Likewise.
10795         (test-xfail-XPG3/pwd.h/conform): Likewise.
10796         (test-xfail-XPG3/search.h/conform): Likewise.
10797         (test-xfail-XPG3/signal.h/conform): Likewise.
10798         (test-xfail-XPG3/stdio.h/conform): Likewise.
10799         (test-xfail-XPG3/stdlib.h/conform): Likewise.
10800         (test-xfail-XPG3/string.h/conform): Likewise.
10801         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10802         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10803         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10804         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10805         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10806         (test-xfail-XPG3/sys/types.h/conform): Likewise.
10807         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10808         (test-xfail-XPG3/termios.h/conform): Likewise.
10809         (test-xfail-XPG3/time.h/conform): Likewise.
10810         (test-xfail-XPG3/unistd.h/conform): Likewise.
10811         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10812         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10813         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10814         (test-xfail-XPG4/netdb.h/conform): Likewise.
10815         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10816         (test-xfail-XPG4/signal.h/conform): Likewise.
10817         (test-xfail-XPG4/stdio.h/conform): Likewise.
10818         (test-xfail-XPG4/stdlib.h/conform): Likewise.
10819         (test-xfail-XPG4/stropts.h/conform): Likewise.
10820         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10821         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10822         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10823         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10824         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10825         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10826         (test-xfail-XPG4/sys/time.h/conform): Likewise.
10827         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10828         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10829         (test-xfail-XPG4/termios.h/conform): Likewise.
10830         (test-xfail-XPG4/ucontext.h/conform): Likewise.
10831         (test-xfail-XPG4/unistd.h/conform): Likewise.
10832         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10833         (test-xfail-POSIX/sched.h/conform): Likewise.
10834         (test-xfail-POSIX/signal.h/conform): Likewise.
10835         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10836         (test-xfail-POSIX/tar.h/conform): Likewise.
10837         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10838         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10839         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10840         (test-xfail-UNIX98/netdb.h/conform): Likewise.
10841         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10842         (test-xfail-UNIX98/sched.h/conform): Likewise.
10843         (test-xfail-UNIX98/signal.h/conform): Likewise.
10844         (test-xfail-UNIX98/stdio.h/conform): Likewise.
10845         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10846         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10847         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10848         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10849         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10850         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10851         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10852         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10853         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10854         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10855         (test-xfail-UNIX98/unistd.h/conform): Likewise.
10856         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10857         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10858         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10859         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10860         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10861         (test-xfail-XOPEN2K/math.h/conform): Likewise.
10862         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10863         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10864         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10865         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10866         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10867         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10868         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10869         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10870         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10871         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10872         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10873         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10874         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10875         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10876         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10877         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10878         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10879         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10880         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10881         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10882         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10883         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10884         (test-xfail-POSIX2008/signal.h/conform): Likewise.
10885         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10886         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10887         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10888         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10889         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10890         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10891         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10892         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10893         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10894         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10895         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10896         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10897         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10898         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10899         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10900         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10901         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10902         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10903         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10904         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10905         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10906         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10907         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10908         (conformtest-cc-flags): Likewise.
10909         ($(conformtest-header-tests): New target.
10910         * conform/check-header-lists.sh: New file.
10911         * conform/run-conformtest.sh: Remove.
10913         * conform/conformtest.pl: Allow ' and \ in values given for
10914         constants.
10915         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10916         inclusion.
10917         [POSIX] (sys/types.h): Likewise.
10918         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10919         inclusion.
10920         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10921         inclusion.
10922         * conform/data/signal.h-data (SIGIO): Remove expectation.
10923         [XPG3] (SIGBUS): Do not expect.
10924         [POSIX || XPG3] (SIGPOLL): Likewise.
10925         [POSIX || XPG3] (SIGPROF): Likewise.
10926         [POSIX || XPG3] (SIGSYS): Likewise.
10927         [XPG3] (SIGTRAP): Likewise.
10928         [POSIX || XPG3] (SIGURG): Likewise.
10929         [POSIX || XPG3] (SIGVTALRM): Likewise.
10930         [POSIX || XPG3] (SIGXCPU): Likewise.
10931         [POSIX || XPG3] (SIGXFSZ): Likewise.
10932         [POSIX] (SA_SIGINFO): Expect.
10933         [XPG3] (siginfo_t): Do not expect type or contents.
10934         [POSIX] (si_pid): Do not expect element.
10935         [POSIX] (si_uid): Likewise.
10936         [POSIX] (si_addr): Likewise.
10937         [POSIX] (si_status): Likewise.
10938         [POSIX] (si_band): Likewise.
10939         [XPG4] (si_value): Likewise.
10940         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10941         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10942         [POSIX || XPG3] (ILL_ILLADR): Likewise.
10943         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10944         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10945         [POSIX || XPG3] (ILL_PRVREG): Likewise.
10946         [POSIX || XPG3] (ILL_COPROC): Likewise.
10947         [POSIX || XPG3] (ILL_BADSTK): Likewise.
10948         [POSIX || XPG3] (FPE_INTDIV): Likewise.
10949         [POSIX || XPG3] (FPE_INTOVF): Likewise.
10950         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10951         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10952         [POSIX || XPG3] (FPE_FLTUND): Likewise.
10953         [POSIX || XPG3] (FPE_FLTRES): Likewise.
10954         [POSIX || XPG3] (FPE_FLTINV): Likewise.
10955         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10956         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10957         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10958         [POSIX || XPG3] (BUS_ADRALN): Likewise.
10959         [POSIX || XPG3] (BUS_ADRERR): Likewise.
10960         [POSIX || XPG3] (BUS_OBJERR): Likewise.
10961         [POSIX || XPG3] (CLD_EXITED): Likewise.
10962         [POSIX || XPG3] (CLD_KILLED): Likewise.
10963         [POSIX || XPG3] (CLD_DUMPED): Likewise.
10964         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10965         [POSIX || XPG3] (CLD_STOPPED): Likewise.
10966         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10967         [POSIX || XPG3] (POLL_IN): Likewise.
10968         [POSIX || XPG3] (POLL_OUT): Likewise.
10969         [POSIX || XPG3] (POLL_MSG): Likewise.
10970         [POSIX || XPG3] (POLL_ERR): Likewise.
10971         [POSIX || XPG3] (POLL_PRI): Likewise.
10972         [POSIX || XPG3] (POLL_HUP): Likewise.
10973         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10974         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10975         (SIG*): Do not allow.
10976         [XPG3] (si_*): Likewise.
10977         [XPG3] (SI_*): Likewise.
10978         [XPG3 || XPG4] (sigev_*): Likewise.
10979         [XPG3 || XPG4] (SIGEV_*): Likewise.
10980         [XPG3 || XPG4] (sival_*): Likewise.
10981         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10982         [POSIX || XPG3] (BUS_*): Likewise.
10983         [POSIX || XPG3] (CLD_*): Likewise.
10984         [POSIX || XPG3] (FPE_*): Likewise.
10985         [POSIX || XPG3] (ILL_*): Likewise.
10986         [POSIX || XPG3] (POLL_*): Likewise.
10987         [POSIX || XPG3] (SEGV_*): Likewise.
10988         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10989         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10990         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10991         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10992         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10993         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10994         Specify type and value.
10995         (TVERSLEN): Likewise.
10996         (REGTYPE): Likewise.
10997         (AREGTYPE): Likewise.
10998         (LNKTYPE): Likewise.
10999         (SYMTYPE): Likewise.
11000         (CHRTYPE): Likewise.
11001         (BLKTYPE): Likewise.
11002         (DIRTYPE): Likewise.
11003         (FIFOTYPE): Likewise.
11004         (CONTTYPE): Likewise.
11005         (TSUID): Likewise.
11006         (TSGID): Likewise.
11007         (TSVTX): Likewise.
11008         (TUREAD): Likewise.
11009         (TUWRITE): Likewise.
11010         (TUEXEC): Likewise.
11011         (TGREAD): Likewise.
11012         (TGWRITE): Likewise.
11013         (TGEXEC): Likewise.
11014         (TOREAD): Likewise.
11015         (TOWRITE): Likewise.
11016         (TOEXEC): Likewise.
11017         [POSIX] (TSVTX): Expect constant.
11019 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11021         * Makefile (tests): Change dependencies to ....
11022         (tests-special): ... additions to this variable.
11023         (tests): Depend on $(tests-special).
11024         * Makerules (check-abi-list): New variable.
11025         (check-abi): Depend on $(check-abi-list).
11026         [$(subdir) = elf] (tests-special): Add
11027         $(objpfx)check-abi-libc.out.
11028         [$(build-shared) = yes && subdir] (tests-special): Add
11029         $(check-abi-list).
11030         [$(build-shared) = yes && subdir] (tests): Do not depend on
11031         check-abi.
11032         * Rules (tests): Depend on $(tests-special).
11033         (xtests): Depend on $(xtests-special).
11034         * catgets/Makefile (tests): Change dependencies to ....
11035         (tests-special): ... additions to this variable.
11036         * conform/Makefile (tests): Change dependencies to ....
11037         (tests-special): ... additions to this variable.
11038         * elf/Makefile (tests): Change dependencies to ....
11039         (tests-special): ... additions to this variable.
11040         * grp/Makefile (tests): Change dependencies to ....
11041         (tests-special): ... additions to this variable.
11042         * iconv/Makefile (xtests): Change dependencies to ....
11043         (xtests-special): ... additions to this variable.
11044         * iconvdata/Makefile (tests): Change dependencies to ....
11045         (tests-special): ... additions to this variable.
11046         * intl/Makefile (tests): Change dependencies to ....
11047         (tests-special): ... additions to this variable.  Also add
11048         $(objpfx)tst-gettext.out.
11049         * io/Makefile (tests): Change dependencies to ....
11050         (tests-special): ... additions to this variable.
11051         * libio/Makefile (tests): Change dependencies to ....
11052         (tests-special): ... additions to this variable.
11053         * malloc/Makefile (tests): Change dependencies to ....
11054         (tests-special): ... additions to this variable.
11055         * misc/Makefile (tests): Change dependencies to ....
11056         (tests-special): ... additions to this variable.
11057         * nptl/Makefile (tests): Change dependencies to ....
11058         (tests-special): ... additions to this variable.
11059         * nptl_db/Makefile (tests): Change dependencies to ....
11060         (tests-special): ... additions to this variable.
11061         * posix/Makefile (tests): Change dependencies to ....
11062         (tests-special): ... additions to this variable.
11063         (xtests): Change dependencies to ....
11064         (xtests-special): ... additions to this variable.
11065         * resolv/Makefile (tests): Change dependencies to ....
11066         (tests-special): ... additions to this variable.
11067         (xtests): Change dependencies to ....
11068         (xtests-special): ... additions to this variable.
11069         * stdio-common/Makefile (tests): Change dependencies to ....
11070         (tests-special): ... additions to this variable.
11071         (do-tst-unbputc): Remove target.
11072         (do-tst-printf): Likewise.
11073         * stdlib/Makefile (tests): Change dependencies to ....
11074         (tests-special): ... additions to this variable.
11075         * string/Makefile (tests): Change dependencies to ....
11076         (tests-special): ... additions to this variable.
11077         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11078         (tests-special): ... additions to this variable.
11080         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11081         whole file.
11082         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11083         whole file.
11084         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11085         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11087         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11088         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11089         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11090         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11091         * conform/data/libgen.h-data [XPG3]: Likewise.
11092         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11093         * conform/data/ndbm.h-data [XPG3]: Likewise.
11094         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11095         * conform/data/netdb.h-data [XPG3]: Likewise.
11096         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11097         * conform/data/poll.h-data [XPG3]: Likewise.
11098         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11099         * conform/data/strings.h-data [XPG3]: Likewise.
11100         * conform/data/stropts.h-data [XPG3]: Likewise.
11101         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11102         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11103         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11104         Likewise.
11105         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11106         * conform/data/sys/time.h-data [XPG3]: Likewise.
11107         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11108         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11109         * conform/data/sys/un.h-data [XPG3]: Likewise.
11110         * conform/data/syslog.h-data [XPG3]: Likewise.
11111         * conform/data/ucontext.h-data [XPG3]: Likewise.
11112         * conform/data/utmpx.h-data [XPG3]: Likewise.
11113         * conform/data/varargs.h-data [UNIX98]: Enable file.
11115         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11117         * math/libm-test.inc (struct test_f_f_data): Move expected results
11118         into structure for each rounding mode.
11119         (struct test_ff_f_data): Likewise.
11120         (struct test_ff_f_data_nexttoward): Likewise.
11121         (struct test_fi_f_data): Likewise.
11122         (struct test_fl_f_data): Likewise.
11123         (struct test_if_f_data): Likewise.
11124         (struct test_fff_f_data): Likewise.
11125         (struct test_c_f_data): Likewise.
11126         (struct test_f_f1_data): Likewise.
11127         (struct test_fF_f1_data): Likewise.
11128         (struct test_ffI_f1_data): Likewise.
11129         (struct test_c_c_data): Likewise.
11130         (struct test_cc_c_data): Likewise.
11131         (struct test_f_i_data): Likewise.
11132         (struct test_ff_i_data): Likewise.
11133         (struct test_f_l_data): Likewise.
11134         (struct test_f_L_data): Likewise.
11135         (struct test_fFF_11_data): Likewise.
11136         (RM_): New macro.
11137         (RM_FE_DOWNWARD): Likewise.
11138         (RM_FE_TONEAREST): Likewise.
11139         (RM_FE_TOWARDZERO): Likewise.
11140         (RM_FE_UPWARD): Likewise.
11141         (RUN_TEST_LOOP_f_f): Update references to expected results.
11142         (RUN_TEST_LOOP_2_f): Likewise.
11143         (RUN_TEST_LOOP_fff_f): Likewise.
11144         (RUN_TEST_LOOP_c_f): Likewise.
11145         (RUN_TEST_LOOP_f_f1): Likewise.
11146         (RUN_TEST_LOOP_fF_f1): Likewise.
11147         (RUN_TEST_LOOP_fI_f1): Likewise.
11148         (RUN_TEST_LOOP_ffI_f1): Likewise.
11149         (RUN_TEST_LOOP_c_c): Likewise.
11150         (RUN_TEST_LOOP_cc_c): Likewise.
11151         (RUN_TEST_LOOP_f_i): Likewise.
11152         (RUN_TEST_LOOP_f_i_tg): Likewise.
11153         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11154         (RUN_TEST_LOOP_f_b): Likewise.
11155         (RUN_TEST_LOOP_f_b_tg): Likewise.
11156         (RUN_TEST_LOOP_f_l): Likewise.
11157         (RUN_TEST_LOOP_f_L): Likewise.
11158         (RUN_TEST_LOOP_fFF_11): Likewise.
11159         * math/gen-libm-test.pl (parse_args): Output four copies of
11160         expected results for each test.
11162         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11163         (__ASSUME_UTIMES): Remove.
11164         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11165         (__ASSUME_UTIMES): Likewise.
11167         * math/gen-auto-libm-tests.c: Update comment on output format.
11168         (output_for_one_input_case): Generate before-rounding and
11169         after-rounding information as conditions on output flags not
11170         floating-point format.
11171         * math/auto-libm-test-out: Regenerated.
11172         * math/gen-libm-test.pl (cond_value): New function.
11173         (or_cond_value): Use cond_value.
11174         (generate_testfile): Handle conditional exceptions.
11176 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11178         * math/libm-test.inc (max_valid_error): New variable.
11179         (init_max_error): Take new argument specifying whether function
11180         results are exactly determined.  Set max_valid_error and bound
11181         other variables for errors based on this argument.
11182         (set_max_error): Do not record results above max_valid_error.
11183         (check_float_internal): Only accept errors of up to 0.5ulps if
11184         also at most max_valid_error.
11185         (START): Take new argument EXACT and pass it to init_max_error.
11186         (acos_test): Update call to START.
11187         (acos_test_tonearest): Likewise.
11188         (acos_test_towardzero): Likewise.
11189         (acos_test_downward): Likewise.
11190         (acos_test_upward): Likewise.
11191         (acosh_test): Likewise.
11192         (asin_test): Likewise.
11193         (asin_test_tonearest): Likewise.
11194         (asin_test_towardzero): Likewise.
11195         (asin_test_downward): Likewise.
11196         (asin_test_upward): Likewise.
11197         (asinh_test): Likewise.
11198         (atan_test): Likewise.
11199         (atanh_test): Likewise.
11200         (atan2_test): Likewise.
11201         (cabs_test): Likewise.
11202         (cacos_test): Likewise.
11203         (cacosh_test): Likewise.
11204         (carg_test): Likewise.
11205         (casin_test): Likewise.
11206         (casinh_test): Likewise.
11207         (catan_test): Likewise.
11208         (catanh_test): Likewise.
11209         (cbrt_test): Likewise.
11210         (ccos_test): Likewise.
11211         (ccosh_test): Likewise.
11212         (ceil_test): Likewise.
11213         (cexp_test): Likewise.
11214         (cimag_test): Likewise.
11215         (clog_test): Likewise.
11216         (clog10_test): Likewise.
11217         (conj_test): Likewise.
11218         (copysign_test): Likewise.
11219         (cos_test): Likewise.
11220         (cos_test_tonearest): Likewise.
11221         (cos_test_towardzero): Likewise.
11222         (cos_test_downward): Likewise.
11223         (cos_test_upward): Likewise.
11224         (cosh_test): Likewise.
11225         (cosh_test_tonearest): Likewise.
11226         (cosh_test_towardzero): Likewise.
11227         (cosh_test_downward): Likewise.
11228         (cosh_test_upward): Likewise.
11229         (cpow_test): Likewise.
11230         (cproj_test): Likewise.
11231         (creal_test): Likewise.
11232         (csin_test): Likewise.
11233         (csinh_test): Likewise.
11234         (csqrt_test): Likewise.
11235         (ctan_test): Likewise.
11236         (ctan_test_tonearest): Likewise.
11237         (ctan_test_towardzero): Likewise.
11238         (ctan_test_downward): Likewise.
11239         (ctan_test_upward): Likewise.
11240         (ctanh_test): Likewise.
11241         (ctanh_test_tonearest): Likewise.
11242         (ctanh_test_towardzero): Likewise.
11243         (ctanh_test_downward): Likewise.
11244         (ctanh_test_upward): Likewise.
11245         (erf_test): Likewise.
11246         (erfc_test): Likewise.
11247         (exp_test): Likewise.
11248         (exp_test_tonearest): Likewise.
11249         (exp_test_towardzero): Likewise.
11250         (exp_test_downward): Likewise.
11251         (exp_test_upward): Likewise.
11252         (exp10_test): Likewise.
11253         (exp10_test_tonearest): Likewise.
11254         (exp10_test_towardzero): Likewise.
11255         (exp10_test_downward): Likewise.
11256         (exp10_test_upward): Likewise.
11257         (pow10_test): Likewise.
11258         (exp2_test): Likewise.
11259         (expm1_test): Likewise.
11260         (expm1_test_tonearest): Likewise.
11261         (expm1_test_towardzero): Likewise.
11262         (expm1_test_downward): Likewise.
11263         (expm1_test_upward): Likewise.
11264         (fabs_test): Likewise.
11265         (fdim_test): Likewise.
11266         (floor_test): Likewise.
11267         (fma_test): Likewise.
11268         (fma_test_towardzero): Likewise.
11269         (fma_test_downward): Likewise.
11270         (fma_test_upward): Likewise.
11271         (fmax_test): Likewise.
11272         (fmin_test): Likewise.
11273         (fmod_test): Likewise.
11274         (fpclassify_test): Likewise.
11275         (frexp_test): Likewise.
11276         (hypot_test): Likewise.
11277         (ilogb_test): Likewise.
11278         (isfinite_test): Likewise.
11279         (finite_test): Likewise.
11280         (isgreater_test): Likewise.
11281         (isgreaterequal_test): Likewise.
11282         (isinf_test): Likewise.
11283         (isless_test): Likewise.
11284         (islessequal_test): Likewise.
11285         (islessgreater_test): Likewise.
11286         (isnan_test): Likewise.
11287         (isnormal_test): Likewise.
11288         (issignaling_test): Likewise.
11289         (isunordered_test): Likewise.
11290         (j0_test): Likewise.
11291         (j1_test): Likewise.
11292         (jn_test): Likewise.
11293         (ldexp_test): Likewise.
11294         (lgamma_test): Likewise.
11295         (gamma_test): Likewise.
11296         (lrint_test): Likewise.
11297         (lrint_test_tonearest): Likewise.
11298         (lrint_test_towardzero): Likewise.
11299         (lrint_test_downward): Likewise.
11300         (lrint_test_upward): Likewise.
11301         (llrint_test): Likewise.
11302         (llrint_test_tonearest): Likewise.
11303         (llrint_test_towardzero): Likewise.
11304         (llrint_test_downward): Likewise.
11305         (llrint_test_upward): Likewise.
11306         (log_test): Likewise.
11307         (log10_test): Likewise.
11308         (log1p_test): Likewise.
11309         (log2_test): Likewise.
11310         (logb_test): Likewise.
11311         (logb_test_downward): Likewise.
11312         (lround_test): Likewise.
11313         (llround_test): Likewise.
11314         (modf_test): Likewise.
11315         (nearbyint_test): Likewise.
11316         (nextafter_test): Likewise.
11317         (nexttoward_test): Likewise.
11318         (pow_test): Likewise.
11319         (pow_test_tonearest): Likewise.
11320         (pow_test_towardzero): Likewise.
11321         (pow_test_downward): Likewise.
11322         (pow_test_upward): Likewise.
11323         (remainder_test): Likewise.
11324         (drem_test): Likewise.
11325         (remainder_test_tonearest): Likewise.
11326         (drem_test_tonearest): Likewise.
11327         (remainder_test_towardzero): Likewise.
11328         (drem_test_towardzero): Likewise.
11329         (remainder_test_downward): Likewise.
11330         (drem_test_downward): Likewise.
11331         (remainder_test_upward): Likewise.
11332         (drem_test_upward): Likewise.
11333         (remquo_test): Likewise.
11334         (rint_test): Likewise.
11335         (rint_test_tonearest): Likewise.
11336         (rint_test_towardzero): Likewise.
11337         (rint_test_downward): Likewise.
11338         (rint_test_upward): Likewise.
11339         (round_test): Likewise.
11340         (scalb_test): Likewise.
11341         (scalbn_test): Likewise.
11342         (scalbln_test): Likewise.
11343         (signbit_test): Likewise.
11344         (sin_test): Likewise.
11345         (sin_test_tonearest): Likewise.
11346         (sin_test_towardzero): Likewise.
11347         (sin_test_downward): Likewise.
11348         (sin_test_upward): Likewise.
11349         (sincos_test): Likewise.
11350         (sinh_test): Likewise.
11351         (sinh_test_tonearest): Likewise.
11352         (sinh_test_towardzero): Likewise.
11353         (sinh_test_downward): Likewise.
11354         (sinh_test_upward): Likewise.
11355         (sqrt_test): Likewise.
11356         (sqrt_test_tonearest): Likewise.
11357         (sqrt_test_towardzero): Likewise.
11358         (sqrt_test_downward): Likewise.
11359         (sqrt_test_upward): Likewise.
11360         (tan_test): Likewise.
11361         (tan_test_tonearest): Likewise.
11362         (tan_test_towardzero): Likewise.
11363         (tan_test_downward): Likewise.
11364         (tan_test_upward): Likewise.
11365         (tanh_test): Likewise.
11366         (tgamma_test): Likewise.
11367         (trunc_test): Likewise.
11368         (y0_test): Likewise.
11369         (y1_test): Likewise.
11370         (yn_test): Likewise.
11371         (significand_test): Likewise.
11373         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11374         individual tests in comment.
11375         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11376         (prev_max_error): New variable.
11377         (prev_real_max_error): Likewise.
11378         (prev_imag_max_error): Likewise.
11379         (compare_ulp_data): Don't refer to test names in comment.
11380         (find_test_ulps): Remove function.
11381         (find_function_ulps): Likewise.
11382         (find_complex_function_ulps): Likewise.
11383         (init_max_error): Take function name as argument.  Look up ulps
11384         for that function.
11385         (print_ulps): Remove function.
11386         (print_max_error): Use prev_max_error instead of calling
11387         find_function_ulps.
11388         (print_complex_max_error): Use prev_real_max_error and
11389         prev_imag_max_error instead of calling find_complex_function_ulps.
11390         (check_float_internal): Take max_ulp parameter instead of calling
11391         find_test_ulps.  Don't call print_ulps.
11392         (check_float): Update call to check_float_internal.
11393         (check_complex): Update calls to check_float_internal.
11394         (START): Pass argument to init_max_error.
11395         * math/gen-libm-test.pl (%results): Don't include "kind"
11396         information.
11397         (parse_ulps): Don't handle ulps of individual tests.
11398         (print_ulps_file): Likewise.
11399         (output_ulps): Likewise.
11400         * math/README.libm-test: Update.
11401         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11402         individual tests.
11403         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11404         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11405         * sysdeps/arm/libm-test-ulps: Likewise.
11406         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11407         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11408         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11409         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11410         * sysdeps/microblaze/libm-test-ulps: Likewise.
11411         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11412         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11413         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11414         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11415         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11416         * sysdeps/sh/libm-test-ulps: Likewise.
11417         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11418         * sysdeps/tile/libm-test-ulps: Likewise.
11419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11421 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
11423         * math/libm-test.inc (print_complex_max_error): Check separately
11424         whether real and imaginary errors are within allowed range and
11425         pass 0 to print_complex_function_ulps instead of value within
11426         allowed range.
11428 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11430         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11431         formatting.
11432         (get_handles_fopen): Likewise.
11433         (do_write_test): Likewise.
11435         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11437         * libio/fileops.c (do_ftell): Use cached offset when
11438         available.
11439         * libio/iofwide.c (do_ftell_wide): Likewise.
11440         * libio/iofdopen.c (_IO_new_fdopen): Don't use
11441         _IO_file_attach.
11442         * libio/wfileops.c (_IO_fwide): Don't cache offset.
11444         [BZ #16532]
11445         * libio/libioP.h (get_file_offset): New function.
11446         * libio/fileops.c (get_file_offset): Likewise.
11447         (do_ftell): Likewise.
11448         (_IO_new_file_seekoff): Split out ftell logic.
11449         * libio/wfileops.c (do_ftell_wide): Likewise.
11450         (_IO_wfile_seekoff): Split out ftell logic.
11451         * libio/tst-ftell-active-handler.c: New test case.
11452         * libio/Makefile (tests): Add it.
11454 2014-03-03  Roland McGrath  <roland@hack.frob.com>
11456         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11457         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11459 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11461         [BZ #16639]
11462         * nscd/connections.c (nscd_init): Call do_exit.
11463         (start_threads): Call do_exit and notify_parent.
11464         (begin_drop_privileges): Call do_exit.
11465         (finish_drop_privileges): Likewise.
11466         * nscd/selinux.c (preserve_capabilities): Likewise.
11467         (install_real_capabilities): Likewise.
11468         (nscd_selinux_enabled): Likewise.
11469         (avc_create_thread): Likewise.
11470         (avc_alloc_lock): Likewise.
11471         (nscd_avc_init): Likewise.
11472         * nscd/nscd.c (parent_fd): New static variable.
11473         (main): Create a pipe between parent and child processes.
11474         Skip closing parent_fd.
11475         (monitor_child): New function.
11476         (do_exit): Likewise.
11477         (notify_parent): Likewise.
11478         * nscd/nscd.h (notify_parent): Likewise.
11479         (do_exit): Likewise.
11481 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
11483         * malloc/malloc.c (__libc_calloc): Revert last change.
11485 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11489 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11491         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11493         implementation.
11494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11495         (__libc_ifunc_impl_list): Likewise.
11496         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11497         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11498         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11499         * string/strrchr.c: Define STRRCHR.
11501 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
11503         * benchtest/bench-strtok.c (simple_strtok): Delete.
11504         (strtok_string): Use as benchmark.
11505         * string/strtok (STRTOK): New macro.
11507 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
11509         * manual/threads.texi: Add header and standard comments to all
11510         functions.
11512         * elf/dl-lookup.c (check_match): New function.
11513         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11514         (do_lookup_x): Remove nested function check_match. Use non-nested
11515         function check_match.
11517 2014-02-28  Roland McGrath  <roland@hack.frob.com>
11519         * csu/Makefile (generated, before-compile): Use += rather than =.
11520         * catgets/Makefile (generated, generated-dirs): Likewise.
11521         * debug/Makefile (generated): Likewise.
11522         * dlfcn/Makefile (generated): Likewise.
11523         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11524         * iconvdata/Makefile (before-compile, generated): Likewise.
11525         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11526         * libio/Makefile (generated): Likewise.
11527         * malloc/Makefile (generated): Likewise.
11528         * manual/Makefile (generated, generated-dirs): Likewise.
11529         * misc/Makefile (generated): Likewise.
11530         * posix/Makefile (generated): Likewise.
11531         * resolv/Makefile (generated): Likewise.
11532         * sunrpc/Makefile (generated, generated-dirs): Likewise.
11533         * timezone/Makefile (generated, generated-dirs): Likewise.
11535         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11537 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11540         power8 implementation.
11541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11542         file: POWER8 llround ifunc implementation.
11543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11544         (__lllround): Add POWER8 implementation.
11545         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11546         POWER8 llround implementation.
11548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11549         power8 implementation.
11550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11551         file: POWER8 llrint ifunc implementation.
11552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11553         Add POWER8 implementation.
11554         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11555         POWER8 llrint implementation.
11557         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11558         power8 implementation.
11559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11560         file: POWER8 finite ifunc implementation.
11561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11562         Add POWER8 implementation.
11563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11564         Likewise.
11565         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11566         POWER8 finite implementation.
11567         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11570         power8 implementation.
11571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11572         file: POWER8 isinf ifunc implementation.
11573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11574         POWER8 implementation.
11575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11576         Likewise.
11577         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11578         isinf implementation.
11579         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11581         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11582         (INIT_ARCH): Add hwcap2 initialization.
11583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11584         power8 implementation.
11585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11586         file: POWER8 isnan ifunc implementation.
11587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11588         POWER8 implementation.
11589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11590         Likewise.
11591         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11592         isnan implementation.
11593         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11595 2014-02-27  Joey Ye  <joey.ye@arm.com>
11597         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11598         (_FP_NANFRAC_Q): Set to zero.
11600 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11602         [BZ #16623]
11603         * math/auto-libm-test-in: New test inputs.
11604         * math/auto-libm-test-out: Regenerate.
11605         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11606         and DA.
11607         (__cos): Likewise.
11608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11610 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
11612         * scripts/evaluate-test.sh: Take new argument indicating whether
11613         failure is expected.
11614         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11615         indicating whether failure is expected.
11616         * conform/Makefile (test-xfail-run-conformtest): New variable.
11617         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11618         level.
11619         * posix/Makefile (test-xfail-annexc): New variable.
11620         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11622 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
11624         * argp/Makefile: Include Makeconfig immediately after defining
11625         subdir.
11626         * assert/Makefile: Likewise.
11627         * benchtests/Makefile: Likewise.
11628         * catgets/Makefile: Likewise.
11629         * conform/Makefile: Likewise.
11630         * crypt/Makefile: Likewise.
11631         * csu/Makefile: Likewise.
11632         (all): Remove target.
11633         * ctype/Makefile: Include Makeconfig immediately after defining
11634         subdir.
11635         * debug/Makefile: Likewise.
11636         * dirent/Makefile: Likewise.
11637         * dlfcn/Makefile: Likewise.
11638         * gmon/Makefile: Likewise.
11639         * gnulib/Makefile: Likewise.
11640         * grp/Makefile: Likewise.
11641         * gshadow/Makefile: Likewise.
11642         * hesiod/Makefile: Likewise.
11643         * hurd/Makefile: Likewise.
11644         (all): Remove target.
11645         * iconvdata/Makefile: Include Makeconfig immediately after
11646         defining subdir.
11647         * inet/Makefile: Likewise.
11648         * intl/Makefile: Likewise.
11649         * io/Makefile: Likewise.
11650         * libio/Makefile: Likewise.
11651         (all): Remove target.
11652         * locale/Makefile: Include Makeconfig immediately after defining
11653         subdir.
11654         * login/Makefile: Likewise.
11655         * mach/Makefile: Likewise.
11656         (all): Remove target.
11657         * malloc/Makefile: Include Makeconfig immediately after defining
11658         subdir.
11659         (all): Remove target.
11660         * manual/Makefile: Include Makeconfig immediately after defining
11661         subdir.
11662         * math/Makefile: Likewise.
11663         * misc/Makefile: Likewise.
11664         * nis/Makefile: Likewise.
11665         * nss/Makefile: Likewise.
11666         * po/Makefile: Likewise.
11667         (all): Remove target.
11668         * posix/Makefile: Include Makeconfig immediately after defining
11669         subdir.
11670         * pwd/Makefile: Likewise.
11671         * resolv/Makefile: Likewise.
11672         * resource/Makefile: Likewise.
11673         * rt/Makefile: Likewise.
11674         * setjmp/Makefile: Likewise.
11675         * shadow/Makefile: Likewise.
11676         * signal/Makefile: Likewise.
11677         * socket/Makefile: Likewise.
11678         * soft-fp/Makefile: Likewise.
11679         * stdio-common/Makefile: Likewise.
11680         * stdlib/Makefile: Likewise.
11681         * streams/Makefile: Likewise.
11682         * string/Makefile: Likewise.
11683         * sunrpc/Makefile: Likewise.
11684         (all): Remove target.
11685         * sysvipc/Makefile: Include Makeconfig immediately after defining
11686         subdir.
11687         * termios/Makefile: Likewise.
11688         * time/Makefile: Likewise.
11689         * timezone/Makefile: Likewise.
11690         (all): Remove target.
11691         * wcsmbs/Makefile: Include Makeconfig immediately after defining
11692         subdir.
11693         * wctype/Makefile: Likewise.
11695 2014-02-26  Steve Ellcey  <sellcey@mips.com>
11697         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11698         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11699         (libc_feholdexcept_setround_mips): Ditto.
11700         (libc_feholdsetround): New.
11701         (libc_feholdsetroundf): New.
11702         (libc_feholdsetroundl): New.
11703         (libc_feupdateenv_test_mips): New.
11704         (libc_feupdateenv_test): New.
11705         (libc_feupdateenv_testf): New.
11706         (libc_feupdateenv_testl): New.
11707         (libc_feresetround): New.
11708         (libc_feresetroundf): New.
11709         (libc_feresetroundl): New.
11710         (libc_fetestexcept_mips): New.
11711         (libc_fetestexcept): New.
11712         (libc_fetestexceptf): New.
11713         (libc_fetestexceptl): New.
11714         (HAVE_RM_CTX): New.
11715         (libc_feholdexcept_setround_mips_ctx): New.
11716         (libc_feholdexcept_setround_ctx): New.
11717         (libc_feholdexcept_setroundf_ctx): New.
11718         (libc_feholdexcept_setroundl_ctx): New.
11719         (libc_fesetenv_mips_ctx): New.
11720         (libc_fesetenv_ctx): New.
11721         (libc_fesetenv_ctxf): New.
11722         (libc_fesetenv_ctxl): New.
11723         (libc_feupdateenv_mips_ctx): New.
11724         (libc_feupdateenv_ctx): New.
11725         (libc_feupdateenvf_ctx): New.
11726         (libc_feupdateenvl_ctx): New.
11727         (libc_feholdsetround_mips_ctx): New.
11728         (libc_feholdsetround_ctx): New.
11729         (libc_feholdsetroundf_ctx): New.
11730         (libc_feholdsetroundl_ctx): New.
11731         (libc_feresetround_mips_ctx): New.
11732         (libc_feresetround_ctx): New.
11733         (libc_feresetroundf_ctx): New.
11734         (libc_feresetroundl_ctx): New.
11736 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
11738         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11740         * manual/ipc.texi: New file.
11741         * manual/Makefile (chapters): Add ipc.
11742         * manual/job.texi: Add "Inter-Process Communication" to next.
11743         * manual/process.texi: Add "Inter-Process Communication" to prev.
11745 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11749 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
11751         * malloc/malloc.c (__libc_calloc): Simplify implementation.
11753         * manual/arith.texi: Fix spaces after sentences.
11754         * manual/charset.texi: Likewise.
11755         * manual/errno.texi: Likewise.
11756         * manual/install.texi: Likewise.
11757         * manual/llio.texi: Likewise.
11758         * manual/locale.texi: Likewise.
11759         * manual/maint.texi: Likewise.
11760         * manual/math.texi: Likewise.
11761         * manual/memory.texi: Likewise.
11762         * manual/message.texi: Likewise.
11763         * manual/probes.texi: Likewise.
11764         * manual/resource.texi: Likewise.
11765         * manual/signal.texi: Likewise.
11766         * manual/socket.texi: Likewise.
11767         * manual/stdio.texi: Likewise.
11768         * manual/string.texi: Likewise.
11769         * manual/time.texi: Likewise.
11770         * manual/users.texi: Likewise.
11772 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
11774         [BZ #16632]
11775         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11776         _DEFAULT_SOURCE is defined.
11778 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
11779             Carlos O'Donell  <carlos@redhat.com>
11781         [BZ #16613]
11782         * elf/dl-tls.c (_dl_count_modids): New function.
11783         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11784         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11785         audit library and increment generation counter.
11786         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11787         * elf/tst-audit9.c: New file.
11788         * elf/tst-auditmod9a.c: New file.
11789         * elf/tst-auditmod9b.c: New file.
11790         * elf/Makefile: Add rules to build and run tst-audit9.
11792 2014-02-25  Florian Weimer  <fweimer@redhat.com>
11794         [BZ #15347]
11795         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11797 2014-02-25  Will Newton  <will.newton@linaro.org>
11799         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11800         (__longjmp): Restore sp and lr before restoring callee
11801         saved registers.  Add longjmp and longjmp_target
11802         SystemTap probe point.
11803         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11804         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11805         Define to zero to match jmpbuf layout.
11806         * sysdeps/arm/setjmp.S: Include stap-probe.h.
11807         (__sigsetjmp): Save sp and lr before saving callee
11808         saved registers.  Add setjmp SystemTap probe point.
11810 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11812         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11814 2014-02-24  Andreas Schwab  <schwab@suse.de>
11816         [BZ #15804]
11817         * elf/pldd.c (wait_for_ptrace_stop): New function.
11818         (main): Call it after attaching.
11820 2014-02-22  Roland McGrath  <roland@hack.frob.com>
11822         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11823         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11824         Versions files is now verboten.
11825         * hurd/Versions (libc: GLIBC_2.0):
11826         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11827         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11828         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11829         * mach/Versions: Likewise.
11831         * csu/Versions: Remove unused %include.
11832         * resolv/Versions: Likewise.
11834 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
11836         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11837         ($(objpfx)check-local-headers.out): Likewise.
11838         ($(objpfx)begin-end-check.out): Likewise.
11839         * Makerules (check-abi-%.out): Likewise.
11840         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11841         ($(objpfx)test2.cat): Likewise.
11842         ($(objpfx)de/libc.cat): Likewise.
11843         ($(objpfx)test-gencat.out): Likewise.
11844         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11845         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11846         ($(objpfx)noload-mem): Likewise.
11847         ($(objpfx)tst-pathopt.out): Likewise.
11848         ($(objpfx)tst-rtld-load-self.out): Likewise.
11849         ($(objpfx)tst-array1-cmp.out): Likewise.
11850         ($(objpfx)tst-array1-static-cmp.out): Likewise.
11851         ($(objpfx)tst-array2-cmp.out): Likewise.
11852         ($(objpfx)tst-array3-cmp.out): Likewise.
11853         ($(objpfx)tst-array4-cmp.out): Likewise.
11854         ($(objpfx)tst-array5-cmp.out): Likewise.
11855         ($(objpfx)tst-array5-static-cmp.out): Likewise.
11856         ($(objpfx)check-textrel.out): Likewise.
11857         ($(objpfx)check-execstack.out): Likewise.
11858         ($(objpfx)check-localplt.out): Likewise.
11859         ($(objpfx)order2-cmp.out): Likewise.
11860         ($(objpfx)tst-leaks1-mem): Likewise.
11861         ($(objpfx)tst-leaks1-static-mem): Likewise.
11862         ($(objpfx)tst-initorder-cmp.out): Likewise.
11863         ($(objpfx)tst-initorder2-cmp.out): Likewise.
11864         ($(objpfx)tst-unused-dep.out): Likewise.
11865         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11866         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11867         * iconv/Makefile (test-iconvconfig): Likewise.
11868         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11869         ($(objpfx)iconv-test.out): Likewise.
11870         ($(objpfx)tst-tables.out): Likewise.
11871         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11872         ($(objpfx)tst-gettext.out): Likewise.
11873         ($(objpfx)tst-translit.out): Likewise.
11874         ($(objpfx)tst-gettext2.out): Likewise.
11875         ($(objpfx)tst-gettext4.out): Likewise.
11876         ($(objpfx)tst-gettext6.out): Likewise.
11877         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11878         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11879         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11880         ($(objpfx)tst-fopenloc-mem.out): Likewise.
11881         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11882         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11883         * posix/Makefile ($(objpfx)globtest.out): Likewise.
11884         ($(objpfx)wordexp-tst.out): Likewise.
11885         ($(objpfx)annexc.out): Likewise.
11886         ($(objpfx)tst-fnmatch-mem): Likewise.
11887         ($(objpfx)bug-regex2-mem): Likewise.
11888         ($(objpfx)bug-regex14-mem): Likewise.
11889         ($(objpfx)bug-regex21-mem): Likewise.
11890         ($(objpfx)bug-regex31-mem): Likewise.
11891         ($(objpfx)tst-vfork3-mem): Likewise.
11892         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11893         ($(objpfx)tst-pcre-mem): Likewise.
11894         ($(objpfx)tst-boost-mem): Likewise.
11895         ($(objpfx)tst-getconf.out): Likewise.
11896         ($(objpfx)bug-ga2-mem): Likewise.
11897         ($(objpfx)bug-glob2-mem): Likewise.
11898         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11899         ($(objpfx)mtrace-tst-leaks2): Likewise.
11900         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11901         ($(objpfx)tst-printf.out): Likewise.
11902         ($(objpfx)tst-setvbuf1.out): Likewise.
11903         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11904         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11905         ($(objpfx)tst-fmtmsg.out): Likewise.
11906         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11907         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11909         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11910         * bits/sigaction.h [__USE_MISC]: Likewise.
11911         * bits/waitstatus.h: Update #endif comments.
11912         * ctype/ctype.h: Likewise.
11913         * dirent/dirent.h: Likewise.
11914         [__USE_MISC]: Remove redundant conditionals.
11915         * grp/grp.h: Update #endif comments.
11916         [__USE_GNU]: Remove redundant conditionals.
11917         [__USE_MISC]: Likewise.
11918         * inet/netinet/in.h [__USE_GNU]: Likewise.
11919         * io/sys/stat.h [__USE_MISC]: Likewise.
11920         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11921         * libio/bits/stdio.h: Update #endif comments.
11922         [__USE_MISC]: Remove redundant conditionals.
11923         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11924         * libio/stdio.h: Update #endif comments.
11925         [__USE_MISC]: Remove redundant conditionals.
11926         * math/bits/math-finite.h [__USE_MISC]: Likewise.
11927         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11928         * math/math.h: Update #else and #endif comments.
11929         [__USE_MISC]: Remove redundant conditionals.
11930         * misc/sys/uio.h: Update #endif comments.
11931         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11932         * posix/glob.h [__USE_MISC]: Likewise.
11933         * posix/sys/types.h: Update #endif comments.
11934         [__USE_MISC]: Remove redundant conditionals.
11935         * posix/sys/wait.h: Update #endif comments.
11936         [__USE_MISC]: Remove redundant conditionals.
11937         * posix/unistd.h: Update #endif comments.
11938         [__USE_MISC]: Remove redundant conditionals.
11939         * pwd/pwd.h [__USE_GNU]: Likewise.
11940         [__USE_MISC]: Likewise.
11941         * resolv/netdb.h [__USE_GNU]: Likewise.
11942         * signal/signal.h: Update #endif comments.
11943         [__USE_MISC]: Remove redundant conditionals.
11944         * stdlib/stdlib.h: Update #else and #endif comments.
11945         [__USE_MISC]: Remove redundant conditionals.
11946         [__USE_GNU]: Likewise.
11947         * string/bits/string2.h [__USE_MISC]: Likewise.
11948         * string/string.h: Update #endif comments.
11949         [__USE_MISC]: Remove redundant conditionals.
11950         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11951         Likewise.
11952         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11953         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11954         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11955         Likewise.
11956         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11957         Likewise.
11958         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11959         comments.
11960         [__USE_MISC]: Remove redundant conditionals.
11961         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11962         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11963         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11964         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11965         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11966         Likewise.
11967         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11968         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11969         Likewise.
11970         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11971         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11972         Likewise.
11973         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11974         Likewise.
11975         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11976         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11977         Likewise.
11978         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11979         Likewise.
11980         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11981         * sysdeps/x86/bits/string.h: Update #endif comments.
11982         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11983         conditionals.
11984         * time/sys/time.h: Update #endif comments.
11985         * time/time.h: Likewise.
11986         [__USE_MISC]: Remove redundant conditionals.
11988 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
11990         [BZ #16600]
11991         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11993 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
11995         * Versions.def (librt): Add GLIBC_2.17.
11997 2014-02-21  Adam Conrad  <adconrad@0c3.net>
11999         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12000         synonym for _SYS_AUXV_H to allow direct inclusion.
12001         * sysdeps/sparc/bits/hwcap.h: Likewise.
12002         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12003         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12004         * sysdeps/sparc/sysdep.h: Likewise.
12006 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12008         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12010 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12012         * benchtests/bench-strrchr.c: Print length instead of position.
12014 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12016         [BZ #16611]
12017         * sysdeps/unix/sysv/linux/kernel-features.h
12018         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12019         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12020         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12021         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12022         Likewise.
12023         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12024         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12025         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12026         (__ASSUME_SENDMMSG): Define instead of using previous
12027         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12028         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12029         (__ASSUME_SENDMMSG_SYSCALL): Define.
12030         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12031         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12032         Likewise.
12033         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12034         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12035         Likewise.
12036         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12037         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12038         Likewise.
12039         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12040         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12041         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12042         [__ASSUME_SENDMMSG]: Change conditionals to
12043         [__ASSUME_SENDMMSG_SOCKETCALL].
12044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12045         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12046         Define.
12047         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12048         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12049         Likewise.
12050         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12051         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12052         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12053         [!__ASSUME_SENDMMSG]: Change conditional to
12054         [!__ASSUME_SENDMMSG_SOCKETCALL].
12055         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12056         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12057         Define.
12059         [BZ #16610]
12060         * sysdeps/unix/sysv/linux/kernel-features.h
12061         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12062         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12063         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12064         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12065         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12066         [__i386__ || __sparc__]
12067         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12068         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12069         (__ASSUME_RECVMMSG): Define instead of using previous
12070         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12071         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12072         (__ASSUME_RECVMMSG_SYSCALL): Define.
12073         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12074         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12075         Likewise.
12076         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12077         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12078         Likewise.
12079         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12080         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12081         Likewise.
12082         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12083         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12084         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12085         [__ASSUME_RECVMMSG]: Change condition to
12086         [__ASSUME_RECVMMSG_SOCKETCALL].
12087         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12088         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12089         Define.
12090         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12091         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12092         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12093         Likewise.
12094         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12095         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12096         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12097         [!__ASSUME_RECVMMSG]: Change condition to
12098         [!__ASSUME_RECVMMSG_SOCKETCALL].
12099         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12100         (__ASSUME_RECVMMSG_SYSCALL): Define.
12102         [BZ #16609]
12103         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12104         __powerpc__ || __s390__ || __sh__ || __sparc__]
12105         (__ASSUME_SOCKETCALL): Define.
12106         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12107         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12108         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12109         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12110         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12111         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12112         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12113         (__ASSUME_ACCEPT4): Define instead of using previous
12114         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12115         __powerpc__ || __sparc__ || __s390__)] condition.
12116         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12117         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12118         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12119         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12120         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12121         [!__ASSUME_ACCEPT4]: Change condition to
12122         [!__ASSUME_ACCEPT4_SOCKETCALL].
12123         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12124         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12125         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12126         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12127         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12128         __ASSUME_ACCEPT4_SYSCALL.
12129         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12130         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12131         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12132         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12133         __ASSUME_ACCEPT4_SYSCALL.
12134         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12135         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12136         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12137         [__ASSUME_ACCEPT4]: Change condition to
12138         [__ASSUME_ACCEPT4_SOCKETCALL].
12139         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12140         (__ASSUME_SOCKETCALL): Define.
12141         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12142         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12143         (__ASSUME_SOCKETCALL): Define.
12144         (__ASSUME_ACCEPT4): Remove.
12145         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12146         Define.
12147         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12148         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12149         Likewise.
12150         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12151         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12153         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12154         macro.
12155         (HWCAP_ARM_LPAE): Likewise.
12156         (HWCAP_ARM_EVTSTRM): Likewise.
12157         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12158         Add vpfd32, lpae and evtstrm.
12159         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12160         Increase to 22.
12162 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12164         * math/auto-libm-test-in: Add tests of clog10.
12165         * math/auto-libm-test-out: Regenerated.
12166         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12167         * sysdeps/i386/fpu/libm-test-ulps: Update.
12168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12170 2014-02-18  Andreas Schwab  <schwab@suse.de>
12172         [BZ #16574]
12173         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12174         Store non-zero if the second buffer was newly allocated.
12175         (send_dg): Likewise.
12176         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12177         to send_vc and send_dg.
12178         (res_nsend): Pass NULL for ansp2_malloced.
12179         * resolv/res_query.c (__libc_res_nquery): Add parameter
12180         answerp2_malloced and pass it down to __libc_res_nsend.
12181         (res_nquery): Pass additional NULL to __libc_res_nquery.
12182         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12183         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12184         second answer buffer if answerp2_malloced was set.
12185         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12186         (__libc_res_nquerydomain): Add parameter
12187         answerp2_malloced and pass it down to __libc_res_nquery.
12188         (res_nquerydomain): Pass additional NULL to
12189         __libc_res_nquerydomain.
12190         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12191         additional NULL to __libc_res_nsend and __libc_res_nquery.
12192         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12193         additional NULL to __libc_res_nsearch.
12194         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12195         parameter of __libc_res_nsearch to check for separately allocated
12196         second buffer.
12197         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12198         __libc_res_nquery.
12199         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12200         additional NULL to __libc_res_nquery.
12201         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12202         __libc_res_nsearch.
12203         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12204         * include/resolv.h: Update prototypes of __libc_res_nquery,
12205         __libc_res_nsearch, __libc_res_nsend.
12207 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
12209         * math/auto-libm-test-in: Add tests of fma.
12210         * math/auto-libm-test-out: Regenerated.
12211         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12212         (fma_towardzero_test_data): Likewise.
12213         (fma_downward_test_data): Likewise.
12214         (fma_upward_test_data): Likewise.
12215         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12216         mpc_mode.
12217         (rounding_modes): Add values for new field.
12218         (func_calc_method): Add value mpfr_fff_f.
12219         (func_calc_desc): Add mpfr_fff_f union field.
12220         (test_function): Add field exact_args.
12221         (FUNC): Add macro argument EXACT_ARGS.
12222         (FUNC_mpfr_f_f): Update call to FUNC.
12223         (FUNC_mpfr_f_f): Likewise.
12224         (FUNC_mpfr_ff_f): Likewise.
12225         (FUNC_mpfr_if_f): Likewise.
12226         (FUNC_mpc_c_f): Likewise.
12227         (FUNC_mpc_c_c): Likewise.
12228         (test_functions): Add fma.  Update calls to FUNC.
12229         (handle_input_arg): Add argument exact_args.
12230         (add_test): Update call to handle_input_arg.
12231         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
12232         (output_for_one_input_case): Update call to calc_generic_results.
12233         Recalculate exact zero results in each rounding mode.
12235         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12236         non-negative before setting low bit.
12237         * math/auto-libm-test-in: Mark one asin test possibly having
12238         spurious underflow.
12239         * math/auto-libm-test-out: Regenerated.
12240         * sysdeps/i386/fpu/libm-test-ulps: Update.
12241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12243 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
12245         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12246         * sysdeps/unix/sysv/linux/microblaze: Move directory from
12247         ports/sysdeps/unix/sysv/linux/microblaze.
12248         * README: Add missing listing for microblaze*-*-linux-gnu.
12250 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
12252         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12253         duplicate code
12255 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
12257         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12258         * sysdeps/unix/sysv/linux/ia64: Move directory from
12259         ports/sysdeps/unix/sysv/linux/ia64.
12260         * README: Update listing for ia64-*-linux-gnu.
12262 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
12263             Joseph Myers  <joseph@codesourcery.com>
12265         * Makeconfig (test-name): New variable.
12266         (evaluate-test): Likewise.
12267         * Makerules (do-test-clean): Remove .test-result files.
12268         (common-mostlyclean): Likewise.
12269         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12270         * scripts/evaluate-test.sh: New file.
12272 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
12274         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12275         separate $(objpfx)tst-fopenloc-cmp.out and
12276         $(objpfx)tst-fopenloc-mem.out targets.
12277         (tests): Update dependencies.
12278         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12279         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12280         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12281         (tst-rxspencer-no-utf8-ARGS): New variable.
12282         (tst-rxspencer-no-utf8-ENV): Likewise.
12283         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12284         instead of $(objpfx)tst-rxspencer-mem.
12285         ($(objpfx)tst-rxspencer-mem): Change target to
12286         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
12287         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12288         * posix/tst-rxspencer-no-utf8.c: New file.
12290         * elf/Makefile ($(objpfx)order.out): Remove rule.
12291         [$(run-built-tests) = yes] (tests): Depend on
12292         $(objpfx)order-cmp.out.
12293         ($(objpfx)order-cmp.out): New rule.
12294         [$(run-built-tests) = yes] (tests): Depend on
12295         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12296         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12297         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12298         $(objpfx)tst-array5-static-cmp.out.
12299         ($(objpfx)tst-array1.out): Remove rule.
12300         ($(objpfx)tst-array1-cmp.out): New rule.
12301         ($(objpfx)tst-array1-static.out): Remove rule.
12302         ($(objpfx)tst-array1-static-cmp.out): New rule.
12303         ($(objpfx)tst-array2.out): Remove rule.
12304         ($(objpfx)tst-array2-cmp.out): New rule.
12305         ($(objpfx)tst-array3.out): Remove rule.
12306         ($(objpfx)tst-array3-cmp.out): New rule.
12307         ($(objpfx)tst-array4.out): Remove rule.
12308         ($(objpfx)tst-array4-cmp.out): New rule.
12309         ($(objpfx)tst-array5.out): Remove rule.
12310         ($(objpfx)tst-array5-cmp.out): New rule.
12311         ($(objpfx)tst-array5-static.out): Remove rule.
12312         ($(objpfx)tst-array5-static-cmp.out): New rule.
12313         [$(run-built-tests) = yes] (tests): Depend on
12314         $(objpfx)order2-cmp.out.
12315         ($(objpfx)order2.out): Remove rule.
12316         ($(objpfx)order2-cmp.out): New rule.
12317         ($(objpfx)tst-initorder.out): Remove rule.
12318         [$(run-built-tests) = yes] (tests): Depend on
12319         $(objpfx)tst-initorder-cmp.out.
12320         ($(objpfx)tst-initorder-cmp.out): New rule.
12321         ($(objpfx)tst-initorder2.out): Remove rule.
12322         [$(run-built-tests) = yes] (tests): Depend on
12323         $(objpfx)tst-initorder2-cmp.out.
12324         ($(objpfx)tst-initorder2-cmp.out): New rule.
12325         [$(run-built-tests) = yes] (tests): Depend on
12326         $(objpfx)tst-unused-dep-cmp.out.
12327         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12328         ($(objpfx)tst-unused-dep-cmp.out): New rule.
12329         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12330         on $(objpfx)tst-setvbuf1-cmp.out.
12331         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12332         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12333         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12334         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12335         ($(objpfx)tst-svc.out): Remove rule.
12336         ($(objpfx)tst-svc-cmp.out): New rule.
12338 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
12340         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12341         * ctype/ctype.h [__USE_MISC]: Likewise.
12342         * dirent/dirent.h [__USE_MISC]: Likewise.
12343         * grp/grp.h [__USE_MISC]: Likewise.
12344         * io/fcntl.h [__USE_MISC]: Likewise.
12345         * io/sys/stat.h [__USE_MISC]: Likewise.
12346         * libio/stdio.h [__USE_MISC]: Likewise.
12347         * posix/unistd.h [__USE_MISC]: Likewise.
12348         * pwd/pwd.h [__USE_MISC]: Likewise.
12349         * stdlib.h [__USE_MISC]: Likewise.
12350         * string/bits/string2.h [__USE_MISC]: Likewise.
12351         * string/string.h [__USE_MISC]: Likewise.
12352         * time/time.h [__USE_MISC]: Likewise.
12354 2014-02-13  Andreas Schwab  <schwab@suse.de>
12356         [BZ #16574]
12357         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12358         second answer buffer if it was separately allocated.
12360 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
12362         * sysdeps/mips/math-tests.h: Include <features.h>.
12363         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12364         (ROUNDING_TESTS_long_double): Do not define.
12365         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12366         (EXCEPTION_TESTS_long_double): Likewise.
12367         * sysdeps/mips/mips64/libm-test-ulps: Update.
12369         * include/features.h (__USE_BSD): Remove macro definitions.
12370         (__USE_SVID): Likewise.
12371         (_BSD_SOURCE): Likewise.
12372         (_SVID_SOURCE): Likewise.
12373         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12374         from definition of _DEFAULT_SOURCE.
12375         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12376         [_DEFAULT_SOURCE].
12377         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12378         * bits/mman.h [__USE_BSD]: Likewise.
12379         * bits/termios.h [__USE_BSD]: Likewise.
12380         * bits/waitstatus.h [__USE_BSD]: Likewise.
12381         * ctype/ctype.h [__USE_SVID]: Likewise.
12382         * dirent/dirent.h [__USE_BSD]: Likewise.
12383         * grp/grp.h [__USE_SVID]: Likewise.
12384         [__USE_BSD]: Likewise.
12385         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12386         * io/fcntl.h [__USE_BSD]: Likewise.
12387         * io/ftw.h [__USE_BSD]: Likewise.
12388         * io/sys/stat.h [__USE_BSD]: Likewise.
12389         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12390         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12391         * libio/stdio.h [__USE_SVID]: Likewise.
12392         [__USE_BSD]: Likewise.
12393         * math/math.h [__USE_SVID]: Likewise.
12394         [__USE_BSD]: Likewise.
12395         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12396         * misc/bits/syslog.h [__USE_BSD]: Likewise.
12397         * misc/search.h [__USE_SVID]: Likewise.
12398         * misc/sys/mman.h [__USE_BSD]: Likewise.
12399         * misc/sys/syslog.h [__USE_BSD]: Likewise.
12400         * misc/sys/uio.h [__USE_BSD]: Likewise.
12401         * posix/bits/unistd.h [__USE_BSD]: Likewise.
12402         * posix/glob.h [__USE_BSD]: Likewise.
12403         * posix/regex.h [__USE_BSD]: Likewise.
12404         * posix/sys/types.h [__USE_BSD]: Likewise.
12405         [__USE_SVID]: Likewise.
12406         * posix/sys/utsname.h [__USE_SVID]: Likewise.
12407         * posix/sys/wait.h [__USE_BSD]: Likewise.
12408         [__USE_SVID]: Likewise.
12409         * posix/unistd.h [__USE_BSD]: Likewise.
12410         [__USE_SVID]: Likewise.
12411         * pwd/pwd.h [__USE_SVID]: Likewise.
12412         * resolv/netdb.h [__USE_BSD]: Likewise.
12413         * setjmp/setjmp.h [__USE_BSD]: Likewise.
12414         * signal/signal.h [__USE_BSD]: Likewise.
12415         [__USE_SVID]: Likewise.
12416         * socket/sys/socket.h [__USE_BSD]: Likewise.
12417         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12418         * stdlib/stdlib.h [__USE_BSD]: Likewise.
12419         [__USE_SVID]: Likewise.
12420         * string/bits/string2.h [__USE_BSD]: Likewise.
12421         [__USE_SVID]: Likewise.
12422         * string/bits/string3.h [__USE_BSD]: Likewise.
12423         * string/endian.h [__USE_BSD]: Likewise.
12424         * string/string.h [__USE_SVID]: Likewise.
12425         [__USE_BSD]: Likewise.
12426         * string/strings.h [__USE_BSD]: Likewise.
12427         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12428         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12429         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12430         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12431         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12432         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12433         Likewise.
12434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12435         Likewise.
12436         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12437         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12438         Likewise.
12439         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12440         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12441         Likewise.
12442         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12443         Likewise.
12444         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12445         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12446         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12447         Likewise.
12448         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12449         Likewise.
12450         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12451         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12452         * termios/termios.h [__USE_BSD]: Likewise.
12453         * time/sys/time.h [__USE_BSD]: Likewise.
12454         * time/time.h [__USE_BSD]: Likewise.
12455         [__USE_SVID]: Likewise.
12457         * Makefile (subdir_targets): Remove subdir_lint.out.
12459         * stdio-common/Makefile (do-tst-unbputc): Remove target.
12460         (do-tst-printf): Likewise.
12461         (tests): Depend directly on $(objpfx)tst-unbputc.out and
12462         $(objpfx)tst-printf.out.
12464         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12466         * Makerules (check-abi-%): Change target to
12467         $(objpfx)check-abi-%.out.
12468         (check-abi target): Update dependencies.
12469         (check-abi-pattern variable): Redirect output of diff to $@.
12470         (check-abi variable): Likewise.
12471         * elf/Makefile (check-abi): Update dependencies.
12473         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12474         unused.
12475         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12476         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12477         subnormal range.
12478         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12479         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12480         value has largest subnormal exponent.
12481         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12482         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12483         * sysdeps/aarch64/soft-fp/sfp-machine.h
12484         (_FP_TININESS_AFTER_ROUNDING): New macro.
12485         * sysdeps/alpha/soft-fp/sfp-machine.h
12486         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12487         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12488         Likewise.
12489         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12490         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12491         * sysdeps/mips/soft-fp/sfp-machine.h
12492         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12493         * sysdeps/powerpc/soft-fp/sfp-machine.h
12494         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12495         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12496         Likewise.
12497         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12498         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12499         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12500         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12501         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12502         Likewise.
12504 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
12506         [BZ #16545]
12507         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12508         model 1.
12510 2014-02-12  Richard Henderson  <rth@redhat.com>
12512         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12513         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12514         * sysdeps/unix/sysv/linux/alpha: Move directory from
12515         ports/sysdeps/unix/sysv/linux/alpha.
12516         * README: Update listing for alpha-*-linux-gnu.
12518 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
12520         * include/features.h: Update comment documenting feature test
12521         macros.
12522         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
12523         _DEFAULT_SOURCE.
12524         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12525         (_SVID_SOURCE): Likewise.
12526         (_DEFAULT_SOURCE): Update description of default features.
12527         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12528         with _GNU_SOURCE.
12529         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12530         (S_ISVTX): Likewise.
12531         * manual/math.texi (Mathematical Constants): Likewise.
12532         * manual/signal.texi (Interrupted Primitives): Likewise.
12533         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12534         * math/test-matherr.c (_SVID_SOURCE): Do not define.
12535         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12536         Don't refer to _SVID_SOURCE in warning text.
12538         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12540         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12541         already defined.
12542         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12543         * sysdeps/mips/dl-lookup.c: Remove.
12544         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12546 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12548         [BZ #16447]
12549         * math/auto-libm-test-in: Add testcase for expl.
12550         * math/auto-libm-test-out: Regenerate.
12551         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12552         calculation of unsafe.
12553         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12555 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12557         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12558         * sysdeps/unix/sysv/linux/aarch64: Move directory from
12559         ports/sysdeps/unix/sysv/linux/aarch64.
12560         * README: Update listing for aarch64*-*-linux-gnu.
12562 2014-02-11  Will Newton  <will.newton@linaro.org>
12564         * manual/probes.texi (Mathematical Function Probes): Use
12565         "triggered" instead of "hit".
12567         * manual/probes.texi (Internal Probes): Add documentation
12568         of setjmp, longjmp and longjmp_target probes.
12570         * include/stap-probe.h: Add comment about probe argument
12571         format.
12573         * malloc/mtrace.c (attribute_hidden): Remove unused macro
12574         definition.  (tr_where, tr_freehook, tr_mallochook,
12575         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12577 2014-02-11  David S. Miller  <davem@davemloft.net>
12579         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12580         processing int_tests.
12582 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
12584         * sysdeps/mips: Move directory from ports/sysdeps/mips.
12585         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12586         * sysdeps/unix/sysv/linux/mips: Move directory from
12587         ports/sysdeps/unix/sysv/linux/mips.
12588         * README: Update listing for mips-*-linux-gnu and
12589         mips64-*-linux-gnu.
12591 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12593         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12594         * sysdeps/unix/sysv/linux/m68k: Move directory from
12595         ports/sysdeps/unix/sysv/linux/m68k.
12596         * README: Update listing for m68k-*-linux-gnu.
12598 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
12600         * sysdeps/tile: Move directory from ports/sysdeps/tile.
12601         * sysdeps/unix/sysv/linux/generic: Move directory from
12602         ports/sysdeps/unix/sysv/linux/generic.
12603         * sysdeps/unix/sysv/linux/tile: Move directory from
12604         ports/sysdeps/unix/sysv/linux/tile.
12605         * README: Update listing for tile*-*-linux-gnu.
12607 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
12609         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12610         __builtin_expect.
12611         * benchtests/bench-memmem.c (simple_memmem): Likewise.
12612         * catgets/open_catalog.c (__open_catalog): Likewise.
12613         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12614         * debug/confstr_chk.c: Likewise.
12615         * debug/fread_chk.c (__fread_chk): Likewise.
12616         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12617         * debug/getgroups_chk.c: Likewise.
12618         * debug/mbsnrtowcs_chk.c: Likewise.
12619         * debug/mbsrtowcs_chk.c: Likewise.
12620         * debug/mbstowcs_chk.c: Likewise.
12621         * debug/memcpy_chk.c: Likewise.
12622         * debug/memmove_chk.c: Likewise.
12623         * debug/mempcpy_chk.c: Likewise.
12624         * debug/memset_chk.c: Likewise.
12625         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12626         * debug/strcat_chk.c (__strcat_chk): Likewise.
12627         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12628         * debug/strncat_chk.c (__strncat_chk): Likewise.
12629         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12630         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12631         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12632         * debug/wcpncpy_chk.c: Likewise.
12633         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12634         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12635         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12636         * debug/wcsncpy_chk.c: Likewise.
12637         * debug/wcsnrtombs_chk.c: Likewise.
12638         * debug/wcsrtombs_chk.c: Likewise.
12639         * debug/wcstombs_chk.c: Likewise.
12640         * debug/wmemcpy_chk.c: Likewise.
12641         * debug/wmemmove_chk.c: Likewise.
12642         * debug/wmempcpy_chk.c: Likewise.
12643         * debug/wmemset_chk.c: Likewise.
12644         * dirent/scandirat.c (SCANDIRAT): Likewise.
12645         * dlfcn/dladdr1.c (dladdr1): Likewise.
12646         * dlfcn/dladdr.c (dladdr): Likewise.
12647         * dlfcn/dlclose.c (dlclose_doit): Likewise.
12648         * dlfcn/dlerror.c (__dlerror): Likewise.
12649         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12650         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12651         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12652         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12653         * dlfcn/dlsym.c (dlsym_doit): Likewise.
12654         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12655         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12656         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12657         Likewise.
12658         * elf/dl-conflict.c: Likewise.
12659         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12660         * elf/dl-dst.h: Likewise.
12661         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12662         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12663         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12664         * elf/dl-init.c (call_init, _dl_init): Likewise.
12665         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12666         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12667         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12668         Likewise.
12669         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12670         Likewise.
12671         * elf/dl-minimal.c (__libc_memalign): Likewise.
12672         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12673         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12674         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12675         * elf/dl-sym.c (do_sym): Likewise.
12676         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12677         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12678         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12679         * elf/dl-writev.h (_dl_writev): Likewise.
12680         * elf/ldconfig.c (search_dir): Likewise.
12681         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12682         (dl_main): Likewise.
12683         * elf/setup-vdso.h (setup_vdso): Likewise.
12684         * grp/compat-initgroups.c (compat_call): Likewise.
12685         * grp/fgetgrent.c (fgetgrent): Likewise.
12686         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12687         * grp/putgrent.c (putgrent): Likewise.
12688         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12689         Likewise.
12690         * hurd/hurdinit.c: Likewise.
12691         * iconvdata/8bit-gap.c (struct): Likewise.
12692         * iconvdata/ansi_x3.110.c : Likewise.
12693         * iconvdata/big5.c : Likewise.
12694         * iconvdata/big5hkscs.c : Likewise.
12695         * iconvdata/cp1255.c: Likewise.
12696         * iconvdata/cp1258.c : Likewise.
12697         * iconvdata/cp932.c : Likewise.
12698         * iconvdata/euc-cn.c: Likewise.
12699         * iconvdata/euc-jisx0213.c : Likewise.
12700         * iconvdata/euc-jp.c: Likewise.
12701         * iconvdata/euc-jp-ms.c : Likewise.
12702         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12703         * iconvdata/gb18030.c : Likewise.
12704         * iconvdata/gbbig5.c (const): Likewise.
12705         * iconvdata/gbgbk.c: Likewise.
12706         * iconvdata/gbk.c : Likewise.
12707         * iconvdata/ibm1364.c : Likewise.
12708         * iconvdata/ibm930.c : Likewise.
12709         * iconvdata/ibm932.c: Likewise.
12710         * iconvdata/ibm933.c : Likewise.
12711         * iconvdata/ibm935.c : Likewise.
12712         * iconvdata/ibm937.c : Likewise.
12713         * iconvdata/ibm939.c : Likewise.
12714         * iconvdata/ibm943.c: Likewise.
12715         * iconvdata/iso_11548-1.c: Likewise.
12716         * iconvdata/iso-2022-cn.c : Likewise.
12717         * iconvdata/iso-2022-cn-ext.c : Likewise.
12718         * iconvdata/iso-2022-jp-3.c: Likewise.
12719         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12720         * iconvdata/iso-2022-kr.c : Likewise.
12721         * iconvdata/iso646.c (gconv_end): Likewise.
12722         * iconvdata/iso_6937-2.c : Likewise.
12723         * iconvdata/iso_6937.c : Likewise.
12724         * iconvdata/iso8859-1.c: Likewise.
12725         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12726         * iconvdata/shift_jisx0213.c : Likewise.
12727         * iconvdata/sjis.c : Likewise.
12728         * iconvdata/t.61.c : Likewise.
12729         * iconvdata/tcvn5712-1.c : Likewise.
12730         * iconvdata/tscii.c: Likewise.
12731         * iconvdata/uhc.c : Likewise.
12732         * iconvdata/unicode.c (gconv_end): Likewise.
12733         * iconvdata/utf-16.c (gconv_end): Likewise.
12734         * iconvdata/utf-32.c (gconv_end): Likewise.
12735         * iconvdata/utf-7.c (base64): Likewise.
12736         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12737         * iconv/gconv_close.c (__gconv_close): Likewise.
12738         * iconv/gconv_open.c (__gconv_open): Likewise.
12739         * iconv/gconv_simple.c (internal_ucs4_loop_single)
12740         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12741         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12742         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12743         (ucs4le_internal_loop_single): Likewise.
12744         * iconv/iconv.c (iconv): Likewise.
12745         * iconv/iconv_close.c: Likewise.
12746         * iconv/loop.c (SINGLE): Likewise.
12747         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12748         * include/atomic.h: Likewise.
12749         * inet/inet6_option.c (option_alloc): Likewise.
12750         * intl/bindtextdom.c (set_binding_values): Likewise.
12751         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12752         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12753         * intl/localealias.c (read_alias_file): Likewise.
12754         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12755         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12756         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12757         * libio/fmemopen.c (fmemopen): Likewise.
12758         * libio/iofgets.c (_IO_fgets): Likewise.
12759         * libio/iofgets_u.c (fgets_unlocked): Likewise.
12760         * libio/iofgetws.c (fgetws): Likewise.
12761         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12762         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12763         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12764         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12765         * locale/findlocale.c (_nl_find_locale): Likewise.
12766         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12767         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12768         Likewise.
12769         * locale/setlocale.c (setlocale): Likewise.
12770         * login/programs/pt_chown.c (main): Likewise.
12771         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12772         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12773         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12774         (mmap, mmap64, mremap, munmap): Likewise.
12775         * math/e_exp2l.c: Likewise.
12776         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12777         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12778         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12779         * math/s_catan.c (__catan): Likewise.
12780         * math/s_catanf.c (__catanf): Likewise.
12781         * math/s_catanh.c (__catanh): Likewise.
12782         * math/s_catanhf.c (__catanhf): Likewise.
12783         * math/s_catanhl.c (__catanhl): Likewise.
12784         * math/s_catanl.c (__catanl): Likewise.
12785         * math/s_ccosh.c (__ccosh): Likewise.
12786         * math/s_ccoshf.c (__ccoshf): Likewise.
12787         * math/s_ccoshl.c (__ccoshl): Likewise.
12788         * math/s_cexp.c (__cexp): Likewise.
12789         * math/s_cexpf.c (__cexpf): Likewise.
12790         * math/s_cexpl.c (__cexpl): Likewise.
12791         * math/s_clog10.c (__clog10): Likewise.
12792         * math/s_clog10f.c (__clog10f): Likewise.
12793         * math/s_clog10l.c (__clog10l): Likewise.
12794         * math/s_clog.c (__clog): Likewise.
12795         * math/s_clogf.c (__clogf): Likewise.
12796         * math/s_clogl.c (__clogl): Likewise.
12797         * math/s_csin.c (__csin): Likewise.
12798         * math/s_csinf.c (__csinf): Likewise.
12799         * math/s_csinh.c (__csinh): Likewise.
12800         * math/s_csinhf.c (__csinhf): Likewise.
12801         * math/s_csinhl.c (__csinhl): Likewise.
12802         * math/s_csinl.c (__csinl): Likewise.
12803         * math/s_csqrt.c (__csqrt): Likewise.
12804         * math/s_csqrtf.c (__csqrtf): Likewise.
12805         * math/s_csqrtl.c (__csqrtl): Likewise.
12806         * math/s_ctan.c (__ctan): Likewise.
12807         * math/s_ctanf.c (__ctanf): Likewise.
12808         * math/s_ctanh.c (__ctanh): Likewise.
12809         * math/s_ctanhf.c (__ctanhf): Likewise.
12810         * math/s_ctanhl.c (__ctanhl): Likewise.
12811         * math/s_ctanl.c (__ctanl): Likewise.
12812         * math/w_pow.c: Likewise.
12813         * math/w_powf.c: Likewise.
12814         * math/w_powl.c: Likewise.
12815         * math/w_scalb.c (sysv_scalb): Likewise.
12816         * math/w_scalbf.c (sysv_scalbf): Likewise.
12817         * math/w_scalbl.c (sysv_scalbl): Likewise.
12818         * misc/error.c (error_tail): Likewise.
12819         * misc/pselect.c (__pselect): Likewise.
12820         * nis/nis_callback.c (__nis_create_callback): Likewise.
12821         * nis/nis_call.c (__nisfind_server): Likewise.
12822         * nis/nis_creategroup.c (nis_creategroup): Likewise.
12823         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12824         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12825         * nis/nis_getservlist.c (nis_getservlist): Likewise.
12826         * nis/nis_lookup.c (nis_lookup): Likewise.
12827         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12828         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12829         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12830         * nis/nis_xdr.c (xdr_endpoint): Likewise.
12831         * nis/nss_compat/compat-grp.c (getgrent_next_file)
12832         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12833         * nis/nss_compat/compat-initgroups.c (add_group)
12834         (internal_getgrent_r): Likewise.
12835         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12836         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12837         * nis/nss_compat/compat-spwd.c (getspent_next_file)
12838         (internal_getspnam_r): Likewise.
12839         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12840         (_nss_nis_getaliasbyname_r): Likewise.
12841         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12842         (_nss_nis_getntohost_r): Likewise.
12843         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12844         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12845         (_nss_nis_getgrgid_r): Likewise.
12846         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12847         (internal_nis_gethostent_r, internal_gethostbyname2_r)
12848         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12849         (_nss_nis_gethostbyname4_r): Likewise.
12850         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12851         (initgroups_netid): Likewise.
12852         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12853         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12854         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12855         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12856         (_nss_nis_getprotobynumber_r): Likewise.
12857         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12858         (_nss_nis_getsecretkey): Likewise.
12859         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12860         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12861         (_nss_nis_getpwuid_r): Likewise.
12862         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12863         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12864         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12865         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12866         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12867         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12868         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12869         Likewise.
12870         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12871         (_nss_nisplus_getntohost_r): Likewise.
12872         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12873         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12874         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12875         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12876         Likewise.
12877         * nis/nss_nisplus/nisplus-initgroups.c
12878         (_nss_nisplus_initgroups_dyn): Likewise.
12879         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12880         (_nss_nisplus_getnetbyaddr_r): Likewise.
12881         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12882         (_nss_nisplus_getprotobynumber_r): Likewise.
12883         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12884         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12885         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12886         Likewise.
12887         * nis/nss_nisplus/nisplus-service.c
12888         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12889         (_nss_nisplus_getservbyport_r): Likewise.
12890         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12891         (_nss_nisplus_getspnam_r): Likewise.
12892         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12893         Likewise.
12894         * nscd/aicache.c (addhstaiX): Likewise.
12895         * nscd/cache.c (cache_search, prune_cache): Likewise.
12896         * nscd/connections.c (register_traced_file, send_ro_fd)
12897         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12898         (main_loop_epoll): Likewise.
12899         * nscd/grpcache.c (addgrbyX): Likewise.
12900         * nscd/hstcache.c (addhstbyX): Likewise.
12901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12902         * nscd/mem.c (gc, mempool_alloc): Likewise.
12903         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12904         (addinnetgrX): Likewise.
12905         * nscd/nscd-client.h (__nscd_acquire_maplock)
12906         (__nscd_drop_map_ref): Likewise.
12907         * nscd/nscd_getai.c (__nscd_getai): Likewise.
12908         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12909         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12910         Likewise.
12911         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12912         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12913         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12914         (__nscd_get_map_ref): Likewise.
12915         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12916         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12917         Likewise.
12918         * nscd/pwdcache.c (addpwbyX): Likewise.
12919         * nscd/selinux.c (preserve_capabilities): Likewise.
12920         * nscd/servicescache.c (addservbyX): Likewise.
12921         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12922         * posix/fnmatch.c (fnmatch): Likewise.
12923         * posix/getopt.c (_getopt_internal_r): Likewise.
12924         * posix/glob.c (glob, glob_in_dir): Likewise.
12925         * posix/wordexp.c (exec_comm_child): Likewise.
12926         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12927         (getanswer_r, gaih_getanswer_slice): Likewise.
12928         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12929         * resolv/res_init.c: Likewise.
12930         * resolv/res_mkquery.c (res_nmkquery): Likewise.
12931         * resolv/res_query.c (__libc_res_nquery): Likewise.
12932         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12933         Likewise.
12934         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12935         * stdio-common/perror.c (perror): Likewise.
12936         * stdio-common/printf_fp.c (___printf_fp): Likewise.
12937         * stdio-common/tmpnam.c (tmpnam): Likewise.
12938         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12939         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12940         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12941         Likewise.
12942         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12943         * stdlib/putenv.c (putenv): Likewise.
12944         * stdlib/setenv.c (__add_to_environ): Likewise.
12945         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12946         * stdlib/strtol_l.c (INTERNAL): Likewise.
12947         * string/memmem.c (memmem): Likewise.
12948         * string/strerror.c (strerror): Likewise.
12949         * string/strnlen.c (__strnlen): Likewise.
12950         * string/test-memmem.c (simple_memmem): Likewise.
12951         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12952         * sunrpc/pm_getport.c (__get_socket): Likewise.
12953         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12954         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12955         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12956         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12957         Likewise.
12958         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12959         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12960         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12961         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12962         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12963         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12964         Likewise.
12965         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12966         Likewise.
12967         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12968         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12969         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12970         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12971         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12973         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12974         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12975         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12976         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12977         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12978         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12979         Likewise.
12980         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12981         Likewise.
12982         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12983         Likewise.
12984         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12985         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12986         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12987         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12988         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12989         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12990         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12992         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12993         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12994         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12995         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12996         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12997         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12998         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12999         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13000         Likewise.
13001         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13002         Likewise.
13003         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13004         Likewise.
13005         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13006         Likewise.
13007         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13008         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13009         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13010         Likewise.
13011         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13012         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13013         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13014         * sysdeps/posix/sleep.c: Likewise.
13015         * sysdeps/posix/tempname.c: Likewise.
13016         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13017         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13018         Likewise.
13019         * sysdeps/powerpc/powerpc32/dl-machine.h
13020         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13021         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13022         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13023         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13024         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13025         Likewise.
13026         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13027         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13028         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13029         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13030         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13031         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13032         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13033         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13034         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13035         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13036         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13037         (elf_machine_lazy_rel): Likewise.
13038         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13040         (elf_machine_lazy_rel): Likewise.
13041         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13042         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13043         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13044         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13045         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13046         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13047         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13048         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13049         Likewise.
13050         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13051         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13052         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13053         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13054         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13055         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13056         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13057         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13058         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13059         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13060         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13061         Likewise.
13062         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13063         (__posix_fallocate64_l64): Likewise.
13064         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13065         (posix_fallocate): Likewise.
13066         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13067         Likewise.
13068         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13069         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13070         (getifaddrs_internal): Likewise.
13071         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13072         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13073         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13074         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13075         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13076         (__posix_fallocate64_l64): Likewise.
13077         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13078         Likewise.
13079         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13080         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13081         (__get_clockfreq): Likewise.
13082         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13083         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13084         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13085         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13086         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13087         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13088         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13089         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13090         Likewise.
13091         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13092         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13093         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13094         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13095         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13096         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13097         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13098         Likewise.
13099         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13100         (posix_fallocate): Likewise.
13101         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13102         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13103         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13104         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13105         (elf_machine_rela, elf_machine_rela_relative)
13106         (elf_machine_lazy_rel): Likewise.
13107         * time/asctime.c (asctime_internal): Likewise.
13108         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13109         * time/tzset.c (__tzset_parse_tz): Likewise.
13110         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13111         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13112         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13113         * wcsmbs/wcsmbsload.h: Likewise.
13115         [BZ #15894]
13116         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13118         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13119         (arena_get2): Remove THREAD_STATS conditionals.
13120         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13121         (__malloc_stats, int): Likewise.
13123 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13125         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13126         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13128         * manual/setjmp.texi: Fix typos/grammar errors.
13130         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13131         Only return early when n is <= 0.  Delete unused return statement.
13133         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13134         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13135         * debug/tst-longjmp_chk3.c: New file.
13137         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13138         (test_main): Replace code with set_fortify_handler call.
13139         * debug/test-strcpy_chk.c: Likewise.
13140         * debug/tst-chk1.c: Likewise.
13141         * debug/tst-longjmp_chk.c: Likewise.
13142         * test-skeleton.c: Include fcntl.h & paths.h
13143         (set_fortify_handler): Define.
13145         * debug/tst-longjmp_chk.c: Add header comment and include
13146         ../test-skeleton.c.
13147         (do_test): Mark static.
13148         (TEST_FUNCTION): Define.
13150         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13151         (IP_PMTUDISC_INTERFACE): Likewise.
13152         (IP_MULTICAST_IF): Likewise.
13153         (IP_MULTICAST_TTL): Likewise.
13154         (IP_MULTICAST_LOOP): Likewise.
13155         (IP_ADD_MEMBERSHIP): Likewise.
13156         (IP_DROP_MEMBERSHIP): Likewise.
13157         (IP_UNBLOCK_SOURCE): Likewise.
13158         (IP_BLOCK_SOURCE): Likewise.
13159         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13160         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13161         (IP_MSFILTER): Likewise.
13162         (MCAST_JOIN_GROUP): Likewise.
13163         (MCAST_BLOCK_SOURCE): Likewise.
13164         (MCAST_UNBLOCK_SOURCE): Likewise.
13165         (MCAST_LEAVE_GROUP): Likewise.
13166         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13167         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13168         (MCAST_MSFILTER): Likewise.
13169         (IP_MULTICAST_ALL): Likewise.
13170         (IP_UNICAST_IF): Likewise.
13172         * timezone/Makefile: Delete $(have-ksh) check.
13173         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13174         * timezone/tzselect.ksh: Add +x mode bits.
13176         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13177         (ANON_INODE_FS_MAGIC): Likewise.
13178         (BDEVFS_MAGIC): Likewise.
13179         (BINFMTFS_MAGIC): Likewise.
13180         (BTRFS_TEST_MAGIC): Likewise.
13181         (CRAMFS_MAGIC_WEND): Likewise.
13182         (DEBUGFS_MAGIC): Likewise.
13183         (ECRYPTFS_SUPER_MAGIC): Likewise.
13184         (EXT3_SUPER_MAGIC): Likewise.
13185         (EXT4_SUPER_MAGIC): Likewise.
13186         (FUTEXFS_SUPER_MAGIC): Likewise.
13187         (HOSTFS_SUPER_MAGIC): Likewise.
13188         (HUGETLBFS_MAGIC): Likewise.
13189         (MINIX3_SUPER_MAGIC): Likewise.
13190         (MTD_INODE_FS_MAGIC): Likewise.
13191         (NILFS_SUPER_MAGIC): Likewise.
13192         (OPENPROM_SUPER_MAGIC): Likewise.
13193         (PIPEFS_MAGIC): Likewise.
13194         (PSTOREFS_MAGIC): Likewise.
13195         (QNX6_SUPER_MAGIC): Likewise.
13196         (RAMFS_MAGIC): Likewise.
13197         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13198         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13199         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13200         (SECURITYFS_MAGIC): Likewise.
13201         (SELINUX_MAGIC): Likewise.
13202         (SMACK_MAGIC): Likewise.
13203         (SOCKFS_MAGIC): Likewise.
13204         (SQUASHFS_MAGIC): Likewise.
13205         (STACK_END_MAGIC): Likewise.
13206         (TMPFS_MAGIC): Likewise.
13207         (USBDEVICE_SUPER_MAGIC): Likewise.
13208         (V9FS_MAGIC): Likewise.
13209         (XENFS_SUPER_MAGIC): Likewise.
13210         (CRAMFS_MAGIC): Fix typo in comment.
13211         (EXT2_SUPER_MAGIC): Update comment.
13212         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13214 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
13216         * sysdeps/arm: Move directory from ports/sysdeps/arm.
13217         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13218         * sysdeps/unix/sysv/linux/arm: Move directory from
13219         ports/sysdeps/unix/sysv/linux/arm.
13220         * README: Update listing for arm-*-linux-gnueabi.
13222         * README: Remove mention of am33.
13224 2014-02-07  Roland McGrath  <roland@hack.frob.com>
13226         * bits/sigset.h (__sigemptyset): Use a statement expression rather
13227         than the comma operator, to avoid "rhs of comma has no effect"
13228         compiler warnings.
13229         (__sigfillset, __sigandset, __sigorset): Likewise.
13230         * include/signal.h (__sigemptyset): Likewise.
13231         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13233 2014-02-07  Allan McRae  <allan@archlinux.org>
13235         * version.h (RELEASE): Set to "development".
13236         (VERSION): Set to "2.19.90"
13237         * NEWS: Add 2.20 section.
13239 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
13241         [BZ #16529]
13242         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13244 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13246         * manual/contrib.texi: Update entry for Carlos O'Donell,
13247         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13249 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
13251         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13253         * sysdeps/unix/sysv/linux/kernel-features.h
13254         [__LINUX_KERNEL_VERSION >= 0x020621]
13255         (__ASSUME_PROC_PID_TASK_COMM): Define.
13257 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13259         [BZ #16398]
13260         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13261         conversion when destination buffer does not have enough space.
13262         * libio/tst-ftell-partial-wide.c: New test case.
13263         * libio/Makefile (tests): Add tst-ftell-partial-wide.
13265         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13266         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13267         Leonard and Allan McRae.
13269 2014-02-04  David S. Miller  <davem@davemloft.net>
13271         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13272         32-bit.
13274 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13277         New file
13278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13279         New file
13280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13281         New file.
13282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13283         New file.
13284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13285         New file.
13286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13287         New file.
13288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13289         New file.
13290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13291         New file.
13292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13293         New file.
13294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13295         New file.
13296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13297         New file.
13298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13299         New file.
13300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13301         New file.
13303 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13305         * nptl/shlib-versions: Change powerpc*le start to 2.17.
13306         * shlib-versions: Likewise.
13308 2014-02-04  Roland McGrath  <roland@hack.frob.com>
13309             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13311         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13312         (abilist-pattern): New variable, set to %-le.abilist.
13314         * Makerules (abilist-pattern): New variable.
13315         (vpath): Use $(abilist-pattern) in place of %.abilist.
13316         (check-abi-% pattern rule): Likewise.
13317         (check-abi, update-abi): Likewise.
13319 2014-02-04  Eric Wong  <normalperson@yhbt.net>
13321         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13323 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
13325         * manual/startup.texi: Add next, previous, and top entries for
13326         the `Program Arguments' and `Environment Variables' nodes.
13328 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
13330         * manual/macros.texi: Add comments before MTASC-safety macros.
13332         * manual/users.texi: Document MTASC-safety properties.
13334         * manual/threads.texi (pthread_key_create, pthread_key_delete)
13335         (pthread_getspecific, pthread_setspecific): Format with
13336         @deftypefun, and add @safety note.
13337         * manual/signal.texi: Move comments that analyze the above
13338         functions to their home place.
13340 2014-02-03  Allan McRae  <allan@archlinux.org>
13342         * po/sl.po: Update Slovenian translation from translation project.
13344 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
13346         * manual/time.texi (timegm): Add missing blank after @c.
13347         Reported by Joseph Myers <joseph@codesourcery.com>.
13349 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
13351         * manual/check-safety.sh: New.
13352         * manual/Makefile ($(objpfx)stamp-summary): Run it.
13354         * manual/terminal.texi: Document MTASC-safety properties.
13356         * manual/filesys.texi: Document MTASC-safety properties.
13358         * manual/errno.texi: Document MTASC-safety properties.
13360         * manual/intro.texi: Document safety identifiers and
13361         conditionals.
13363         * manual/string.texi (wcstok): Fix prototype.
13364         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13366         * manual/time.texi: Document MTASC-safety properties.
13368         * manual/string.texi: Document MTASC-safety properties.
13370         * manual/threads.texi: Document MTASC-safety properties.
13372         * manual/stdio.texi: Document MTASC-safety properties.
13374         * manual/syslog.texi: Document MTASC-safety properties.
13376         * manual/sysinfo.texi: Document MTASC-safety properties.
13378         * manual/startup.texi: Document MTASC-safety properties.
13380         * manual/socket.texi: Document MTASC-safety properties.
13382         * manual/signal.texi: Document MTASC-safety properties.
13384 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
13386         * manual/setjmp.texi: Document MTASC-safety properties.
13388         * manual/search.texi: Document MTASC-safety properties.
13390         * manual/resource.texi: Document MTASC-safety properties.
13392         * manual/process.texi: Document MTASC-safety properties.
13394         * manual/platform.texi: Document MTASC-safety properties.
13396         * manual/pipe.texi: Document MTASC-safety properties.
13398         * manual/pattern.texi: Document MTASC-safety properties.
13400         * manual/message.texi: Document MTASC-safety properties.
13402         [BZ #12751]
13403         * manual/memory.texi: Document MTASC-safety properties.
13405         * manual/math.texi: Document MTASC-safety properties.
13407         * manual/locale.texi: Document MTASC-safety properties.
13409         * manual/llio.texi: Document MTASC-safety properties.
13411         * manual/libdl.texi: New.
13413         * manual/lang.texi: Document MTASC-safety properties.
13415         * manual/job.texi: Document MTASC-safety properties.
13417         * manual/getopt.texi: Document MTASC-safety properties.
13419         * manual/ctype.texi: Document MTASC-safety properties.
13421 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
13423         [BZ #16046]
13424         * csu/libc-tls.c (static_map): Remove variable.
13425         (__libc_setup_tls): Use main executable's link map for TLS data.
13426         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13427         casing for LM_ID_BASE and GL(dl_nns).
13428         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13429         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
13430         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13431         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13432         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13433         member.
13434         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13435         l_phnum members.
13437 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
13439         * manual/debug.texi: Document MTASC-safety properties.
13441 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
13443         [BZ #16510]
13444         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13445         of __x86_64__ when disabling x87 inline functions.
13447 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13449         * manual/charset.texi: Document MTASC-safety properties.
13451         * manual/crypt.texi: Document MTASC-safety properties.
13453         * manual/conf.texi: Document MTASC-safety properties.
13455         * manual/arith.texi: Document MTASC-safety properties.
13457         * manual/argp.texi: Document MTASC-safety properties.
13459         * manual/macros.texi: Introduce macros to document multi
13460         thread, asynchronous signal and asynchronous cancellation
13461         safety properties.
13462         * manual/intro.texi: Introduce the properties themselves.
13464 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13466         * sysdeps/sh/sh4/Makefile: New file.
13468 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
13470         * math/gen-libm-test.pl ($srcdir): New variable.
13471         ($auto_input): Use it.
13473 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13475         [BZ #16506]
13476         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13477         access beyond array bounds when parsing netgroups file.
13479         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13480         the old buffer before realloc.
13482 2014-01-27  Allan McRae  <allan@archlinux.org>
13484         * po/fr.po: Update French translation from translation project.
13486 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13488         * sysdeps/sh/libm-test-ulps: Regenerate.
13490 2014-01-24  David S. Miller  <davem@davemloft.net>
13492         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13494 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13496         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13497         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13499 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13501         [BZ #16474]
13502         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13503         string pointers after reallocation.
13505 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13507         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13508         __SH4A__ instead of __SH_FPU_ANY__.
13510 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13512         * sysdeps/sh/fpu_control.h: New file.
13513         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13514         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13515         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13516         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13517         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13518         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13519         * sysdeps/sh/sys/ucontext.h: Remove.
13520         * sysdeps/sh/sys: Remove directory.
13522 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13524         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13525         s390/sys/ucontext.h.
13526         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13527         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13529 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
13531         [BZ #15605]
13532         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13534 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13536         [BZ#16431]
13537         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13538         Adjust the vDSO correctly for internal calls.
13539         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13541 2014-01-20  Allan McRae  <allan@archlinux.org>
13543         * po/ca.po: Update Catalan translation from translation project.
13545 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
13547         * sysdeps/s390/sotruss-lib.c: New file.
13549 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13551         [BZ#16430]
13552         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13553         (__GI___gettimeofday): Alias for a different internal symbol to avoid
13554         local calls issues by not having a PLT stub required for IFUNC calls.
13555         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13557 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
13559         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13560         * math/test-fpucw-static.c: Likewise.
13562 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13564         [BZ #16453]
13565         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13567 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13569         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13570         implementation for powerpc.
13572 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
13574         [BZ #14782]
13575         * sysdeps/posix/system.c (__libc_system): Do not enable
13576         asynchronous cancellation.
13578 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13580         [BZ #16427]
13581         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13582         handling only for numbers special also in the IEEE case.
13584 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13586         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13588 2014-01-11  Allan McRae  <allan@archlinux.org>
13590         * po/bg.po: Update Bulgarian translation from translation project.
13592         * po/de.po: Update German translation from translation project.
13594 2014-01-10  Roland McGrath  <roland@hack.frob.com>
13596         * sysdeps/generic/gcc-compat.h: New file.
13598 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13600         * benchtests/asin-inputs: Correct slow inputs.
13601         * benchtests/acos-inputs: Likewise.
13603 2014-01-10  Allan McRae  <allan@archlinux.org>
13605         * po:sv.po: Update Swedish translation from translation project.
13607         * po/vi.po: Update Vietnamese translation from translation project.
13609         * po/eo.po: Update Esperanto translation from translation project.
13611         * po/cs.po: Update Czech translation from translation project.
13613         * po/nl.po: Update Dutch translation from translation project.
13615         * po/pl.po: Update Polish translation from translation project.
13617         * po/ru.po: Update Russian translation from translation project.
13619         * po/uk.po: Update Ukrainian translation from translation project.
13621 2014-01-08  Brooks Moses  <bmoses@google.com>
13623         * elf/dl-load.c: Fix comment typo.
13625 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
13627         * po/header.pot: Rename to...
13628         * po/pot.header: ... this.
13629         * po/Makefile: Use pot.header.
13631 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
13632             Maxim Kuvyrkov  <maxim@kugelworks.com>
13634         [BZ #16394]
13635         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13636         SRC and DEST against LEN.
13638 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13640         [BZ #16414]
13641         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13642         implementation.
13643         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13645 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13649 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
13651         [BZ #16408]
13652         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13653         for large positive arguments.
13655 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
13657         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13659         * math/auto-libm-test-in: Mark various tests with
13660         xfail-rounding:ldbl-128ibm.
13661         * math/auto-libm-test-out: Regenerated.
13663         [BZ #16407]
13664         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13665         Increase overflow threshold.
13667 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
13669         [BZ #14286]
13670         * stdio-common/vfprintf.c: Check for integer overflow.
13672 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13674         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13675         the first argument and return value of __tls_get_addr_internal.
13677 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13679         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13680         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13682 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13684         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13685         * sysdeps/s390/rtld-global-offsets.sym: New file.
13686         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13687         GLIBC_2.19 symbol.
13688         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13689         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13690         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13691         ... this.
13692         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13693         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13694         ... this.
13695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13696         Regenerate.
13697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13698         Regenerate.
13699         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13700         halfs of GPRs for high_gprs contexts.
13701         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13702         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
13703         field.
13704         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13705         uc_flags field.
13706         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13707         64 bit versions:
13708         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13709         for high GPRs (uc_high_gprs) and for future extensions
13710         (__reserved).
13711         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13712         for future extensions (__reserved).
13713         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13714         64 bit versions:
13715         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13716         SC_HIGHGPRS offset definition.
13717         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13718         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13720         * Versions.def: Add GLIBC_2.19 for libpthread.
13721         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13722         siglongjmp for libpthread with GLIBC_2.19 symver.
13723         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13724         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13725         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13726         * sysdeps/s390/__longjmp.c: New file.
13727         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13728         * sysdeps/s390/longjmp.c: New file.
13729         * sysdeps/s390/setjmp.S: New file.
13730         * sysdeps/s390/sigjmp.S: New file.
13731         * sysdeps/s390/v1-longjmp.c: New file.
13732         * sysdeps/s390/v1-setjmp.h: New file.
13733         * sysdeps/s390/v1-sigjmp.c: New file.
13734         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13735         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13736         GLIBC_2.19 version.
13737         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13738         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13739         versioned symbols for ____longjmp_chk.
13740         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13741         Likewise.
13742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13743         Regenerate.
13744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13745         Regenerate.
13746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13747         Regenerate.
13748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13749         Regenerate.
13750         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13751         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13752         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13753         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13754         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13755         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13756         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13757         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13758         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13759         * sysdeps/s390/rtld-__longjmp.c: New file.
13760         * sysdeps/s390/rtld-setjmp.S: New file.
13762 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
13764         [BZ #16400]
13765         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13766         Return -__logl (x) for small positive arguments without evaluating
13767         a polynomial.
13769 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
13771         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13772         Rename to ...
13773         (__ptrace_peeksiginfo_args): ... this.
13774         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13775         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13776         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13778 2014-01-06  Allan McRae  <allan@archlinux.org>
13780         * inet/netinet/in.h: Fix typo in comment.
13782 2014-01-05  Andreas Jaeger  <aj@suse.de>
13784         * sysdeps/i386/fpu/libm-test-ulps: Update.
13786 2014-01-05  Allan McRae  <allan@archlinux.org>
13788         * po/libc.pot: Regenerated.
13790         * malloc/memusagestat.c: Fix gettext call formatting.
13792 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
13794         * nscd/nscd.c: Improve usage() output.
13796 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
13798         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13799         * sysdeps/unix/sysv/linux/configure: Regenerated.
13800         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13801         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13803 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13805         [BZ #16390]
13806         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13807         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13809 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13811         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13812         extra tokens at end of #undef directive.
13813         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13814         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13815         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13817 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13819         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13821         * math/auto-libm-test-in: Mark various tests with
13822         xfail-rounding:ldbl-128ibm.
13823         * math/auto-libm-test-out: Regenerated.
13825 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
13827         [BZ #16386]
13828         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13829         numbers with subnormal high part when calculating exponent.
13831         [BZ #16385]
13832         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13833         fabs.
13835         [BZ #16384]
13836         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13837         M_LN2l.
13838         (__ieee754_acoshl): Use __log1pl not __log1p.
13840 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
13842         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13843         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13844         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13845         (grow_heap, heap_trim, _int_new_arena, get_free_list)
13846         (reused_arena, arena_get2): Convert to GNU style.
13847         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13848         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13849         (memalign_check, __malloc_set_state): Likewise.
13850         * malloc/mallocbug.c (main): Likewise.
13851         * malloc/malloc.c (__malloc_assert, malloc_init_state)
13852         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13853         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13854         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13855         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13856         (__posix_memalign, malloc_info): Likewise.
13857         * malloc/malloc.h: Likewise.
13858         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13859         (mallochook, memalignhook, reallochook, mabort): Likewise.
13860         * malloc/mcheck.h: Likewise.
13861         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13862         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13863         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13864         * malloc/morecore.c (__default_morecore): Likewise.
13865         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13866         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13867         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13868         (print_and_abort): Likewise.
13869         * malloc/obstack.h: Likewise.
13870         * malloc/set-freeres.c (__libc_freeres): Likewise.
13871         * malloc/tst-mallocstate.c (main): Likewise.
13872         * malloc/tst-mtrace.c (main): Likewise.
13873         * malloc/tst-realloc.c (do_test): Likewise.
13875 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13877         [BZ #16366]
13878         * nscd/netgroupcache.c (do_notfound): New function.
13879         (addgetnetgrentX): Use it.
13881         [BZ # 16365]
13882         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13883         NSS_STATUS_NOTFOUND.
13885 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
13887         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13890 2014-01-01  Allan McRae  <allan@archlinux.org>
13892         * scripts/update-copyrights: Update configure input file suffix.
13894         * NEWS: Update copyright year.
13895         * catgets/gencat.c: Likewise.
13896         * csu/version.c: Likewise.
13897         * debug/catchsegv.sh: Likewise.
13898         * debug/pcprofiledump.c: Likewise.
13899         * debug/xtrace.sh: Likewise.
13900         * elf/ldconfig.c: Likewise.
13901         * elf/ldd.bash.in: Likewise.
13902         * elf/pldd.c: Likewise.
13903         * elf/sotruss.ksh: Likewise.
13904         * elf/sprof.c: Likewise.
13905         * iconv/iconv_prog.c: Likewise.
13906         * iconv/iconvconfig.c: Likewise.
13907         * locale/programs/locale.c: Likewise.
13908         * locale/programs/localedef.c: Likewise.
13909         * login/programs/pt_chown.c: Likewise.
13910         * malloc/memusage.sh: Likewise.
13911         * malloc/memusagestat.c: Likewise.
13912         * malloc/mtrace.pl: Likewise.
13913         * manual/libc.texinfo: Likewise.
13914         * nscd/nscd.c: Likewise.
13915         * nss/getent.c: Likewise.
13916         * nss/makedb.c: Likewise.
13917         * posix/getconf.c: Likewise.
13918         * scripts/test-installation.pl: Likewise.
13920         * All files with FSF copyright notices: Update copyright dates
13921         using scripts/update-copyrights.
13922         * intl/plural.c: Regenerated.
13923         * locale/programs/charmap-kw.h: Likewise.
13924         * locale/programs/locfile-kw.h: Likewise.
13926 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
13928         * sysdeps/unix/sysv/linux/configure: Regenerated.
13929         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13930         the linux/fanotify.h header.
13931         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13932         HAVE_LINUX_FANOTIFY_H is defined.
13934 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13936         * benchtests/cos-inputs: New inputs.
13937         * benchtests/sin-inputs: Likewise.
13939         * benchtests/atan-inputs: New inputs. Fix name of multiple
13940         precision fallback inputs.
13942         * benchtests/atanh-inputs: New inputs.
13943         * benchtests/tanh-inputs: Likewise.
13945         * benchtests/acosh-inputs: New inputs.
13946         * benchtests/asinh-inputs: Likewise.
13948         * benchtests/cosh-inputs: New inputs.
13949         * benchtests/sinh-inputs: Likewise.
13951         * benchtests/acos-inputs: Add more inputs.
13952         * benchtests/asin-inputs: Likewise.
13954 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
13956         [BZ #16375]
13957         * manual/arith.texi: Fix spelling.
13958         * manual/charset.texi: Likewise.
13959         * manual/errno.texi: Likewise.
13960         * manual/filesys.texi: Likewise.
13961         * manual/lang.texi: Likewise.
13962         * manual/llio.texi: Likewise.
13963         * manual/locale.texi: Likewise.
13964         * manual/message.texi: Likewise.
13965         * manual/resource.texi: Likewise.
13966         * manual/search.texi: Likewise.
13967         * manual/setjmp.texi: Likewise.
13968         * manual/stdio.texi: Likewise.
13969         * manual/string.texi: Likewise.
13970         * manual/sysinfo.texi: Likewise.
13971         * manual/time.texi: Likewise.
13973 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
13975         * po/sl.po: New file.
13977 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
13979         * .gitignore: Add core/.gdbinit/.gdb_history.
13981 2013-12-27  Allan McRae  <allan@archlinux.org>
13983         [BZ #16369]
13984         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13985         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13987 2013-12-24  Brooks Moses  <bmoses@google.com>
13989         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13990         all compilers that claim C++98 compliance, not just GCC.
13991         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13992         Likewise.
13994 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13996         * NEWS: Restore accidentally deleted bug-fix entries.
13998 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13999             Ondřej Bílka  <neleai@seznam.cz>
14001         [BZ #15073]
14002         * malloc/malloc.c (_int_free): Perform sanity check only if we
14003         have_lock.
14005 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14007         [BZ #12986]
14008         * manual/stdio.texi (String Input Conversions): Clarify that character
14009         classes are not supported.
14011 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14015 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14017         [BZ #16337]
14018         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14019         Calculate results for small negative arguments directly rather
14020         than using reflection formula with special underflow handling.
14022         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14023         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14024         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14025         (fchflags): Likewise.
14026         (revoke): Likewise.
14027         (setlogin): Likewise.
14028         (sigaltstack): Likewise.
14029         (wait4): Likewise.
14030         (sigblock): Remove.
14031         (sigsetmask): Likewise.
14032         (wait3): Likewise.
14033         (waitpid): Likewise.
14034         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14035         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14036         file.
14037         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14038         * sysdeps/unix/bsd/Makefile: ... here.
14039         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14040         * sysdeps/unix/bsd/Versions: ... here.
14041         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14042         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14043         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14044         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14045         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14046         * sysdeps/unix/bsd/sigblock.c: ... here.
14047         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14048         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14049         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14050         * sysdeps/unix/bsd/sigvec.c: ... here.
14051         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14052         * sysdeps/unix/bsd/tcdrain.c: ... here.
14053         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14054         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14055         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14056         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14057         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14058         * sysdeps/unix/bsd/wait.c: ... here.
14059         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14060         * sysdeps/unix/bsd/wait3.c: ... here.
14061         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14062         * sysdeps/unix/bsd/waitpid.c: ... here.
14064 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14066         [BZ #16356]
14067         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14068         round-to-nearest for [!USE_AS_EXPM1L].
14069         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14070         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14071         more tests of exp and exp10.  Expect some exp10 tests to miss
14072         exceptions or fail in directed rounding modes.
14073         * math/auto-libm-test-out: Regenerated.
14074         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14075         (exp10_test_tonearest): New function.
14076         (exp10_towardzero_test_data): New array.
14077         (exp10_test_towardzero): New function.
14078         (exp10_downward_test_data): New array.
14079         (exp10_test_downward): New function.
14080         (exp10_upward_test_data): New array.
14081         (exp10_test_upward): New function.
14082         (main): Call the new functions.
14083         * sysdeps/i386/fpu/libm-test-ulps: Update.
14084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14086 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14088         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14089         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14090         * math/auto-libm-test-out: Regenerated.
14091         * math/libm-test.inc (acosh_test_data): Add more tests.
14092         (atanh_test_data): Likewise.
14093         (ceil_test_data): Likewise.
14094         (copysign_test_data): Likewise.
14095         * sysdeps/i386/fpu/libm-test-ulps: Update.
14096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14098         * timezone/checktab.awk: Update from tzcode 2013i.
14099         * timezone/private.h: Likewise.
14100         * timezone/scheck.c: Likewise.
14101         * timezone/tzfile.h: Likewise.
14102         * timezone/tzselect.ksh: Likewise.
14103         * timezone/zdump.c: Likewise.
14104         * timezone/zic.c: Likewise.
14106         * math/auto-libm-test-in: Add tests of cpow.
14107         * math/auto-libm-test-out: Regenerated.
14108         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14109         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14110         mpc_cc_c.
14111         (func_calc_desc): Add mpc_cc_c union field.
14112         (test_functions): Add cpow.
14113         (special_fill_2pi): New function.
14114         (special_real_inputs): Add 2pi.
14115         (calc_generic_results): Handle mpc_cc_c.
14116         * sysdeps/i386/fpu/libm-test-ulps: Update.
14117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14119         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14120         csqrt, ctan and ctanh.
14121         * math/auto-libm-test-out: Regenerated.
14122         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14123         (TEST_COND_x86): Likewise.
14124         (ccos_test_data): Use AUTO_TESTS_c_c.
14125         (ccosh_test_data): Likewise.
14126         (cexp_test_data): Likewise.
14127         (clog_test_data): Likewise.
14128         (csqrt_test_data): Likewise.
14129         (ctan_test_data): Likewise.
14130         (ctan_tonearest_test_data): Likewise.
14131         (ctan_towardzero_test_data): Likewise.
14132         (ctan_downward_test_data): Likewise.
14133         (ctan_upward_test_data): Likewise.
14134         (ctanh_test_data): Likewise.
14135         (ctanh_tonearest_test_data): Likewise.
14136         (ctanh_towardzero_test_data): Likewise.
14137         (ctanh_downward_test_data): Likewise.
14138         (ctanh_upward_test_data): Likewise.
14139         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14140         mpc_c_c.
14141         (func_calc_desc): Add mpc_c_c union field.
14142         (FUNC_mpc_c_c): New macro.
14143         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14144         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14145         ctanh.
14146         (special_fill_min_subnorm_p120): New function.
14147         (special_real_inputs): Add min_subnorm_p120.
14148         (calc_generic_results): Handle mpc_c_c.
14149         * sysdeps/i386/fpu/libm-test-ulps: Update.
14150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14152 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14154         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14155         (do_sin_slow): New functions.
14156         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14157         (cslow2, csloww1, csloww2): Use the new functions.
14159         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14160         Use M to change sign of result instead of X.  Assume X is
14161         positive.
14162         (csloww1): Likewise.
14163         (__sin): Adjust.
14164         (__cos): Adjust.
14166         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14167         arguments A and DA.
14168         (__sin): Adjust.
14169         (__cos): Likewise.
14171         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14172         (__cos): Likewise.
14173         (sloww1): Don't adjust sign of DX.
14174         (csloww1): Likewise.
14175         (sloww2): Use X directly and don't adjust sign of DX.
14176         (csloww2): Likewise.
14178 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14180         * math/auto-libm-test-in: Add tests of cabs and carg.
14181         * math/auto-libm-test-out: Regenerated.
14182         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14183         (carg_test_data): Likewise.
14184         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14185         mpc_c_f.
14186         (func_calc_desc): Add mpc_c_f union field.
14187         (test_functions): Add cabs and carg.
14188         (calc_generic_results): Handle mpc_c_f.
14190         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14191         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14192         as a macro and a compat symbol.
14193         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14194         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14195         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14196         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14197         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14198         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14199         not use .hidden.
14200         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14201         Likewise.
14202         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14203         Likewise.
14204         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14205         Likewise.
14206         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14207         Likewise.
14208         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14209         Likewise.
14210         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14211         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14212         from GLIBC_2.3.2.
14214 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14218 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14220         * manual/texinfo.tex: Update to version 2013-11-26.10 with
14221         trailing whitespace removed.
14222         * scripts/config.guess: Update to version 2013-11-29.
14223         * scripts/config.sub: Update to version 2013-10-01.
14225         * math/auto-libm-test-in: Add tests of sincos.
14226         * math/auto-libm-test-out: Regenerated.
14227         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14228         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14229         mpfr_f_11.
14230         (func_calc_desc): Add mpfr_f_11 union field.
14231         (test_functions): Add sincos.
14232         (calc_generic_results): Handle mpfr_f_11.
14233         * sysdeps/i386/fpu/libm-test-ulps: Update.
14234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14236 2013-12-19  Andreas Schwab  <schwab@suse.de>
14238         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14239         CALL_MCOUNT.
14240         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14241         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14242         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14244 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14246         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14247         * sysdeps/i386/fpu/libm-test-ulps: Update.
14248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14250         [BZ #16293]
14251         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14252         round-to-nearest mode when using frndint.
14253         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14254         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14255         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14256         Likewise.
14257         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
14258         sinh test to fail.
14259         * math/auto-libm-test-out: Regenerated.
14260         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14261         (TEST_COND_x86): Likewise.
14262         (expm1_tonearest_test_data): New array.
14263         (expm1_test_tonearest): New function.
14264         (expm1_towardzero_test_data): New array.
14265         (expm1_test_towardzero): New function.
14266         (expm1_downward_test_data): New array.
14267         (expm1_test_downward): New function.
14268         (expm1_upward_test_data): New array.
14269         (expm1_test_upward): New function.
14270         (main): Run the new test functions.
14271         * sysdeps/i386/fpu/libm-test-ulps: Update.
14272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14274         * include/features.h: Update comment documenting feature test
14275         macros.  Mention _DEFAULT_SOURCE in comment.
14276         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14277         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14278         _BSD_SOURCE and _SVID_SOURCE.
14279         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14280         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14281         !_SVID_SOURCE]: Likewise.
14282         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14283         (__USE_POSIX_IMPLICITLY): Define.
14284         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14285         (_POSIX_SOURCE): Undefine and redefine.
14286         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14287         (_POSIX_C_SOURCE): Likewise.
14288         * manual/creature.texi (_DEFAULT_SOURCE): Document.
14289         (Feature Test Macros): Update documentation of default features.
14291 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14293         * benchtests/Makefile: Add bench-strtok.
14294         * benchtests/bench-strtok.c: New file: strtok benchtest.
14296 2013-12-19  Allan McRae  <allan@archlinux.org>
14298         * manual/install.texi: Suppress menu for plain text output.
14299         * INSTALL: Regenerated.
14301 2013-12-18  Brooks Moses  <bmoses@google.com>
14303         [BZ #15846]
14304         * misc/getauxval.c: Include errno.h.
14305         (__getauxval): Set errno to ENOENT if the requested type is not
14306         found.
14307         * misc/sys/auxv.h (getauxval): Document that it may set errno;
14308         don't declare with __attribute_const__.
14309         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14310         * manual/startup.texi: Document that getauxval sets errno.
14312 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14314         * math/auto-libm-test-in: Add tests of jn and yn.
14315         * math/auto-libm-test-out: Regenerated.
14316         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14317         (yn_test_data): Likewise.
14318         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14319         mpfr_if_f.
14320         (func_calc_desc): Add mpfr_if_f union field.
14321         (FUNC_mpfr_if_f): New macro.
14322         (test_functions): Add jn and yn.
14323         (calc_generic_results): Assert type of second input for
14324         mpfr_ff_f.  Handle mpfr_if_f.
14325         (output_for_one_input_case): Disable all checking for arguments
14326         fitting floating-point types in case of an integer argument.
14327         * sysdeps/i386/fpu/libm-test-ulps: Update.
14328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14331         Don't expect fegetround reference in libm.so.
14333 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14335         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14336         $(config-cflags-nofma).
14338 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14340         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14341         * math/auto-libm-test-out: Regenerated.
14343         [BZ #16338]
14344         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14345         to determine exponent and adjust argument to have exponent of -1.
14346         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14347         log2.
14348         * math/auto-libm-test-out: Regenerated.
14349         * sysdeps/i386/fpu/libm-test-ulps: Update.
14350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14352 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
14354         * manual/probes.texi: Remove cases when per-thread arenas are
14355         disabled.
14357 2013-12-18  Andreas Schwab  <schwab@suse.de>
14359         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14360         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14361         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14362         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14363         * sysdeps/i386/i686/multiarch/Makefile: Update.
14364         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14366 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14368         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14369         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14371 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
14373         [BZ #15968]
14374         Support TZ transition times < 00:00:00.
14375         This is needed for version-3 tz-format files; it supports time
14376         stamps past 2037 for America/Godthab (the only entry in the tz
14377         database for which this change is relevant).
14378         * manual/time.texi (TZ Variable): Document transition times
14379         from -167:59:59 through -00:00:01.
14380         * time/tzset.c (tz_rule): Time of day is now signed.
14381         (__tzset_parse_tz): Parse negative time of day.
14383         Document TZ transition times >= 25:00:00.
14384         * manual/time.texi (TZ Variable): Document transition times from
14385         25:00:00 through 167:59:59.  These are already supported, and this
14386         support will help with version-3 tz-format files.
14388         * manual/time.texi (TZ Variable): Modernize North America example
14389         to reflect current (i.e., 2007-and-later) daylight saving rules.
14391         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14393 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14395         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14396         * sysdeps/unix/bsd/bits/stat.h: Likewise.
14397         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14398         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14399         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14400         * sysdeps/unix/bsd/bsdstat.h: Likewise.
14401         * sysdeps/unix/bsd/clock.c: Likewise.
14402         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14403         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14404         * sysdeps/unix/bsd/init-posix.c: Likewise.
14405         * sysdeps/unix/bsd/poll.c: Likewise.
14406         * sysdeps/unix/bsd/ptsname.c: Likewise.
14407         * sysdeps/unix/bsd/seekdir.c: Likewise.
14408         * sysdeps/unix/bsd/setegid.c: Likewise.
14409         * sysdeps/unix/bsd/seteuid.c: Likewise.
14410         * sysdeps/unix/bsd/setgid.c: Likewise.
14411         * sysdeps/unix/bsd/setrgid.c: Likewise.
14412         * sysdeps/unix/bsd/setruid.c: Likewise.
14413         * sysdeps/unix/bsd/setsid.c: Likewise.
14414         * sysdeps/unix/bsd/setuid.c: Likewise.
14415         * sysdeps/unix/bsd/sigaction.c: Likewise.
14416         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14417         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14418         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14419         * sysdeps/unix/bsd/telldir.c: Likewise.
14420         * sysdeps/unix/bsd/times.c: Likewise.
14421         * sysdeps/unix/bsd/usleep.c: Likewise.
14423         * misc/Makefile (install-lib): Remove libbsd-compat.a.
14424         ($(objpfx)libbsd-compat.a): Remove rule.
14426         * include/features.h (__FAVOR_BSD): Do not define.
14427         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14428         features conflicting with POSIX.
14429         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14430         (_BSD_SOURCE): Remove description of not being a subset of other
14431         feature test macros.
14432         * manual/job.texi (getpgrp): Do not document BSD version.
14433         (getpgid): Do not document by reference to BSD getpgrp.
14434         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14435         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14436         * signal/signal.h [__FAVOR_BSD]: Likewise.
14437         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14438         instead of making contents conditional on [__FAVOR_BSD].
14439         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14441 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14445 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14447         [BZ #16314]
14448         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14449         values below 2**-450, not 2**-500.
14450         * math/auto-libm-test-in: Don't allow spurious underflow from
14451         hypot.
14452         * math/auto-libm-test-out: Regenerated.
14454         [BZ #16316]
14455         [BZ #16330]
14456         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14457         values of ha and hb and sort them after adjusting subnormal
14458         arguments.
14459         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14460         Likewise.
14461         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14462         values of ea and eb and sort them after adjusting subnormal
14463         arguments.
14464         * math/auto-libm-test-in: Do not expect some hypot tests of
14465         subnormals to fail.  Add more hypot tests.
14466         * math/auto-libm-test-out: Regenerated.
14468 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14470         [BZ #13304]
14471         * sysdeps/sh/s_fma.c: New file.
14472         * sysdeps/sh/s_fmaf.c: New file.
14473         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
14474         version.
14475         * sysdeps/sh/Implies: Add sh/soft-fp.
14477 2013-12-16  Roland McGrath  <roland@hack.frob.com>
14479         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
14480         level of indirection to members `objname', `errstring', `malloced'.
14481         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14482         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
14483         it as the __longjmp argument (just pass 1 instead).
14484         (_dl_catch_error): Initialize C with argument pointers and address of
14485         volatile local ERRCODE rather than copying values out of C at return.
14487 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
14489         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14490         * math/auto-libm-test-out: Regenerated.
14491         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14492         (hypot_test_data): Likewise.
14493         (pow_test_data): Likewise.
14494         (pow_tonearest_test_data): Likewise.
14495         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14496         mpfr_ff_f.
14497         (func_calc_desc): Add mpfr_ff_f union field.
14498         (FUNC_mpfr_ff_f): New macro.
14499         (test_functions): Add atan2, hypot and pow.
14500         (special_fill_min): New function.
14501         (special_fill_minus_min): Likewise.
14502         (special_fill_min_subnorm): Likewise.
14503         (special_fill_minus_min_subnorm): Likewise.
14504         (special_real_inputs): Add min, -min, min_subnorm and
14505         -min_subnorm.
14506         (calc_generic_results): Handle mpfr_ff_f.
14507         * sysdeps/i386/fpu/libm-test-ulps: Update.
14508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14510 2013-12-16  Will Newton  <will.newton@linaro.org>
14512         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14513         (Aligned Memory Blocks): Add documentation for aligned_alloc
14514         and suggest it as an alternative to posix_memalign.
14515         (Hooks for Malloc): Document __memalign_hook is also called
14516         for aligned_alloc.  (Summary of Malloc): Add summary for
14517         aligned alloc.  Document __memalign_hook is also called
14518         for aligned_alloc.
14520 2013-12-16  Will Newton  <will.newton@linaro.org>
14522         * manual/memory.texi (Malloc Examples): Clarify default
14523         alignment documentation.  Suggest posix_memalign rather
14524         than memalign or valloc.
14525         (Aligned Memory Blocks): Remove suggestion to use memalign
14526         or valloc.  Remove obsolete comment about BSD.
14527         Document memalign errno values and mark the function obsolete.
14528         Document posix_memalign returned error codes.  Mark valloc
14529         as obsolete.  (Hooks for Malloc): __memalign_hook is also
14530         called for posix_memalign and valloc.
14531         (Summary of Malloc): Add posix_memalign to function summary.
14532         __memalign_hook is also called for posix_memalign and valloc.
14534 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14536         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14537         TAYLOR_SIN.
14538         (__sin): Adjust.
14539         (__cos): Likewise.
14540         (sloww): Use mynumber union.  Expand ternary operator into
14541         if-else statements.
14542         (cslow): use mynumber union.
14544 2013-12-16  Allan McRae  <allan@archlinux.org>
14546         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14547         * configure: Regenerated.
14549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14551         [BZ #14120]
14552         * configure.ac: Added --enable-maintainer-mode. Check for
14553         autoconf when enabled.
14554         * configure: Regenerated.
14556         * nscd/nscd.service: New file.
14557         * nscd/nscd.tmpfiles: New file.
14559 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
14561         [BZ #12100]
14562         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14563         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14564         * sysdeps/x86_64/multiarch/strstr.c: ... here.
14565         (strstr): Add __strstr_sse2_unaligned ifunc.
14566         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14567         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14568         (strcasestr): Remove __strcasestr_sse42 ifunc.
14569         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14573 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14575         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14576         * sysdeps/sh/bits/fenv.h: ... here.
14577         * sysdeps/sh/sh4/fpu/bits: Remove directory.
14579 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14581         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14584         hypotf multiarch implementations.
14585         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14586         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14587         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14588         multiarch hypot for PPC64.
14589         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14590         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14591         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14592         multiarch hypotf for PPC64.
14594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14595         modff multiarch implementations.
14596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14599         multiarch modf for PPC64.
14600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14603         multiarch modff for PPC64.
14605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14606         and logl multiarch implementations.
14607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14610         multiarch logb for PPC64.
14611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14614         multiarch logb for PPC64.
14615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14618         multiarch logb for PPC64.
14620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14621         isinff multiarch implementation.
14622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14623         file.
14624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14626         multiarch isinf for PPC64.
14627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14628         file.
14629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14630         multiarch isinff for PPC64.
14632         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14633         finitef multiarch implementation.
14634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14635         file.
14636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14638         multiarch finite for PPC64.
14639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14640         file.
14641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14642         multiarch finitef for PPC64.
14644         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14645         lrint multiarch implementation.
14646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14647         file.
14648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14650         multiarch llrint for PPC64.
14651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14652         multiarch lrint for PPC64.
14654         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14655         copysignf multiarch implementation.
14656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14657         file.
14658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14659         file.
14660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14661         multiarch copysign for PPC64.
14662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14663         multiarch copysignf for PPC64.
14665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14666         multiarch implementation.
14667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14668         file.
14669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14670         file.
14671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14672         file.
14673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14674         file.
14675         multiarch llround for PPC64.
14676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14677         multiarch trunc for PPC64.
14678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14679         multiarch truncf for PPC64.
14681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14682         multiarch implementation.
14683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14684         file.
14685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14686         file.
14687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14688         file.
14689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14690         file.
14691         multiarch llround for PPC64.
14692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14693         multiarch round for PPC64.
14694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14695         multiarch roundf for PPC64.
14697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14698         multiarch implementation.
14699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14700         file.
14701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14702         file.
14703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14704         file.
14705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14706         file.
14707         multiarch llround for PPC64.
14708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14709         multiarch floor for PPC64.
14710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14711         multiarch floorf for PPC64.
14713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14714         multiarch implementation.
14715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14716         file.
14717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14718         file.
14719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14720         file.
14721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14722         file.
14723         multiarch llround for PPC64.
14724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14725         multiarch ceil for PPC64.
14726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14727         multiarch ceilf for PPC64.
14729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14730         multiarch implementation.
14731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14732         file.
14733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14734         file.
14735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14736         file.
14737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14738         multiarch llround for PPC64.
14739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14740         multiarch lround for PPC64.
14742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14743         multiarch implementation.
14744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14747         file.
14748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14751         multiarch isnan for PPC64.
14752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14753         multiarch isnanf for PPC64.
14755         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14756         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14757         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14758         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14759         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14762         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14763         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14764         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14765         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14768         multiarch implementations.
14769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14770         (__libc_ifunc_impl_list): Likewise.
14771         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14772         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14773         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14774         multiarch stpcpy for PPC64.
14776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14777         multiarch implementations.
14778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14779         (__libc_ifunc_impl_list): Likewise.
14780         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14781         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14782         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14783         multiarch strcpy for PPC64.
14785         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14786         redefine function name.
14787         (_wordcopy_fwd_dest_aligned): Likewise.
14788         (_wordcopy_bwd_aligned): Likewise.
14789         (_wordcopy_bwd_dest_aligned): Likewise.
14790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14791         multiarch implementations.
14792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14793         (__libc_ifunc_impl_list): Likewise.
14794         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14795         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14796         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14797         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14798         multiarch wcscpy for PPC64.
14800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14801         multiarch implementations.
14802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14803         (__libc_ifunc_impl_list): Likewise.
14804         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14805         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14806         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14807         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14808         multiarch wcscpy for PPC64.
14810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14811         multiarch implementations.
14812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14813         (__libc_ifunc_impl_list): Likewise.
14814         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14815         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14816         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14817         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14818         multiarch wcsrchr for PPC64.
14820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14821         multiarch implementations.
14822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14823         (__libc_ifunc_impl_list): Likewise.
14824         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14825         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14826         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14827         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14828         multiarch wcschr for PPC64.
14830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14831         multiarch implementations.
14832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14833         (__libc_ifunc_impl_list): Likewise.
14834         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14835         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14836         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14837         multiarch strchrnul for PPC64.
14839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14840         implementations.
14841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14842         (__libc_ifunc_impl_list): Likewise.
14843         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14844         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14845         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14846         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14847         strchr for PPC64.
14849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14850         implementations.
14851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14852         (__libc_ifunc_impl_list): Likewise.
14853         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14854         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14855         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14856         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14857         strncmp for PPC64.
14859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14860         multiarch implementations.
14861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14862         (__libc_ifunc_impl_list): Likewise.
14863         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14864         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14865         strncasecmp for PPC64.
14866         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14867         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14868         multiarch strncasecmp_l for PPC64.
14870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14871         multiarch implementations.
14872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14873         (__libc_ifunc_impl_list): Likewise.
14874         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14875         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14876         multiarch strcasecmp for PPC64.
14877         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14878         file.
14879         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14880         multiarch strcasecmp_l for PPC64.
14882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14883         implementations.
14884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14885         (__libc_ifunc_impl_list): Likewise.
14886         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14887         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14888         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14889         strnlen for PPC64.
14891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14892         implementations.
14893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14894         (__libc_ifunc_impl_list): Likewise.
14895         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14896         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14897         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14898         strlen for PPC64.
14900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14901         implementations.
14902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14903         (__libc_ifunc_impl_list): Likewise.
14904         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14905         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14906         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14907         rawmemrchr for PPC64.
14909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14910         implementation.
14911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14912         (__libc_ifunc_impl_list): Likewise.
14913         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14914         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14915         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14916         memrchr for PPC64.
14918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14919         implementation.
14920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14921         (__libc_ifunc_impl_list): Likewise.
14922         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14923         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14924         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14925         memchr for PPC64.
14927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14928         implementation.
14929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14930         (__libc_ifunc_impl_list): Likewise.
14931         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14932         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14933         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14934         mempcpy for PPC64.
14936         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14937         avoid cretion of __bzero symbol.
14938         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14939         Likewise.
14940         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14941         Likewise.
14942         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14943         Likewise.
14944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14945         multiarch implementations.
14946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14947         (__libc_ifunc_impl_list): Likewise.
14948         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14949         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14950         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14951         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14952         bzero for PPC32.
14953         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14954         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14955         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14956         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14957         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14958         memset for PPC64.
14959         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14961         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14963         implementations.
14964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14965         (__libc_ifunc_impl_list): Likewise.
14966         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14967         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14968         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14969         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14970         memcmp for PPC64.
14972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14973         multiarch for POWER/PPC64.
14974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14975         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14976         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14977         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14978         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14979         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14980         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14981         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14982         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14983         memcpy for PPC64.
14985         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14986         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14987         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14988         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14989         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14990         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14991         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14992         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14993         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14994         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14995         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14996         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14997         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14998         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14999         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15008 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15010         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15012 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15014         * benchtests/Makefile (bench): Add exp2 and log2.
15015         (LDLIBS-bench-exp2): Add -lm.
15016         (LDLIBS-bench-log2): Likewise.
15017         * benchtests/exp2-inputs: New inputs file.
15018         * benchtests/log2-inputs: New inputs file.
15019         * benchtests/log-inputs: Add new inputs.
15020         * benchtests/tan-inputs: Likewise.
15022 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15024         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15025         definition...
15026         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15027         (csloww2): ... from here.
15029         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15030         instead of structures.
15031         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15032         (POLYNOMIAL): Likewise.
15033         (TAYLOR_SLOW): Likewise.
15034         (__sin): Likewise.
15035         (__cos): Likewise.
15036         (slow1): Likewise.
15037         (slow2): Likewise.
15038         (sloww): Likewise.
15039         (sloww1); Likewise.
15040         (sloww2): Likewise.
15041         (bsloww1): Likewise.
15042         (bsloww2): Likewise.
15043         (cslow2): Likewise.
15044         (csloww): Likewise.
15045         (csloww1): Likewise.
15046         (csloww2): Likewise.
15048 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15050         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15051         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15052         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15053         * malloc/hooks.c (realloc_check): Likewise.
15055         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15056         * malloc/arena.c: Remove PER_THREAD conditional.
15057         [!PER_THREAD]: Remove code.
15058         (ptmalloc_unlock_all2): Likewise.
15059         (ptmalloc_init): Likewise.
15060         (_int_new_arena): Likewise.
15061         (arena_get2): Likewise.
15062         * malloc/hooks.c (__malloc_get_state): Likewise.
15063         (__malloc_set_state): Likewise.
15064         * malloc/malloc.c: Likewise.
15065         (struct malloc_state): Likewise.
15066         (struct malloc_par): Likewise.
15067         (__libc_realloc): Likewise.
15068         (__libc_mallopt): Likewise.
15070 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15072         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15074 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15076         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15077         macro to a function.  Check for zero perturb_byte.
15078         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15080         * malloc/malloc.c: (force_reg): Remove.
15081         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15082         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15083         force_reg by atomic_forced_read.
15084         * malloc/arena.c (ptmalloc_init): Likewise.
15085         * malloc/hooks.c (top_check): Likewise.
15087 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15091 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15095 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15097         * math/auto-libm-test-in: Add tests of lgamma.
15098         * math/auto-libm-test-out: Regenerated.
15099         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15100         (M_LOG_2_SQRT_PIl): Likewise.
15101         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15102         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15103         mpfr_f_f1.
15104         (func_calc_desc): Add mpfr_f_f1 union field.
15105         (ARGS1): New macro.
15106         (ARGS2): Likewise.
15107         (ARGS3): Likewise.
15108         (ARGS4): Likewise.
15109         (RET1): Likewise.
15110         (RET2): Likewise.
15111         (CALC): Likewise.
15112         (FUNC): Likewise.
15113         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15114         (test_functions): Add lgamma.
15115         (calc_generic_results): Handle mpfr_f_f1.
15116         * sysdeps/i386/fpu/libm-test-ulps: Update.
15117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15119 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15121         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15122         __mpn_add_n for PowerPC64/POWER7.
15123         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15124         __mpn_sub_n for PowerPC64/POWER7.
15126         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15127         __mpn_addmul_1 for PowerPC64.
15128         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15129         __mpn_submul_1 for PowerPC64.
15130         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15131         for PowerPC64.
15132         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15133         for PowerPC64.
15135 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15137         [BZ #15089]
15138         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15140 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15142         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15144         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15145         add multiarch folders.
15146         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15147         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15148         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15149         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15150         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15151         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15152         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15153         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15154         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15155         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15156         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15165         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15167         New file.
15168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15169         New file.
15170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15171         multiarch __ieee754_hypot for PowerPC32.
15172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15173         New file.
15174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15175         New file.
15176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15177         multiarch __ieee754_hypotf for PowerPC32.
15179         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15180         long_double_symbol only if __logbl is defined.
15181         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15182         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15184         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15185         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15186         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15187         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15188         path for implementation.
15189         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15190         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15192         logb, and logbl multiarch implementations for PowerPC32.
15193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15194         file.
15195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15196         file.
15197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15198         multiarch logb for PowerPC32.
15199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15200         file.
15201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15202         file.
15203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15204         multiarch logbf for PowerPC32.
15205         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15207         file.
15208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15209         multiarch logbl implementation for PowerPC32.
15211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15212         and modff multiarch implementations.
15213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15214         New file.
15215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15216         New file.
15217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15218         multiarch modf for PowerPC32.
15219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15220         New file.
15221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15222         New file.
15223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15224         multiarch modff for PowerPC32.
15226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15227         and lrintf multiarch implementations.
15228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15229         New file.
15230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15231         New file.
15232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15233         multiarch lrint for PowerPC32.
15234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15235         file: multiarch lrintf for PowerPC32.
15237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15238         and lroundf multiarch implementations.
15239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15240         New file.
15241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15242         New file.
15243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15244         New file.
15245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15246         multiarch lround for PowerPC32.
15247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15248         file: multiarch lroundf for PowerPC32.
15250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15251         copysign and copysignf multiarch implementations.
15252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15253         New file.
15254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15255         New file.
15256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15257         file: multiarch copysign for PowerPC32.
15258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15259         file: multiarch copysignf for PowerPC32.
15261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15262         and truncf multiarch implementations.
15263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15264         New file.
15265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15266         file.
15267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15268         multiarch trunc for PowerPC32.
15269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15270         New file.
15271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15272         New file.
15273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15274         multiarch truncf for PowerPC32.
15276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15277         and roundf multiarch implementations.
15278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15279         New file.
15280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15281         file.
15282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15283         multiarch round for PowerPC32.
15284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15285         New file.
15286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15287         New file.
15288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15289         multiarch roundf for PowerPC32.
15291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15292         and floorf multiarch implementations.
15293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15294         New file.
15295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15296         file.
15297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15298         multiarch floor for PowerPC32.
15299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15300         New file.
15301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15302         New file.
15303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15304         multiarch floorf for PowerPC32.
15306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15307         and ceilf multiarch implementations.
15308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15309         New file.
15310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15311         file.
15312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15313         multiarch ceil for PowerPC32.
15314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15315         New file.
15316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15317         file.
15318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15319         multiarch ceilf for PowerPC32.
15321         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15322         is defined.
15323         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15324         FINITEF is defined.
15325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15326         and finitef multiarch implementations.
15327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15328         New file.
15329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15330         file.
15331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15332         multiarch finite for PowerPC32.
15333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15334         New file.
15335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15336         file: multiarch finitef for PowerPC32.
15338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15339         and isinff multiarch implementations.
15340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15341         file.
15342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15343         file.
15344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15345         multiarch isinf for PowerPC32.
15346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15347         New file.
15348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15349         multiarch isinff for PowerPC32.
15351         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15352         alias when __isnan is defined.
15353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15354         and isnanf multiarch implementations.
15355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15356         file.
15357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15358         file.
15359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15360         file.
15361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15362         file.
15363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15364         multiarch isnan for PowerPC32.
15365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15366         New file.
15367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15368         New file.
15369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15370         multiarch isnanf for PowerPC32.
15372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15373         and sqrtf multiarch implementations.
15374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15375         file.
15376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15377         file.
15378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15379         multiarch sqrt for PowerPC32.
15380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15381         file.
15382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15383         file.
15384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15385         multiarch sqrtf for PowerPC32.
15387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15388         and llroundf multiarch implementations.
15389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15390         New file.
15391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15392         New file.
15393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15394         New file.
15395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15396         file: multiarch llround for PowerPC32.
15397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15398         file: multiarch llroundf for PowerPC32.
15400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15401         multiarch PowerPC32 fpu implementations.
15402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15403         New file.
15404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15405         New file.
15406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15407         multiarch llrint for PowerPC32.
15408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15409         New file.
15410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15411         New file.
15412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15413         file.
15415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15417         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15418         file.
15419         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15420         file.
15421         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15422         file.
15423         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15424         multiarch wordcopy for PPC32.
15425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15426         wordcopy objects.
15427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15428         (__libc_ifunc_impl_list): Likewise.
15429         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15430         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15431         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15432         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15433         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15434         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15436         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15437         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15438         file.
15439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15440         file.
15441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15442         file.
15443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15444         multiarch wcscpy for PPC32.
15445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15446         multiarch objects.
15447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15448         (__libc_ifunc_impl_list): Likewise.
15449         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15450         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15451         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15452         sysdeps/powerpc/power6/wcscpy.c.
15454         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15455         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15456         file.
15457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15458         file.
15459         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15460         file.
15461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15462         multiarch wcsrchr for PPC32.
15463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15464         multiarch objects.
15465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15466         (__libc_ifunc_impl_list): Likewise.
15467         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15468         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15469         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15470         sysdeps/powerpc/power6/wcsrchr.c.
15472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15473         file.
15474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15475         file.
15476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15477         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15478         multiarch wcschr for PPc32.
15479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15480         multiarch objects.
15481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15482         (__libc_ifunc_impl_list): Likewise.
15483         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15484         * sysdeps/powerpc/power6/wcschr.c: ... to here.
15485         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15486         sysdeps/powerpc/power6/wcschr.c.
15488         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15489         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15490         file.
15491         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15492         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15493         file: multiarch strchr for PPC32.
15494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15495         multiarch objects.
15496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15497         (__libc_ifunc_impl_list): Likewise.
15499         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15500         name.
15501         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15502         file.
15503         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15504         file.
15505         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15506         multiarch strchrnul for PPC32.
15507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15508         multiarch objects.
15509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15510         (__libc_ifunc_impl_list): Likewise.
15512         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15513         file.
15514         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15515         multiarch strncasecmp for PPC32.
15516         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15517         file.
15518         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15519         multiarch strncasecmp_l for PPC32.
15520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15521         strncasecmp multiarch objects.
15522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15523         (__libc_ifunc_impl_list): Likewise.
15525         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15526         file.
15527         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15528         multiarch strncasecmp for PPC32.
15529         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15530         New file.
15531         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15532         multiarch strcasecmp_l for PPC32.
15533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15534         multiarch objects.
15535         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15536         (__libc_ifunc_impl_list): Likewise.
15538         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15539         file.
15540         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15541         file.
15542         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15543         multiarch strncmp for PPC32.
15544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15545         multiarch objects.
15546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15547         (__libc_ifunc_impl_list): Likewise.
15549         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15550         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15551         file.
15552         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15553         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15555         multiarch objects.
15556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15557         (__libc_ifunc_impl_list): Likewise.
15559         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15560         file.
15561         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15562         file.
15563         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15565         multiarch objects.
15566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15567         (__libc_ifunc_impl_list): Likewise.
15569         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15570         file.
15571         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15572         file.
15573         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15574         multiarch rawmemchr for PPC32.
15575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15576         multiarch objects.
15577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15578         (__libc_ifunc_impl_list): Likewise.
15580         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15581         file.
15582         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15583         file.
15584         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15585         file: memrchr multiarch for PPC32.
15586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15587         multiarch objects.
15588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15589         (__libc_ifunc_impl_list): Likewise.
15591         * string/memchr.c (__memchr): Using macro to redefine symbol name.
15592         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15593         file.
15594         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15595         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15596         multiarch memchr for PPC32.
15597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15598         multiarch objects.
15599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15600         (__libc_ifunc_impl_list): Likewise.
15602         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15603         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15604         file.
15605         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15606         file.
15607         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15608         file: multiarch mempcpy for PPC32.
15609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15610         multiarch objects.
15611         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15612         (__libc_ifunc_impl_list): Likewise.
15614         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15615         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15616         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15617         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15618         multiarch bzero for PPC32.
15619         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15620         file.
15621         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15622         file.
15623         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15624         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15625         file: multiarch memset for PPC32.
15626         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15628         memset multiarch objects.
15629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15630         (__libc_ifunc_impl_list): Likewise.
15632         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15633         file.
15634         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15636         memcmp for PPC32.
15637         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15638         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15639         multiarch objects.
15640         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15641         (__libc_ifunc_impl_list): Likewise.
15643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15644         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15645         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15646         file.
15647         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15648         file.
15649         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15650         file.
15651         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15652         multiarch memcpy for PPC32.
15653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15654         multiarch objects.
15655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15656         (__libc_ifunc_impl_list): Likewise.
15658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15659         support multiarch for POWER/PPC32.
15660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15661         Likewise.
15662         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15664         Implies file to make multiarch folder appers before the fpu and
15665         default folder for power4 configuration.
15667 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15669         * scripts/bench.pl: Append volatile keyword to type.
15671 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15673         * sysdeps/sh/sotruss-lib.c: New file.
15674         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15676 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15680 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
15682         [BZ #6810]
15683         * math/w_tgamma.c: Include <errno.h>.
15684         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
15685         * math/w_tgammaf.c: Include <errno.h>.
15686         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
15687         * math/w_tgammal.c: Include <errno.h>.
15688         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
15689         * math/auto-libm-test-in: Do not allow missing errno on tgamma
15690         underflow.  Add more tgamma tests.
15691         * math/auto-libm-test-out: Regenerated.
15692         * sysdeps/i386/fpu/libm-test-ulps: Update.
15693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15695         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15696         sin, sinh, tan, tanh, tgamma, y0 and y1.
15697         * math/auto-libm-test-out: Regenerated.
15698         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15699         (TEST_COND_x86): Likewise.
15700         (M_E2l): Remove macro.
15701         (M_E3l): Likewise.
15702         (M_2_SQRT_PIl): Likewise.
15703         (M_SQRT_PIl): Likewise.
15704         (M_1_DIV_El): Likewise.
15705         (log_test_data): Use AUTO_TESTS_f_f.
15706         (log10_test_data): Likewise.
15707         (log1p_test_data): Likewise.
15708         (log2_test_data): Likewise.
15709         (sin_test_data): Likewise.
15710         (sin_tonearest_test_data): Likewise.
15711         (sin_towardzero_test_data): Likewise.
15712         (sin_downward_test_data): Likewise.
15713         (sin_upward_test_data): Likewise.
15714         (sinh_test_data): Likewise.
15715         (sinh_tonearest_test_data): Likewise.
15716         (sinh_towardzero_test_data): Likewise.
15717         (sinh_downward_test_data): Likewise.
15718         (sinh_upward_test_data): Likewise.
15719         (tan_test_data): Likewise.
15720         (tan_tonearest_test_data): Likewise.
15721         (tan_towardzero_test_data): Likewise.
15722         (tan_downward_test_data): Likewise.
15723         (tan_upward_test_data): Likewise.
15724         (tanh_test_data): Likewise.
15725         (tgamma_test_data): Likewise.
15726         (y0_test_data): Likewise.
15727         (y1_test_data): Likewise.
15728         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15729         (special_real_inputs): Add pi/4.
15730         * sysdeps/i386/fpu/libm-test-ulps: Update.
15731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15733 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15735         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15736         "longjmp_target" static probes.
15737         (__longjmp): Rename to __longjmp_symbol.
15738         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15739         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15740         on which longjmp to generate.
15741         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15742         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15743         probe.
15744         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15745         (__sigjmp_save): Rename to __sigjmp_save_symbol.
15746         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15747         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15748         and __sigjmp_save_symbol based on which sigsetjmp to generated.
15749         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15751         __longjmp_symbol based on which __longjmp to generate.
15752         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15753         probe.
15754         (setjmp): Rename to setjmp_symbol.
15755         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15756         (_setjmp): Rename to _setjmp_symbol.
15757         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15758         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15759         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15760         which setjmp to generate.
15761         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15762         "longjmp_target" static probes.
15764 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15766         * benchtests/README: Add note about output arguments.
15767         * benchtests/bench-sincos.c: Remove file.
15768         * benchtests/sincos-inputs: New file.
15769         * scripts/bench.pl: Identify output arguments and define
15770         static variables for them.
15772         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15774         [BZ #15941]
15775         * Makefile (INSTALL): Add install-plain.texi as the primary
15776         dependency.
15777         * manual/install-plain.texi: New file.
15778         * manual/install.texi: Include node directive only for
15779         non-plaintext output.
15781 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
15783         * stdlib/longlong.h: Update from GCC.
15785         [BZ #6807]
15786         [BZ #15901]
15787         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15788         * math/w_j0f.c (y0f): Likewise.
15789         * math/w_j0l.c (__y0l): Likewise.
15790         * math/w_j1.c (y1): Likewise.
15791         * math/w_j1f.c (y1f): Likewise.
15792         * math/w_j1l.c (__y1l): Likewise
15793         * math/w_jn.c (yn): Likewise.
15794         * math/w_jnf.c (ynf): Likewise.
15795         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15796         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
15797         value for Bessel function domain errors outside _SVID_ mode.
15798         Adjust sign of return value for yn (negative integer, 0).
15799         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15800         by zero in return for negative x and set sign appropriately for
15801         negative n.
15802         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15803         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15804         * math/libm-test.inc (y0_test_data): Add more tests and adjust
15805         expectations in error cases.
15806         (y1_test_data): Likewise.
15807         (yn_test_data): Likewise.
15808         * sysdeps/i386/fpu/libm-test-ulps: Update.
15809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15811 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15813         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15814         "64" to "64-v1".  Add "64-v2".
15815         (abi-64-options): Rename to ...
15816         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
15817         (abi-64-condition): Rename to ...
15818         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
15819         (abi-64-ld-soname): Rename to ...
15820         (abi-64-v1-ld-soname): ... this.
15821         (abi-64-v2-options): Define.
15822         (abi-64-v2-condition): Likewise.
15823         (abi-64-v2-ld-soname): Likewise.
15824         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15825         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15830 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15831             Alan Modra  <amodra@gmail.com>
15833         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15834         New versions for use with the ELFv2 ABI.
15835         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15836         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15837         declaration.
15838         (struct La_ppc64v2_retval): Likewise.
15839         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15840         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15841         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15842         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15843         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15844         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15845         Do not save or restore CR.
15846         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15847         (_dl_profile_resolve): Do no save or restore CR.  Support extended
15848         return values for ELFv2 ABI.  Fix location of FPR return registers.
15849         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15850         updated values for _CALL_ELF == 2.
15851         (La_regs, La_retval, int_retval): Likewise.
15853 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15855         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15856         (FRAME_MIN_SIZE_PARM): Likewise.
15857         (FRAME_BACKCHAIN): Likewise.
15858         (FRAME_CR_SAVE): Likewise.
15859         (FRAME_LR_SAVE): Likewise.
15860         (FRAME_TOC_SAVE): Likewise.
15861         (FRAME_PARM_SAVE): Likewise.
15862         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15863         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15864         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15865         (call_mcount_parm_offset): New macro.
15866         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15867         (PROF): Use symbolic stack frame offsets.
15868         (TAIL_CALL_SYSCALL_ERROR): Likewise.
15869         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15870         Redefine in terms of FRAME_MIN_SIZE.
15871         (_dl_runtime_resolve): Use symbolic stack frame offsets.
15872         (_dl_profile_resolve): Likewise.  Update comment.
15873         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15874         symbols stack frame offsets.
15875         (__sigsetjmp): Likewise.
15876         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15877         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15878         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15879         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15882         (FRAME_BACKCHAIN): Remove.
15883         (FRAME_CR_SAVE): Likewise.
15884         (FRAME_LR_SAVE): Likewise.
15885         (FRAME_COMPILER_DW): Likewise.
15886         (FRAME_LINKER_DW): Likewise.
15887         (FRAME_TOC_SAVE): Likewise.
15888         (FRAME_PARM_SAVE): Likewise.
15889         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15890         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15891         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15893         (CHECK_SP): Use symbolic stack frame offsets.
15894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15895         zone" instead of caller's parameter save area for temp storage.
15896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15897         Likewise.  Also, use symbolic stack frame offsets.
15898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15899         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15900         our own stack frame instead of the caller's.
15901         (__socket): Use symbolic stack frame offsets.
15903 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15904             Alan Modra  <amodra@gmail.com>
15906         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15907         Define.
15908         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15909         (PPC64_LOCAL_ENTRY_OFFSET): Define.
15910         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15911         New function.
15912         (elf_machine_fixup_plt): Call it.
15913         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
15914         reloc arguments.
15915         (elf_machine_rela): Update call to elf_machine_plt_conflict.
15916         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15917         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15918         r2 before calling target.
15920 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15921             Alan Modra  <amodra@gmail.com>
15923         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15924         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15925         versions of macros to support ELFv2 ABI.
15926         (LOCALENTRY): New macro.
15927         (ENTRY, EALIGN): Use it.
15928         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15929         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15930         fall through into ENTRY entry point.
15931         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15932         Only define if _CALL_ELF != 2.
15934         (elf_machine_matches_host): Verify ABI version matches.
15935         (RTLD_START): Use LOCALENTRY.
15936         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15937         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15938         (PLT_ENTRY_WORDS): New macro.
15939         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15940         (elf_machine_runtime_setup): Support ELFv2 ABI.
15941         (elf_machine_fixup_plt): Likewise.
15942         (elf_machine_plt_conflict): Likewise.
15943         (resolve_ifunc): Likewise.
15944         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15945         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15946         Likewise.
15947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15948         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15950         (makecontext): Support ELFv2 ABI.
15951         * elf/elf.h (EF_PPC64_ABI): Define.
15953 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15955         * sysdeps/powerpc/powerpc64/sysdep.h
15956         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15957         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15958         (ENTRY) [ASSEMBLER]: ... but instead here ...
15959         (EALIGN) [ASSEMBLER]: ... and here.
15960         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15961         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15962         (ENTRY_2) [!ASSEMBLER]: Use it.
15963         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15964         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
15965         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15966         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15967         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15969         Use PPC64_LOAD_FUNCPTR.
15971         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15973 2013-12-04  Alan Modra  <amodra@gmail.com>
15975         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15976         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15977         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15978         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15980         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15981         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15982         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15983         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15984         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15985         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15987 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15990         (__makecontext): Fix incorrect CFI when backtracing out of
15991         context created via makecontext.
15992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15993         (__setcontext): Fix incorrect CFI during switch to new context.
15994         (__novec_setcontext): Likewise.
15996 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15998         [BZ #4772]
15999         * time/strptime_l.c (__strptime_internal): Allow modifiers
16000         in strptime.
16001         * time/tst-strptime.c (day_tests): Add testcase.
16003 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16005         * scripts/bench.pl: Skip over blank lines.
16007 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16009         [BZ #926]
16010         * manual/time.texi (Calendar Time): Clarify what timezone functions
16011         use.
16013 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16017 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16019         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16020         implementation.
16021         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16022         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16023         * debug/memset_chk.c (__memset_chk): Likewise.
16024         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16025         * debug/strncpy_chk.c: Likewise.
16027 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16029         [BZ #15268]
16030         [BZ #15425]
16031         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16032         (__ieee754_exp): For possibly underflowing results, check size of
16033         result and force underflow exception if required.
16034         * math/auto-libm-test-in: Add more tests of exp.
16035         * math/auto-libm-test-out: Regenerated.
16036         * sysdeps/i386/fpu/libm-test-ulps: Update.
16037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16039         [BZ #16283]
16040         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16041         * math/w_exp2f.c (__exp2f): Likewise.
16042         * math/w_exp2l.c (__exp2l): Likewise.
16043         * math/auto-libm-test-in: Do not allow missing errno on exp2
16044         underflow.
16045         * math/auto-libm-test-out: Regenerated.
16047 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16049         [BZ #16274]
16050         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16051         handle filename validation.
16052         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16053         (do_open): Delete.
16055 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16057         [BZ #6786]
16058         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16059         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16060         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16061         <float.h>.
16062         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16063         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16064         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16065         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16066         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16067         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16068         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16069         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16070         Add more erfc tests.
16071         * math/auto-libm-test-out: Regenerated.
16072         * sysdeps/i386/fpu/libm-test-ulps: Update.
16073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16075         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16076         exp2, expm1, j0 and j1.
16077         * math/auto-libm-test-out: Regenerated.
16078         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16079         (erfc_test_data): Likewise.
16080         (exp_test_data): Likewise.
16081         (exp_tonearest_test_data): Likewise.
16082         (exp_towardzero_test_data): Likewise.
16083         (exp_downward_test_data): Likewise.
16084         (exp_upward_test_data): Likewise.
16085         (exp10_test_data): Likewise.
16086         (exp2_test_data): Likewise.
16087         (expm1_test_data): Likewise.
16088         (j0_test_data): Likewise.
16089         (j1_test_data): Likewise.
16090         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16091         (input_flag_type): Add flag_xfail_rounding.
16092         (input_flags): Add xfail-rounding.
16093         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16094         (output_for_one_input_case): Handle flag_xfail_rounding.
16095         * sysdeps/i386/fpu/libm-test-ulps: Update.
16096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16098 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16100         [BZ #16289]
16101         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16102         division by 0.
16104 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16106         [BZ #16195]
16107         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16108         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16109         (STAP_PROBE0): New macro.
16110         (STAP_PROBE1): Likewise.
16111         (STAP_PROBE2): Likewise.
16112         (STAP_PROBE3): Likewise.
16113         (STAP_PROBE4): Likewise.
16115 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16117         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16119 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16121         * benchtests/Makefile (bench): Add sqrt.
16122         (LDLIBS-bench-sqrt): New.
16123         * benchtests/sqrt-input: New.
16125 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16127         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16128         (GAIH_EAI): Likewise.
16129         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16130         (gaih_inet): Likewise.
16131         (getaddrinfo): Don't use GAIH_EAI.
16133         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16134         (struct gaih): Remove definition.
16136 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16138         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16139         Use HERRNOP directly.
16141 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16145 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16147         * math/gen-auto-libm-tests.c (test_functions): Add more
16148         single-argument functions.
16149         (special_fill_pi_2): New function.
16150         (special_fill_minus_pi_2): Likewise.
16151         (special_fill_pi_6): Likewise.
16152         (special_fill_minus_pi_6): Likewise.
16153         (special_fill_pi_3): Likewise.
16154         (special_fill_2pi_3): Likewise.
16155         (special_fill_e): Likewise.
16156         (special_fill_1_e): Likewise.
16157         (special_fill_e_minus_1): Likewise.
16158         (special_real_inputs): Add more special inputs.
16159         (output_for_one_input_case): Do not require ERANGE on underflow to
16160         zero if round-to-nearest result does not underflow to zero, unless
16161         exact results required.
16162         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16163         atan, atanh, cbrt, cos and cosh.
16164         * math/auto-libm-test-out: Regenerated.
16165         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16166         (acos_tonearest_test_data): Likewise.
16167         (acos_towardzero_test_data): Likewise.
16168         (acos_downward_test_data): Likewise.
16169         (acos_upward_test_data): Likewise.
16170         (acosh_test_data): Likewise.
16171         (asin_test_data): Likewise.
16172         (asin_tonearest_test_data): Likewise.
16173         (asin_towardzero_test_data): Likewise.
16174         (asin_upward_test_data): Likewise.
16175         (asinh_test_data): Likewise.
16176         (atan_test_data): Likewise.
16177         (atanh_test_data): Likewise.
16178         (cbrt_test_data): Likewise.
16179         (cos_test_data): Likewise.
16180         (cos_tonearest_test_data): Likewise.
16181         (cos_towardzero_test_data): Likewise.
16182         (cos_downward_test_data): Likewise.
16183         (cos_upward_test_data): Likewise.
16184         (cosh_test_data): Likewise.
16185         (cosh_tonearest_test_data): Likewise.
16186         (cosh_towardzero_test_data): Likewise.
16187         (cosh_downward_test_data): Likewise.
16188         (cosh_upward_test_data): Likewise.
16189         * sysdeps/i386/fpu/libm-test-ulps: Update.
16190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16192 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16194         [BZ #6787]
16195         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16196         * math/w_exp10f.c (__exp10f): Likewise.
16197         * math/w_exp10l.c (__exp10l): Likewise.
16198         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16199         errno settings in existing tests.
16201         [BZ #14032]
16202         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16203         precision control set to double precision.
16204         * sysdeps/i386/fpu/w_sqrt.c: New file.
16205         * math/auto-libm-test-in: Add more tests.
16206         * math/auto-libm-test-out: Update.
16208         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16209         (sqrt_test_tonearest): New function.
16210         (sqrt_towardzero_test_data): New variable.
16211         (sqrt_test_towardzero): New function.
16212         (sqrt_downward_test_data): New variable.
16213         (sqrt_test_downward): New function.
16214         (sqrt_upward_test_data): New variable.
16215         (sqrt_test_upward): New function.
16216         (main): Call the new functions.
16218         * math/gen-auto-libm-tests.c: New file.
16219         * math/auto-libm-test-in: Likewise.
16220         * math/auto-libm-test-out: New generated file.
16221         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16222         variables.
16223         (%beautify): Add generated representations of zero.
16224         (top level): Set $auto_input and call parse_auto_input.
16225         (beautify): Remove trailing "f" from hex float constants.
16226         (parse_args): Handle XFAIL_TEST.
16227         (convert_condition): New function.
16228         (or_value): Likewise.
16229         (or_cond_value): Likewise.
16230         (generate_testfile): Handle AUTO_TESTS_* lines.
16231         (parse_auto_input): New function.
16232         * math/libm-test.inc (XFAIL_TEST): New macro.
16233         (ERRNO_UNCHANGED): Update value.
16234         (ERRNO_EDOM): Likewise.
16235         (ERRNO_ERANGE): Likewise.
16236         (IGNORE_RESULT): Likewise.
16237         (TEST_COND_flt_32): New macro.
16238         (TEST_COND_dbl_64): Likewise.
16239         (TEST_COND_ldbl_96_intel): Likewise.
16240         (TEST_COND_ldbl_96_m68k): Likewise.
16241         (TEST_COND_ldbl_128): Likewise.
16242         (TEST_COND_ldbl_128ibm): Likewise.
16243         (TEST_COND_long32): Likewise.
16244         (TEST_COND_long64): Likewise.
16245         (TEST_COND_before_rounding): Likewise.
16246         (TEST_COND_after_rounding): Likewise.
16247         (enable_test): Handle XFAIL_TEST flag.
16248         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16249         with finite results.
16250         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16251         auto-libm-test-out.
16253 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16254             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16256         [BZ #16214]
16257         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16258         __tls_get_addr_internal instead of __tls_get_offset in order to
16259         avoid GOT pointer dependency.  Make rtld export
16260         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16261         __tls_get_addr since we are a __tls_get_offset platform.
16262         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16263         GOT pointer being set up before.
16264         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16266 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
16268         * manual/math.texi (Errors in Math Functions): Document accuracy
16269         goals.
16271         [BZ #15004]
16272         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16273         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16274         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16275         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16276         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16277         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16278         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16279         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16280         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16281         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16282         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16283         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16284         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16285         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16286         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16287         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16289         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16290         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16291         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16292         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16293         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16294         Likewise.
16295         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16296         Likewise.
16297         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16298         Likewise.
16299         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16300         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16301         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16302         atomic-feupdateenv and flt-rounds.
16303         * sysdeps/powerpc/nofpu/Versions (libc): Add
16304         __atomic_feholdexcept, __atomic_feclearexcept,
16305         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16306         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16307         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16308         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16309         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16310         here.
16311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16312         Update.
16314         * manual/arith.texi (FP Exceptions): Document that exceptions may
16315         not be raised when matherr is used.
16316         (Math Error Reporting): Document overflow in directed rounding
16317         modes.  Document that errno may not be set when finite values are
16318         returned on overflow.  Document intent to set errno on underflow
16319         only for underflow to zero.
16321         [BZ #16271]
16322         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16323         round-to-nearest then adjust result for other rounding modes.
16324         * include/fenv.h (fegetround): Use libm_hidden_proto.
16325         * math/fegetround.c (fegetround): Use libm_hidden_def.
16326         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16327         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16328         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16329         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16330         Likewise.
16331         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16332         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16333         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16334         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16336 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16338         [BZ #16077]
16339         * nss/Versions (libnss_files): Add
16340         _nss_files_gethostbyname3_r.
16341         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16342         New function.
16343         (HOST_DB_LOOKUP): Remove macro.
16344         (_nss_files_gethostbyname_r): Implement function without the
16345         HOST_DB_LOOKUP macro.
16346         (_nss_files_gethostbyname2_r): Likewise.
16348 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
16350         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16352 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
16354         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16355         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16356         warning.
16358 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16360         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16361         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16362         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16363         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16364         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16365         __fe_nomask_env_priv and attribute_hidden.
16366         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16367         (libc_feupdateenv_test_ppc): Likewise.
16368         (libc_feresetround_ppc): Likewise.
16369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16370         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16371         compat_symbol macro.
16372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16373         (__fe_nomask_env): Likewise.
16374         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16376 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16378         * string/Makefile: Remove ifunc tests.
16379         * string/test-string.h: Define TEST_IFUNC.
16380         * string/test-bcopy-ifunc.c: Remove.
16381         * string/test-bzero-ifunc.c: Likewise.
16382         * string/test-memccpy-ifunc.c: Likewise.
16383         * string/test-memchr-ifunc.c: Likewise.
16384         * string/test-memcmp-ifunc.c: Likewise.
16385         * string/test-memcpy-ifunc.c: Likewise.
16386         * string/test-memmem-ifunc.c: Likewise.
16387         * string/test-memmove-ifunc.c: Likewise.
16388         * string/test-mempcpy-ifunc.c: Likewise.
16389         * string/test-memrchr-ifunc.c: Likewise.
16390         * string/test-memset-ifunc.c: Likewise.
16391         * string/test-rawmemchr-ifunc.c: Likewise.
16392         * string/test-stpcpy-ifunc.c: Likewise.
16393         * string/test-stpncpy-ifunc.c: Likewise.
16394         * string/test-strcasecmp-ifunc.c: Likewise.
16395         * string/test-strcasestr-ifunc.c: Likewise.
16396         * string/test-strcat-ifunc.c: Likewise.
16397         * string/test-strchr-ifunc.c: Likewise.
16398         * string/test-strchrnul-ifunc.c: Likewise.
16399         * string/test-strcmp-ifunc.c: Likewise.
16400         * string/test-strcpy-ifunc.c: Likewise.
16401         * string/test-strcspn-ifunc.c: Likewise.
16402         * string/test-strlen-ifunc.c: Likewise.
16403         * string/test-strncasecmp-ifunc.c: Likewise.
16404         * string/test-strncat-ifunc.c: Likewise.
16405         * string/test-strncmp-ifunc.c: Likewise.
16406         * string/test-strncpy-ifunc.c: Likewise.
16407         * string/test-strnlen-ifunc.c: Likewise.
16408         * string/test-strpbrk-ifunc.c: Likewise.
16409         * string/test-strrchr-ifunc.c: Likewise.
16410         * string/test-strspn-ifunc.c: Likewise.
16411         * string/test-strstr-ifunc.c: Likewise.
16413 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16415         * benchtests/Makefile: Remove ifunc tests.
16416         * benchtests/bench-string.h: Define TEST_IFUNC.
16417         * benchtests/bench-bcopy-ifunc.c: Remove.
16418         * benchtests/bench-bzero-ifunc.c: Likewise.
16419         * benchtests/bench-memccpy-ifunc.c: Likewise.
16420         * benchtests/bench-memchr-ifunc.c: Likewise.
16421         * benchtests/bench-memcmp-ifunc.c: Likewise.
16422         * benchtests/bench-memcpy-ifunc.c: Likewise.
16423         * benchtests/bench-memmem-ifunc.c: Likewise.
16424         * benchtests/bench-memmove-ifunc.c: Likewise.
16425         * benchtests/bench-mempcpy-ifunc.c: Likewise.
16426         * benchtests/bench-memrchr-ifunc.c: Likewise.
16427         * benchtests/bench-memset-ifunc.c: Likewise.
16428         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16429         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16430         * benchtests/bench-stpcpy-ifunc.c: Likewise.
16431         * benchtests/bench-stpncpy-ifunc.c: Likewise.
16432         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16433         * benchtests/bench-strcasestr-ifunc.c: Likewise.
16434         * benchtests/bench-strcat-ifunc.c: Likewise.
16435         * benchtests/bench-strchr-ifunc.c: Likewise.
16436         * benchtests/bench-strchrnul-ifunc.c: Likewise.
16437         * benchtests/bench-strcmp-ifunc.c: Likewise.
16438         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16439         * benchtests/bench-strcpy-ifunc.c: Likewise.
16440         * benchtests/bench-strcspn-ifunc.c: Likewise.
16441         * benchtests/bench-strlen-ifunc.c: Likewise.
16442         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16443         * benchtests/bench-strncat-ifunc.c: Likewise.
16444         * benchtests/bench-strncmp-ifunc.c: Likewise.
16445         * benchtests/bench-strncpy-ifunc.c: Likewise.
16446         * benchtests/bench-strnlen-ifunc.c: Likewise.
16447         * benchtests/bench-strpbrk-ifunc.c: Likewise.
16448         * benchtests/bench-strrchr-ifunc.c: Likewise.
16449         * benchtests/bench-strsep-ifunc.c: Likewise.
16450         * benchtests/bench-strspn-ifunc.c: Likewise.
16451         * benchtests/bench-strstr-ifunc.c: Likewise.
16453 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16455         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16457 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16459         * resolv/netdb.h: Use __glibc_reserved instead __unused.
16460         * rt/aio.h: Likewise.
16461         * sysdeps/gnu/bits/utmp.h: Likewise.
16462         * sysdeps/gnu/bits/utmpx.h: Likewise.
16463         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16464         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16465         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16466         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16467         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16468         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16469         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16470         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16471         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16472         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16473         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16474         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16475         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16477         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16478         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16479         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16480         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16481         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16482         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16483         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16484         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16485         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16486         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16487         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16489         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16490         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16491         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16492         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16493         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16494         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16495         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16496         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16497         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16498         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16499         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16500         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16501         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16502         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16503         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16504         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16506 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
16508         [BZ #16245]
16509         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16510         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16512 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
16514         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16515         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16516         Likewise.
16518 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16520         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16521         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16522         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16523         (__fesetround): Remove define.
16524         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16525         rounding and exceptions handling.
16526         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16527         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16528         (__fe_nomask_env): Likewise.
16529         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16530         __fegetround instead of fegetround.
16531         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16532         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16534 2013-11-21  Roland McGrath  <roland@hack.frob.com>
16536         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16537         it's there.
16539         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16541 2013-11-21  Meador Inge  <meadori@codesourcery.com>
16543         [BZ #11157]
16544         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16545         (encrypt_r): Likewise.
16546         * malloc/obstack.h (obstack_free): Likewise.
16547         * posix/unistd.h (encrypt): Likewise.
16549 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
16551         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16552         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16553         DL_CALL_DT_FINI() that call the functions directly.
16554         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16555         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16556         * elf/dl-fini.c: Likewise.
16558 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
16560         * malloc/hooks.c (memalign_check): Add alignment rounding.
16561         * malloc/malloc.c (_mid_memalign): New function.
16562         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16563         Implement by calling _mid_memalign.
16564         * manual/probes.texi (Memory Allocation Probes): Remove
16565         memory_valloc_retry and memory_pvalloc_retry.
16567 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16569         * locale/programs/locarchive.c (open_archive): Add const
16570         qualifier to ARCHIVEFNAME and copy default fname to
16571         DEFAULT_FNAME.
16573         [BZ #15601]
16574         * libio/tst-widetext.input: Rename Oriya to Odia.
16575         * locale/iso-639.def: Likewise.
16577         * manual/probes.texi (Mathematical Function Probes): Add
16578         documentation for sin, cos, asin and acos probes.
16579         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16580         (__sin32): Add slowasin probe.
16581         (__cos32): Add slowacos probe.
16582         (__mpsin): Add slowsin probe.
16583         (__mpcos): Add slowcos probe.
16585 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
16587         [BZ #15483]
16588         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16589         thread-local __sim_exceptions_thread and global
16590         __sim_exceptions_global.
16591         (__sim_disabled_exceptions): Change to thread-local
16592         __sim_disabled_exceptions_thread and global
16593         __sim_disabled_exceptions_global.
16594         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16595         and global __sim_round_mode_global.
16596         (__simulate_exceptions): Use thread-local floating-point state and
16597         set global state from it as needed.
16598         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16599         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16600         __sim_round_mode_thread.
16601         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16602         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16603         and global __sim_exceptions_global.
16604         (__sim_disabled_exceptions): Change to thread-local
16605         __sim_disabled_exceptions_thread and global
16606         __sim_disabled_exceptions_global.
16607         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16608         and global __sim_round_mode_global.
16609         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16610         (SIM_SET_GLOBAL): Likewise.
16611         * sysdeps/powerpc/soft-fp/sfp-machine.h
16612         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16613         __sim_round_mode_thread.
16614         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16615         __sim_disabled_exceptions_thread.
16616         (__sim_exceptions): Change to __sim_exceptions_thread.
16617         (__sim_disabled_exceptions): Change to
16618         __sim_disabled_exceptions_thread.
16619         (__sim_round_mode): Change to __sim_round_mode_thread.
16620         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16621         thread-local floating-point state and set global state from it as
16622         needed.
16623         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16624         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16625         (__sim_disabled_exceptions): Remove extern declaration.
16626         (feenableexcept): Use thread-local floating-point state and set
16627         global state from it as needed.
16628         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16629         extern declaration.
16630         (__sim_disabled_exceptions): Likewise.
16631         (__sim_round_mode): Likewise.
16632         (__fegetenv): Use thread-local floating-point state.
16633         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16634         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16635         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16636         floating-point state and set global state from it as needed.
16637         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16638         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16639         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16640         Likewise.
16641         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16642         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16643         Likewise.
16644         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16645         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16646         Use __sim_round_mode_thread.
16647         * math/test-fenv-tls.c: New file.
16648         * math/Makefile (tests): Add test-fenv-tls.
16649         ($(objpfx)test-fenv-tls): Depend on
16650         $(common-objpfx)nptl/libpthread.so.
16652 2013-11-19  Andreas Schwab  <schwab@suse.de>
16654         * locale/programs/locale.c (show_info): Decode wordarray elements.
16655         * locale/categories.def (LC_MONETARY): Add element for
16656         _NL_MONETARY_CRNCYSTR.
16657         * locale/C-monetary.c (conversion_rate): New variable.
16658         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16659         element.
16661 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
16663         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16664         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16666 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16668         * elf/Makefile (tst-auxv): New test.
16669         * elf/tst-auxv.c: New
16670         * elf/rtld.c (dl_main): Adjust AT_EXECFN
16672 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
16674         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16675         (hidden_proto): Caller changed.
16676         (hidden_tls_proto): New macro.
16677         (libc_hidden_tls_proto): Likewise.
16678         (rtld_hidden_tls_proto): Likewise.
16679         (libm_hidden_tls_proto): Likewise.
16680         (libresolv_hidden_tls_proto): Likewise.
16681         (librt_hidden_tls_proto): Likewise.
16682         (libdl_hidden_tls_proto): Likewise.
16683         (libnss_files_hidden_tls_proto): Likewise.
16684         (libnsl_hidden_tls_proto): Likewise.
16685         (libnss_nisplus_hidden_tls_proto): Likewise.
16686         (libutil_hidden_tls_proto): Likewise.
16688 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
16690         [BZ #10253]
16691         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16692         (decompose_rpath): Defer expansion to fillin_rpath.
16693         (_dl_init_paths): Pass linkmap to fillin_rpath.
16695 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16697         * benchtests/Makefile: Add strsep.
16698         * benchtests/bench-strsep.c: New file: strsep benchtest.
16699         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16701 2013-11-18  Andreas Schwab  <schwab@suse.de>
16703         * locale/programs/locale.c (show_info) [case byte]: Check for
16704         '\377' instead of '\177'.
16705         * locale/C-monetary.c (not_available): Always use "\377".
16706         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16707         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
16708         detect unavailable sign_posn locale elements.
16709         * locale/localeconv.c (__localeconv): For grouping and
16710         mon_grouping handle "\177" and "\377" like no grouping.
16711         (INT_ELEM): New macro.  Use it to set all numeric members.
16712         * locale/programs/ld-monetary.c (monetary_read)
16713         <tok_mon_grouping>: Normalize single -1 to the empty string.
16714         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16715         Likewise.
16717 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16719         [BZ #16055]
16720         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16721         when we match (nil).
16722         * stdio-common/tst-sscanf.c (struct test): Add testcase.
16724 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
16726         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16727         (NO_TEST_INLINE): Update value.
16728         (ERRNO_UNCHANGED): Likewise.
16729         (ERRNO_EDOM): Likewise.
16730         (ERRNO_ERANGE): Likewise.
16731         (IGNORE_RESULT): Likewise.
16732         (check_float_internal): Check signs of NaN results if
16733         TEST_NAN_SIGN used.
16734         (check_complex): Pass TEST_NAN_SIGN flag through to second
16735         check_float_internal call.
16736         (copysign_test_data): Add tests with quiet NaNs as second
16737         argument.  Use TEST_NAN_SIGN.
16738         (fabs_test_data): Add test of negative quiet NaN argument.  Use
16739         TEST_NAN_SIGN.
16740         (signbit_test_data): Add tests of quiet NaN argument.
16741         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16743         * math/gen-libm-test.pl (show_exceptions): Take extra argument
16744         $ignore_result.
16745         (parse_args): Handle function results specified as IGNORE.
16746         * math/libm-test.inc (IGNORE_RESULT): New macro.
16747         (check_float_internal): Do not check numerical result if flag
16748         IGNORE_RESULT set.
16749         (check_complex): Pass through IGNORE_RESULT to second
16750         check_float_internal call.
16751         (check_int): Do not check numerical result if flag IGNORE_RESULT
16752         set.
16753         (check_long): Likewise.
16754         (check_bool): Likewise.
16755         (check_longlong): Likewise.
16756         (lrint_test_data): Add tests of infinite and NaN arguments.
16757         (lrint_tonearest_test_data): Likewise.
16758         (lrint_towardzero_test_data): Likewise.
16759         (lrint_downward_test_data): Likewise.
16760         (lrint_upward_test_data): Likewise.
16761         (llrint_test_data): Likewise.
16762         (llrint_tonearest_test_data): Likewise.
16763         (llrint_towardzero_test_data): Likewise.
16764         (llrint_downward_test_data): Likewise.
16765         (llrint_upward_test_data): Likewise.
16766         (lround_test_data): Likewise.
16767         (llround_test_data): Likewise.
16769         * math/libm-test.inc (NO_TEST_INLINE): New macro.
16770         (ERRNO_UNCHANGED): Update value.
16771         (ERRNO_EDOM): Likewise.
16772         (ERRNO_ERANGE): Likewise.
16773         (NO_TEST_INLINE_FLOAT): New macro.
16774         (NO_TEST_INLINE_DOUBLE): Likewise.
16775         (enable_test): New function.
16776         (RUN_TEST_f_f): Check enable_test before running test.
16777         (RUN_TEST_2_f): Likewise.
16778         (RUN_TEST_fff_f): Likewise.
16779         (RUN_TEST_c_f): Likewise.
16780         (RUN_TEST_f_f1): Likewise.
16781         (RUN_TEST_fF_f1): Likewise.
16782         (RUN_TEST_fI_f1): Likewise.
16783         (RUN_TEST_ffI_f1): Likewise.
16784         (RUN_TEST_c_c): Likewise.
16785         (RUN_TEST_cc_c): Likewise.
16786         (RUN_TEST_f_i): Likewise.
16787         (RUN_TEST_f_i_tg): Likewise.
16788         (RUN_TEST_ff_i_tg): Likewise.
16789         (RUN_TEST_f_b): Likewise.
16790         (RUN_TEST_f_b_tg): Likewise.
16791         (RUN_TEST_f_l): Likewise.
16792         (RUN_TEST_f_L): Likewise.
16793         (RUN_TEST_fFF_11): Likewise.
16794         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16795         conditionals.
16796         (cosh_test_data): Likewise.
16797         (exp_test_data): Likewise.
16798         (expm1_test_data): Likewise.
16799         (hypot_test_data): Likewise.
16800         (pow_test_data): Likewise.
16801         (sinh_test_data): Likewise.
16802         (tanh_test_data): Likewise.
16803         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16804         flags argument.
16806         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16807         tests with quiet NaN input and output.
16808         (acosh_test_data): Likewise.
16809         (asin_test_data): Likewise.
16810         (asinh_test_data): Likewise.
16811         (atan_test_data): Likewise.
16812         (atanh_test_data): Likewise.
16813         (atan2_test_data): Likewise.
16814         (cbrt_test_data): Likewise.
16815         (cos_test_data): Likewise.
16816         (cosh_test_data): Likewise.
16817         (erf_test_data): Likewise.
16818         (erfc_test_data): Likewise.
16819         (exp_test_data): Likewise.
16820         (exp10_test_data): Likewise.
16821         (exp2_test_data): Likewise.
16822         (expm1_test_data): Likewise.
16823         (hypot_test_data): Likewise.
16824         (j0_test_data): Likewise.
16825         (j1_test_data): Likewise.
16826         (jn_test_data): Likewise.
16827         (lgamma_test_data): Likewise.
16828         (log_test_data): Likewise.
16829         (log10_test_data): Likewise.
16830         (log1p_test_data): Likewise.
16831         (log2_test_data): Likewise.
16832         (pow_test_data): Likewise.
16833         (scalb_test_data): Likewise.
16834         (sin_test_data): Likewise.
16835         (sincos_test_data): Likewise.
16836         (sinh_test_data): Likewise.
16837         (tan_test_data): Likewise.
16838         (tanh_test_data): Likewise.
16839         (tgamma_test_data): Likewise.
16840         (y0_test_data): Likewise.
16841         (y1_test_data): Likewise.
16842         (yn_test_data): Likewise.
16844         [BZ #16167]
16845         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16846         argument being NaN and avoid computations with second argument in
16847         that case.
16848         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16849         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16850         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16852 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
16854         * locale/iso-639.def: Add Chitwani Tharu (the).
16856 2013-11-14  Andreas Schwab  <schwab@suse.de>
16858         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16859         word instead of empty string.
16861 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16864         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16866         (__fe_nomask_env): Likewise.
16868 2013-11-13  Steve Ellcey  <sellcey@mips.com>
16870         * benchtests/bench-timing.h: Include time.h.
16872 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
16874         [BZ #15997]
16875         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16876         to 3.4.0 for x32.
16877         * sysdeps/unix/sysv/linux/configure: Regenerated.
16879 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
16881         [BZ #16151]
16882         * stdlib/strtod_l.c (round_and_return): Do not consider
16883         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16884         exponent one less than half the least subnormal exponent.
16885         * stdlib/test-strtod-round-data: Add more tests.
16886         * stdlib/tst-strtod-round.c (tests): Regenerated.
16888 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16890         [BZ #14143]
16891         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16892         (__fe_mask_env): Likewise.
16893         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16894         libm_hidden_proto and add function prototype.
16895         (__fe_mask_env): Add function prototype.
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16897         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16899         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16901         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16903 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16905         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16906         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16908 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16910         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16911         of htab_find_slot().
16913 2013-11-11  David S. Miller  <davem@davemloft.net>
16915         [BZ #16150]
16916         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16917         symbol in the non-vis3 case in static builds.
16918         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16919         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16920         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16921         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16923 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16925         [BZ #387]
16926         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16927         it is empty.
16929 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16931         * benchtests/Makefile: Add bench-strtod.
16932         * benchtests/bench-strtod.c: New file: strtod benchtest
16934 2013-11-11  Andreas Schwab  <schwab@suse.de>
16936         [BZ #16153]
16937         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16938         terminating NUL in key length.
16940 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16942         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16943         Add artificial ODP entry for vDSO symbol for PPC64.
16944         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16945         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16947 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16949         [BZ #15374]
16950         * nss/getent.c (services_keys): Recognize services starting with digit.
16952 2013-11-06  David S. Miller  <davem@davemloft.net>
16954         [BZ #15985]
16955         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16956         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16958 2013-11-06  Will Newton  <will.newton@linaro.org>
16960         * manual/memory.texi (Malloc Examples): Remove register
16961         keyword from examples.
16963 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
16965         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16967 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
16969         [BZ #6981]
16970         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16971         depending on [__GCC_IEC_559 > 0].
16972         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16973         depending on [__GCC_IEC_559_COMPLEX > 0].
16975 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
16977         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16978         to iso-639.def.
16980 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
16982         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16984 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
16986         [BZ #16112]
16987         * malloc/malloc (malloc_info): Do not handle first bin as
16988         special case.
16990 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
16992         * locale/iso-639.def: Add Central Nahuatl (nhn).
16994 2013-11-01  Bruno Haible  <bruno@clisp.org>
16996         [BZ #7003]
16997         * manual/math.texi (BSD Random): Specify range upper bound as
16998         in POSIX.
17000 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17002         * locale/iso-639.def: Add Meadow Mari (mhr).
17004 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17006         [BZ #14752], [BZ #15763]
17007         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17008         Validate name.
17009         * rt/tst_shm.c: Add test for escaping directory.
17011 2013-10-31  Andreas Schwab  <schwab@suse.de>
17013         [BZ #15917]
17014         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17015         followed by 'x' as part of digit sequence.
17016         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17018 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17020         [BZ #16037]
17021         * configure.ac: allow GNU Make 4.0 and greater.
17022         * configure: Regenerated.
17024 2013-10-30  Will Newton  <will.newton@linaro.org>
17026         [BZ #16038]
17027         * malloc/hooks.c (memalign_check): Limit alignment to the
17028         maximum representable power of two.
17029         * malloc/malloc.c (__libc_memalign): Likewise.
17030         * malloc/tst-memalign.c (do_test): Add test for very
17031         large alignment values.
17032         * malloc/tst-posix_memalign.c (do_test): Likewise.
17034 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17036         [BZ #11087]
17037         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17038         (munmap_chunk): Likewise.
17039         (mremap_chunk): Likewise.
17041 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17043         [BZ #15799]
17044         * stdlib/div.c (div): Remove obsolete code.
17045         * stdlib/ldiv.c (ldiv): Likewise.
17046         * stdlib/lldiv.c (lldiv): Likewise.
17048 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17050         [BZ #16071]
17051         * nss/nss_files/files-XXX.c (get_contents_ret): New
17052         enumerator.
17053         (get_contents): New function.
17054         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17056 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17058         * configure.in: Moved to ...
17059         * configure.ac: ... here. Change reference to configure.in
17060         to configure.ac.
17061         * sysdeps/arm/preconfigure.ac: ... here.
17062         configure.in to configure.ac.
17063         * sysdeps/gnu/configure.in: Moved to ...
17064         * sysdeps/gnu/configure.ac: ... here.
17065         * sysdeps/i386/configure.in: Moved to ...
17066         * sysdeps/i386/configure.ac: ... here.
17067         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17068         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17069         * sysdeps/mach/configure.in: Moved to ...
17070         * sysdeps/mach/configure.ac: ... here.
17071         * sysdeps/mach/hurd/configure.in: Moved to ...
17072         * sysdeps/mach/hurd/configure.ac: ... here.
17073         * sysdeps/powerpc/configure.in: Moved to ...
17074         * sysdeps/powerpc/configure.ac: ... here.
17075         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17076         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17077         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17078         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17079         * sysdeps/s390/s390-32/configure.in: Moved to ...
17080         * sysdeps/s390/s390-32/configure.ac: ... here.
17081         * sysdeps/s390/s390-64/configure.in: Moved to ...
17082         * sysdeps/s390/s390-64/configure.ac: ... here.
17083         * sysdeps/sh/configure.in: Moved to ...
17084         * sysdeps/sh/configure.ac: ... here.
17085         * sysdeps/sparc/configure.in: Moved to ...
17086         * sysdeps/sparc/configure.ac: ... here.
17087         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17088         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17089         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17090         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17091         * sysdeps/x86_64/configure.in: Moved to ...
17092         * sysdeps/x86_64/configure.ac: ... here.
17093         * sysdeps/x86_64/preconfigure.in: Moved to ...
17094         * sysdeps/x86_64/preconfigure.ac: ... here.
17095         * aclocal.m4: Change reference to configure.in to configure.ac.
17096         * config.h.in: Likewise.
17097         * manual/install.texi: Likewise.
17098         * manual/maint.texi: Likewise.
17099         * Makefile: Likewise.
17100         * malloc/Makefile: Likewise.
17101         * nscd/Makefile: Likewise.
17102         * Makeconfig: Change reference to configure.in and
17103         preconfigure.in to configure.ac and preconfigure.ac
17104         respectively.
17105         * INSTALL: Regenerated.
17106         * configure: Likewise.
17107         * sysdeps/gnu/configure: Likewise.
17108         * sysdeps/i386/configure: Likewise.
17109         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17110         * sysdeps/mach/configure: Likewise.
17111         * sysdeps/mach/hurd/configure: Likewise.
17112         * sysdeps/powerpc/configure: Likewise.
17113         * sysdeps/powerpc/powerpc32/configure: Likewise.
17114         * sysdeps/powerpc/powerpc64/configure: Likewise.
17115         * sysdeps/s390/s390-32/configure: Likewise.
17116         * sysdeps/s390/s390-64/configure: Likewise.
17117         * sysdeps/sh/configure: Likewise.
17118         * sysdeps/sparc/configure: Likewise.
17119         * sysdeps/unix/sysv/linux/configure: Likewise.
17120         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17121         * sysdeps/x86_64/configure: Likewise.
17122         * sysdeps/x86_64/preconfigure: Likewise.
17124 2013-10-29  Andreas Schwab  <schwab@suse.de>
17126         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17128 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17130         * benchtests/pow-inputs: Add new inputs.
17132         * benchtests/exp-inputs: Add new inputs.
17134         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17135         conditional check for return value.
17136         (__cos32): Likewise.
17138 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17140         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17141         to provide a boost for large inputs with word alignment.
17142         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17143         implementation based on optimized PPC64 strcpy.
17144         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17145         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17146         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17147         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17149 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17151         [BZ #2801]
17152         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17154 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17156         [BZ #14876]
17157         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17158         * time/tst-strptime.c (day_tests): Add testcase.
17160 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17162         [BZ #14029]
17163         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17165 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17167         [BZ #16074]
17168         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17169         MAP_FAILED on error.
17171 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17173         [BZ #16072]
17174         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17175         heap for large requests.
17177 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17179         [BZ #9954]
17180         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17181         result if the result has no associated interface.
17182         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17183         interface for all 127.X.Y.Z addresses.
17185 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17187         * locale/iso-639.def: Add Ligurian (lij)
17189 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17191         [BZ #15825]
17192         * sunrpc/rpc_main.c: Document rpcgen -5.
17194 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17196         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17198 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17200         [BZ #10278]
17201         * posix/glob.c: Match only directories when trailing slash is present.
17202         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17203         (main): Add testcase.
17205 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17207         [BZ #15670]
17208         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17210 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
17212         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17213         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17214         AUTH_DES and cindex for FIPS 140-2.
17215         (DES Encryption): Add cindex FIPS 46-3.
17217         * locale/locarchive.h (struct locarhandle): Add fname.
17218         * locale/programs/localedef.c (main): Pass ARGV[remaining]
17219         if an optional argument was specified to --list-archive,
17220         otherwise NULL.
17221         * locale/programs/locarchive.c (show_archive_content): Take new
17222         argument fname and pass it via ah.fname to open_archive.
17223         * locale/programs/localedef.h: Update decl.
17224         (open_archive): If AH->fname is non-null, open that file
17225         rather than the default file name, and don't ignore ENOENT.
17226         (create_archive): Set AH.fname to NULL.
17227         (delete_locales_from_archive): Likewise.
17228         (add_locales_to_archive): Likewise.
17229         * locale/programs/locfile.c (write_all_categories): Likewise.
17231 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
17232             Aldy Hernandez  <aldyh@redhat.com>
17234         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17235         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17236         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17237         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17238         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17239         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17240         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17241         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17242         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17243         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17244         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17245         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17246         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17247         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17248         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17249         Likewise.
17250         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17251         Likewise.
17252         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17253         Likewise.
17254         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17255         Likewise.
17256         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17257         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17258         Likewise.
17259         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17260         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17261         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17262         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17263         Likewise.
17264         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17265         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17266         * sysdeps/powerpc/preconfigure: Likewise.
17267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17268         Likewise.
17269         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17270         Replace contents of file by #include of <fenv_libc.h>.
17271         * sysdeps/powerpc/soft-fp/sfp-machine.h
17272         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17273         and <sys/prctl.h>.
17274         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17275         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17276         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17277         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17278         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17279         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17281         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17282         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17283         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17284         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17285         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17287         Allow copysignl PLT reference to be missing.
17289 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
17290             Joseph Myers  <joseph@codesourcery.com
17292         [BZ #15948]
17293         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17294         single character.
17295         (add_to_tablewc): Assert sequence of wide characters is nonempty.
17297 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17299         * elf/tst-tls-dlinfo.c: Don't include tls.h.
17300         * elf/tst-tls1.c: Likewise.
17301         * elf/tst-tls10.h: Likewise.
17302         * elf/tst-tls14.c: Likewise.
17303         * elf/tst-tls2.c: Likewise.
17304         * elf/tst-tls3.c: Likewise.
17305         * elf/tst-tls4.c: Likewise.
17306         * elf/tst-tls5.c: Likewise.
17307         * elf/tst-tls6.c: Likewise.
17308         * elf/tst-tls7.c: Likewise.
17309         * elf/tst-tls8.c: Likewise.
17310         * elf/tst-tls9.c: Likewise.
17311         * elf/tst-tlsmod1.c: Likewise.
17312         * elf/tst-tlsmod13.c: Likewise.
17313         * elf/tst-tlsmod13a.c: Likewise.
17314         * elf/tst-tlsmod14a.c: Likewise.
17315         * elf/tst-tlsmod16a.c: Likewise.
17316         * elf/tst-tlsmod16b.c: Likewise.
17317         * elf/tst-tlsmod2.c: Likewise.
17318         * elf/tst-tlsmod3.c: Likewise.
17319         * elf/tst-tlsmod4.c: Likewise.
17320         * elf/tst-tlsmod5.c: Likewise.
17321         * elf/tst-tlsmod6.c: Likewise.
17323 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
17325         [BZ #12486]
17326         * malloc/malloc.c: remove checks for statistics.
17328 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17330         [BZ #15277]
17331         * inet/inet_net.c (inet_network): Detect additional invalid strings.
17332         * inet/tst-network.c: Add testcase.
17334 2013-10-17  Andreas Schwab  <schwab@suse.de>
17336         [BZ #15218]
17337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17338         to determine canonical name.
17340 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17342         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17343         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17344         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17345         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17346         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17347         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17348         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17349         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17350         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17351         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17352         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17353         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17354         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17355         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17356         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17357         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17358         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17359         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17360         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17361         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17362         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17363         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17364         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17365         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17366         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17367         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17368         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17369         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17370         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17371         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17372         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17373         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17374         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17375         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17376         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17377         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17378         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17379         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17380         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17381         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17382         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17383         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17384         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17385         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17386         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17387         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17388         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17389         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17390         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17391         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17392         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17393         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17394         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17395         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17396         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17397         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17398         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17399         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17401 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
17403         [BZ #16041]
17404         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17405         make result into a quiet NaN.
17407 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
17409         * soft-fp/adddf3.c: Fix horizontal whitespace.
17410         * soft-fp/addsf3.c: Likewise.
17411         * soft-fp/addtf3.c: Likewise.
17412         * soft-fp/divdf3.c: Likewise.
17413         * soft-fp/divsf3.c: Likewise.
17414         * soft-fp/divtf3.c: Likewise.
17415         * soft-fp/double.h: Likewise.
17416         * soft-fp/eqdf2.c: Likewise.
17417         * soft-fp/eqsf2.c: Likewise.
17418         * soft-fp/eqtf2.c: Likewise.
17419         * soft-fp/extenddftf2.c: Likewise.
17420         * soft-fp/extended.h: Likewise.
17421         * soft-fp/extendsfdf2.c: Likewise.
17422         * soft-fp/extendsftf2.c: Likewise.
17423         * soft-fp/extendxftf2.c: Likewise.
17424         * soft-fp/fixdfdi.c: Likewise.
17425         * soft-fp/fixdfsi.c: Likewise.
17426         * soft-fp/fixdfti.c: Likewise.
17427         * soft-fp/fixsfdi.c: Likewise.
17428         * soft-fp/fixsfsi.c: Likewise.
17429         * soft-fp/fixsfti.c: Likewise.
17430         * soft-fp/fixtfdi.c: Likewise.
17431         * soft-fp/fixtfsi.c: Likewise.
17432         * soft-fp/fixtfti.c: Likewise.
17433         * soft-fp/fixunsdfdi.c: Likewise.
17434         * soft-fp/fixunsdfsi.c: Likewise.
17435         * soft-fp/fixunsdfti.c: Likewise.
17436         * soft-fp/fixunssfdi.c: Likewise.
17437         * soft-fp/fixunssfsi.c: Likewise.
17438         * soft-fp/fixunssfti.c: Likewise.
17439         * soft-fp/fixunstfdi.c: Likewise.
17440         * soft-fp/fixunstfsi.c: Likewise.
17441         * soft-fp/fixunstfti.c: Likewise.
17442         * soft-fp/floatdidf.c: Likewise.
17443         * soft-fp/floatdisf.c: Likewise.
17444         * soft-fp/floatditf.c: Likewise.
17445         * soft-fp/floatsidf.c: Likewise.
17446         * soft-fp/floatsisf.c: Likewise.
17447         * soft-fp/floatsitf.c: Likewise.
17448         * soft-fp/floattidf.c: Likewise.
17449         * soft-fp/floattisf.c: Likewise.
17450         * soft-fp/floattitf.c: Likewise.
17451         * soft-fp/floatundidf.c: Likewise.
17452         * soft-fp/floatundisf.c: Likewise.
17453         * soft-fp/floatunditf.c: Likewise.
17454         * soft-fp/floatunsidf.c: Likewise.
17455         * soft-fp/floatunsisf.c: Likewise.
17456         * soft-fp/floatunsitf.c: Likewise.
17457         * soft-fp/floatuntidf.c: Likewise.
17458         * soft-fp/floatuntisf.c: Likewise.
17459         * soft-fp/floatuntitf.c: Likewise.
17460         * soft-fp/fmadf4.c: Likewise.
17461         * soft-fp/fmasf4.c: Likewise.
17462         * soft-fp/fmatf4.c: Likewise.
17463         * soft-fp/gedf2.c: Likewise.
17464         * soft-fp/gesf2.c: Likewise.
17465         * soft-fp/getf2.c: Likewise.
17466         * soft-fp/ledf2.c: Likewise.
17467         * soft-fp/lesf2.c: Likewise.
17468         * soft-fp/letf2.c: Likewise.
17469         * soft-fp/muldf3.c: Likewise.
17470         * soft-fp/mulsf3.c: Likewise.
17471         * soft-fp/multf3.c: Likewise.
17472         * soft-fp/negdf2.c: Likewise.
17473         * soft-fp/negsf2.c: Likewise.
17474         * soft-fp/negtf2.c: Likewise.
17475         * soft-fp/op-1.h: Likewise.
17476         * soft-fp/op-2.h: Likewise.
17477         * soft-fp/op-4.h: Likewise.
17478         * soft-fp/op-8.h: Likewise.
17479         * soft-fp/op-common.h: Likewise.
17480         * soft-fp/quad.h: Likewise.
17481         * soft-fp/single.h: Likewise.
17482         * soft-fp/soft-fp.h: Likewise.
17483         * soft-fp/sqrtdf2.c: Likewise.
17484         * soft-fp/sqrtsf2.c: Likewise.
17485         * soft-fp/sqrttf2.c: Likewise.
17486         * soft-fp/subdf3.c: Likewise.
17487         * soft-fp/subsf3.c: Likewise.
17488         * soft-fp/subtf3.c: Likewise.
17489         * soft-fp/truncdfsf2.c: Likewise.
17490         * soft-fp/trunctfdf2.c: Likewise.
17491         * soft-fp/trunctfsf2.c: Likewise.
17492         * soft-fp/trunctfxf2.c: Likewise.
17493         * soft-fp/unorddf2.c: Likewise.
17494         * soft-fp/unordsf2.c: Likewise.
17495         * soft-fp/unordtf2.c: Likewise.
17497 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
17499         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17500         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17502 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
17504         * elf/dl-libc.c: Clear initfini list after freeing.
17506 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
17508         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17509         * soft-fp/addsf3.c: Likewise.
17510         * soft-fp/addtf3.c: Likewise.
17511         * soft-fp/divdf3.c: Likewise.
17512         * soft-fp/divsf3.c: Likewise.
17513         * soft-fp/divtf3.c: Likewise.
17514         * soft-fp/double.h: Likewise.
17515         * soft-fp/eqdf2.c: Likewise.
17516         * soft-fp/eqsf2.c: Likewise.
17517         * soft-fp/eqtf2.c: Likewise.
17518         * soft-fp/extenddftf2.c: Likewise.
17519         * soft-fp/extended.h: Likewise.
17520         * soft-fp/extendsfdf2.c: Likewise.
17521         * soft-fp/extendsftf2.c: Likewise.
17522         * soft-fp/extendxftf2.c: Likewise.
17523         * soft-fp/fixdfdi.c: Likewise.
17524         * soft-fp/fixdfsi.c: Likewise.
17525         * soft-fp/fixdfti.c: Likewise.
17526         * soft-fp/fixsfdi.c: Likewise.
17527         * soft-fp/fixsfsi.c: Likewise.
17528         * soft-fp/fixsfti.c: Likewise.
17529         * soft-fp/fixtfdi.c: Likewise.
17530         * soft-fp/fixtfsi.c: Likewise.
17531         * soft-fp/fixtfti.c: Likewise.
17532         * soft-fp/fixunsdfdi.c: Likewise.
17533         * soft-fp/fixunsdfsi.c: Likewise.
17534         * soft-fp/fixunsdfti.c: Likewise.
17535         * soft-fp/fixunssfdi.c: Likewise.
17536         * soft-fp/fixunssfsi.c: Likewise.
17537         * soft-fp/fixunssfti.c: Likewise.
17538         * soft-fp/fixunstfdi.c: Likewise.
17539         * soft-fp/fixunstfsi.c: Likewise.
17540         * soft-fp/fixunstfti.c: Likewise.
17541         * soft-fp/floatdidf.c: Likewise.
17542         * soft-fp/floatdisf.c: Likewise.
17543         * soft-fp/floatditf.c: Likewise.
17544         * soft-fp/floatsidf.c: Likewise.
17545         * soft-fp/floatsisf.c: Likewise.
17546         * soft-fp/floatsitf.c: Likewise.
17547         * soft-fp/floattidf.c: Likewise.
17548         * soft-fp/floattisf.c: Likewise.
17549         * soft-fp/floattitf.c: Likewise.
17550         * soft-fp/floatundidf.c: Likewise.
17551         * soft-fp/floatundisf.c: Likewise.
17552         * soft-fp/floatunsidf.c: Likewise.
17553         * soft-fp/floatunsisf.c: Likewise.
17554         * soft-fp/floatuntidf.c: Likewise.
17555         * soft-fp/floatuntisf.c: Likewise.
17556         * soft-fp/floatuntitf.c: Likewise.
17557         * soft-fp/fmadf4.c: Likewise.
17558         * soft-fp/fmasf4.c: Likewise.
17559         * soft-fp/fmatf4.c: Likewise.
17560         * soft-fp/gedf2.c: Likewise.
17561         * soft-fp/gesf2.c: Likewise.
17562         * soft-fp/getf2.c: Likewise.
17563         * soft-fp/ledf2.c: Likewise.
17564         * soft-fp/lesf2.c: Likewise.
17565         * soft-fp/letf2.c: Likewise.
17566         * soft-fp/muldf3.c: Likewise.
17567         * soft-fp/mulsf3.c: Likewise.
17568         * soft-fp/multf3.c: Likewise.
17569         * soft-fp/negdf2.c: Likewise.
17570         * soft-fp/negsf2.c: Likewise.
17571         * soft-fp/negtf2.c: Likewise.
17572         * soft-fp/op-1.h: Likewise.
17573         * soft-fp/op-2.h: Likewise.
17574         * soft-fp/op-4.h: Likewise.
17575         * soft-fp/op-8.h: Likewise.
17576         * soft-fp/op-common.h: Likewise.
17577         * soft-fp/quad.h: Likewise.
17578         * soft-fp/single.h: Likewise.
17579         * soft-fp/soft-fp.h: Likewise.
17580         * soft-fp/sqrtdf2.c: Likewise.
17581         * soft-fp/sqrtsf2.c: Likewise.
17582         * soft-fp/sqrttf2.c: Likewise.
17583         * soft-fp/subdf3.c: Likewise.
17584         * soft-fp/subsf3.c: Likewise.
17585         * soft-fp/subtf3.c: Likewise.
17586         * soft-fp/truncdfsf2.c: Likewise.
17587         * soft-fp/trunctfdf2.c: Likewise.
17588         * soft-fp/trunctfsf2.c: Likewise.
17589         * soft-fp/trunctfxf2.c: Likewise.
17590         * soft-fp/unorddf2.c: Likewise.
17591         * soft-fp/unordsf2.c: Likewise.
17592         * soft-fp/unordtf2.c: Likewise.
17594 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
17596         [BZ #15672]
17597         * misc/error.c (error_tail): Fix possible buffer overflow.
17599 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
17601         [BZ #13028]
17602         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17603         address.
17605 2013-10-14  P. J. McDermott  <pj@pehjota.net>
17607         [BZ #832]
17608         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
17609         testing pipefail option.
17611 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17613         * soft-fp/double.h: Indent preprocessor directives inside #if.
17614         * soft-fp/extended.h: Likewise.
17615         * soft-fp/op-2.h: Likewise.
17616         * soft-fp/op-4.h: Likewise.
17617         * soft-fp/op-common.h: Likewise.
17618         * soft-fp/quad.h: Likewise.
17619         * soft-fp/single.h: Likewise.
17620         * soft-fp/soft-fp.h: Likewise.
17622 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
17624         * iconv/iconv_prog.c: Fix typos.
17625         * stdio-common/psiginfo-data.h: Likewise.
17627 2013-10-12   Reuben Thomas <rrt@sc3d.org>
17629         [BZ #15764]
17630         * locale/setlocale.c: Fix typo.
17632 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17634         [BZ #16036]
17635         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17636         signaling NaN arguments.
17637         * soft-fp/unordsf2.c (__unordsf2): Likewise.
17638         * soft-fp/unordtf2.c (__unordtf2): Likewise.
17640         [BZ #14910]
17641         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17642         unordered operands.
17643         * soft-fp/gesf2.c (__gesf2): Likewise.
17644         * soft-fp/getf2.c (__getf2): Likewise.
17645         * soft-fp/ledf2.c (__ledf2): Likewise.
17646         * soft-fp/lesf2.c (__lesf2): Likewise.
17647         * soft-fp/letf2.c (__letf2): Likewise.
17649         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17650         * soft-fp/eqsf2.c (__eqsf2): Likewise.
17651         * soft-fp/eqtf2.c (__eqtf2): Likewise.
17652         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17653         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17654         * soft-fp/fixdfti.c (__fixdfti): Likewise.
17655         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17656         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17657         * soft-fp/fixsfti.c (__fixsfti): Likewise.
17658         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17659         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17660         * soft-fp/fixtfti.c (__fixtfti): Likewise.
17661         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17662         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17663         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17664         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17665         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17666         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17667         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17668         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17669         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17670         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17671         * soft-fp/floatdisf.c (__floatdisf): Likewise.
17672         * soft-fp/floatsisf.c (__floatsisf): Likewise.
17673         * soft-fp/floattidf.c (__floattidf): Likewise.
17674         * soft-fp/floattisf.c (__floattisf): Likewise.
17675         * soft-fp/floattitf.c (__floattitf): Likewise.
17676         * soft-fp/floatundidf.c (__floatundidf): Likewise.
17677         * soft-fp/floatundisf.c (__floatundisf): Likewise.
17678         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17679         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17680         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17681         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17682         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17683         * soft-fp/gesf2.c (__gesf2): Likewise.
17684         * soft-fp/getf2.c (__getf2): Likewise.
17685         * soft-fp/ledf2.c (__ledf2): Likewise.
17686         * soft-fp/lesf2.c (__lesf2): Likewise.
17687         * soft-fp/letf2.c (__letf2): Likewise.
17689         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17690         Undefine and redefine.
17691         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17692         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17693         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17694         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17695         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17696         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17697         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17698         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17699         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17700         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17701         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17702         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17703         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17704         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17705         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17707         [BZ #16032]
17708         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17709         without decrementing exponent if mantissa >= that for the
17710         denominator, not >.
17711         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17712         denominator, not >.  Decrement exponent in < case instead of
17713         incrementing in >= case.
17714         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17715         without decrementing exponent if mantissa >= that for the
17716         denominator, not >.
17718         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17719         computing saturated result for unsigned overflow.
17721 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17722             Jeff Law  <law@redhat.com>
17724         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17725         (atan2Mp): Add systemtap probe marker.
17726         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17727         (__ieee754_log): Add systemtap probe marker.
17728         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17729         (atanMp): Add systemtap probe marker.
17730         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17731         (tanMp): Add systemtap probe marker.
17732         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17733         (__slowexp): Add systemtap probe marker.
17734         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17735         (__slowpow): Add systemtap probe marker.
17736         * manual/probes.texi: Document probes.
17738 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
17740         [BZ #15362]
17741         * libio/fileops.c (_IO_new_file_write): Return count of bytes
17742         written.
17743         (_IO_new_file_xsputn): Don't return EOF if nothing has been
17744         written.
17745         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17746         written to buffer but not flushed.
17747         * libio/iofwrite_u.c:  Likewise.
17748         * libio/iopadn.c:  Return bytes returned even if EOF was
17749         encountered.
17750         * libio/iowpadn.c:  Likewise.
17751         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17752         if _IO_padn does not write the whole buffer.
17753         [!COMPILE_WPRINTF] (PAD): Likewise.
17755 2013-10-10  David S. Miller  <davem@davemloft.net>
17757         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17758         directory block.
17760 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17762         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
17763         instead of FSF address.
17764         * soft-fp/fixdfti.c: Likewise.
17765         * soft-fp/fixsfti.c: Likewise.
17766         * soft-fp/fixtfti.c: Likewise.
17767         * soft-fp/fixunsdfti.c: Likewise.
17768         * soft-fp/fixunssfti.c: Likewise.
17769         * soft-fp/fixunstfti.c: Likewise.
17770         * soft-fp/floattidf.c: Likewise.
17771         * soft-fp/floattisf.c: Likewise.
17772         * soft-fp/floattitf.c: Likewise.
17773         * soft-fp/floatuntidf.c: Likewise.
17774         * soft-fp/floatuntisf.c: Likewise.
17775         * soft-fp/floatuntitf.c: Likewise.
17776         * soft-fp/trunctfxf2.c: Likewise.
17778         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
17779         * soft-fp/fixdfti.c: Likewise.
17780         * soft-fp/fixsfti.c: Likewise.
17781         * soft-fp/fixtfti.c: Likewise.
17782         * soft-fp/fixunsdfti.c: Likewise.
17783         * soft-fp/fixunssfti.c: Likewise.
17784         * soft-fp/fixunstfti.c: Likewise.
17785         * soft-fp/floattidf.c: Likewise.
17786         * soft-fp/floattisf.c: Likewise.
17787         * soft-fp/floattitf.c: Likewise.
17788         * soft-fp/floatuntidf.c: Likewise.
17789         * soft-fp/floatuntisf.c: Likewise.
17790         * soft-fp/floatuntitf.c: Likewise.
17791         * soft-fp/trunctfxf2.c: Likewise.
17793 2013-10-10  David S. Miller  <davem@davemloft.net>
17795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17797 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
17799         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17800         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17801         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17802         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17803         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17804         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17805         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17807         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17808         for NaNs before doing comparisons on argument.
17809         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17810         Likewise.
17812 2013-10-10  Will Newton  <will.newton@linaro.org>
17814         * malloc/hooks.c (memalign_check): Ensure the value of bytes
17815         passed to _int_memalign does not overflow.
17817 2013-10-10  Torvald Riegel  <triegel@redhat.com>
17819         * scripts/bench.pl: Add include-sources directive.
17820         * benchtests/README: Update documentation.
17822 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17824         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17825         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17826         instead of FP_INIT_ROUNDMODE.
17827         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17828         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17830         [BZ #16034]
17831         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
17832         copy class of input value.
17833         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
17834         not handle exceptions.
17835         * soft-fp/negsf2.c (__negsf2): Likewise.
17836         * soft-fp/negtf2.c (__negtf2): Likewise.
17837         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17839 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
17841         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17842         semicolon.  From Linux kernel.
17844 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
17846         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17848 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
17850         [BZ #156]
17851         * manual/socket.texi: Added statement about buffer
17852         for gethostbyname2_r.
17854 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
17856         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17857         Use .p2align directive instead, throughout.
17858         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17859         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17860         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17861         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17862         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17863         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17864         * sysdeps/x86_64/strchr.S: Likewise.
17865         * sysdeps/x86_64/strrchr.S: Likewise.
17867 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17869         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17871         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17873         * sysdeps/generic/math_private.h (__mpsin1): Remove
17874         declaration.
17875         (__mpcos1): Likewise.
17876         (__mpsin): New argument __range_reduce.
17877         (__mpcos): Likewise.
17878         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17879         (slow): Use __mpsin and __mpcos.
17880         (slow1): Likewise.
17881         (slow2): Likewise.
17882         (sloww): Likewise.
17883         (sloww1): Likewise.
17884         (sloww2): Likewise.
17885         (bsloww): Likewise.
17886         (bsloww1): Likewise.
17887         (bsloww2): Likewise.
17888         (cslow2): Likewise.
17889         (csloww): Likewise.
17890         (csloww1): Likewise.
17891         (csloww2): Likewise.
17892         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17893         range_reduce.  Merge in __mpsin1.
17894         (__mpcos): Likewise.
17895         (__mpsin1): Remove.
17896         (__mpcos1): Likewise.
17898 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
17900         * locale/loadlocale.c (_nl_intern_locale_data): Use
17901         LOCFILE_ALIGNED_P.
17902         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17903         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17904         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17905         obstack data is appropriately aligned.
17906         (obstack_int32_grow_fast): Likewise.
17907         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17908         * locale/programs/locfile.c (add_locale_uint32): Likewise.
17909         (add_locale_uint32_array): Likewise.
17911 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17913         * benchtests/Makefile: Remove ARGLIST and RET variables.
17914         ($(objpfx)bench-%.c): Pass only function name to the script.
17915         * benchtests/README: Update documentation.
17916         * benchtests/acos-inputs: Add new directives.
17917         * benchtests/acosh-inputs: Likewise.
17918         * benchtests/asin-inputs: Likewise.
17919         * benchtests/asinh-inputs: Likewise.
17920         * benchtests/atan-inputs: Likewise.
17921         * benchtests/atanh-inputs: Likewise.
17922         * benchtests/cos-inputs: Likewise.
17923         * benchtests/cosh-inputs: Likewise.
17924         * benchtests/exp-inputs: Likewise.
17925         * benchtests/log-inputs: Likewise.
17926         * benchtests/pow-inputs: Likewise.
17927         * benchtests/rint-inputs: Likewise.
17928         * benchtests/sin-inputs: Likewise.
17929         * benchtests/sinh-inputs: Likewise.
17930         * benchtests/tan-inputs: Likewise.
17931         * benchtests/tanh-inputs: Likewise.
17932         * scripts/bench.pl: Add support for new directives.
17934 2013-10-07  Alan Modra  <amodra@gmail.com>
17936         * README: Fix careless merge.
17938 2013-10-05  Alan Modra  <amodra@gmail.com>
17940         * NEWS: Mention powerpc64le support and bugs fixed.
17941         * README: Both big-endian and little-endian powerpc64 supported.
17943 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17945         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17946         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17947         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17948         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17950 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
17952         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17953         match prototype.
17955 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
17957         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17958         Move -mhard-float appending from
17959         ports/sysdeps/powerpc/powerpc32/Makefile.
17960         [$(with-fp) = yes] (ASFLAGS): Likewise.
17961         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17962         * sysdeps/powerpc/nofpu: Move directory from
17963         ports/sysdeps/powerpc/nofpu.
17964         * sysdeps/powerpc/soft-fp: Move directory from
17965         ports/sysdeps/powerpc/soft-fp.
17966         * sysdeps/powerpc/powerpc32/405: Move directory from
17967         ports/sysdeps/powerpc/powerpc32/405.
17968         * sysdeps/powerpc/powerpc32/440: Move directory from
17969         ports/sysdeps/powerpc/powerpc32/440.
17970         * sysdeps/powerpc/powerpc32/464: Move directory from
17971         ports/sysdeps/powerpc/powerpc32/464.
17972         * sysdeps/powerpc/powerpc32/476: Move directory from
17973         ports/sysdeps/powerpc/powerpc32/476.
17974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17975         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17977         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17979         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17981         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17983         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17984         * README: Update for powerpc-*-linux-gnu software floating point
17985         support in libc.
17987         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17988         case to powerpc/powerpc32*.
17989         * sysdeps/unix/sysv/linux/configure: Regenerated.
17991         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17992         (_FPU_MASK_OM): Define as 0x04.
17993         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17994         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17995         0x00c10080.
17996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17997         0x0000003c.
17998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18001         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18002         getcontext_e500.
18003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18004         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18005         setcontext_e500.
18006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18007         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18008         and setcontext_e500.
18010 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18012         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18014 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18016         * manual/threads.texi (Default Thread Attributes): Fix typo.
18018 2013-10-04  Will Newton  <will.newton@linaro.org>
18020         * malloc/Makefile: Add tst-memalign.
18021         * malloc/tst-memalign.c: New file.
18023         * malloc/tst-posix_memalign.c: Add comments.
18024         (do_test): Add comments and call free on all potentially
18025         allocated pointers. Add space after cast.
18027         * malloc/tst-pvalloc.c: Add comments.
18028         (do_test): Add comments and call free on all potentially
18029         allocated pointers. Remove duplicate check for NULL pointer.
18030         Add space after cast.
18032         * malloc/tst-valloc.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.
18037 2013-10-04  Alan Modra  <amodra@gmail.com>
18039         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18040         Use stdint types in rather than __attribute__((mode())).
18041         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18043 2013-10-04  Alan Modra  <amodra@gmail.com>
18045         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18046         Correct handling of unaligned relocs for little-endian.
18047         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18049 2013-10-04  Alan Modra  <amodra@gmail.com>
18051         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18052         * configure: Regenerate.
18053         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18054         * shlib-versions: Likewise.
18056 2013-10-04  Alan Modra  <amodra@gmail.com>
18058         * string/tester.c (test_memrchr): Increment reported test cycle.
18060 2013-10-04  Alan Modra  <amodra@gmail.com>
18062         * string/test-memcpy.c (do_one_test): When reporting errors, print
18063         string address and don't overrun end of string.
18065 2013-10-04  Alan Modra  <amodra@gmail.com>
18067         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18068         insrdi.  Make better use of reg selection to speed exit slightly.
18069         Schedule entry path a little better.  Remove useless "are we done"
18070         checks on entry to main loop.  Handle wrapping around zero address.
18071         Correct main loop count.  Handle single left-over word from main
18072         loop inline rather than by using loop_small.  Remove extra word
18073         case in loop_small caused by wrong loop count.  Add little-endian
18074         support.
18075         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18076         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18077         cache hint.
18078         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18079         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18080         support.  Avoid rlwimi.
18081         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18083 2013-10-04  Alan Modra  <amodra@gmail.com>
18085         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18086         insrdi.  Formatting.
18087         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18088         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18089         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18090         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18091         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18092         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18094 2013-10-04  Alan Modra  <amodra@gmail.com>
18096         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18097         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18098         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18099         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18100         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18101         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18102         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18103         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18104         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18105         use of regs.  Use power7 mtocrf.  Tidy function tails.
18107 2013-10-04  Alan Modra  <amodra@gmail.com>
18109         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18110         Formatting.  Consistently use rXXX register defines or rN defines.
18111         Use early exit labels that avoid restoring unused non-volatile regs.
18112         Make cr field use more consistent with rWORDn compares.  Rename
18113         regs used as shift registers for unaligned loop, using rN defines
18114         for short lifetime/multiple use regs.
18115         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18116         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18117         addi 1,1,64 to pop stack frame.  Simplify return value code.
18118         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18120 2013-10-04  Alan Modra  <amodra@gmail.com>
18122         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18123         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18124         rather than rlwimi.
18125         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18126         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18127         little-endian support.  Correct typos.
18128         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18129         rather than rlwimi.
18130         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18131         in loop and entry code to keep "and." results.
18132         (strchr): Add little-endian support.  Comment.  Move cntlzd
18133         earlier in tail.
18134         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18136 2013-10-04  Alan Modra  <amodra@gmail.com>
18138         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18139         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18140         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18141         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18143 2013-10-04  Alan Modra  <amodra@gmail.com>
18145         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18146         (rTMP): Define as r11.
18147         (strcmp): Add little-endian support.  Optimise tail.
18148         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18149         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18150         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18151         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18152         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18153         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18154         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18156 2013-10-04  Alan Modra  <amodra@gmail.com>
18158         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18159         little-endian support.  Remove unnecessary "are we done" tests.
18160         Handle "s" wrapping around zero and extremely large "size".
18161         Correct main loop count.  Handle single left-over word from main
18162         loop inline rather than by using small_loop.  Correct comments.
18163         Delete "zero" tail, use "end_max" instead.
18164         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18166 2013-10-04  Alan Modra  <amodra@gmail.com>
18168         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18169         support.  Don't branch over align.
18170         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18171         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18172         support.  Rearrange tmp reg use to suit.  Comment.
18173         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18175 2013-10-04  Alan Modra  <amodra@gmail.com>
18177         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18179 2013-10-04  Alan Modra  <amodra@gmail.com>
18181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18182         conditional form of branch and link when obtaining pc.
18183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18185 2013-10-04  Alan Modra  <amodra@gmail.com>
18187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18188         HIWORD/LOWORD.
18189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18192 2013-10-04  Alan Modra  <amodra@gmail.com>
18194         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18195         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18196         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18197         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18198         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18199         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18200         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18201         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18202         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18203         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18205 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18206             Alistair Popple <alistair@ozlabs.au.ibm.com>
18207             Alan Modra <amodra@gmail.com>
18209         [BZ #15723]
18210         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18211         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18212         _dl_hwcap access for little-endian.
18213         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
18214         destroy vmx regs when saving unaligned.
18215         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18216         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
18217         destroy vmx regs when saving unaligned.
18219 2013-10-04  Alan Modra  <amodra@gmail.com>
18221         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18222         Don't use a union to pack hi/low value.
18224 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18226         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18227         for little-endian.
18228         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18229         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18230         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18231         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18232         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18234 2013-10-04  Alan Modra  <amodra@gmail.com>
18236         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18237         constants to usual value for .cst8 section, and remove redundant
18238         high address load.
18239         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18240         constant for 0x1p52.  Load little-endian words of double from
18241         correct stack offsets.
18243 2013-10-04  Alan Modra  <amodra@gmail.com>
18245         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18246         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18247         words of double from correct stack offsets.
18248         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18249         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18250         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18251         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18252         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18253         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18254         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18255         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18256         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18257         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18258         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18259         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18260         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18261         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18262         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18263         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18264         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18266 2013-10-04  Alan Modra  <amodra@gmail.com>
18268         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18269         64-bit int/double union.
18270         (_FPU_SETCW): Likewise.
18271         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18272         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18274 2013-10-04  Alan Modra  <amodra@gmail.com>
18276         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18277         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18279 2013-10-04  Alan Modra  <amodra@gmail.com>
18281         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18282         use vector int constants.
18283         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18285 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18287         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18288         array with long long.
18289         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18290         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18291         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18292         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18293         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18294         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18295         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18296         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18297         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18298         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18299         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18300         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18301         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18303 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18305         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18306         (__signbit): Likewise.  Correct for little-endian.
18307         (__signbitl): Call __signbit.
18308         (lrint): Correct for little-endian.
18309         (lrintf): Call lrint.
18311 2013-10-04  Alan Modra  <amodra@gmail.com>
18313         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18314         union 32-bit int array member with 64-bit int array.
18315         (t515, tm256): Double rather than long double.
18316         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18318 2013-10-04  Alan Modra  <amodra@gmail.com>
18320         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18321         Delete.
18322         (IEEE854_LONG_DOUBLE_BIAS): Delete.
18323         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18324         version of math_ldbl.h.
18326 2013-10-04  Alan Modra  <amodra@gmail.com>
18328         [BZ #15734], [BZ #15735]
18329         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18330         all uses of ieee875 long double macros and unions.  Simplify test
18331         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
18332         ldbl_extract_mantissa value for ix,iy exponents.  Properly
18333         normalize after ldbl_extract_mantissa, and don't add hidden bit
18334         already handled.  Don't treat low word of ieee854 mantissa like
18335         low word of IBM long double and mask off bit when testing for
18336         zero.
18337         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18338         all uses of ieee875 long double macros and unions.  Simplify tests
18339         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
18340         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
18341         two1022, instead use their values.  Recognise that tests for large
18342         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18343         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18344         Rewrite all uses of ieee875 long double macros and unions.  Simplify
18345         test for 0.0L and nan.  Correct negation.
18346         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18347         ieee875 long double macros and unions.  Correct output for large
18348         magnitude x.  Correct absolute value calculation.
18349         (__erfcl): Likewise.
18350         * math/libm-test.inc: Add tests for errors discovered in IBM long
18351         double versions of fmodl, remainderl, erfl and erfcl.
18353 2013-10-04  Alan Modra  <amodra@gmail.com>
18355         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18356         all uses of ieee854 long double macros and unions.  Simplify tests
18357         for long doubles that are fully specified by the high double.
18358         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18359         Likewise.
18360         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18361         Remove dead code too.
18362         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18363         (__ieee754_ynl): Likewise.
18364         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18365         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18366         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18367         Remove dead code too.
18368         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18369         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18370         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18371         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18372         Simplify.
18373         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18374         Simplify.
18375         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18376         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18377         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18378         Comment on variable precision.
18379         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18380         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18381         Likewise.
18382         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18383         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18384         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18385         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18386         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18388 2013-10-04  Alan Modra  <amodra@gmail.com>
18390         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18391         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18392         all uses of ieee854 long double macros and unions.
18393         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18394         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18395         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18396         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18397         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18398         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18399         Likewise.
18400         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18401         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18402         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18403         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18404         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18405         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18406         Simplify sign and nan test too.
18407         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18408         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18409         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18410         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18411         Likewise.
18412         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18413         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18414         Likewise.
18415         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18416         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18417         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18418         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18419         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18420         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18422 2013-10-04  Alan Modra  <amodra@gmail.com>
18424         * stdio-common/printf_size.c (__printf_size): Don't use
18425         union ieee854_long_double in fpnum union.
18426         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
18427         signbit macro to retrieve sign from long double.
18428         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18429         retrieve sign from long double.
18430         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18431         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18432         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18433         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18434         * math/test-misc.c (main): Don't use union ieee854_long_double.
18436 2013-10-04  Alan Modra  <amodra@gmail.com>
18438         [BZ #15680]
18439         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18440         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18441         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18442         calculation.  Remove unnecessary test for denormal exponent.
18443         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18444         Correct handling of denormals.  Avoid undefined shift behaviour.
18445         Correct normalisation of low mantissa when low double is denormal.
18446         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18447         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
18448         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18449         Correct normalisation of low mantissa.  Test for overflow of high
18450         mantissa and normalise.
18451         (ldbl_nearbyint): Use more readable constant for two52.
18452         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18453         (__mpn_construct_long_double): Fix test for overflow of high
18454         mantissa and correct normalisation.  Avoid undefined shift.
18456 2013-10-04  Alan Modra  <amodra@gmail.com>
18458         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18459         (union ibm_extended_long_double): Define as an array of ieee754_double.
18460         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18461         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18462         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18463         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18464         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18465         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18466         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18467         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18468         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18469         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18470         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18472 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
18474         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18475         page size instead of calling getpagesize.
18477         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18478         (LOCFILE_ALIGN_MASK): Likewise.
18479         (LOCFILE_ALIGN_UP): Likewise.
18480         (LOCFILE_ALIGNED_P): Likewise.
18481         * locale/programs/ld-collate.c (collate_output): Use the new
18482         macros instead of __alignof__ (int32_t).
18483         * locale/weight.h (findidx): Likewise.
18485 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
18487         [BZ #431]
18488         * manual/string.texi: Fix strncat and wcsncat.
18490 2013-10-03  Brooks Moses  <bmoses@google.com>
18492         [BZ #15915]
18493         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18494         * Makerules: ...here, and adjust associated comments.
18496 2013-10-02  Will Newton  <will.newton@linaro.org>
18498         * malloc/Makefile: Add tst-pvalloc.
18499         * malloc/tst-pvalloc.c: New file.
18501 2013-10-02  Will Newton  <will.newton@linaro.org>
18503         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18504         improve test coverage.
18506 2013-10-02  Will Newton  <will.newton@linaro.org>
18508         * malloc/Makefile: Add tst-posix_memalign.
18509         * malloc/tst-posix_memalign.c: New file.
18511 2013-10-01  Eric Blake  <eblake@redhat.com>
18513         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18514         Use __THROWNL rather than __THROW on static functions.
18516 2013-09-30  Petr Machata  <pmachata@redhat.com>
18518         * elf/elf.h (R_AARCH64_ABS16): New macro.
18519         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18520         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18521         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18522         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18523         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18524         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18525         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18526         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18527         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18528         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18529         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18530         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18531         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18532         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18533         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18534         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18535         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18536         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18537         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18538         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18539         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18540         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18541         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18542         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18543         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18544         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18545         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18546         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18547         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18548         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18549         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18550         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18551         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18552         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18553         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18554         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18555         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18556         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18557         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18558         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18559         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18560         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18561         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18562         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18563         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18564         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18565         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18566         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18567         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18568         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18569         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18570         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18571         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18572         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18573         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18574         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18575         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18576         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18577         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18578         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18579         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18580         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18581         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18582         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18583         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18584         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18585         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18586         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18587         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18588         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18589         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18590         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18591         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18592         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18593         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18594         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18595         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18596         (R_AARCH64_TLSDESC_LDR): Likewise.
18597         (R_AARCH64_TLSDESC_ADD): Likewise.
18598         (R_AARCH64_TLSDESC_CALL): Likewise.
18600 2013-09-30  Andreas Schwab  <schwab@suse.de>
18602         [BZ #15048]
18603         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18604         the nss database lookup.
18605         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18606         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18608 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
18610         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18612 2013-09-28  P. J. McDermott  <pj@pehjota.net>
18614         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18615         ${Bash-specific parameter/pattern/string} parameter expansion.
18616         * sysdeps/unix/make-syscalls.sh: Likewise.
18618 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18620         * sysdeps/sh/stackguard-macros.h: New file.
18622 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
18624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18626         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18627         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18628         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18629         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18631 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18633         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18634         Fix thread ID register.
18636 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
18638         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18639         [POSIX || UNIX98]: Require rather than permitting all symbols from
18640         <time.h>.
18641         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18642         element of struct sched_param.
18643         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18644         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18645         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18646         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18647         constant.
18649 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
18651         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18652         argument calculation.
18654 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18656         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18657         Expect macro.
18658         [POSIX] (pthread_attr_t): Do not require type.
18659         [POSIX] (pthread_cond_t): Likewise.
18660         [POSIX] (pthread_condattr_t): Likewise.
18661         [POSIX] (pthread_key_t): Likewise.
18662         [POSIX] (pthread_mutex_t): Likewise.
18663         [POSIX] (pthread_mutexattr_t): Likewise.
18664         [POSIX] (pthread_once_t): Likewise.
18665         [POSIX] (pthread_t): Likewise.
18666         [POSIX-based standards] (pthread_atfork): Expect function.
18668 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18669             Richard Sandiford  <richard@codesourcery.com>
18671         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18672         (swap_endianness_p): New extern variable.
18673         (set_big_endian): New inline function.
18674         (maybe_swap_uint32): Likewise.
18675         (maybe_swap_uint32_array): Likewise.
18676         (maybe_swap_uint32_obstack): Likewise.
18677         * locale/programs/locfile.c: Include <stdbool.h>.
18678         (swap_endianness_p): New variable.
18679         (add_locale_uint32): Call maybe_swap_uint32.
18680         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18681         (write_locale_data): Call maybe_swap_uint32_array.
18682         * locale/programs/ld-collate.c (obstack_int32_grow): Call
18683         maybe_swap_uint32.
18684         (obstack_int32_grow_fast): Likewise.
18685         (output_weightwc): Call maybe_swap_uint32_obstack.
18686         (collate_output): Likewise.
18687         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18688         (OPT_LITTLE_ENDIAN): Likewise.
18689         (options): Add --little-endian and --big-endian options.
18690         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18691         * locale/programs/locarchive.c: Include "locfile.h".
18692         (GET): New macro.
18693         (SET): Likewise.
18694         (INC): Likewise.
18695         (create_archive): Use the new macros to access fields of
18696         structures directly mapped from or written to locale archives.
18697         (oldlocrecentcmp): Likewise.
18698         (enlarge_archive): Likewise.
18699         (insert_name): Likewise.
18700         (add_alias): Likewise.
18701         (add_locale): Likewise.
18702         (delete_locales_from_archive): Likewise.
18703         (show_archive_content): Likewise.
18704         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
18705         locale data.
18707 2013-09-24  Roland McGrath  <roland@hack.frob.com>
18709         * manual/freemanuals.texi: Updated from (newly) canonical copy at
18710         http://www.gnu.org/doc/freemanuals.texi.
18711         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18713 2013-09-24  Will Newton  <will.newton@linaro.org>
18715         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18716         macro.
18718 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
18720         * locale/hashval.h (compute_hashval): Interpret bytes of key as
18721         unsigned char.
18723 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
18725         * manual/threads.texi (POSIX Threads): Fix a typo.
18727 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18729         [BZ #14547]
18730         * string/tst-strcoll-overflow.c: New test case.
18731         * string/Makefile (xtests): Add tst-strcoll-overflow.
18732         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18733         cache if string sizes may cause integer overflow.
18735         [BZ #14547]
18736         * string/strcoll_l.c (coll_seq): New members rule, idx,
18737         save_idx and back_us.
18738         (get_next_seq_nocache): New function.
18739         (do_compare_nocache): New function.
18740         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18741         when malloc fails.
18743 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
18745         [BZ #15754]
18746         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18747         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18748         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18750         [BZ #15754]
18751         * elf/Makefile (tests): Add tst-ptrguard1.
18752         (tests-static): Add tst-ptrguard1-static.
18753         (tst-ptrguard1-ARGS): Define.
18754         (tst-ptrguard1-static-ARGS): Define.
18755         * elf/tst-ptrguard1.c: New file.
18756         * elf/tst-ptrguard1-static.c: New file.
18757         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18758         * sysdeps/i386/stackguard-macros.h: Likewise.
18759         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18760         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18761         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18762         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18763         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18764         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18766 2013-09-23  Hector Marco  <hecmargi@upv.es>
18767             Ismael Ripoll  <iripoll@disca.upv.es>
18768             Carlos O'Donell  <carlos@redhat.com>
18770         [BZ #15754]
18771         * sysdeps/generic/stackguard-macros.h: Define
18772         __pointer_chk_guard_local and POINTER_CHK_GUARD.
18773         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18774         Define __pointer_chk_guard_local.
18775         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18776         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18778 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
18780         [BZ #15859]
18781         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18783 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
18785         * include/string.h (__ffs): Declare as hidden.
18786         * string/ffs.c (__ffs): Define as hidden.
18787         * sysdeps/i386/ffs.c (__ffs): Likewise.
18788         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18789         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18790         * sysdeps/s390/ffs.c (__ffs): Likewise.
18791         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18793 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
18795         * NEWS: Mention malloc probes.
18797         * malloc/arena.c (new_heap): New memory_heap_new probe.
18798         (grow_heap): New memory_heap_more probe.
18799         (shrink_heap): New memory_heap_less probe.
18800         (heap_trim): New memory_heap_free probe.
18801         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18802         (systrim): New memory_sbrk_less probe.
18803         * manual/probes.texi: Document them.
18805         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18806         * manual/probes.texi: Document it.
18808         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18809         (__libc_realloc): Add memory_realloc_retry probe.
18810         (__libc_memalign): Add memory_memalign_retry probe.
18811         (__libc_valloc): Add memory_valloc_retry probe.
18812         (__libc_pvalloc): Add memory_pvalloc_retry probe.
18813         (__libc_calloc): Add memory_calloc_retry probe.
18814         * manual/probes.texi: Document them.
18816         * malloc/arena.c (get_free_list): Add probe
18817         memory_arena_reuse_free_list.
18818         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18819         and memory_arena_reuse.
18820         (arena_get2) [!PER_THREAD]: Likewise.
18821         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18822         memory_arena_reuse_realloc.
18823         * manual/probes.texi: Document them.
18825         * malloc/malloc.c (__libc_free): Add
18826         memory_mallopt_free_dyn_thresholds probe.
18827         (__libc_mallopt): Add multiple memory_mallopt probes.
18828         * manual/probes.texi: Document them.
18830         * malloc/malloc.c: Include stap-probe.h.
18831         (__libc_mallopt): Add memory_mallopt probe.
18832         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18833         * manual/probes.texi: New.
18834         * manual/Makefile (chapters): Add probes.
18835         * manual/threads.texi: Set next node.
18837 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
18839         [BZ #15963, #13985]
18840         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18841         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18842         Add `Chinese' to `nan' entry name.
18844 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18846         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18847         (POLYNOMIAL): Likewise.
18848         (TAYLOR_SINCOS): Likewise.
18849         (TAYLOR_SLOW): Likewise.
18850         (__sin): Use TAYLOR_SINCOS.
18851         (__cos): Likewise.
18852         (slow): Use TAYLOR_SLOW.
18853         (sloww): Likewise.
18854         (bsloww): Likewise.
18855         (csloww): Likewise.
18857 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18859         * stdlib/strtod_l.c: Fix buffer overrun.
18861 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18863         * benchtests/Makefile (bench): Add sincos.
18864         * benchtests/bench-sincos.c: New file.
18866         * math/libm-test.inc (cos_test_data): New test inputs.
18867         (sin_test_data): Likewise.
18869         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18870         macro.
18871         (__sin): Use it.
18872         (__cos): Likewise.
18873         (slow1): Likewise.
18874         (slow2): Likewise.
18875         (sloww1): Likewise.
18876         (sloww2): Likewise.
18877         (bsloww1): Likewise.
18878         (bsloww2): Likewise.
18879         (cslow2): Likewise.
18880         (csloww1): Likewise.
18881         (csloww2): Likewise.
18883         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18884         function.
18885         (__sin): Use it.
18886         (__cos): Likewise.
18888         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18889         gotos.
18890         (__cos): Likewise.
18892 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
18894         * config.h.in (HAVE_MIPS_NAN2008): New macro.
18895         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18896         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18897         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18898         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18899         * elf/cache.c (print_entry): Handle the new cache flags.
18901 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18902             Aldy Hernandez  <aldyh@redhat.com>
18904         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18905         Change condition to [_SOFT_FLOAT].
18906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18918         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18921         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18922         declaration.
18924 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18926         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18927         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18928         (__longjmp): Use LOAD_GP to load saved GPRs.
18929         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18930         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18931         (__sigsetjmp): Use SAVE_GP to save GPRs.
18933         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18934         Do not append -msoft-float.
18935         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18937 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18939         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18941 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
18943         [BZ #15966]
18944         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18945         (_FPU_GETCW): Use initial "__" on variable and field names but not
18946         on macro parameter name.
18947         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
18948         parentheses around reference to macro parameter.
18950 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
18952         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18953         prototype.
18954         (ctype_startup): Use uint32_t in cast and sizeof for
18955         ctype->charnames.
18957 2013-09-11  Jia Liu  <proljc@gmail.com>
18959         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18960         __daddr_t_defined.
18961         [__FreeBSD__]: Likewise.
18963 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
18965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18966         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18967         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18968         (strchr): Remove __strchr_sse42 ifunc selection.
18969         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18970         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18972 2013-09-11  Will Newton  <will.newton@linaro.org>
18974         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18975         parameter to RES. Remove hardcoded 1000 value.
18976         * benchtests/bench-skeleton.c (main): Pass RES parameter
18977         to TIMING_INIT and multiply result by 1000.
18979 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18983 2013-09-11  Andreas Schwab  <schwab@suse.de>
18985         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18986         if not defined.
18987         (O_TMPFILE) [__USE_GNU]: Define.
18988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18989         Define.
18991 2013-09-11  Will Newton  <will.newton@linaro.org>
18993         [BZ #15857]
18994         * malloc/malloc.c (__libc_memalign): Check the value of bytes
18995         does not overflow.
18997 2013-09-11  Will Newton  <will.newton@linaro.org>
18999         [BZ #15856]
19000         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19001         does not overflow.
19003 2013-09-11  Will Newton  <will.newton@linaro.org>
19005         [BZ #15855]
19006         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19007         does not overflow.
19009 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19011         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19012         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19013         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19014         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19015         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19017 2013-09-10  Allan McRae  <allan@archlinux.org>
19019         [BZ #15748]
19020         * manual/arith.texi (Parsing of Floats): Clarify
19021         cross-reference.
19023         [BZ #15849]
19024         * manual/install.texi (Running make install): Mention
19025         --enable-pt-chown.
19026         * INSTALL: Regenerated.
19028 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19030         * csu/init-first.c (_init): Remove the !SHARED condition around
19031         FPU control word initialization.
19032         * elf/dl-support.c (_dl_fpu_control): New variable.
19033         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19034         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19035         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19036         * math/test-fpucw-static.c: New file.
19037         * math/test-fpucw-ieee.c: New file.
19038         * math/test-fpucw-ieee-static.c: New file.
19039         * math/Makefile (tests): Add `test-fpucw-ieee' and
19040         `$(tests-static)'.
19041         (tests-static): New variable.
19042         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19043         dependency to...
19044         [($(build-shared),yes)]
19045         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19046         ... this.
19047         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19048         New dependency.
19050 2013-09-09  Allan McRae  <allan@archlinux.org>
19052         [BZ #15939]
19053         * manual/string.texi (Collation Functions): Fix typo in
19054         strcoll example.
19055         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19057         [BZ #15893]
19058         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19060         [BZ #15892]
19061         * libio/memstream.c (open_memstream): Fix memory leak.
19062         * libio/wmemstream.c (open_wmemstream): Likewise.
19064         [BZ #15895]
19065         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19067 2013-09-09  Will Newton  <will.newton@linaro.org>
19069         * malloc/Makefile: Add tst-realloc to tests.
19070         * malloc/tst-realloc.c: New file.
19072 2013-09-09  Allan McRae  <allan@archlinux.org>
19074         [BZ #15844]
19075         * COPYING: Update from GNU website to fix FSF address.
19076         * COPYING.LIB: Likewise.
19078 2013-09-06  David S. Miller  <davem@davemloft.net>
19080         * po/zh_TW.po: Update Chinese (traditional) translation from
19081         translation project.
19083 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19084             Joseph Myers  <joseph@codesourcery.com>
19086         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19087         "localeinfo.h".
19088         (obstack_chunk_alloc): New macro.
19089         (obstack_chunk_free): Likewise.
19090         (record_offset): New function.
19091         (init_locale_data): Likewise.
19092         (align_locale_data): Likewise.
19093         (add_locale_empty): Likewise.
19094         (add_locale_raw_data): Likewise.
19095         (add_locale_raw_obstack): Likewise.
19096         (add_locale_string): Likewise.
19097         (add_locale_wstring): Likewise.
19098         (add_locale_uint32): Likewise.
19099         (add_locale_uint32_array): Likewise.
19100         (add_locale_char): Likewise.
19101         (start_locale_structure): Likewise.
19102         (end_locale_structure): Likewise.
19103         (start_locale_prelude): Likewise.
19104         (end_locale_prelude): Likewise.
19105         (write_locale_data): Take locale_file structure rather than an
19106         iovec.
19107         * locale/programs/locfile.h: Include "obstack.h".
19108         (struct locale_file): Change to store locale file contents instead
19109         of header.
19110         (init_locale_data): New prototype.
19111         (align_locale_data): Likewise.
19112         (add_locale_empty): Likewise.
19113         (add_locale_raw_data): Likewise.
19114         (add_locale_raw_obstack): Likewise.
19115         (add_locale_string): Likewise.
19116         (add_locale_wstring): Likewise.
19117         (add_locale_uint32): Likewise.
19118         (add_locale_uint32_array): Likewise.
19119         (add_locale_char): Likewise.
19120         (start_locale_structure): Likewise.
19121         (end_locale_structure): Likewise.
19122         (start_locale_prelude): Likewise.
19123         (end_locale_prelude): Likewise.
19124         (write_locale_data): Update prototype.
19125         * locale/programs/3level.h (struct TABLE): Remove result field.
19126         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19127         Use new locale_file interface.
19128         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19129         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19130         * locale/programs/ld-address.c (address_output): Use new
19131         locale_file interface.
19132         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19133         NO_ADD_LOCALE.
19134         (collate_finish): Don't call collseq_table_finalize.
19135         (collate_output): Use new locale_file interface.
19136         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19137         in file.
19138         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19139         (TABLE): Move defines earlier in file.
19140         (ELEMENT): Likewise.
19141         (DEFAULT): Likewise.
19142         (wctrans_table_add): Move macro and inline function earlier in
19143         file.
19144         (struct wctype_table): Move type earlier in file.
19145         (add_locale_wctype_table): New static prototype.
19146         (struct locale_ctype_t): Use logical types instead of struct iovec
19147         pointers for members.
19148         (ctype_output): Use new locale_file interface.
19149         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19150         new locale_file interface.
19151         (allocate_arrays): Update for use of new locale_file interface.
19152         * locale/programs/ld-identification.c (identification_output): Use
19153         new locale_file interface.
19154         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19155         * locale/programs/ld-messages.c (messages_output): Likewise.
19156         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19157         * locale/programs/ld-name.c (name_output): Likewise.
19158         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19159         * locale/programs/ld-paper.c (paper_output): Likewise.
19160         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19161         * locale/programs/ld-time.c (time_output): Likewise.
19163 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19165         * benchtests/Makefile: Add memrchr benchmark.
19166         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19167         benchmark as memrchr.
19168         * benchtests/bench-memrchr-ifunc.c: New file.
19169         * benchtests/bench-memrchr.c: New file.
19171 2013-09-06   Will Newton  <will.newton@linaro.org>
19173         * benchtests/Makefile (string-bench): Add memcpy.
19175 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19176             Cong Wang  <amwang@redhat.com>
19178         [BZ #15850]
19179         * sysdeps/unix/sysv/linux/bits/in.h
19180         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19181         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19182         before __USE_KERNEL_IPV6_DEFS uses.
19183         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19184         IPPROTO_BEETPH.
19185         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19186         sockaddr_in6, or ipv6_mreq.
19188 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19190         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19191         memory access for final bytes in some large inputs.
19192         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19194 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19196         * string/test-memrchr.c: New file.
19197         * string/test-memrchr-ifunc.c: New file.
19198         * string/Makefile: Add new memrchr testcase.
19200 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19202         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19203         fanotify_init returns EPERM.
19205 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19207         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19208         errors.
19209         (top level): Treat second token from macro or constant entries for
19210         allowed headers as allowed.
19211         * include/complex.h: Condition internal declarations on
19212         [!_ISOMAC].
19213         * include/fenv.h: Condition include of <stdbool.h> and internal
19214         declarations on [!_ISOMAC].
19216 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
19218         [BZ #15923]
19219         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19221 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19223         * configure.in (--enable-versioning): Remove configure option.
19224         (libc_cv_asm_symver_directive): Remove configure test.
19225         (libc_cv_ld_version_script_option): Likewise.
19226         (VERSIONING): Remove variable and AC_SUBST.
19227         (DO_VERSIONING): Remove AC_DEFINE.
19228         * configure: Regenerated.
19229         * config.h.in (DO_VERSIONING): Remove macro.
19230         * Makerules [$(versioning) = yes]: Change conditionals to
19231         [$(build-shared) = yes].
19232         * config.make.in (versioning): Remove variable.
19233         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19234         [$(build-shared) = yes].
19235         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19236         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19237         * elf/Makefile [$(versioning) = yes]: Change conditionals to
19238         [$(build-shared) = yes].
19239         * extra-lib.mk [$(versioning) = yes]: Likewise.
19240         * hurd/Makefile [$(versioning) = yes]: Likewise.
19241         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19242         [SHARED].
19243         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19244         [SHARED].
19245         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19246         [SHARED && !NO_HIDDEN].
19247         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19248         [SHARED].
19249         [SHARED && DO_VERSIONING]: Likewise..
19250         * libio/Makefile [$(versioning) = yes]: Change conditionals to
19251         [$(build-shared) = yes].
19252         * manual/install.texi (--disable-versioning): Remove
19253         documentation.
19254         * INSTALL: Regenerated.
19255         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19256         to [SHARED].
19257         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19258         [$(build-shared) = yes].
19259         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19260         * sysdeps/i386/i686/multiarch/strstr-c.c
19261         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19262         [SHARED && !NO_HIDDEN].
19263         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19264         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19265         * sysdeps/powerpc/powerpc32/dl-machine.c
19266         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19267         * sysdeps/powerpc/powerpc32/sysdep.h
19268         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19269         to [SHARED && PIC && !NO_HIDDEN].
19270         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19271         conditional to [SHARED].
19273 2013-09-04   Will Newton  <will.newton@linaro.org>
19275         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19276         * benchtests/bench-string.h: Include bench-timing.h instead
19277         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19278         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19279         call to HP_TIMING_DIFF_INIT.
19280         * benchtests/bench-memccpy.c: Use bench-timing.h macros
19281         instead of hp-timing.h macros.
19282         * benchtests/bench-memchr.c: Likewise.
19283         * benchtests/bench-memcmp.c: Likewise.
19284         * benchtests/bench-memcpy.c: Likewise.
19285         * benchtests/bench-memmem.c: Likewise.
19286         * benchtests/bench-memmove.c: Likewise.
19287         * benchtests/bench-memset.c: Likewise.
19288         * benchtests/bench-rawmemchr.c: Likewise.
19289         * benchtests/bench-strcasecmp.c: Likewise.
19290         * benchtests/bench-strcasestr.c: Likewise.
19291         * benchtests/bench-strcat.c: Likewise.
19292         * benchtests/bench-strchr.c: Likewise.
19293         * benchtests/bench-strcmp.c: Likewise.
19294         * benchtests/bench-strcpy.c: Likewise.
19295         * benchtests/bench-strcpy_chk.c: Likewise.
19296         * benchtests/bench-strlen.c: Likewise.
19297         * benchtests/bench-strncasecmp.c: Likewise.
19298         * benchtests/bench-strncat.c: Likewise.
19299         * benchtests/bench-strncmp.c: Likewise.
19300         * benchtests/bench-strncpy.c: Likewise.
19301         * benchtests/bench-strnlen.c: Likewise.
19302         * benchtests/bench-strpbrk.c: Likewise.
19303         * benchtests/bench-strrchr.c: Likewise.
19304         * benchtests/bench-strspn.c: Likewise.
19305         * benchtests/bench-strstr.c: Likewise.
19307 2013-09-04  Will Newton  <will.newton@linaro.org>
19309         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19311 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
19313         [BZ #15427]
19314         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19315         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19316         * math/libm-test.inc (lgamma_test_data): Add more tests.
19317         * sysdeps/i386/fpu/libm-test-ulps: Update.
19318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19320 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
19322         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19324         Add ifunc.
19325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19326         Add strcmp-sse2-unaligned
19327         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19329 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19331         * Versions.def (libc): Add GLIBC_2.19.
19333 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19335         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19336         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19338 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
19340         [BZ #14155]
19341         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19342         intermediate calculations in recurrence.
19343         (__ieee754_ynf): Likewise.
19344         * math/libm-test.inc (jn_test_data): Do not allow spurious
19345         underflow exception.  Add more tests.
19346         (yn_test_data): Add more tests.
19347         * sysdeps/i386/fpu/libm-test-ulps: Update.
19348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19350 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
19352         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19354 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19356         * csu/init-first.c: Fix then/than typos.
19357         * locale/programs/ld-collate.c: Likewise.
19358         * locale/programs/linereader.h: Likewise.
19359         * manual/charset.texi: Likewise.
19360         * manual/filesys.texi: Likewise.
19361         * manual/stdio.texi: Likewise.
19362         * manual/string.texi: Likewise.
19363         * stdlib/fmtmsg.c: Likewise.
19364         * sysdeps/i386/stpncpy.S: Likewise.
19365         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19366         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19367         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19368         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19370 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19372         * elf/dl-open.c: Fix typos.
19373         * iconvdata/gbbig5.c: Likewise.
19374         * iconvdata/iso-2022-jp.c: Likewise.
19375         * iconv/gconv_int.h: Likewise.
19376         * iconv/loop.c: Likewise.
19377         * nis/rpcsvc/nis.h: Likewise.
19378         * resolv/ns_name.c: Likewise.
19379         * stdio-common/vfscanf.c: Likewise.
19380         * streams/stropts.h: Likewise.
19381         * sunrpc/rpc_thread.c: Likewise.
19382         * sysdeps/i386/strpbrk.S: Likewise.
19383         * sysdeps/ieee754/k_standard.c: Likewise.
19384         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19385         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19386         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19387         * sysdeps/mach/hurd/profil.c: Likewise.
19388         * sysdeps/s390/dl-procinfo.h: Likewise.
19389         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19390         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19391         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19392         * sysdeps/x86_64/dl-trampoline.S: Likewise.
19393         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19395 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
19397         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19398         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19400 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
19402         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19403         aix specific files.
19404         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19405         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19406         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19407         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19408         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19409         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19410         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19411         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19413 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19414             Roland McGrath  <roland@hack.frob.com>
19416         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19417         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19419 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19421         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19422         __executable_start symbol instead of _start.
19424 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19426         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19427         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19428         Move macros to...
19429         * sysdeps/gnu/ldsodefs.h: ... this new file.
19431         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19432         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19433         instead of ELFOSABI_LINUX.
19435         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19436         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19437         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19438         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19439         Likewise.
19440         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19441         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19442         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19443         Likewise.
19444         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19445         (ibm_extended_long_double): Add ieee_nan member.
19446         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19447         (do_test): New function.
19449         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19450         TEST_TRUNC.
19451         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19452         functions, renamed from truncdfsf_test, trunctfsf_test,
19453         trunctfdf_test.
19454         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19455         functions.
19456         (do_test): Run all these.
19458 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
19460         * argp/argp-help.c: Fix typos.
19461         * argp/argp-parse.c: Likewise.
19462         * debug/backtracesyms.c: Likewise.
19463         * elf/elf.h: Likewise.
19464         * malloc/malloc.c: Likewise.
19465         * nis/nis_print.c: Likewise.
19466         * resolv/res_comp.c: Likewise.
19467         * stdlib/stdlib.h: Likewise.
19468         * sunrpc/clnt_tcp.c: Likewise.
19469         * sunrpc/clnt_udp.c: Likewise.
19470         * sunrpc/clnt_unix.c: Likewise.
19471         * sysdeps/unix/bsd/ptsname.c: Likewise.
19472         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19473         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19475         Likewise.
19476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19477         Likewise.
19478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19479         Likewise.
19480         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19482 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19484         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19487 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
19489         [BZ #15897]
19490         * dlfcn/Makefile (tests): Add bug-dl-leaf.
19491         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19492         ($(objpfx)bug-dl-leaf): New rule.
19493         ($(objpfx)bug-dl-leaf.so): Likewise.
19494         ($(objpfx)bug-dl-leaf.out): Likewise.
19495         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19496         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19497         * dlfcn/bug-dl-leaf.c: New test.
19498         * dlfcn/bug-dl-leaf-lib.c: Likewise.
19499         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19500         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19501         (dlclose): Likewise.
19502         (dlmopen): Likewise.
19504 2013-08-27  Roland McGrath  <roland@hack.frob.com>
19506         * include/netdb.h [!_ISOMAC]:
19507         Don't include <tls.h>.
19508         (h_errno, __libc_h_errno): Move declaration and macros out of
19509         [_LIBC_REENTRANT].
19511         * include/resolv.h [_RESOLV_H_]:
19512         Don't include <tls.h>.
19513         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19514         * resolv/res_libc.c: Don't include <tls.h>.
19515         (_res): Use __attribute__ ((nocommon)) in place of
19516         __attribute__ ((section (".bss"))).
19518         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19519         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19521         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19523         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19524         only under [SIOCGIFCONF && SIOCGIFNETMASK].
19526         * resolv/res_mkquery.c: Include <sys/time.h>.
19528         * inet/ifreq.c: Moved to ...
19529         * sysdeps/unix/ifreq.c: ... here.
19530         * inet/ifreq.c: New file, true stub version.
19532         * socket/sa_len.c: New file.
19533         * socket/Makefile (aux): Add it.
19534         * sysdeps/unix/sysv/linux/Makefile
19535         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19536         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19537         and #include <socket/sa_len.c>.
19538         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19539         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19541         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19542         * bits/socket.h: ... here.
19544         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19545         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19546         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19548 2013-08-27  Andreas Schwab  <schwab@suse.de>
19550         [BZ #15736]
19551         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19552         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19553         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19554         * string/test-strcasecmp.c (test_main): Run tests in several
19555         locales.
19556         * string/test-strncasecmp.c (test_main): Likewise.
19558         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19559         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19560         to __strcasecmp_nonascii and __strncasecmp_nonascii.
19561         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19562         (__strncasecmp_ssse3) [PIC]: Likewise.
19564 2013-08-26  Roland McGrath  <roland@hack.frob.com>
19566         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19568         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19569         instead of explicitly declaring xdecrypt.
19570         * nis/nss_nis/nis-publickey.c: Likewise.
19572 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19574         [BZ #15890]
19575         * nscd/aicache.c: Include res_hconf.h.
19576         (addhstaiX): Initialize res_hconf.
19578 2013-08-26  Andreas Schwab  <schwab@suse.de>
19580         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19581         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19583 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19585         * nscd/aicache.c (addhstaiX): Fix indentation.
19587 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
19589         * configure.ac: Quote $build_pt_chown test.
19590         * configure: Regenerated.
19592 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
19594         [BZ #15532]
19595         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19596         * math/s_cexpf.c (__cexpf): Likewise.
19597         * math/s_cexpl.c (__cexpl): Likewise.
19598         * math/libm-test.inc (cexp_test_data): Correct expected return
19599         value for NaN + i0.  Add another test.
19601 2013-08-22  David S. Miller  <davem@davemloft.net>
19603         * po/ca.po: Update Catalan translation from translation project.
19604         * po/uk.po: Add Ukrainian translations from translation project.
19606 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
19608         [BZ #15797]
19609         * math/s_fdim.c (__fdim): Check for infinite arguments if result
19610         is infinite, not alongside NaN test.
19611         * math/s_fdimf.c (__fdimf): Likewise.
19612         * math/s_fdiml.c (__fdiml): Likewise.
19613         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
19614         errno is unchanged.
19616 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
19618         * argp/argp-help.c: Fix typos.
19619         * crypt/speeds.c: Likewise.
19620         * csu/check_fds.c: Likewise.
19621         * elf/dl-load.c: Likewise.
19622         * elf/dl-open.c: Likewise.
19623         * elf/reldep3.c: Likewise.
19624         * elf/reldep.c: Likewise.
19625         * elf/sprof.c: Likewise.
19626         * iconv/iconv_charmap.c: Likewise.
19627         * iconv/skeleton.c: Likewise.
19628         * iconv/strtab.c: Likewise.
19629         * io/lockf64.c: Likewise.
19630         * libio/libioP.h: Likewise.
19631         * resolv/gai_notify.c: Likewise.
19632         * resolv/ns_name.c: Likewise.
19633         * resolv/ns_samedomain.c: Likewise.
19634         * resolv/res_send.c: Likewise.
19635         * stdlib/random.c: Likewise.
19636         * sunrpc/rpc/xdr.h: Likewise.
19637         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19638         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19639         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19640         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19641         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19642         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19643         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19644         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19645         * sysdeps/mach/hurd/check_fds.c: Likewise.
19646         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19647         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19648         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19649         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19650         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19651         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19652         * sysdeps/pthread/aio_notify.c: Likewise.
19653         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19654         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19655         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19656         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19657         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19659 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19661         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19662         version if bit_Slow_SSE4_2 is set.
19663         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19664         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19666 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19668         [BZ #15867]
19669         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19670         trampoline stack frame information.
19671         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19672         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19673         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19674         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19675         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19676         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19677         (_libc_vdso_platform_setup): Initialize the signal trampolines.
19678         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19679         sa_flags value.
19680         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19681         interrupting a syscall and set with option SA_SIGINFO.
19683 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19685         [BZ #15531]
19686         * math/s_cproj.c (__cproj): Only return an infinity if one part of
19687         argument is infinite.
19688         * math/s_cprojf.c (__cprojf): Likewise.
19689         * math/s_cprojl.c (__cprojl): Likewise.
19690         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19691         * math/libm-test.inc (cproj_test_data): Add more tests.
19693         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19695         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19696         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19697         size.  Use __ffs to determine corresponding shift.
19699 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19700             Roland McGrath  <roland@hack.frob.com>
19702         * Makefile (INSTALL): Remove trailing blank lines from output of
19703         makeinfo.
19705 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19707         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19708         Align 32 bit compat elf_greg to 8 bytes.
19710 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
19712         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19714 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19716         * string/strcoll_l.c (coll_seq): New structure.
19717         (get_next_seq_cached): New function.
19718         (get_next_seq): New function.
19719         (do_compare): New function.
19720         (STRCOLL): Use GNU style definition.  Simplify implementation
19721         by using get_next_seq, get_next_seq_cached and do_compare.
19723 2013-08-16  Florian Weimer  <fweimer@redhat.com>
19725         [BZ #14699]
19726         CVE-2013-4237
19727         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19728         member.
19729         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19730         member.
19731         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19732         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19733         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
19734         conditional.
19735         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19736         GETDENTS_64BIT_ALIGNED.
19737         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19738         * manual/filesys.texi (Reading/Closing Directory): Document
19739         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
19740         strongly.
19741         * manual/conf.texi (Limits for Files): Add portability note to
19742         NAME_MAX, PATH_MAX.
19743         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19745 2013-08-13  Andreas Schwab  <schwab@suse.de>
19747         [BZ #15749]
19748         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19749         of fabs.
19750         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19751         LDBL_MAX_EXP >= 16384]: Add tests for it.
19753 2013-08-12  David S. Miller  <davem@davemloft.net>
19755         * version.h (RELEASE): Set to "development".
19756         (VERSION): Set to "2.18.90".
19757         * NEWS: Add 2.19 section.
19759 2013-08-03  David S. Miller  <davem@davemloft.net>
19761         * po/ko.po: Update Korean translation from translation project.
19763 2013-08-01  David S. Miller  <davem@davemloft.net>
19765         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
19766         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19767         Bilka.
19769 2013-07-30  David S. Miller  <davem@davemloft.net>
19771         * po/fr.po: Update French translation from translation project.
19773 2013-07-28  David S. Miller  <davem@davemloft.net>
19775         * po/cs.po: Update Czech translation from translation project.
19777         * po/sv.po: Update Swedish translation from translation project.
19779 2013-07-27  David S. Miller  <davem@davemloft.net>
19781         * po/eo.po: Update Esperanto translation from translation project.
19783         * po/vi.po: Update Vietnamese translation from translation project.
19785         * po/de.po: Update German translation from translation project.
19787 2013-07-26  David S. Miller  <davem@davemloft.net>
19789         * po/bg.po: Update Bulgarian translation from translation project.
19791         * po/nl.po: Update Dutch translation from translation project.
19792         * po/pl.po: Update Polish translation from translation project.
19793         * po/ru.po: Update Russian translation from translation project.
19795 2013-07-24  David S. Miller  <davem@davemloft.net>
19797         * po/libc.pot: Update.
19799 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19801         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19802         variable page size.
19803         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19804         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19805         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19807 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19809         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19811 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19812             Andreas Schwab  <schwab@suse.de>
19813             Roland McGrath  <roland@hack.frob.com>
19814             Joseph Myers  <joseph@codesourcery.com>
19815             Carlos O'Donell  <carlos@redhat.com>
19817         [BZ #15755]
19818         * config.h.in: Define HAVE_PT_CHOWN.
19819         * config.make.in (build-pt-chown): New variable.
19820         * configure.in (--enable-pt_chown): New configure option.
19821         * configure: Regenerate.
19822         * login/Makefile: Include Makeconfig.  Build pt_chown only if
19823         build-pt-chown is enabled.
19824         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19825         pt_chown to fix pty ownership.
19826         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19827         CLOSE_ALL_FDS.
19828         * manual/install.texi (Configuring and compiling): Mention
19829         --enable-pt_chown. Add @findex for grantpt.
19830         * INSTALL: Regenerate.
19832 2013-07-20  David S. Miller  <davem@davemloft.net>
19834         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19835         difference between 32-bit and 64-bit.
19837 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
19839         [BZ #15711]
19840         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19841         Avoid system header dependency with -ffreestanding.
19842         ($(objpfx)bits/syscall%d): Likewise.
19844 2013-07-13  David S. Miller  <davem@davemloft.net>
19846         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19847         underflows from atanl/atan2l due to bug 15319.
19848         (casinh_test_data): Likewise.
19850 2013-07-07  David S. Miller  <davem@davemloft.net>
19852         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19854 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
19856         * sysdeps/i386/fpu/libm-test-ulps: Update.
19857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19859 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19861         * configure.in (--enable-lock-elision): Fix message text.
19862         * INSTALL: Regenerate.
19863         * configure: Regenerate.
19865 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19869 2013-07-03  Andreas Jaeger  <aj@suse.de>
19871         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19872         define.
19873         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19874         (ptrace_peeksiginfo_args): Add.
19875         (__ptrace_peeksiginfo_flags): Add.
19876         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19877         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19878         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19880 2013-07-03  Allan McRae  <allan@archlinux.org>
19882         * sysdeps/i386/fpu/libm-test-ulps: Update.
19884 2013-07-02  David S. Miller  <davem@davemloft.net>
19886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19888 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
19890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19892 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19894         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19897 2013-07-02  Andi Kleen <ak@linux.intel.com>
19899         * config.h.in (ENABLE_LOCK_ELISION): Add.
19900         * configure.in (--enable-lock-elision): Add option.
19901         * manual/install.texi: Document --enable lock elision.
19902         * configure: Regenerate
19903         * INSTALL: Regenerate.
19905 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
19907         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19908         SSE4.2 strcasecmp for libc.a.
19909         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19911 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19913         [BZ #13304]
19914         * soft-fp/op-common.h (_FP_FMA): New macro.
19915         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19916         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
19917         (_FP_MUL_MEAT_1_imm): ... here.
19918         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
19919         (_FP_MUL_MEAT_1_wide): ... here.
19920         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
19921         (_FP_MUL_MEAT_1_hard): ... here.
19922         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19923         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
19924         (_FP_MUL_MEAT_2_wide): ... here.
19925         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
19926         (_FP_MUL_MEAT_2_wide_3mul): ... here.
19927         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
19928         (_FP_MUL_MEAT_2_gmp): ... here.
19929         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19930         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
19931         (_FP_MUL_MEAT_4_wide): ... here.
19932         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
19933         (_FP_MUL_MEAT_4_gmp): ... here.
19934         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19935         (_FP_WFRACBITS_DW_S): Likewise.
19936         (_FP_WFRACXBITS_DW_S): Likewise.
19937         (_FP_HIGHBIT_DW_S): Likewise.
19938         (FP_FMA_S): Likewise.
19939         (_FP_FRAC_HIGH_DW_S): Likewise.
19940         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19941         (_FP_WFRACBITS_DW_D): Likewise.
19942         (_FP_WFRACXBITS_DW_D): Likewise.
19943         (_FP_HIGHBIT_DW_D): Likewise.
19944         (FP_FMA_D): Likewise.
19945         (_FP_FRAC_HIGH_DW_D): Likewise.
19946         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19947         (_FP_WFRACBITS_DW_E): Likewise.
19948         (_FP_WFRACXBITS_DW_E): Likewise.
19949         (_FP_HIGHBIT_DW_E): Likewise.
19950         (FP_FMA_E): Likewise.
19951         (_FP_FRAC_HIGH_DW_E): Likewise.
19952         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19953         (_FP_WFRACBITS_DW_Q): Likewise.
19954         (_FP_WFRACXBITS_DW_Q): Likewise.
19955         (_FP_HIGHBIT_DW_Q): Likewise.
19956         (FP_FMA_Q): Likewise.
19957         (_FP_FRAC_HIGH_DW_Q): Likewise.
19958         * soft-fp/fmasf4.c: New file.
19959         * soft-fp/fmadf4.c: Likewise.
19960         * soft-fp/fmatf4.c: Likewise.
19962 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19965         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19966         Silvermont.
19967         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19968         macro.
19969         (index_Slow_SSE4_2): Likewise.
19970         (index_Prefer_PMINUB_for_stringop): Likewise.
19971         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19972         bit_Slow_SSE4_2 is set.
19973         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19974         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19976 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19978         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19979         rtld_global._dl_hwcap2.
19980         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19981         POWER8.
19982         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19983         POWER8 feature descriptions defined in _dl_hwcap2.
19984         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19985         string handling for POWER8 feature bits.
19986         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19987         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19988         _dl_powerpc_cap_flags.
19989         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19990         * sysdeps/powerpc/rtld-global-offsets.sym
19991         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19992         _dl_hwcap2 in the rtld_global_ro structure.
19994 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19996         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19997         hardware capabilities in support of AT_HWCAP2.
19998         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19999         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20000         GLRO(dl_hwcap2).
20001         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20002         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20003         explicitly the unknown a_type display mechanism is used.
20004         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20005         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20006         struct member.
20007         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20008         to macro prototype for AT_HWCAP2 support.
20009         * sysdeps/i386/dl-procinfo.h: Likewise.
20010         * sysdeps/s390/dl-procinfo.h: Likewise.
20011         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20012         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20013         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20014         return -1 for unknown a_type display fallback.
20015         * sysdeps/sparc/dl-procinfo.h: Likewise.
20016         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20017         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20019 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20021         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20022         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20024 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20026         [BZ #12492]
20027         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20028         mprotect making __stack_prot writable.
20030 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20031             Joseph Myers  <joseph@codesourcery.com>
20033         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20034         as being properly aligned.
20036 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20038         * dlfcn/modstatic5.c: New file.
20039         * dlfcn/tststatic5.c: New file.
20040         * dlfcn/Makefile (tests): Add tststatic5.
20041         (tests-static): Likewise.
20042         (modules-names): Add modstatic5.
20043         (tststatic5-ENV): New variable.
20044         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20046         [BZ #15022]
20047         * elf/dl-support.c (_dl_main_map): New variable.
20048         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20049         (_dl_nns, _dl_load_adds): Set to 1.
20050         (_dl_initial_searchlist): Refer to _dl_main_map.
20051         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20052         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20053         call to _dl_get_origin.
20054         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20055         around call_map.
20056         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20057         * dlfcn/modstatic3.c: New file.
20058         * dlfcn/tststatic3.c: New file.
20059         * dlfcn/tststatic4.c: New file.
20060         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20061         (tests-static): Likewise.
20062         (modules-names): Add modstatic3.
20063         (tststatic3-ENV, tststatic4-ENV): New variables.
20064         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20065         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20067 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20069         * configure.in (CC): Require GCC version 4.4 or later.
20070         * configure: Regenerated.
20071         * manual/install.texi (Tools for Compilation): Update GCC version
20072         requirement.
20073         * INSTALL: Regenerated.
20075 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20077         [BZ #15674]
20078         * string/test-memcmp.c (check2): New.
20079         (main): Call check2.
20081         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20083 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20085         [BZ #15022]
20086         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20087         over to...
20088         (dl_open_worker) [!SHARED]: ... here.
20090 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20092         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20094 2013-06-25  Richard Henderson  <rth@redhat.com>
20096         * locale/programs/locarchive.c: Include <libc-internal.h>
20098 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20100         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20101         trailing whitespace removed.
20103 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20105         [BZ #10283]
20106         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20107         * locale/programs/locarchive.c: Include libc-mmap.h.
20108         (prepare_address_space): Take two new outputs (the mmap base and len).
20109         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20110         values.
20111         (create_archive): Declare new mmap base and len values for
20112         prepare_address_space, and store the result in ah.
20113         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20114         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20115         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20116         Declare new mmap base and len values for
20117         prepare_address_space, and store the result in new_ah.
20118         (open_archive): Declare new mmap base and len values for
20119         prepare_address_space, and store the result in ah.
20120         (close_archive): If ah->mmap_base is not NULL, use that and
20121         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20122         * sysdeps/generic/libc-mmap.h: New file.
20124 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20126         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20127         (ALIGN_UP): Likewise.
20128         (PTR_ALIGN_DOWN): Likewise.
20129         (PTR_ALIGN_UP): Likewise.
20131 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20133         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20134         entry mapped to PPC_PLATFORM_POWER8.
20135         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20136         POWER8.
20137         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20138         (_dl_string_platform): Add case for exporting platform position for
20139         POWER8.
20140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20141         search path to sysdeps/powerpc/powerpc32/power8 directory.
20142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20143         search path to sysdeps/powerpc/powerpc64/power8 directory.
20144         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20145         power7 directories.
20146         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20147         power7 directories.
20149 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20151         * INSTALL: Regenerate.
20153         * nscd/connections.c (nscd_init): Fix comment.
20155 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20157         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20159         [BZ #15667]
20160         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20161         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20163 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20165         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20166         DL_DST_REQ_STATIC.
20167         (DL_DST_REQ_STATIC): Remove macro.
20169 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20171         [BZ #7006]
20172         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20173         with a shift of 0 bits.
20175 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20177         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20178         $(tststatic-ENV).
20180 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20182         [BZ #15655]
20183         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20185 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20187         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20188         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20189         accepts -fno-tree-loop-distribute-patterns.
20190         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20191         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20192         recursive call.
20193         * string/memset.c (memset): Likewise.
20194         * string/test-memmove.c (simple_memmove): Disable loop transformation
20195         to library calls.
20196         * string/test-memset.c (simple_memset): Likewise.
20197         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20198         * benchtests/bench-memset.c (simple_memset): Likewise.
20199         * configure: Regenerated.
20201 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20203         * math/test-misc.c (main): Ignore fesetround failure when failures
20204         of subsequent rounding tests would be ignored.
20206         [BZ #15654]
20207         * math/fedisblxcpt.c (fedisableexcept): Return 0.
20208         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20209         * math/fegetenv.c (__fegetenv): Return 0.
20210         * math/fegetexcept.c (fegetexcept): Return 0.
20211         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20212         FE_TONEAREST.
20213         * math/feholdexcpt.c (feholdexcept): Return 0.
20214         * math/fesetenv.c (__fesetenv): Return 0.
20215         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20216         argument FE_TONEAREST.
20217         * math/feupdateenv.c (__feupdateenv): Return 0.
20218         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20220 2013-06-18  Roland McGrath  <roland@hack.frob.com>
20222         * elf/rtld-Rules (rtld-compile-command.S): New variable.
20223         (rtld-compile-command.s, rtld-compile-command.c): New variables.
20224         ($(objpfx)rtld-%.os rules): Use them.
20226 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20228         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20229         fields.
20231 2013-06-17  Roland McGrath  <roland@hack.frob.com>
20233         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20234         length of target pattern, then descending length of dependency pattern.
20235         * configure.in (AWK): Require gawk 3.1.2 or newer.
20236         * manual/install.texi (Tools for Compilation): Say that we do.
20237         * configure: Regenerated.
20239         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20240         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20241         * scripts/sysd-rules.awk: ... this new script.
20242         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20243         than a glob-style pattern.
20245 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
20247         * math/test-misc.c (main): Do not treat incorrectly rounded
20248         conversions as failure unless ROUNDING_TESTS passes.
20250 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
20252         [BZ #15631]
20253         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20254         restore exception state around main square root computation, then
20255         check for inexactness explicitly.
20257         * math/libm-test.inc (fma_test_data): Add another test.
20259 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20261         * manual/threads.texi (Non-POSIX Extensions): New document
20262         node.  Document pthread_getattr_default_np and
20263         pthread_setattr_default_np.
20265         * Versions.def (libpthread): Add GLIBC_2.18.
20266         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20268         Likewise.
20269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20270         Likewise.
20271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20272         Likewise.
20273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20274         Likewise.
20275         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20276         Likewise.
20277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20278         Likewise.
20279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20280         Likewise.
20281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20282         Likewise.
20283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20284         Likewise.
20286 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20288         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20289         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20291 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20292             H.J. Lu  <hjl.tools@gmail.com>
20294         [BZ #15627]
20295         * sysdeps/x86_64/rtld-memset.c: Remove file.
20296         * sysdeps/x86_64/rtld-memset.S: New file.
20298 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
20300         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20301         (test_in_one_mode): Take arguments for whether the rounding mode
20302         is supported for each floating-point type.
20303         (do_test): Pass new arguments to test_in_one_mode using
20304         ROUNDING_TESTS.
20306 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20308         * posix/tst-waitid.c (do_test): Distinguish different instances of
20309         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
20310         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20311         before entering the kernel for waitpid.
20313 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20315         * NEWS: Fix note on clock function precision.  Text by Roland
20316         McGrath.
20318 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20320         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20321         it into place only when and if the sanity check passes.
20323 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
20325         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20326         output for whether conversion result is exact.  Take argument
20327         indicating whether type is IBM long double.
20328         (round_for_all): Change need_exact field to ibm_ld.
20329         * stdlib/tst-strtod-round.c (struct exactness): New type.
20330         (struct test): Change bool ld_ok field to struct exactness exact.
20331         (TEST): Update all definitions for change to field.
20332         (tests): Regenerate array contents.
20333         (test_in_one_mode): Take pointer to new field instead of old ld_ok
20334         field value.  Check for IBM long double here.
20335         (do_test): Update calls to test_in_one_mode.
20337 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20339         [BZ #12515]
20340         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20341         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20343 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20345         [BZ #15605]
20346         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20347         generated by the compiler on loop optimizations.
20348         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20349         general definitions.
20351 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
20353         * math/bug-nextafter.c: Include <math-tests.h>.
20354         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20355         the relevant type.
20356         * math/bug-nexttoward.c: Include <math-tests.h>.
20357         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20358         the relevant type.
20359         * math/test-misc.c: Include <math-tests.h>.
20360         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20361         the relevant type.
20363 2013-06-12  Andreas Jaeger  <aj@suse.de>
20365         * po/ia.po: Update Interlingua translation from translation
20366         project.
20368 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20370         * include/fenv.h: Include stdbool.h.
20371         (struct rm_ctx): New structure.
20372         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20373         Define macro.
20374         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20375         (SET_RESTORE_ROUNDF): Likewise.
20376         (SET_RESTORE_ROUNDL): Likewise.
20377         (SET_RESTORE_ROUND_NOEX): Likewise.
20378         (SET_RESTORE_ROUND_NOEXF): Likewise.
20379         (SET_RESTORE_ROUND_NOEXL): Likewise.
20380         (SET_RESTORE_ROUND_53BIT): Likewise.
20381         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20382         (libc_feresetround_noexf_ctx): Likewise.
20383         (libc_feresetround_noexl_ctx): Likewise.
20384         (libc_feholdsetround_53bit_ctx): Likewise.
20385         (libc_feresetround_53bit_ctx): Likewise.
20386         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20387         (libc_feholdexcept_setround_sse_ctx): New function.
20388         (libc_fesetenv_sse_ctx): Likewise.
20389         (libc_feupdateenv_sse_ctx): Likewise.
20390         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20391         (libc_feholdexcept_setround_387_ctx): Likewise.
20392         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20393         (libc_feholdsetround_387_prec_ctx): Likewise.
20394         (libc_feholdsetround_387_ctx): Likewise.
20395         (libc_feholdsetround_387_53bit_ctx): Likewise.
20396         (libc_feholdsetround_sse_ctx): Likewise.
20397         (libc_feresetround_sse_ctx): Likewise.
20398         (libc_feresetround_387_ctx): Likewise.
20399         (libc_feupdateenv_387_ctx): Likewise.
20400         (libc_feholdexcept_setroundf_ctx): Define macro.
20401         (libc_fesetenvf_ctx): Likewise.
20402         (libc_feupdateenvf_ctx): Likewise.
20403         (libc_feholdsetroundf_ctx): Likewise.
20404         (libc_feresetroundf_ctx): Likewise.
20405         (libc_feholdexcept_setround_ctx): Likewise.
20406         (libc_fesetenv_ctx): Likewise.
20407         (libc_feupdateenv_ctx): Likewise.
20408         (libc_feholdsetround_ctx): Likewise.
20409         (libc_feresetround_ctx): Likewise.
20410         (libc_feholdexcept_setroundl_ctx): Likewise.
20411         (libc_feupdateenvl_ctx): Likewise.
20412         (libc_feholdsetroundl_ctx): Likewise.
20413         (libc_feresetroundl_ctx): Likewise.
20414         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20415         (libc_feresetround_53bit_ctx): Likewise.
20417 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20419         * locale/iso-639.def: Convert to UTF-8.
20421 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
20423         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20424         (EXCEPTION_TESTS_double): Likewise.
20425         (EXCEPTION_TESTS_long_double): Likewise.
20426         (EXCEPTION_TESTS): Likewise.
20427         * math/libm-test.inc (test_exceptions): Only test exceptions if
20428         EXCEPTION_TESTS (FLOAT).
20430 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20432         * benchtests/Makefile (string-bench): Add strcpy_chk and
20433         stpcpy_chk.
20434         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20435         * benchtests/bench-stpcpy_chk.c: New file.
20436         * benchtests/bench-strcpy_chk-ifunc.c: New file.
20437         * benchtests/bench-strcpy_chk.c: New file.
20438         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20439         code.
20440         (do_test): Likewise.
20442 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20444         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20445         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20446         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20447         with tabs where appropriate.
20448         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20449         dl-procinfo.h.
20450         [PPC_PLATFORM_PPC440]: Likewise.
20451         [PPC_PLATFORM_PPC464]: Likewise.
20452         [PPC_PLATFORM_PPC476]: Likewise.
20453         (_dl_string_platform): Add support for detecting ppc405, ppc440,
20454         ppc464, and ppc476 platform strings merging from ports/
20455         dl-procinfo.h.
20457 2013-06-11  Andreas Schwab  <schwab@suse.de>
20459         [BZ #14991]
20460         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20461         (from_ucs4_idx): Regenerate.
20462         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20463         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20464         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20465         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20466         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20467         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20468         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20469         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20470         from FROM_LOOP and TO_LOOP specific macros.
20471         (BODY): Handle combining characters.
20472         * iconvdata/BIG5HKSCS.irreversible: Update.
20473         * iconvdata/BIG5HKSCS.precomposed: New file.
20474         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20475         characters.
20476         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20478 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20480         * include/sys/time.h: Fix indentation and add copyright header.
20482         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20483         (do_test): Likewise.
20484         * string/test-memchr.c (do_one_test): Likewise.
20485         (do_test): Likewise.
20486         * string/test-memcmp.c (do_one_test): Likewise.
20487         (do_test): Likewise.
20488         * string/test-memcpy.c (do_one_test): Likewise.
20489         (do_test): Likewise.
20490         * string/test-memmem.c (do_one_test): Likewise.
20491         (do_test): Likewise.
20492         (do_random_tests): Likewise.
20493         * string/test-memmove.c (do_one_test): Likewise.
20494         (do_test): Likewise.
20495         * string/test-memset.c (do_one_test): Likewise.
20496         (do_test): Likewise.
20497         * string/test-rawmemchr.c (do_one_test): Likewise.
20498         (do_test): Likewise.
20499         * string/test-strcasecmp.c (do_one_test): Likewise.
20500         (do_test): Likewise.
20501         * string/test-strcasestr.c (do_one_test): Likewise.
20502         (do_test): Likewise.
20503         * string/test-strcat.c (do_one_test): Likewise.
20504         (do_test): Likewise.
20505         * string/test-strchr.c (do_one_test): Likewise.
20506         (do_test): Likewise.
20507         * string/test-strcmp.c (do_one_test): Likewise.
20508         (do_test): Likewise.
20509         * string/test-strcpy.c (do_one_test): Likewise.
20510         (do_test): Likewise.
20511         * string/test-string.h: Likewise.
20512         (test_init): Likewise.
20513         * string/test-strlen.c (do_one_test): Likewise.
20514         (do_test): Likewise.
20515         * string/test-strncasecmp.c (do_one_test): Likewise.
20516         (do_test): Likewise.
20517         * string/test-strncat.c (do_one_test): Likewise.
20518         (do_test): Likewise.
20519         * string/test-strncmp.c (do_one_test): Likewise.
20520         (do_test_limit): Likewise.
20521         (do_test): Likewise.
20522         * string/test-strncpy.c (do_one_test): Likewise.
20523         (do_test): Likewise.
20524         * string/test-strnlen.c (do_one_test): Likewise.
20525         (do_test): Likewise.
20526         * string/test-strpbrk.c (do_one_test): Likewise.
20527         (do_test): Likewise.
20528         * string/test-strrchr.c (do_one_test): Likewise.
20529         (do_test): Likewise.
20530         * string/test-strspn.c (do_one_test): Likewise.
20531         (do_test): Likewise.
20532         * string/test-strstr.c (do_one_test): Likewise.
20533         (do_test): Likewise.
20535         * benchtests/Makefile (string-bench): Add string benchmarks.
20536         * benchtests/bench-bcopy-ifunc.c: New file.
20537         * benchtests/bench-bcopy.c: New file.
20538         * benchtests/bench-bzero-ifunc.c: New file.
20539         * benchtests/bench-bzero.c: New file.
20540         * benchtests/bench-memccpy-ifunc.c: New file.
20541         * benchtests/bench-memccpy.c: New file.
20542         * benchtests/bench-memchr-ifunc.c: New file.
20543         * benchtests/bench-memchr.c: New file.
20544         * benchtests/bench-memcmp-ifunc.c: New file.
20545         * benchtests/bench-memcmp.c: New file.
20546         * benchtests/bench-memmem-ifunc.c: New file.
20547         * benchtests/bench-memmem.c: New file.
20548         * benchtests/bench-memmove-ifunc.c: New file.
20549         * benchtests/bench-memmove.c: New file.
20550         * benchtests/bench-mempcpy-ifunc.c: New file.
20551         * benchtests/bench-mempcpy.c: New file.
20552         * benchtests/bench-memset-ifunc.c: New file.
20553         * benchtests/bench-memset.c: New file.
20554         * benchtests/bench-rawmemchr-ifunc.c: New file.
20555         * benchtests/bench-rawmemchr.c: New file.
20556         * benchtests/bench-stpcpy-ifunc.c: New file.
20557         * benchtests/bench-stpcpy.c: New file.
20558         * benchtests/bench-stpncpy-ifunc.c: New file.
20559         * benchtests/bench-stpncpy.c: New file.
20560         * benchtests/bench-strcasecmp-ifunc.c: New file.
20561         * benchtests/bench-strcasecmp.c: New file.
20562         * benchtests/bench-strcasestr-ifunc.c: New file.
20563         * benchtests/bench-strcasestr.c: New file.
20564         * benchtests/bench-strcat-ifunc.c: New file.
20565         * benchtests/bench-strcat.c: New file.
20566         * benchtests/bench-strchr-ifunc.c: New file.
20567         * benchtests/bench-strchr.c: New file.
20568         * benchtests/bench-strchrnul-ifunc.c: New file.
20569         * benchtests/bench-strchrnul.c: New file.
20570         * benchtests/bench-strcmp-ifunc.c: New file.
20571         * benchtests/bench-strcmp.c: New file.
20572         * benchtests/bench-strcpy-ifunc.c: New file.
20573         * benchtests/bench-strcpy.c: New file.
20574         * benchtests/bench-strcspn-ifunc.c: New file.
20575         * benchtests/bench-strcspn.c: New file.
20576         * benchtests/bench-strlen-ifunc.c: New file.
20577         * benchtests/bench-strlen.c: New file.
20578         * benchtests/bench-strncasecmp-ifunc.c: New file.
20579         * benchtests/bench-strncasecmp.c: New file.
20580         * benchtests/bench-strncat-ifunc.c: New file.
20581         * benchtests/bench-strncat.c: New file.
20582         * benchtests/bench-strncmp-ifunc.c: New file.
20583         * benchtests/bench-strncmp.c: New file.
20584         * benchtests/bench-strncpy-ifunc.c: New file.
20585         * benchtests/bench-strncpy.c: New file.
20586         * benchtests/bench-strnlen-ifunc.c: New file.
20587         * benchtests/bench-strnlen.c: New file.
20588         * benchtests/bench-strpbrk-ifunc.c: New file.
20589         * benchtests/bench-strpbrk.c: New file.
20590         * benchtests/bench-strrchr-ifunc.c: New file.
20591         * benchtests/bench-strrchr.c: New file.
20592         * benchtests/bench-strspn-ifunc.c: New file.
20593         * benchtests/bench-strspn.c: New file.
20594         * benchtests/bench-strstr-ifunc.c: New file.
20595         * benchtests/bench-strstr.c: New file.
20597         * benchtests/Makefile: Disable parallel execution of targets.
20598         (string-bench): Add memcpy.
20599         (benchset): New variable to store a list of benchmark sets.
20600         (bench-func): Renamed from bench.
20601         (bench-set): New target.
20602         (bench): Depend on bench-func and bench-set.
20603         * benchtests/README: Add section on benchmark sets.
20604         * benchtests/bench-memcpy-ifunc.c: New file.
20605         * benchtests/bench-memcpy.c: New file.
20606         * benchtests/bench-string.h: New file.
20608 2013-06-11  Andreas Schwab  <schwab@suse.de>
20610         [BZ #15577]
20611         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20612         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20613         values in the triple.
20614         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20615         terminator in the group key.
20617 2013-06-11  Andreas Jaeger  <aj@suse.de>
20619         * po/zh_TW.po: Update Chinese (traditional) translation from
20620         translation project.
20622 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20624         * include/time.h (__clock_gettime): Add libc_hidden_proto.
20625         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20626         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
20627         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20628         (clock_getcpuclockid): Likewise.
20629         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20630         Add weak_alias and libc_hidden_def.
20631         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20632         * rt/clock_gettime.c (clock_gettime): Rename to
20633         __clock_gettime.  Add weak_alias and libc_hidden_def.
20634         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20635         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20636         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
20637         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20638         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20639         Likewise.
20640         * rt/clock_settime.c (clock_settime): Rename to
20641         __clock_settime.  Add weak_alias and libc_hidden_def.
20642         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20644 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
20646         * mach/err_boot.sub: Remove trailing whitespace.
20647         * mach/err_ipc.sub: Likewise.
20648         * mach/err_mach.sub: Likewise.
20650         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20651         (ROUNDING_TESTS_double): Likewise.
20652         (ROUNDING_TESTS_long_double): Likewise.
20653         (ROUNDING_TESTS): Likewise.
20654         * math/libm-test.inc: Include <math-tests.h>.
20655         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20656         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20657         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20658         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20660 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20662         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20663         of assigning.
20665 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
20667         * sysdeps/gnu/errlist.awk: Do not generate space at end of
20668         otherwise empty TRANS lines.
20669         * sysdeps/gnu/errlist.c: Regenerated.
20671         * catgets/gencat.c (error_print): Use (void) in function
20672         definition.
20673         * crypt/crypt_util.c (__init_des): Likewise.
20674         * crypt/speeds.c (Stop): Likewise.
20675         (main): Likewise.
20676         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20677         * inet/ruserpass.c (token): Likewise.
20678         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20679         * intl/localealias.c (extend_alias_table): Likewise.
20680         * intl/plural-exp.c (init_germanic_plural): Likewise.
20681         * libio/fcloseall.c (__fcloseall): Likewise.
20682         * libio/genops.c (_IO_flush_all): Likewise.
20683         (_IO_flush_all_linebuffered): Likewise.
20684         (_IO_cleanup): Likewise.
20685         (_IO_iter_begin): Likewise.
20686         (_IO_iter_end): Likewise.
20687         (_IO_list_lock): Likewise.
20688         (_IO_list_unlock): Likewise.
20689         (_IO_list_resetlock): Likewise.
20690         * libio/getchar.c (getchar): Likewise.
20691         * libio/getchar_u.c (getchar_unlocked): Likewise.
20692         * libio/getwchar.c (getwchar): Likewise.
20693         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20694         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20695         * login/getpt.c (__getpt): Likewise.
20696         * login/tst-utmp.c (main): Likewise.
20697         * malloc/hooks.c (__malloc_check_init): Likewise.
20698         * malloc/malloc.c (__malloc_stats): Likewise.
20699         * malloc/mtrace.c (tr_break): Likewise.
20700         (mtrace): Likewise.
20701         (muntrace): Likewise.
20702         * misc/fstab.c (endfsent): Likewise.
20703         * misc/getclktck.c (__getclktck): Likewise.
20704         * misc/getdtsz.c (__getdtablesize): Likewise.
20705         * misc/gethostid.c (gethostid): Likewise.
20706         * misc/getpagesize.c (__getpagesize): Likewise.
20707         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20708         (__get_nprocs): Likewise.
20709         (__get_phys_pages): Likewise.
20710         (__get_avphys_pages): Likewise.
20711         * misc/getttyent.c (getttyent): Likewise.
20712         (setttyent): Likewise.
20713         (endttyent): Likewise.
20714         * misc/getusershell.c (getusershell): Likewise.
20715         (endusershell): Likewise.
20716         (setusershell): Likewise.
20717         (initshells): Likewise.
20718         * misc/hsearch.c (__hdestroy): Likewise.
20719         * misc/sync.c (sync): Likewise.
20720         * misc/syslog.c (closelog_internal): Likewise.
20721         (closelog): Likewise.
20722         * misc/ttyslot.c (ttyslot): Likewise.
20723         * misc/vhangup.c (vhangup): Likewise.
20724         * posix/fork.c (__fork): Likewise.
20725         * posix/getegid.c (__getegid): Likewise.
20726         * posix/geteuid.c (__geteuid): Likewise.
20727         * posix/getgid.c (__getgid): Likewise.
20728         * posix/getpid.c (__getpid): Likewise.
20729         * posix/getppid.c (__getppid): Likewise.
20730         * posix/getuid.c (__getuid): Likewise.
20731         * posix/pause.c (pause): Likewise.
20732         * posix/setpgrp.c (setpgrp): Likewise.
20733         * posix/setsid.c (__setsid): Likewise.
20734         * posix/test-vfork.c (noop): Likewise.
20735         * resolv/gethnamaddr.c (_endhtent): Likewise.
20736         (_gethtent): Likewise.
20737         (ht_endhostent): Likewise.
20738         (gethostent): Likewise.
20739         (dns_service): Likewise.
20740         * stdlib/drand48.c (drand48): Likewise.
20741         * stdlib/lrand48.c (lrand48): Likewise.
20742         * stdlib/mrand48.c (mrand48): Likewise.
20743         * stdlib/rand.c (rand): Likewise.
20744         * stdlib/random.c (__random): Likewise.
20745         * stdlib/setenv.c (clearenv): Likewise.
20746         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20747         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20748         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20749         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20750         (__get_nprocs): Likewise.
20751         (__get_phys_pages): Likewise.
20752         (__get_avphys_pages): Likewise.
20753         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20754         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20755         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20756         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20757         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20758         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20759         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20760         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20761         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20762         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20763         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20764         * sysdeps/mach/hurd/sync.c (sync): Likewise.
20765         * sysdeps/posix/clock.c (clock): Likewise.
20766         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20767         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20768         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20769         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20770         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20771         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20772         (__get_nprocs_conf): Likewise.
20773         (__get_phys_pages): Likewise.
20774         (__get_avphys_pages): Likewise.
20775         * time/clock.c (clock): Likewise.
20776         * time/tzset.c (__tzname_max): Likewise.
20778 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
20780         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20781         (__bswap_32): Do not use "register".
20782         * crypt/crypt.c (_ufc_doit_r): Likewise.
20783         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20784         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20785         * gmon/gmon.c (__monstartup): Likewise.
20786         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20787         * hurd/hurdmalloc.c (more_memory): Likewise.
20788         (malloc): Likewise.
20789         (free): Likewise.
20790         (realloc): Likewise.
20791         (malloc_fork_prepare): Likewise.
20792         (malloc_fork_parent): Likewise.
20793         (malloc_fork_child): Likewise.
20794         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20795         (_svcauth_des): Likewise.
20796         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20797         * inet/inet_net.c (inet_network): Likewise.
20798         * inet/inet_netof.c (inet_netof): Likewise.
20799         * inet/rcmd.c (__validuser2_sa): Likewise.
20800         * io/fts.c (fts_open): Likewise.
20801         (fts_load): Likewise.
20802         (fts_close): Likewise.
20803         (fts_read): Likewise.
20804         (fts_children): Likewise.
20805         (fts_build): Likewise.
20806         (fts_stat): Likewise.
20807         (fts_sort): Likewise.
20808         (fts_alloc): Likewise.
20809         (fts_lfree): Likewise.
20810         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20811         (_IO_file_xsgetn): Likewise.
20812         (_IO_file_xsgetn_mmap): Likewise.
20813         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20814         (_IO_cookie_write): Likewise.
20815         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20816         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20817         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20818         * malloc/obstack.c (_obstack_begin): Likewise.
20819         (_obstack_begin_1): Likewise.
20820         (_obstack_newchunk): Likewise.
20821         (_obstack_allocated_p): Likewise.
20822         (obstack_free): Likewise.
20823         (_obstack_memory_used): Likewise.
20824         * misc/getttyent.c (getttynam): Likewise.
20825         (getttyent): Likewise.
20826         (skip): Likewise.
20827         (value): Likewise.
20828         * misc/getusershell.c (initshells): Likewise.
20829         * misc/syslog.c (__vsyslog_chk): Likewise.
20830         * misc/ttyslot.c (ttyslot): Likewise.
20831         * nis/nis_hash.c (__nis_hash): Likewise.
20832         * posix/fnmatch_loop.c (FCT): Likewise.
20833         * posix/getconf.c (print_all): Likewise.
20834         (main): Likewise.
20835         * posix/getopt.c (exchange): Likewise.
20836         * posix/glob.c (globfree): Likewise.
20837         (prefix_array): Likewise.
20838         (__glob_pattern_type): Likewise.
20839         * resolv/arpa/nameser.h (NS_GET16): Likewise.
20840         (NS_GET32): Likewise.
20841         (NS_PUT16): Likewise.
20842         (NS_PUT32): Likewise.
20843         * resolv/gethnamaddr.c (getanswer): Likewise.
20844         (gethostbyname2): Likewise.
20845         (gethostbyaddr): Likewise.
20846         (_gethtent): Likewise.
20847         (_gethtbyname2): Likewise.
20848         (_gethtbyaddr): Likewise.
20849         * resolv/ns_print.c (dst_s_get_int16): Likewise.
20850         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20851         * resolv/res_init.c (__res_vinit): Likewise.
20852         (net_mask): Likewise.
20853         * resolv/res_mkquery.c (outchar): Likewise.
20854         (PRINT): Likewise.
20855         * stdio-common/printf_fp.c (outchar): Likewise.
20856         (PRINT): Likewise.
20857         * stdio-common/printf_fphex.c (outchar): Likewise.
20858         (PRINT): Likewise.
20859         * stdio-common/printf_size.c (outchar): Likewise.
20860         (PRINT): Likewise.
20861         * stdio-common/test_rdwr.c (main): Likewise.
20862         * stdio-common/tfformat.c (matches): Likewise.
20863         * stdio-common/vfprintf.c (outchar): Likewise.
20864         (printf_unknown): Likewise.
20865         (buffered_vfprintf): Likewise.
20866         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20867         * stdio-common/xbug.c (AppendToBuffer): Likewise.
20868         (ReadFile): Likewise.
20869         * stdlib/qsort.c (SWAP): Likewise.
20870         (_quicksort): Likewise.
20871         * stdlib/setenv.c (__add_to_environ): Likewise.
20872         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20873         * stdlib/strtol_l.c (__strtol_l): Likewise.
20874         * stdlib/tst-strtod.c (main): Likewise.
20875         * stdlib/tst-strtol.c (main): Likewise.
20876         * stdlib/tst-strtoll.c (main): Likewise.
20877         * string/bits/string2.h (__strcmp_cc): Likewise.
20878         (__strcmp_cg): Likewise.
20879         (__strcspn_c1): Likewise.
20880         (__strcspn_c2): Likewise.
20881         (__strcspn_c3): Likewise.
20882         (__strspn_c1): Likewise.
20883         (__strspn_c2): Likewise.
20884         (__strspn_c3): Likewise.
20885         (__strsep_1c): Likewise.
20886         (__strsep_2c): Likewise.
20887         (__strsep_3c): Likewise.
20888         * string/memccpy.c (__memccpy): Likewise.
20889         * string/stpcpy.c (__stpcpy): Likewise.
20890         * string/strcmp.c (strcmp): Likewise.
20891         * string/strrchr.c (strrchr): Likewise.
20892         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20893         Likewise.
20894         * sysdeps/mach/hurd/getcwd.c
20895         (_hurd_canonicalize_directory_name_internal): Likewise.
20896         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20897         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20898         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20899         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20900         Likewise, in both definitions.
20901         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20902         definitions.
20903         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20904         64] (__bswap_64): Likewise.
20905         * time/test_time.c (main): Likewise.
20906         * time/tzfile.c (__tzfile_read): Likewise.
20907         (__tzfile_compute): Likewise.
20908         * time/tzset.c (__tzset_parse_tz): Likewise.
20909         (tzset_internal): Likewise.
20910         (compute_change): Likewise.
20911         * wcsmbs/wcscat.c (__wcscat): Likewise.
20912         * wcsmbs/wcschr.c (wcschr): Likewise.
20913         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20914         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20915         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20916         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20917         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20918         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20919         * wcsmbs/wmemchr.c (wmemchr): Likewise.
20920         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20921         * wcsmbs/wmemset.c (wmemset): Likewise.
20923 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
20925         * scripts/config.guess: Update to version 2013-05-16.
20926         * scripts/config.sub: Update to version 2013-04-24.
20927         * scripts/install-sh: Update to version 2011-11-20.07.
20928         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20929         * scripts/move-if-change: Update to version 2012-01-06 07:23.
20931 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
20933         * debug/fgetws_u_chk.c: Fix leading whitespaces.
20934         * elf/sln.c: Likewise.
20935         * hurd/hurd/ioctl.h: Likewise.
20936         * hurd/hurdmalloc.c: Likewise.
20937         * hurd/xattr.c: Likewise.
20938         * include/shlib-compat.h: Likewise.
20939         * inet/ruserpass.c: Likewise.
20940         * libio/iofgets_u.c: Likewise.
20941         * libio/iofgetws_u.c: Likewise.
20942         * locale/programs/ld-identification.c: Likewise.
20943         * locale/programs/ld-time.c: Likewise.
20944         * mach/msg-destroy.c: Likewise.
20945         * nss/nss_files/files-netgrp.c: Likewise.
20946         * resolv/res_data.c: Likewise.
20947         * soft-fp/op-1.h: Likewise.
20948         * soft-fp/op-2.h: Likewise.
20949         * soft-fp/op-4.h: Likewise.
20950         * soft-fp/op-common.h: Likewise.
20951         * stdio-common/printf_fphex.c: Likewise.
20952         * stdlib/strtod_l.c: Likewise.
20953         * sunrpc/rpc/clnt.h: Likewise.
20954         * sysdeps/generic/framestate.c: Likewise.
20955         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20956         * sysdeps/i386/bsd-setjmp.S: Likewise.
20957         * sysdeps/i386/__longjmp.S: Likewise.
20958         * sysdeps/i386/setjmp.S: Likewise.
20959         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20960         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20961         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20962         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20963         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20964         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20965         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20966         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20967         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20968         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20969         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20970         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20971         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20972         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20973         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20974         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20975         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20976         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20977         * sysdeps/ieee754/support.c: Likewise.
20978         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20979         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20980         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20981         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20982         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20983         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20984         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20985         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20986         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20987         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20988         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20989         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20990         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20991         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20992         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20993         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20994         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20997 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
20999         * posix/transbug.c: Remove executable mode.
21001 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21003         * crypt/speeds.c: Remove trailing whitespace.
21004         * dlfcn/default.c: Likewise.
21005         * elf/ifuncdep2.c: Likewise.
21006         * elf/ifuncmain1.c: Likewise.
21007         * elf/ifuncmain1vis.c: Likewise.
21008         * elf/testobj.h: Likewise.
21009         * elf/tst-stackguard1.c: Likewise.
21010         * gmon/sys/gmon.h: Likewise.
21011         * hurd/hurdmsg.c: Likewise.
21012         * hurd/new-fd.c: Likewise.
21013         * hurd/ports-get.c: Likewise.
21014         * iconvdata/ibm1008_420.c: Likewise.
21015         * inet/tst-getni1.c: Likewise.
21016         * inet/tst-getni2.c: Likewise.
21017         * libio/ioungetc.c: Likewise.
21018         * libio/wfiledoalloc.c: Likewise.
21019         * manual/libm-err-tab.pl: Likewise.
21020         * math/w_dremf.c: Likewise.
21021         * misc/ftruncate.c: Likewise.
21022         * posix/bug-glob2.c: Likewise.
21023         * posix/tst-pcre.c: Likewise.
21024         * posix/wait4.c: Likewise.
21025         * resolv/README: Likewise.
21026         * resolv/res_debug.h: Likewise.
21027         * resolv/tst-inet_ntop.c: Likewise.
21028         * setjmp/bug269-setjmp.c: Likewise.
21029         * soft-fp/extended.h: Likewise.
21030         * soft-fp/op-1.h: Likewise.
21031         * soft-fp/op-2.h: Likewise.
21032         * soft-fp/op-4.h: Likewise.
21033         * soft-fp/op-8.h: Likewise.
21034         * soft-fp/testit.c: Likewise.
21035         * stdio-common/bug16.c: Likewise.
21036         * stdlib/random.c: Likewise.
21037         * sunrpc/rpcsvc/rquota.x: Likewise.
21038         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21039         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21040         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21041         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21042         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21043         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21044         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21045         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21046         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21047         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21048         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21049         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21050         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21051         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21052         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21053         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21054         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21055         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21056         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21057         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21058         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21059         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21060         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21061         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21062         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21063         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21064         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21065         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21066         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21067         * sysdeps/ieee754/s_lib_version.c: Likewise.
21068         * sysdeps/mach/hurd/check_fds.c: Likewise.
21069         * sysdeps/mach/hurd/getsockname.c: Likewise.
21070         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21071         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21072         * sysdeps/powerpc/bits/link.h: Likewise.
21073         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21074         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21075         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21076         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21077         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21078         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21079         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21080         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21081         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21082         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21083         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21084         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21085         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21086         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21087         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21088         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21089         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21090         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21091         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21092         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21093         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21094         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21095         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21096         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21097         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21098         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21099         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21100         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21101         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21102         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21103         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21104         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21105         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21106         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21107         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21108         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21109         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21110         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21111         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21112         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21113         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21114         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21115         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21116         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21117         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21118         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21119         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21120         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21121         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21122         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21123         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21124         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21125         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21126         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21127         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21128         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21129         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21130         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21131         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21132         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21133         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21134         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21135         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21136         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21137         * sysdeps/powerpc/sysdep.h: Likewise.
21138         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21139         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21140         * sysdeps/sh/dl-trampoline.S: Likewise.
21141         * sysdeps/sh/memset.S: Likewise.
21142         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21143         * sysdeps/sh/strlen.S: Likewise.
21144         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21145         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21146         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21147         * sysdeps/sparc/sparc32/rem.S: Likewise.
21148         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21149         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21150         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21151         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21152         * sysdeps/sparc/sparc32/urem.S: Likewise.
21153         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21154         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21155         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21156         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21157         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21158         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21159         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21160         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21161         * sysdeps/unix/bsd/times.c: Likewise.
21162         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21163         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21167         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21168         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21169         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21170         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21171         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21172         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21173         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21174         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21175         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21176         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21177         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21178         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21179         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21180         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21181         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21182         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21183         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21184         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21185         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21186         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21187         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21188         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21189         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21190         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21191         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21192         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21193         * sysdeps/x86_64/strcspn.S: Likewise.
21195 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21197         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21198         generated file.  Regenerate properly from gen-translit.pl.
21199         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21200         locale/C-translit.h.
21202 2013-06-05  Andreas Schwab  <schwab@suse.de>
21204         [BZ #15100]
21205         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21206         week as 6 instead of -1.
21207         * time/tst-strptime.c (day_tests): Add test case.
21209 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21211         * sysdeps/generic/math_private.h
21212         (libc_feholdexcept_setround_53bit): Replace with
21213         libc_feholdsetround_53bit.
21214         (libc_feupdateenv_53bit): Replace with
21215         libc_feresetround_53bit.
21216         (SET_RESTORE_ROUND_53BIT): Adjust.
21218 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21220         * string/test-strchrnul.c: Add copyright header.
21222         * posix/tst-getaddrinfo4.c: Increase test timeout.
21224 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
21226         [BZ #15536]
21227         * math/libm-test.inc (MAX_EXP): Remove
21228         (MIN_EXP): Define.
21229         (ulp): Use MIN_EXP - MANT_DIG.
21230         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21232 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
21234         * po/be.po: Revert last change.
21235         * po/zh_CN.po: Likewise.
21236         * po/header.pot: Likewise.
21238 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
21240         * Makefile ($(common-objpfx)linkobj/libc.so): Define
21241         link-libc-deps to empty as target-specific variable.
21242         * Makerules (link-libc-args): New variable.
21243         (libc-for-link): Likewise.
21244         (link-libc-deps): Likewise.
21245         (lib%.so): Depend on $(link-libc-deps).  Link with
21246         $(link-libc-args).
21247         (build-module): Link with $(link-libc-args).
21248         (build-module-asneeded): Likewise.
21249         (build-module-helper-objlist): Filter out $(link-libc-deps) from
21250         list of objects.
21251         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21252         target-specific variable.
21253         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21254         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21255         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21256         libc.
21257         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21258         libc and ld.so.
21259         ($(objpfx)libpcprofile.so): Likewise.
21260         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21261         libc_nonshared.a.
21262         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21263         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21264         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21265         $(link-libc-deps).
21266         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21267         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21268         * login/Makefile ($(objpfx)libutil.so): Likewise.
21269         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21270         * math/Makefile ($(objpfx)libm.so): Likewise.
21271         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21272         $(objpfx)libnsl.so): Define libc-for-link as target-specific
21273         variable instead of depending directly on libc.
21274         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21275         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21276         $(link-libc-deps).
21277         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21278         libc.
21279         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21280         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21281         ($(objpfx)libanl.so): Likewise.
21282         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21283         ld.so.
21284         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21285         $(link-libc-deps).
21286         * sysdeps/i386/fpu/Makefile: Remove file.
21287         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21288         ($(objpfx)libm.so): Remove dependency on ld.so.
21290 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
21292         [BZ # 15553]
21293         * nis/yp_xdr.c (XDRMAXNAME): Define.
21294         (XDRMAXRECORD): Define.
21295         (xdr_domainname): Use XDRMAXNAME.
21296         (xdr_mapname): Likewise.
21297         (xdr_peername): Likewise.
21298         (xdr_keydat): Use XDRMAXRECORD.
21299         (xdr_valdat): Likewise.
21301 2013-05-30  Jeff Law  <law@redhat.com>
21303         [BZ #14256]
21304         * manual/errno.texi (ESTALE): Update to account for more than
21305         just NFS file systems.
21306         * sysdeps/gnu/errlist.c: Regenerated.
21308 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21310         [BZ #15465]
21311         * elf/Makefile (tests): Add tst-null-argv.
21312         (modules-names):  Add tst-null-argv-lib.
21313         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21314         (tst-null-argv-ENV): Set environment for tst-null-argv.
21315         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21316         (RTLD_PROGNAME): New macro.
21317         * elf/tst-null-argv.c: New test case.
21318         * elf/tst-null-argv-lib.c: Library for test case.
21319         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21320         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21321         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21322         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21323         * elf/dl-init.c (call_init): Likewise.
21324         (_dl_init): Likewise.
21325         * elf/dl-load.c (print_search_path): Likewise.
21326         (_dl_map_object): Likewise.
21327         * elf/dl-lookup.c (do_lookup_x): Likewise.
21328         (add_dependency): Likewise.
21329         (_dl_lookup_symbol_x): Likewise.
21330         (_dl_debug_bindings): Likewise.
21331         * elf/dl-open.c (_dl_show_scope): Likewise.
21332         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21333         * elf/dl-version.c (match_symbol): Likewise.
21334         (_dl_check_map_versions): Likewise.
21335         * elf/rtld.c (dl_main): Likewise.
21336         (print_unresolved): Use RTLD_PROGNAME.
21337         (print_missing_version): Likewise.
21338         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21339         (elf_machine_rela): Likewise.
21340         * sysdeps/powerpc/powerpc32/dl-machine.c
21341         (__process_machine_rela): Likewise.
21342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21343         Likewise.
21344         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21345         Likewise.
21346         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21347         Likewise.
21348         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21349         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21350         Likewise.
21351         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21352         Likewise.
21353         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21355 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
21357         * po/be.po: Add descriptive title.
21358         * po/zh_CN.po: Likewise.
21359         * po/header.pot: Likewise.
21361 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
21363         * locale/programs/locarchive.c (create_archive): Inlucde fname in
21364         error message.
21365         (enlarge_archive): Likewise.
21367 2013-05-28  Ben North  <ben@redfrontdoor.org>
21369         * manual/arith.texi (frexp): It is the magnitude of the return
21370         value which lies in [0.5, 1), not the return value itself.
21372 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21376 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
21378         * stdio-common/bug26.c (main): Correct fscanf template.
21380         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21381         declare _dl_skip_args.
21383         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21384         Don't declare.
21386         * manual/platform.texi: Add missing @end deftypefun.
21388 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21390         [BZ #15529]
21391         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21392         bit of mantissa of 2^16382.
21393         * math/libm-test.inc (hypot_test_data): Add more tests.
21395         * math/libm-test.inc: Add drem and pow10 to list of tested
21396         functions.
21397         (pow10_test): New function.
21398         (drem_test): Likewise.
21399         (drem_test_tonearest): Likewise.
21400         (drem_test_towardzero): Likewise.
21401         (drem_test_downward): Likewise.
21402         (drem_test_upward): Likewise.
21403         (main): Call the new functions.
21405         * math/libm-test.inc (finite_test_data): Remove.
21406         (finite_test): Run tests from isfinite_test_data.
21407         (gamma_test_data): Remove.
21408         (gamma_test): Run tests from lgamma_test_data.
21409         * sysdeps/i386/fpu/libm-test-ulps: Update.
21410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21412 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21414         * manual/platform.texi: Add PowerPC PPR function set documentation.
21415         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21416         implementation.
21418 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
21420         * math/libm-test.inc (MAX_EXP): Define.
21421         (ULPDIFF): Define.
21422         (ulp): New function.
21423         (check_float_internal): Use ULPDIFF.
21424         (cpow_test): Disable failing test.
21425         (check_ulp): Test ulp() implemetnation.
21426         (main): Call check_ulp before starting tests.
21428 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21430         * math/gen-libm-test.pl (generate_testfile): Do not handle
21431         START_DATA and END_DATA.
21432         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21433         END_DATA.
21434         (acos_tonearest_test_data): Likewise.
21435         (acos_towardzero_test_data): Likewise.
21436         (acos_downward_test_data): Likewise.
21437         (acos_upward_test_data): Likewise.
21438         (acosh_test_data): Likewise.
21439         (asin_test_data): Likewise.
21440         (asin_tonearest_test_data): Likewise.
21441         (asin_towardzero_test_data): Likewise.
21442         (asin_downward_test_data): Likewise.
21443         (asin_upward_test_data): Likewise.
21444         (asinh_test_data): Likewise.
21445         (atan_test_data): Likewise.
21446         (atanh_test_data): Likewise.
21447         (atan2_test_data): Likewise.
21448         (cabs_test_data): Likewise.
21449         (cacos_test_data): Likewise.
21450         (cacosh_test_data): Likewise.
21451         (carg_test_data): Likewise.
21452         (casin_test_data): Likewise.
21453         (casinh_test_data): Likewise.
21454         (catan_test_data): Likewise.
21455         (catanh_test_data): Likewise.
21456         (cbrt_test_data): Likewise.
21457         (ccos_test_data): Likewise.
21458         (ccosh_test_data): Likewise.
21459         (ceil_test_data): Likewise.
21460         (cexp_test_data): Likewise.
21461         (cimag_test_data): Likewise.
21462         (clog_test_data): Likewise.
21463         (clog10_test_data): Likewise.
21464         (conj_test_data): Likewise.
21465         (copysign_test_data): Likewise.
21466         (cos_test_data): Likewise.
21467         (cos_tonearest_test_data): Likewise.
21468         (cos_towardzero_test_data): Likewise.
21469         (cos_downward_test_data): Likewise.
21470         (cos_upward_test_data): Likewise.
21471         (cosh_test_data): Likewise.
21472         (cosh_tonearest_test_data): Likewise.
21473         (cosh_towardzero_test_data): Likewise.
21474         (cosh_downward_test_data): Likewise.
21475         (cosh_upward_test_data): Likewise.
21476         (cpow_test_data): Likewise.
21477         (cproj_test_data): Likewise.
21478         (creal_test_data): Likewise.
21479         (csin_test_data): Likewise.
21480         (csinh_test_data): Likewise.
21481         (csqrt_test_data): Likewise.
21482         (ctan_test_data): Likewise.
21483         (ctan_tonearest_test_data): Likewise.
21484         (ctan_towardzero_test_data): Likewise.
21485         (ctan_downward_test_data): Likewise.
21486         (ctan_upward_test_data): Likewise.
21487         (ctanh_test_data): Likewise.
21488         (ctanh_tonearest_test_data): Likewise.
21489         (ctanh_towardzero_test_data): Likewise.
21490         (ctanh_downward_test_data): Likewise.
21491         (ctanh_upward_test_data): Likewise.
21492         (erf_test_data): Likewise.
21493         (erfc_test_data): Likewise.
21494         (exp_test_data): Likewise.
21495         (exp_tonearest_test_data): Likewise.
21496         (exp_towardzero_test_data): Likewise.
21497         (exp_downward_test_data): Likewise.
21498         (exp_upward_test_data): Likewise.
21499         (exp10_test_data): Likewise.
21500         (exp2_test_data): Likewise.
21501         (expm1_test_data): Likewise.
21502         (fabs_test_data): Likewise.
21503         (fdim_test_data): Likewise.
21504         (finite_test_data): Likewise.
21505         (floor_test_data): Likewise.
21506         (fma_test_data): Likewise.
21507         (fma_towardzero_test_data): Likewise.
21508         (fma_downward_test_data): Likewise.
21509         (fma_upward_test_data): Likewise.
21510         (fmax_test_data): Likewise.
21511         (fmin_test_data): Likewise.
21512         (fmod_test_data): Likewise.
21513         (fpclassify_test_data): Likewise.
21514         (frexp_test_data): Likewise.
21515         (gamma_test_data): Likewise.
21516         (hypot_test_data): Likewise.
21517         (ilogb_test_data): Likewise.
21518         (isfinite_test_data): Likewise.
21519         (isgreater_test_data): Likewise.
21520         (isgreaterequal_test_data): Likewise.
21521         (isinf_test_data): Likewise.
21522         (isless_test_data): Likewise.
21523         (islessequal_test_data): Likewise.
21524         (islessgreater_test_data): Likewise.
21525         (isnan_test_data): Likewise.
21526         (isnormal_test_data): Likewise.
21527         (issignaling_test_data): Likewise.
21528         (isunordered_test_data): Likewise.
21529         (j0_test_data): Likewise.
21530         (j1_test_data): Likewise.
21531         (jn_test_data): Likewise.
21532         (ldexp_test_data): Likewise.
21533         (lgamma_test_data): Likewise.
21534         (lrint_test_data): Likewise.
21535         (lrint_tonearest_test_data): Likewise.
21536         (lrint_towardzero_test_data): Likewise.
21537         (lrint_downward_test_data): Likewise.
21538         (lrint_upward_test_data): Likewise.
21539         (llrint_test_data): Likewise.
21540         (llrint_tonearest_test_data): Likewise.
21541         (llrint_towardzero_test_data): Likewise.
21542         (llrint_downward_test_data): Likewise.
21543         (llrint_upward_test_data): Likewise.
21544         (log_test_data): Likewise.
21545         (log10_test_data): Likewise.
21546         (log1p_test_data): Likewise.
21547         (log2_test_data): Likewise.
21548         (logb_test_data): Likewise.
21549         (logb_downward_test_data): Likewise.
21550         (lround_test_data): Likewise.
21551         (llround_test_data): Likewise.
21552         (modf_test_data): Likewise.
21553         (nearbyint_test_data): Likewise.
21554         (nextafter_test_data): Likewise.
21555         (nexttoward_test_data): Likewise.
21556         (pow_test_data): Likewise.
21557         (pow_tonearest_test_data): Likewise.
21558         (pow_towardzero_test_data): Likewise.
21559         (pow_downward_test_data): Likewise.
21560         (pow_upward_test_data): Likewise.
21561         (remainder_test_data): Likewise.
21562         (remainder_tonearest_test_data): Likewise.
21563         (remainder_towardzero_test_data): Likewise.
21564         (remainder_downward_test_data): Likewise.
21565         (remainder_upward_test_data): Likewise.
21566         (remquo_test_data): Likewise.
21567         (rint_test_data): Likewise.
21568         (rint_tonearest_test_data): Likewise.
21569         (rint_towardzero_test_data): Likewise.
21570         (rint_downward_test_data): Likewise.
21571         (rint_upward_test_data): Likewise.
21572         (round_test_data): Likewise.
21573         (scalb_test_data): Likewise.
21574         (scalbn_test_data): Likewise.
21575         (scalbln_test_data): Likewise.
21576         (signbit_test_data): Likewise.
21577         (sin_test_data): Likewise.
21578         (sin_tonearest_test_data): Likewise.
21579         (sin_towardzero_test_data): Likewise.
21580         (sin_downward_test_data): Likewise.
21581         (sin_upward_test_data): Likewise.
21582         (sincos_test_data): Likewise.
21583         (sinh_test_data): Likewise.
21584         (sinh_tonearest_test_data): Likewise.
21585         (sinh_towardzero_test_data): Likewise.
21586         (sinh_downward_test_data): Likewise.
21587         (sinh_upward_test_data): Likewise.
21588         (sqrt_test_data): Likewise.
21589         (tan_test_data): Likewise.
21590         (tan_tonearest_test_data): Likewise.
21591         (tan_towardzero_test_data): Likewise.
21592         (tan_downward_test_data): Likewise.
21593         (tan_upward_test_data): Likewise.
21594         (tanh_test_data): Likewise.
21595         (tgamma_test_data): Likewise.
21596         (trunc_test_data): Likewise.
21597         (y0_test_data): Likewise.
21598         (y1_test_data): Likewise.
21599         (yn_test_data): Likewise.
21600         (significand_test_data): Likewise.
21602         * math/gen-libm-test.pl (@functions): Remove variable.
21603         (generate_testfile): Don't handle START and END lines.
21604         * math/libm-test.inc (START): New macro.
21605         (END): Likewise.
21606         (END_COMPLEX): Likewise.
21607         (acos_test): Use END macro without arguments.
21608         (acos_test_tonearest): Likewise.
21609         (acos_test_towardzero): Likewise.
21610         (acos_test_downward): Likewise.
21611         (acos_test_upward): Likewise.
21612         (acosh_test): Likewise.
21613         (asin_test): Likewise.
21614         (asin_test_tonearest): Likewise.
21615         (asin_test_towardzero): Likewise.
21616         (asin_test_downward): Likewise.
21617         (asin_test_upward): Likewise.
21618         (asinh_test): Likewise.
21619         (atan_test): Likewise.
21620         (atanh_test): Likewise.
21621         (atan2_test): Likewise.
21622         (cabs_test): Likewise.
21623         (cacos_test): Use END_COMPLEX macro without arguments.
21624         (cacosh_test): Likewise.
21625         (carg_test): Use END macro without arguments.
21626         (casin_test): Use END_COMPLEX macro without arguments.
21627         (casinh_test): Likewise.
21628         (catan_test): Likewise.
21629         (catanh_test): Likewise.
21630         (cbrt_test): Use END macro without arguments.
21631         (ccos_test): Use END_COMPLEX macro without arguments.
21632         (ccosh_test): Likewise.
21633         (ceil_test): Use END macro without arguments.
21634         (cexp_test): Use END_COMPLEX macro without arguments.
21635         (cimag_test): Use END macro without arguments.
21636         (clog_test): Use END_COMPLEX macro without arguments.
21637         (clog10_test): Likewise.
21638         (conj_test): Likewise.
21639         (copysign_test): Use END macro without arguments.
21640         (cos_test): Likewise.
21641         (cos_test_tonearest): Likewise.
21642         (cos_test_towardzero): Likewise.
21643         (cos_test_downward): Likewise.
21644         (cos_test_upward): Likewise.
21645         (cosh_test): Likewise.
21646         (cosh_test_tonearest): Likewise.
21647         (cosh_test_towardzero): Likewise.
21648         (cosh_test_downward): Likewise.
21649         (cosh_test_upward): Likewise.
21650         (cpow_test): Use END_COMPLEX macro without arguments.
21651         (cproj_test): Likewise.
21652         (creal_test): Use END macro without arguments.
21653         (csin_test): Use END_COMPLEX macro without arguments.
21654         (csinh_test): Likewise.
21655         (csqrt_test): Likewise.
21656         (ctan_test): Likewise.
21657         (ctan_test_tonearest): Likewise.
21658         (ctan_test_towardzero): Likewise.
21659         (ctan_test_downward): Likewise.
21660         (ctan_test_upward): Likewise.
21661         (ctanh_test): Likewise.
21662         (ctanh_test_tonearest): Likewise.
21663         (ctanh_test_towardzero): Likewise.
21664         (ctanh_test_downward): Likewise.
21665         (ctanh_test_upward): Likewise.
21666         (erf_test): Use END macro without arguments.
21667         (erfc_test): Likewise.
21668         (exp_test): Likewise.
21669         (exp_test_tonearest): Likewise.
21670         (exp_test_towardzero): Likewise.
21671         (exp_test_downward): Likewise.
21672         (exp_test_upward): Likewise.
21673         (exp10_test): Likewise.
21674         (exp2_test): Likewise.
21675         (expm1_test): Likewise.
21676         (fabs_test): Likewise.
21677         (fdim_test): Likewise.
21678         (finite_test): Likewise.
21679         (floor_test): Likewise.
21680         (fma_test): Likewise.
21681         (fma_test_towardzero): Likewise.
21682         (fma_test_downward): Likewise.
21683         (fma_test_upward): Likewise.
21684         (fmax_test): Likewise.
21685         (fmin_test): Likewise.
21686         (fmod_test): Likewise.
21687         (fpclassify_test): Likewise.
21688         (frexp_test): Likewise.
21689         (gamma_test): Likewise.
21690         (hypot_test): Likewise.
21691         (ilogb_test): Likewise.
21692         (isfinite_test): Likewise.
21693         (isgreater_test): Likewise.
21694         (isgreaterequal_test): Likewise.
21695         (isinf_test): Likewise.
21696         (isless_test): Likewise.
21697         (islessequal_test): Likewise.
21698         (islessgreater_test): Likewise.
21699         (isnan_test): Likewise.
21700         (isnormal_test): Likewise.
21701         (issignaling_test): Likewise.
21702         (isunordered_test): Likewise.
21703         (j0_test): Likewise.
21704         (j1_test): Likewise.
21705         (jn_test): Likewise.
21706         (ldexp_test): Likewise.
21707         (lgamma_test): Likewise.
21708         (lrint_test): Likewise.
21709         (lrint_test_tonearest): Likewise.
21710         (lrint_test_towardzero): Likewise.
21711         (lrint_test_downward): Likewise.
21712         (lrint_test_upward): Likewise.
21713         (llrint_test): Likewise.
21714         (llrint_test_tonearest): Likewise.
21715         (llrint_test_towardzero): Likewise.
21716         (llrint_test_downward): Likewise.
21717         (llrint_test_upward): Likewise.
21718         (log_test): Likewise.
21719         (log10_test): Likewise.
21720         (log1p_test): Likewise.
21721         (log2_test): Likewise.
21722         (logb_test): Likewise.
21723         (logb_test_downward): Likewise.
21724         (lround_test): Likewise.
21725         (llround_test): Likewise.
21726         (modf_test): Likewise.
21727         (nearbyint_test): Likewise.
21728         (nextafter_test): Likewise.
21729         (nexttoward_test): Likewise.
21730         (pow_test): Likewise.
21731         (pow_test_tonearest): Likewise.
21732         (pow_test_towardzero): Likewise.
21733         (pow_test_downward): Likewise.
21734         (pow_test_upward): Likewise.
21735         (remainder_test): Likewise.
21736         (remainder_test_tonearest): Likewise.
21737         (remainder_test_towardzero): Likewise.
21738         (remainder_test_downward): Likewise.
21739         (remainder_test_upward): Likewise.
21740         (remquo_test): Likewise.
21741         (rint_test): Likewise.
21742         (rint_test_tonearest): Likewise.
21743         (rint_test_towardzero): Likewise.
21744         (rint_test_downward): Likewise.
21745         (rint_test_upward): Likewise.
21746         (round_test): Likewise.
21747         (scalb_test): Likewise.
21748         (scalbn_test): Likewise.
21749         (scalbln_test): Likewise.
21750         (signbit_test): Likewise.
21751         (sin_test): Likewise.
21752         (sin_test_tonearest): Likewise.
21753         (sin_test_towardzero): Likewise.
21754         (sin_test_downward): Likewise.
21755         (sin_test_upward): Likewise.
21756         (sincos_test): Likewise.
21757         (sinh_test): Likewise.
21758         (sinh_test_tonearest): Likewise.
21759         (sinh_test_towardzero): Likewise.
21760         (sinh_test_downward): Likewise.
21761         (sinh_test_upward): Likewise.
21762         (sqrt_test): Likewise.
21763         (tan_test): Likewise.
21764         (tan_test_tonearest): Likewise.
21765         (tan_test_towardzero): Likewise.
21766         (tan_test_downward): Likewise.
21767         (tan_test_upward): Likewise.
21768         (tanh_test): Likewise.
21769         (tgamma_test): Likewise.
21770         (trunc_test): Likewise.
21771         (y0_test): Likewise.
21772         (y1_test): Likewise.
21773         (yn_test): Likewise.
21774         (significand_test): Likewise.
21776 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
21778         [BZ #15381]
21779         * libio/genops.c (_IO_no_init): Initialize wide struct info.
21781 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21783         [BZ #14894]
21784         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21785         __ppc_mdoio and __ppc_mdoom.
21786         * manual/platform.texi: Document new functions __ppc_yield,
21787         __ppc_mdoio and __ppc_mdoom.
21789 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
21791         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21792         (main): Mention "tls" pseudo-hwcap is legacy.
21793         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21795 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21797         * math/gen-libm-test.pl (parse_args): Output only string of
21798         arguments as text for test name, not full call or descriptions of
21799         tests for extra outputs.
21800         (generate_testfile): Do not pass function name to parse_args.
21801         Generate this_func variable from START.
21802         * math/libm-test.inc (struct test_f_f_data): Rename test_name
21803         field to arg_str.
21804         (struct test_ff_f_data): Likewise.
21805         (test_ff_f_data_nexttoward): Likewise.
21806         (struct test_fi_f_data): Likewise.
21807         (struct test_fl_f_data): Likewise.
21808         (struct test_if_f_data): Likewise.
21809         (struct test_fff_f_data): Likewise.
21810         (struct test_c_f_data): Likewise.
21811         (struct test_f_f1_data): Likewise.  Remove field extra_name.
21812         (struct test_fF_f1_data): Likewise.
21813         (struct test_ffI_f1_data): Likewise.
21814         (struct test_c_c_data): Rename test_name field to arg_str.
21815         (struct test_cc_c_data): Likewise.
21816         (struct test_f_i_data): Likewise.
21817         (struct test_ff_i_data): Likewise.
21818         (struct test_f_l_data): Likewise.
21819         (struct test_f_L_data): Likewise.
21820         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
21821         and extra2_name.
21822         (COMMON_TEST_SETUP): New macro.
21823         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21824         (COMMON_TEST_CLEANUP): Likewise.
21825         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21826         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
21827         macros.
21828         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21829         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
21830         macros.
21831         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21832         (RUN_TEST_fff_f): Take argument string.  Call new setup and
21833         cleanup macros.
21834         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21835         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
21836         macros.
21837         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21838         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
21839         macros.
21840         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21841         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
21842         cleanup macros.
21843         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21844         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
21845         cleanup macros.
21846         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21847         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
21848         cleanup macros.
21849         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21850         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
21851         macros.
21852         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21853         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
21854         macros.
21855         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21856         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
21857         macros.
21858         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21859         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
21860         cleanup macros.
21861         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21862         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
21863         cleanup macros.
21864         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21865         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
21866         macros.
21867         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21868         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
21869         cleanup macros.
21870         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21871         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
21872         macros.
21873         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21874         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
21875         macros.
21876         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21877         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
21878         cleanup macros.
21879         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21881 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
21883         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21884         to _sifields.sigfault.
21885         (si_addr_lsb): Define new macro.
21886         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21887         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21888         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21890 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
21892         [BZ #15441]
21893         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21894         returns -1.
21895         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21896         null return -1.
21897         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21898         loading the domain.
21900 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21902         * math/gen-libm-test.pl (parse_args): Do not include expected
21903         result in test name.
21904         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21905         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21906         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21907         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21908         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21911 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21913         * benchtests/Makefile: Sort function entries.
21915         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21916         tanh, asinh, acosh, atanh.
21917         * benchtests/acos-inputs: New file.
21918         * benchtests/acosh-inputs: New file.
21919         * benchtests/asin-inputs: New file.
21920         * benchtests/asinh-inputs: New file.
21921         * benchtests/atanh-inputs: New file.
21922         * benchtests/cosh-inputs: New file.
21923         * benchtests/log-inputs: New file.
21924         * benchtests/sinh-inputs: New file.
21925         * benchtests/tanh-inputs: New file.
21927 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
21929         [BZ #15339]
21930         * posix/tst-getaddrinfo4.c: New test.
21931         * posix/Makefile (tests): Add it.
21933 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21935         [BZ #15339]
21936         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21937         when no services were used.
21938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21939         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21941 2013-05-21  Andreas Schwab  <schwab@suse.de>
21943         [BZ #15014]
21944         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21945         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21946         successful.
21947         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21948         redundant variable declarations and reallocation of buffer when
21949         parsing as IPv6 address.  Always set NSS status when called from
21950         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
21951         buffer too small.  Correct computation of needed size.
21952         * nss/Makefile (tests): Add test-digits-dots.
21953         * nss/test-digits-dots.c: New test.
21955 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21957         * benchtests/Makefile: Remove instructions for adding
21958         benchmark tests.
21959         * benchtests/README: New file to explain how to execute and
21960         enhance the benchmark tests.
21962 2013-05-21  Andreas Schwab  <schwab@suse.de>
21964         [BZ #15493]
21965         * setjmp/Makefile (tests): Add tst-sigsetjmp.
21966         * setjmp/tst-sigsetjmp.c: New test.
21968 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21970         * sysdeps/x86_64/memset.S (memset): New implementation.
21971         (__bzero): Likewise.
21972         (__memset_tail): New function.
21974 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21976         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21977         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21978         __memcpy_sse2_unaligned ifunc selection.
21979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21980         Add memcpy-sse2-unaligned.S.
21981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21982         Add: __memcpy_sse2_unaligned.
21984 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
21986         [BZ #15490]
21987         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21988         math_force_eval before restoring floating-point envrionment.
21989         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21990         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21991         Likewise.
21992         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21993         <math_private.h>.
21994         (__nearbyintl): Use math_force_eval before restoring
21995         floating-point environment.
21996         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21998         * math/gen-libm-test.pl (special_functions): Remove.
21999         (parse_args): Don't handle TEST_extra.  Handle functions with no
22000         return value.
22001         * math/libm-test.inc (struct test_sincos_data): Replace with
22002         struct test_fFF_11_data.
22003         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22004         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22005         (sincos_test_data): Change element type to struct
22006         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22007         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22008         RUN_TEST_LOOP_sincos.
22009         * math/README.libm-test: Don't mention special handling of
22010         individual functions.
22011         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22012         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22013         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22014         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22015         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22018         * math/gen-libm-test.pl (get_variable): Remove function.
22019         (parse_args): Don't show pointer parameters to call in test
22020         names.  Use "extra output N" in test names for extra outputs
22021         rather than naming variables.
22023 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22025         [BZ #15488]
22026         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22027         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22028         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22029         double tests.
22030         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22031         disable.
22032         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22033         check_long_double.
22035         * math/gen-libm-test.pl (@tests): Remove variable.
22036         ($count): Likewise.
22037         (new_test): Remove function.
22038         (show_exceptions): New function.
22039         (special_functions): Use show_exceptions instead of new_test.
22040         (parse_args): Likewise.
22041         (generate_testfile): Pass only function name in generated call to
22042         print_max_error or print_complex_max_error.
22043         (get_ulps): Do not handle complex tests specially.
22044         (output_test): Rename to ...
22045         (get_all_ulps_for_test): ... this.  Return a string rather than
22046         printing to a file.  Require ulps to be present.
22047         (output_ulps): Generate arrays rather than #defines.
22048         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22049         (struct ulp_data): New type.
22050         (BUILD_COMPLEX_ULP): Remove macro.
22051         (compare_ulp_data): New function.
22052         (find_ulps): Likewise.
22053         (find_test_ulps): Likewise.
22054         (find_function_ulps): Likewise.
22055         (find_complex_function_ulps): Likewise.
22056         (print_max_error): Determine allowed ulps using
22057         find_function_ulps.
22058         (print_complex_max_error): Determine allowed ulps using
22059         find_complex_function_ulps.
22060         (check_float_internal): Determine max ulps using find_test_ulps.
22061         (check_float): Do not take max_ulp parameter.  Update call to
22062         check_float_internal.
22063         (check_complex): Likewise.
22064         (check_int): Do not take max_ulp parameter.
22065         (check_long): Likewise.
22066         (check_bool): Likewise.
22067         (check_longlong): Likewise.
22068         (struct test_f_f_data): Remove max_ulp field.
22069         (struct test_ff_f_data): Likewise.
22070         (struct test_ff_f_data_nexttoward): Likewise.
22071         (struct test_fi_f_data): Likewise.
22072         (struct test_fl_f_data): Likewise.
22073         (struct test_if_f_data): Likewise.
22074         (struct test_fff_f_data): Likewise.
22075         (struct test_c_f_data): Likewise.
22076         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22077         (struct test_fF_f1_data): Likewise.
22078         (struct test_ffI_f1_data): Likewise.
22079         (struct test_c_c_data): Remove max_ulp field.
22080         (struct test_cc_c_data): Likewise.
22081         (struct test_f_i_data): Likewise.
22082         (struct test_ff_i_data): Likewise.
22083         (struct test_f_l_data): Likewise.
22084         (struct test_f_L_data): Likewise.
22085         (struct test_sincos_data): Likewise.
22086         (RUN_TEST_f_f): Do not handle ulps.
22087         (RUN_TEST_LOOP_f_f): Likewise.
22088         (RUN_TEST_2_f): Likewise.
22089         (RUN_TEST_LOOP_2_f): Likewise.
22090         (RUN_TEST_fff_f): Likewise.
22091         (RUN_TEST_LOOP_fff_f): Likewise.
22092         (RUN_TEST_c_f): Likewise.
22093         (RUN_TEST_LOOP_c_f): Likewise.
22094         (RUN_TEST_f_f1): Likewise.
22095         (RUN_TEST_LOOP_f_f1): Likewise.
22096         (RUN_TEST_fF_f1): Likewise.
22097         (RUN_TEST_LOOP_fF_f1): Likewise.
22098         (RUN_TEST_fI_f1): Likewise.
22099         (RUN_TEST_LOOP_fI_f1): Likewise.
22100         (RUN_TEST_ffI_f1): Likewise.
22101         (RUN_TEST_LOOP_ffI_f1): Likewise.
22102         (RUN_TEST_c_c): Likewise.
22103         (RUN_TEST_LOOP_c_c): Likewise.
22104         (RUN_TEST_cc_c): Likewise.
22105         (RUN_TEST_LOOP_cc_c): Likewise.
22106         (RUN_TEST_f_i): Likewise.
22107         (RUN_TEST_LOOP_f_i): Likewise.
22108         (RUN_TEST_f_i_tg): Likewise.
22109         (RUN_TEST_LOOP_f_i_tg): Likewise.
22110         (RUN_TEST_ff_i_tg): Likewise.
22111         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22112         (RUN_TEST_f_b): Likewise.
22113         (RUN_TEST_LOOP_f_b): Likewise.
22114         (RUN_TEST_f_b_tg): Likewise.
22115         (RUN_TEST_LOOP_f_b_tg): Likewise.
22116         (RUN_TEST_f_l): Likewise.
22117         (RUN_TEST_LOOP_f_l): Likewise.
22118         (RUN_TEST_f_L): Likewise.
22119         (RUN_TEST_LOOP_f_L): Likewise.
22120         (RUN_TEST_sincos): Likewise.
22121         (RUN_TEST_LOOP_sincos): Likewise.
22123 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22125         [BZ #15480]
22126         [BZ #15485]
22127         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22128         main case of finite arguments, set rounding mode to FE_TONEAREST
22129         and discard exceptions.
22130         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22131         exceptions.
22132         (remainder_tonearest_test_data): New variable.
22133         (remainder_test_tonearest): New function.
22134         (remainder_towardzero_test_data): New variable.
22135         (remainder_test_towardzero): New function.
22136         (remainder_downward_test_data): New variable.
22137         (remainder_test_downward): New function.
22138         (remainder_upward_test_data): New variable.
22139         (remainder_test_upward): New function.
22140         (main): Call the new test functions.
22142         * math/libm-test.inc (struct test_f_f1_data): Remove field
22143         extra_init.
22144         (struct test_fF_f1_data): Likewise.
22145         (struct test_ffI_f1_data): Likewise.
22146         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22147         based on value of EXTRA_EXPECTED.
22148         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22149         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22150         EXTRA_VAR based on value of EXTRA_EXPECTED.
22151         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22152         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22153         EXTRA_VAR based on value of EXTRA_EXPECTED.
22154         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22155         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22156         EXTRA_VAR based on value of EXTRA_EXPECTED.
22157         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22158         * math/gen-libm-test.pl (parse_args): Don't output initializers
22159         for extra output values.
22161         * math/libm-test.inc (check_int): Expect result to be exactly
22162         equal to expected value and do not handle ulps.
22163         (check_long): Likewise.
22164         (check_longlong): Likewise.
22166         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22167         exceptions.
22168         (cimag_test_data): Likewise.
22169         (conj_test_data): Likewise.
22170         (copysign_test_data): Likewise.
22171         (cproj_test_data): Likewise.
22172         (creal_test_data): Likewise.
22173         (fabs_test_data): Likewise.
22174         (fdim_test_data): Likewise.
22175         (finite_test_data): Likewise.
22176         (floor_test_data): Likewise.
22177         (fmax_test_data): Likewise.
22178         (fmin_test_data): Likewise.
22179         (fmod_test_data): Likewise.
22180         (fpclassify_test_data): Likewise.
22181         (frexp_test_data): Likewise.
22182         (ilogb_test_data): Likewise.
22183         (isfinite_test_data): Likewise.
22184         (isgreater_test_data): Likewise.
22185         (isgreaterequal_test_data): Likewise.
22186         (isinf_test_data): Likewise.
22187         (isless_test_data): Likewise.
22188         (islessequal_test_data): Likewise.
22189         (islessgreater_test_data): Likewise.
22190         (isnan_test_data): Likewise.
22191         (isnormal_test_data): Likewise.
22192         (issignaling_test_data): Likewise.
22193         (isunordered_test_data): Likewise.
22194         (ldexp_test_data): Likewise.
22195         (lrint_test_data): Likewise.
22196         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22197         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22198         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22199         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22200         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22201         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22202         test input.
22203         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22204         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22205         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22206         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22207         that test input.
22208         (lrint_downward_test_data): Test for "inexact" exceptions.
22209         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22210         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22211         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22212         test input.
22213         (lrint_upward_test_data): Test for "inexact" exceptions.
22214         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22215         test input.
22216         (llrint_test_data): Test for "inexact" exceptions.
22217         (llrint_test_data) [TEST_FLOAT]: Disable one test.
22218         (llrint_tonearest_test_data): Test for "inexact" exceptions.
22219         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22220         (llrint_towardzero_test_data): Test for "inexact" exceptions.
22221         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22222         (llrint_downward_test_data): Test for "inexact" exceptions.
22223         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22224         (llrint_upward_test_data): Test for "inexact" exceptions.
22225         (logb_test_data): Likewise.
22226         (logb_downward_test_data): Likewise.
22227         (nextafter_test_data): Likewise.
22228         (nexttoward_test_data): Likewise.
22229         (remainder_test_data): Likewise.
22230         (remquo_test_data): Likewise.
22231         (scalbn_test_data): Likewise.
22232         (scalbln_test_data): Likewise.
22233         (signbit_test_data): Likewise.
22234         (sqrt_test_data): Likewise.
22235         (significand_test_data): Likewise.
22237 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22239         [BZ #15424]
22240         * benchtests/bench-modf.c (struct args): Mark arg0 as
22241         volatile.
22242         * scripts/bench.pl: Mark members of struct args as volatile.
22244 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22246         [BZ # 15497]
22247         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22248         negative infinity on POWER6 or lower.
22249         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22251 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22253         [BZ #15442]
22254         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22255         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22256         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22257         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22258         (_FP_SETQNAN): New macro.
22259         (_FP_SETQNAN_SEMIRAW): Likewise.
22260         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22261         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22262         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22263         (FP_EXTEND): Use _FP_FRAC_SNANP.
22264         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22265         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22266         into account.
22267         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22268         New macro.
22269         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22270         Likewise.
22272 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22274         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22275         with DIVIDE_BY_ZERO_EXCEPTION.
22276         (gamma_test_data): Likewise.
22277         (lgamma_test_data): Likewise.
22278         (log_test_data): Likewise.
22279         (log10_test_data): Likewise.
22280         (log2_test_data): Likewise.
22281         (tgamma_test_data): Likewise.
22283         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22284         (acos_test_tonearest): Likewise.
22285         (acos_test_towardzero): Likewise.
22286         (acos_test_downward): Likewise.
22287         (acos_test_upward): Likewise.
22288         (acosh_test): Likewise.
22289         (asin_test): Likewise.
22290         (asin_test_tonearest): Likewise.
22291         (asin_test_towardzero): Likewise.
22292         (asin_test_downward): Likewise.
22293         (asin_test_upward): Likewise.
22294         (asinh_test): Likewise.
22295         (atan_test): Likewise.
22296         (atanh_test): Likewise.
22297         (atan2_test): Likewise.
22298         (cabs_test): Likewise.
22299         (cacos_test): Likewise.
22300         (cacosh_test): Likewise.
22301         (casin_test): Likewise.
22302         (casinh_test): Likewise.
22303         (catan_test): Likewise.
22304         (catanh_test): Likewise.
22305         (cbrt_test): Likewise.
22306         (ccos_test): Likewise.
22307         (ccosh_test): Likewise.
22308         (cexp_test): Likewise.
22309         (clog_test): Likewise.
22310         (clog10_test): Likewise.
22311         (cos_test): Likewise.
22312         (cos_test_tonearest): Likewise.
22313         (cos_test_towardzero): Likewise.
22314         (cos_test_downward): Likewise.
22315         (cos_test_upward): Likewise.
22316         (cosh_test): Likewise.
22317         (cosh_test_tonearest): Likewise.
22318         (cosh_test_towardzero): Likewise.
22319         (cosh_test_downward): Likewise.
22320         (cosh_test_upward): Likewise.
22321         (cpow_test): Likewise.
22322         (csin_test): Likewise.
22323         (csinh_test): Likewise.
22324         (csqrt_test): Likewise.
22325         (ctan_test): Likewise.
22326         (ctan_test_tonearest): Likewise.
22327         (ctan_test_towardzero): Likewise.
22328         (ctan_test_downward): Likewise.
22329         (ctan_test_upward): Likewise.
22330         (ctanh_test): Likewise.
22331         (ctanh_test_tonearest): Likewise.
22332         (ctanh_test_towardzero): Likewise.
22333         (ctanh_test_downward): Likewise.
22334         (ctanh_test_upward): Likewise.
22335         (erf_test): Likewise.
22336         (erfc_test): Likewise.
22337         (exp_test): Likewise.
22338         (exp_test_tonearest): Likewise.
22339         (exp_test_towardzero): Likewise.
22340         (exp_test_downward): Likewise.
22341         (exp_test_upward): Likewise.
22342         (exp10_test): Likewise.
22343         (exp2_test): Likewise.
22344         (expm1_test): Likewise.
22345         (fmod_test): Likewise.
22346         (gamma_test): Likewise.
22347         (hypot_test): Likewise.
22348         (j0_test): Likewise.
22349         (j1_test): Likewise.
22350         (jn_test): Likewise.
22351         (lgamma_test): Likewise.
22352         (log_test): Likewise.
22353         (log10_test): Likewise.
22354         (log1p_test): Likewise.
22355         (log2_test): Likewise.
22356         (logb_test_downward): Likewise.
22357         (pow_test): Likewise.
22358         (pow_test_tonearest): Likewise.
22359         (pow_test_towardzero): Likewise.
22360         (pow_test_downward): Likewise.
22361         (pow_test_upward): Likewise.
22362         (remainder_test): Likewise.
22363         (remquo_test): Likewise.
22364         (sin_test): Likewise.
22365         (sin_test_tonearest): Likewise.
22366         (sin_test_towardzero): Likewise.
22367         (sin_test_downward): Likewise.
22368         (sin_test_upward): Likewise.
22369         (sincos_test): Likewise.
22370         (sinh_test): Likewise.
22371         (sinh_test_tonearest): Likewise.
22372         (sinh_test_towardzero): Likewise.
22373         (sinh_test_downward): Likewise.
22374         (sinh_test_upward): Likewise.
22375         (sqrt_test): Likewise.
22376         (tan_test): Likewise.
22377         (tan_test_tonearest): Likewise.
22378         (tan_test_towardzero): Likewise.
22379         (tan_test_downward): Likewise.
22380         (tan_test_upward): Likewise.
22381         (tanh_test): Likewise.
22382         (tgamma_test): Likewise.
22383         (y0_test): Likewise.
22384         (y1_test): Likewise.
22385         (yn_test): Likewise.
22387         * math/gen-libm-test.pl (adjust_arg): Remove function.
22388         (special_function): Remove argument $in_func.  Only handle
22389         generating output for tables of tests, not inside functions.
22390         (parse_args): Likewise.
22391         (generate_testfile): Remove variable $in_func.  Update call to
22392         parse_args.
22393         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22394         (MINUS_ZERO_INIT): Rename macro to minus_zero.
22395         (PLUS_INFTY_INIT): Rename macro to plus_infty.
22396         (MINUS_INFTY_INIT): Rename macro to minus_infty.
22397         (QNAN_VALUE_INIT): Rename macro to qnan_value.
22398         (MAX_VALUE_INIT): Rename macro to max_value.
22399         (MIN_VALUE_INIT): Rename macro to min_value.
22400         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22401         (plus_zero): Remove variable.
22402         (minus_zero): Likewise.
22403         (plus_infty): Likewise.
22404         (minus_infty): Likewise.
22405         (qnan_value): Likewise.
22406         (max_value): Likewise.
22407         (min_value): Likewise.
22408         (min_subnorm_value): Likewise.
22410 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22412         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22413         uint64_t or uint32_t usage.
22414         * crypt/sha256-block.c: Likewise.
22415         * crypt/sha256-crypt.c: Likewise.
22416         * crypt/sha256.c: Likewise.
22417         * crypt/sha512-block.c: Likewise.
22418         * crypt/sha512-crypt.c: Likewise.
22419         * crypt/sha512.c: Likewise.
22420         * debug/backtrace-tst.c: Likewise.
22421         * debug/pcprofiledump.c: Likewise.
22422         * elf/cache.c: Likewise.
22423         * elf/dl-cache.c: Likewise.
22424         * elf/dl-misc.c: Likewise.
22425         * elf/dl-profile.c: Likewise.
22426         * elf/dl-support.c: Likewise.
22427         * elf/ldconfig.c: Likewise.
22428         * elf/sprof.c: Likewise.
22429         * iconv/dummy-repertoire.c: Likewise.
22430         * iconv/iconv_charmap.c: Likewise.
22431         * iconv/skeleton.c: Likewise.
22432         * iconvdata/8bit-generic.c: Likewise.
22433         * iconvdata/cp737.h: Likewise.
22434         * iconvdata/cp775.h: Likewise.
22435         * iconvdata/ibm1008.h: Likewise.
22436         * iconvdata/ibm1025.h: Likewise.
22437         * iconvdata/ibm1046.h: Likewise.
22438         * iconvdata/ibm1097.h: Likewise.
22439         * iconvdata/ibm1112.h: Likewise.
22440         * iconvdata/ibm1122.h: Likewise.
22441         * iconvdata/ibm1123.h: Likewise.
22442         * iconvdata/ibm1124.h: Likewise.
22443         * iconvdata/ibm1129.h: Likewise.
22444         * iconvdata/ibm1130.h: Likewise.
22445         * iconvdata/ibm1132.h: Likewise.
22446         * iconvdata/ibm1133.h: Likewise.
22447         * iconvdata/ibm1137.h: Likewise.
22448         * iconvdata/ibm1140.h: Likewise.
22449         * iconvdata/ibm1141.h: Likewise.
22450         * iconvdata/ibm1142.h: Likewise.
22451         * iconvdata/ibm1143.h: Likewise.
22452         * iconvdata/ibm1144.h: Likewise.
22453         * iconvdata/ibm1145.h: Likewise.
22454         * iconvdata/ibm1146.h: Likewise.
22455         * iconvdata/ibm1147.h: Likewise.
22456         * iconvdata/ibm1148.h: Likewise.
22457         * iconvdata/ibm1149.h: Likewise.
22458         * iconvdata/ibm1153.h: Likewise.
22459         * iconvdata/ibm1154.h: Likewise.
22460         * iconvdata/ibm1155.h: Likewise.
22461         * iconvdata/ibm1156.h: Likewise.
22462         * iconvdata/ibm1157.h: Likewise.
22463         * iconvdata/ibm1158.h: Likewise.
22464         * iconvdata/ibm1160.h: Likewise.
22465         * iconvdata/ibm1161.h: Likewise.
22466         * iconvdata/ibm1162.h: Likewise.
22467         * iconvdata/ibm1163.h: Likewise.
22468         * iconvdata/ibm1164.h: Likewise.
22469         * iconvdata/ibm1166.h: Likewise.
22470         * iconvdata/ibm1167.h: Likewise.
22471         * iconvdata/ibm12712.h: Likewise.
22472         * iconvdata/ibm1390.h: Likewise.
22473         * iconvdata/ibm1399.h: Likewise.
22474         * iconvdata/ibm16804.h: Likewise.
22475         * iconvdata/ibm4517.h: Likewise.
22476         * iconvdata/ibm4899.h: Likewise.
22477         * iconvdata/ibm4909.h: Likewise.
22478         * iconvdata/ibm4971.h: Likewise.
22479         * iconvdata/ibm5347.h: Likewise.
22480         * iconvdata/ibm803.h: Likewise.
22481         * iconvdata/ibm856.h: Likewise.
22482         * iconvdata/ibm901.h: Likewise.
22483         * iconvdata/ibm902.h: Likewise.
22484         * iconvdata/ibm9030.h: Likewise.
22485         * iconvdata/ibm9066.h: Likewise.
22486         * iconvdata/ibm921.h: Likewise.
22487         * iconvdata/ibm922.h: Likewise.
22488         * iconvdata/ibm9448.h: Likewise.
22489         * iconvdata/isiri-3342.h: Likewise.
22490         * iconvdata/jis0201.h: Likewise.
22491         * include/link.h: Likewise.
22492         * include/netdb.h: Likewise.
22493         * inet/check_native.c: Likewise.
22494         * inet/check_pf.c: Likewise.
22495         * inet/getipv4sourcefilter.c: Likewise.
22496         * inet/getnameinfo.c: Likewise.
22497         * inet/getsourcefilter.c: Likewise.
22498         * inet/htonl.c: Likewise.
22499         * inet/setipv4sourcefilter.c: Likewise.
22500         * inet/setsourcefilter.c: Likewise.
22501         * inet/test-inet6_opt.c: Likewise.
22502         * inet/tst-network.c: Likewise.
22503         * locale/C-collate.c: Likewise.
22504         * locale/C-ctype.c: Likewise.
22505         * locale/C-time.c: Likewise.
22506         * locale/C-translit.h: Likewise.
22507         * locale/loadarchive.c: Likewise.
22508         * locale/programs/3level.h: Likewise.
22509         * locale/programs/charmap.c: Likewise.
22510         * locale/programs/charmap.h: Likewise.
22511         * locale/programs/ld-address.c: Likewise.
22512         * locale/programs/ld-collate.c: Likewise.
22513         * locale/programs/ld-ctype.c: Likewise.
22514         * locale/programs/ld-identification.c: Likewise.
22515         * locale/programs/ld-measurement.c: Likewise.
22516         * locale/programs/ld-messages.c: Likewise.
22517         * locale/programs/ld-monetary.c: Likewise.
22518         * locale/programs/ld-name.c: Likewise.
22519         * locale/programs/ld-numeric.c: Likewise.
22520         * locale/programs/ld-paper.c: Likewise.
22521         * locale/programs/ld-telephone.c: Likewise.
22522         * locale/programs/ld-time.c: Likewise.
22523         * locale/programs/linereader.c: Likewise.
22524         * locale/programs/locale.c: Likewise.
22525         * locale/programs/locarchive.c: Likewise.
22526         * locale/programs/locfile.h: Likewise.
22527         * locale/programs/repertoire.c: Likewise.
22528         * locale/programs/simple-hash.c: Likewise.
22529         * locale/programs/simple-hash.h: Likewise.
22530         * malloc/memusage.c: Likewise.
22531         * malloc/memusagestat.c: Likewise.
22532         * nis/nis_defaults.c: Likewise.
22533         * nis/nis_hash.c: Likewise.
22534         * nis/nis_print.c: Likewise.
22535         * nis/nis_xdr.c: Likewise.
22536         * nscd/connections.c: Likewise.
22537         * nscd/hstcache.c: Likewise.
22538         * nscd/nscd_gethst_r.c: Likewise.
22539         * nscd/nscd_getserv_r.c: Likewise.
22540         * nscd/nscd_helper.c: Likewise.
22541         * nscd/servicescache.c: Likewise.
22542         * nss/makedb.c: Likewise.
22543         * nss/nss_db/db-XXX.c: Likewise.
22544         * nss/nss_db/db-initgroups.c: Likewise.
22545         * nss/nss_db/db-netgrp.c: Likewise.
22546         * nss/nss_files/files-network.c: Likewise.
22547         * nss/nss_files/files-parse.c: Likewise.
22548         * posix/bug-regex5.c: Likewise.
22549         * posix/fnmatch_loop.c: Likewise.
22550         * posix/regcomp.c: Likewise.
22551         * posix/regexec.c: Likewise.
22552         * posix/tst-rfc3484-2.c: Likewise.
22553         * posix/tst-rfc3484-3.c: Likewise.
22554         * posix/tst-rfc3484.c: Likewise.
22555         * resolv/nss_dns/dns-canon.c: Likewise.
22556         * resolv/nss_dns/dns-network.c: Likewise.
22557         * resolv/res_init.c: Likewise.
22558         * resolv/res_mkquery.c: Likewise.
22559         * resolv/tst-aton.c: Likewise.
22560         * stdlib/cxa_atexit.c: Likewise.
22561         * stdlib/cxa_finalize.c: Likewise.
22562         * stdlib/gen-fpioconst.c: Likewise.
22563         * stdlib/strtol_l.c: Likewise.
22564         * string/tst-endian.c: Likewise.
22565         * sunrpc/auth_des.c: Likewise.
22566         * sunrpc/clnt_udp.c: Likewise.
22567         * sunrpc/rtime.c: Likewise.
22568         * sunrpc/svcauth_des.c: Likewise.
22569         * sunrpc/xdr.c: Likewise.
22570         * sunrpc/xdr_intXX_t.c: Likewise.
22571         * sunrpc/xdr_rec.c: Likewise.
22572         * sysdeps/generic/ldconfig.h: Likewise.
22573         * sysdeps/generic/ldsodefs.h: Likewise.
22574         * sysdeps/generic/memusage.h: Likewise.
22575         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22576         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22577         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22578         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22579         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22581         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22582         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22583         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22584         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22585         * sysdeps/posix/getaddrinfo.c: Likewise.
22586         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22587         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22588         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22589         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22590         * sysdeps/powerpc/test-gettimebase.c: Likewise.
22591         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22592         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22593         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22594         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22595         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22596         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22597         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22598         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22599         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22600         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22601         * sysdeps/x86_64/dl-tls.h: Likewise.
22602         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22603         * time/alt_digit.c: Likewise.
22604         * time/era.c: Likewise.
22605         * wcsmbs/tst-c16c32-1.c: Likewise.
22607 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22609         * math/libm-test.inc (struct test_sincos_data): New type.
22610         (RUN_TEST_LOOP_sincos): New macro.
22611         (sincos_test_data): New variable.
22612         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22614 2013-05-16  Richard Henderson  <rth@redhat.com>
22616         * math/atest-exp2.c (LIMB64): New macro.
22617         (CONSTSZ): New macro.
22618         (mp_exp1, mp_exp_m1, mp_log2): New variables.
22619         (hexdig): Move ...
22620         (print_mpn_fp): ... to function scope.
22621         (read_mpn_hex): Remove.
22622         (get_log2): Remove.
22623         (exp2_mpn): Use mp_log2.
22624         (main): Use mp_exp1.
22626 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22628         * math/libm-test.inc: Remove comment about not testing "inexact"
22629         exceptions.
22630         (INEXACT_EXCEPTION): New macro.
22631         (NO_INEXACT_EXCEPTION): Likewise.
22632         (INVALID_EXCEPTION_OK): Update value.
22633         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22634         (OVERFLOW_EXCEPTION_OK): Likewise.
22635         (UNDERFLOW_EXCEPTION_OK): Likewise.
22636         (IGNORE_ZERO_INF_SIGN): Likewise.
22637         (ERRNO_UNCHANGED): Likewise.
22638         (ERRNO_EDOM): Likewise.
22639         (ERRNO_ERANGE): Likewise.
22640         (test_exceptions): Handle testing "inexact" exceptions.
22641         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22642         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22643         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22644         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22645         INEXACT_EXCEPTION.
22646         (rint_towardzero_test_data): Likewise.
22647         (rint_downward_test_data): Likewise.
22648         (rint_upward_test_data): Likewise.
22650         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22651         with OVERFLOW_EXCEPTION.
22652         (exp10_test_data): Likewise.
22653         (exp2_test_data): Likewise.
22654         (expm1_test_data): Likewise.
22655         (lgamma_test_data): Likewise.
22656         (pow_test_data): Likewise.
22657         (tgamma_test_data): Likewise.
22658         (yn_test_data): Remove duplicate test of overflow.
22660         * math/libm-test.inc (struct test_cc_c_data): New type.
22661         (RUN_TEST_LOOP_cc_c): New macro.
22662         (cpow_test_data): New variable.
22663         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22665         * math/libm-test.inc (struct test_f_L_data): New type.
22666         (RUN_TEST_LOOP_f_L): New macro.
22667         (llrint_test_data): New variable.
22668         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22669         (llrint_tonearest_test_data): New variable.
22670         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22671         (llrint_towardzero_test_data): New variable.
22672         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22673         (llrint_downward_test_data): New variable.
22674         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22675         (llrint_upward_test_data): New variable.
22676         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22677         (llround_test_data): New variable.
22678         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22680 2013-05-13  Peter Collingbourne  <pcc@google.com>
22682         * math/atest-exp2.c (get_log2): Remove const attribute.
22684 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22686         * math/libm-test.inc (struct test_f_l_data): New type.
22687         (RUN_TEST_LOOP_f_l): New macro.
22688         (lrint_test_data): New variable.
22689         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22690         (lrint_tonearest_test_data): New variable.
22691         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22692         (lrint_towardzero_test_data): New variable.
22693         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22694         (lrint_downward_test_data): New variable.
22695         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22696         (lrint_upward_test_data): New variable.
22697         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22698         (lround_test_data): New variable.
22699         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22701 2013-05-15  Peter Collingbourne  <pcc@google.com>
22703         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22704         (EXTRACT_WORDS64) Use where appropriate.
22705         (INSERT_WORDS64) Likewise.
22707         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22708         constraints with x constraints.
22709         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22711         * malloc/obstack.c (_obstack_compat): Add initializer.
22713 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22715         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22716         si_trapno and add si_addr_lsb to _sifields.sigfault.
22717         (si_trapno): Remove macro.
22718         (si_addr_lsb): Define new macro.
22719         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22721 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22723         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22724         instead of TEST_f_l.
22725         (llrint_test_tonearest): Likewise.
22726         (llrint_test_towardzero): Likewise.
22727         (llrint_test_downward): Likewise.
22728         (llrint_test_upward): Likewise.
22729         (llround_test): Likewise.
22731         * math/libm-test.inc (struct test_f_i_data): Add comment.
22732         (RUN_TEST_LOOP_f_b): New macro.
22733         (RUN_TEST_LOOP_f_b_tg): Likewise.
22734         (finite_test_data): New variable.
22735         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22736         (isfinite_test_data): New variable.
22737         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22738         (isinf_test_data): New variable.
22739         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22740         (isnan_test_data): New variable.
22741         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22742         (isnormal_test_data): New variable.
22743         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22744         (issignaling_test_data): New variable.
22745         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22746         (signbit_test_data): New variable.
22747         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22749         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22750         with INVALID_EXCEPTION.
22751         (acosh_test_data): Likewise.
22752         (asin_test_data): Likewise.
22753         (atanh_test_data): Likewise.
22754         (fmod_test_data): Likewise.
22755         (log_test_data): Likewise.
22756         (log10_test_data): Likewise.
22757         (log2_test_data): Likewise.
22758         (pow_test_data): Likewise.
22759         (sqrt_test_data): Likewise.
22760         (y0_test_data): Likewise.
22761         (y1_test_data): Likewise.
22762         (yn_test_data): Likewise.
22764         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22765         function contents.
22767         * math/libm-test.inc (struct test_ff_i_data): New type.
22768         (RUN_TEST_LOOP_ff_i_tg): New macro.
22769         (isgreater_test_data): New variable.
22770         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22771         (isgreaterequal_test_data): New variable.
22772         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22773         (isless_test_data): New variable.
22774         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22775         (islessequal_test_data): New variable.
22776         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22777         (islessgreater_test_data): New variable.
22778         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22779         (isunordered_test_data): New variable.
22780         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22782 2013-05-14  David S. Miller  <davem@davemloft.net>
22784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22786 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
22788         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22790         * math/libm-test.inc (struct test_fF_f1_data): Change type of
22791         extra_test to int.
22792         (struct test_f_i_data): Change type of max_ulp to int.
22794         * math/libm-test.inc (test_ffI_f1_data): New type.
22795         (RUN_TEST_LOOP_ffI_f1): New macro.
22796         (remquo_test_data): New variable.
22797         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22799         * setjmp/tst-setjmp-fp.c: New file.
22800         * setjmp/Makefile (tests): Add tst-setjmp-fp.
22801         (link-libm): New variable.
22802         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22804         * math/libm-test.inc (struct test_f_i_data): New type.
22805         (RUN_TEST_LOOP_f_i): New macro.
22806         (RUN_TEST_LOOP_f_i_tg): Likewise.
22807         (fpclassify_test_data): New variable.
22808         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22809         (ilogb_test_data): New variable.
22810         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22812         * math/libm-test.inc (scalbln_test): Correct function name in END
22813         call.
22815         * math/libm-test.inc (struct test_f_f1_data): Add comment.
22816         (RUN_TEST_LOOP_fI_f1): New macro.
22817         (frexp_test_data): New variable.
22818         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22820         * math/libm-test.inc (struct test_fF_f1_data): New type.
22821         (RUN_TEST_LOOP_fF_f1): New macro.
22822         (modf_test_data): New variable.
22823         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22825         * math/libm-test.inc (struct test_f_f1_data): New type.
22826         (RUN_TEST_LOOP_f_f1): New macro.
22827         (gamma_test_data): New variable.
22828         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22829         (lgamma_test_data): New variable.
22830         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22832 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
22834         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22835         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22836         (main): Comment "tls" pseudo-hwcap.
22838 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
22840         * math/libm-test.inc (struct test_fl_f_data): New type.
22841         (RUN_TEST_LOOP_fl_f): New variable.
22842         (scalbln_test_data): New variable.
22843         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22845         * math/libm-test.inc (struct test_fi_f_data): New type.
22846         (RUN_TEST_LOOP_fi_f): New macro.
22847         (ldexp_test_data): New variable.
22848         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22849         (scalbn_test_data): New variable.
22850         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22852         * math/libm-test.inc (struct test_c_f_data): New type.
22853         (RUN_TEST_LOOP_c_f): New macro.
22854         (cabs_test_data): New variable.
22855         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22856         (carg_test_data): New variable.
22857         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22858         (cimag_test_data): New variable.
22859         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22860         (creal_test_data): New variable.
22861         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22863         * math/libm-test.inc (struct test_if_f_data): New type.
22864         (RUN_TEST_LOOP_if_f): New macro.
22865         (jn_test_data): New variable.
22866         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22867         (yn_test_data): New variable.
22868         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22870         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22872 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22874         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22875         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22877 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22879         * benchtests/Makefile (CPPFLAGS-nonlib): Add
22880         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22881         (bench-deps): Add bench-timing.h.
22882         * benchtests-bench-skeleton.c: Include bench-timing.h.
22883         (main): Use TIMING_* macros instead of clock_gettime.
22884         * benchtests/bench-timing.h: New file.
22886         [BZ #14582]
22887         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22888         Renamed from _LIB_VERSION.
22889         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22891 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
22893         * math/libm-test.inc (struct test_fff_f_data): New type.
22894         (RUN_TEST_LOOP_fff_f): New macro.
22895         (fma_test_data): New variable.
22896         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22897         (fma_towardzero_test_data): New variable.
22898         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22899         (fma_downward_test_data): New variable.
22900         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22901         (fma_upward_test_data): New variable.
22902         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22904         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22905         (struct test_c_c_data): New type.
22906         (RUN_TEST_LOOP_c_c): New macro.
22907         (cacos_test_data): New variable.
22908         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22909         (cacosh_test_data): New variable.
22910         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22911         (casin_test_data): New variable.
22912         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22913         (casinh_test_data): New variable.
22914         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22915         (catan_test_data): New variable.
22916         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22917         (catanh_test_data): New variable.
22918         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22919         (ccos_test_data): New variable.
22920         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22921         (ccosh_test_data): New variable.
22922         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22923         (cexp_test_data): New variable.
22924         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22925         (clog_test_data): New variable.
22926         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22927         (clog10_test_data): New variable.
22928         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22929         (conj_test_data): New variable.
22930         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22931         (cproj_test_data): New variable.
22932         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22933         (csin_test_data): New variable.
22934         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22935         (csinh_test_data): New variable.
22936         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22937         (csqrt_test_data): New variable.
22938         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22939         (ctan_test_data): New variable.
22940         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22941         (ctan_tonearest_test_data): New variable.
22942         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22943         (ctan_towardzero_test_data): New variable.
22944         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22945         (ctan_downward_test_data): New variable.
22946         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22947         (ctan_upward_test_data): New variable.
22948         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22949         (ctanh_test_data): New variable.
22950         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22951         (ctanh_tonearest_test_data): New variable.
22952         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22953         (ctanh_towardzero_test_data): New variable.
22954         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22955         (ctanh_downward_test_data): New variable.
22956         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22957         (ctanh_upward_test_data): New variable.
22958         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22959         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22960         of BUILD_COMPLEX.
22962         * math/libm-test.inc (struct test_ff_f_data): New type.
22963         (struct test_ff_f_data_nexttoward): Likewise.
22964         (RUN_TEST_LOOP_2_f): New macro.
22965         (RUN_TEST_LOOP_ff_f): Likewise.
22966         (atan2_test_data): New variable.
22967         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22968         (copysign_test_data): New variable.
22969         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22970         (fdim_test_data): New variable.
22971         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22972         (fmax_test_data): New variable.
22973         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22974         (fmin_test_data): New variable.
22975         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22976         (fmod_test_data): New variable.
22977         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22978         (hypot_test_data): New variable.
22979         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22980         (nextafter_test_data): New variable.
22981         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22982         (nexttoward_test_data): New variable.
22983         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22984         (pow_test_data): New variable.
22985         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22986         (pow_tonearest_test_data): New variable.
22987         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22988         (pow_towardzero_test_data): New variable.
22989         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22990         (pow_downward_test_data): New variable.
22991         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22992         (pow_upward_test_data): New variable.
22993         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22994         (remainder_test_data): New variable.
22995         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22996         (scalb_test_data): New variable.
22997         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22998         * sysdeps/i386/fpu/libm-test-ulps: Update.
23000 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23002         * math/libm-test.inc (fma_test): Use max_value instead of local
23003         variable fltmax.
23004         (nextafter_test): Likewise.
23006         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23007         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23008         (acos_downward_test_data): New variable.
23009         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23010         (acos_upward_test_data): New variable.
23011         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23012         (acosh_test_data): New variable.
23013         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23014         (asin_test_data): New variable.
23015         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23016         (asin_tonearest_test_data): New variable.
23017         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23018         (asin_towardzero_test_data): New variable.
23019         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23020         (asin_downward_test_data): New variable.
23021         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23022         (asin_upward_test_data): New variable.
23023         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23024         (asinh_test_data): New variable.
23025         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23026         (atan_test_data): New variable.
23027         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23028         (atanh_test_data): New variable.
23029         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23030         (cbrt_test_data): New variable.
23031         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23032         (ceil_test_data): New variable.
23033         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23034         (cos_test_data): New variable.
23035         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23036         (cos_tonearest_test_data): New variable.
23037         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23038         (cos_towardzero_test_data): New variable.
23039         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23040         (cos_downward_test_data): New variable.
23041         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23042         (cos_upward_test_data): New variable.
23043         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23044         (cosh_test_data): New variable.
23045         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23046         (cosh_tonearest_test_data): New variable.
23047         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23048         (cosh_towardzero_test_data): New variable.
23049         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23050         (cosh_downward_test_data): New variable.
23051         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23052         (cosh_upward_test_data): New variable.
23053         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23054         (erf_test_data): New variable.
23055         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23056         (erfc_test_data): New variable.
23057         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23058         (exp_test_data): New variable.
23059         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23060         (exp_tonearest_test_data): New variable.
23061         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23062         (exp_towardzero_test_data): New variable.
23063         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23064         (exp_downward_test_data): New variable.
23065         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23066         (exp_upward_test_data): New variable.
23067         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23068         (exp10_test_data): New variable.
23069         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23070         (exp2_test_data): New variable.
23071         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23072         (expm1_test_data): New variable.
23073         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23074         (fabs_test_data): New variable.
23075         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23076         (floor_test_data): New variable.
23077         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23078         (j0_test_data): New variable.
23079         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23080         (j1_test_data): New variable.
23081         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23082         (log_test_data): New variable.
23083         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23084         (log10_test_data): New variable.
23085         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23086         (log1p_test_data): New variable.
23087         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23088         (log2_test_data): New variable.
23089         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23090         (logb_test_data): New variable.
23091         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23092         (logb_downward_test_data): New variable.
23093         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23094         (nearbyint_test_data): New variable.
23095         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23096         (rint_test_data): New variable.
23097         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23098         (rint_tonearest_test_data): New variable.
23099         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23100         (rint_towardzero_test_data): New variable.
23101         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23102         (rint_downward_test_data): New variable.
23103         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23104         (rint_upward_test_data): New variable.
23105         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23106         (round_test_data): New variable.
23107         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23108         (sin_test_data): New variable.
23109         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23110         (sin_tonearest_test_data): New variable.
23111         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23112         (sin_towardzero_test_data): New variable.
23113         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23114         (sin_downward_test_data): New variable.
23115         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23116         (sin_upward_test_data): New variable.
23117         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23118         (sinh_test_data): New variable.
23119         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23120         (sinh_tonearest_test_data): New variable.
23121         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23122         (sinh_towardzero_test_data): New variable.
23123         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23124         (sinh_downward_test_data): New variable.
23125         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23126         (sinh_upward_test_data): New variable.
23127         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23128         (sqrt_test_data): New variable.
23129         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23130         (tan_test_data): New variable.
23131         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23132         (tan_tonearest_test_data): New variable.
23133         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23134         (tan_towardzero_test_data): New variable.
23135         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23136         (tan_downward_test_data): New variable.
23137         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23138         (tan_upward_test_data): New variable.
23139         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23140         (tanh_test_data): New variable.
23141         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23142         (tgamma_test_data): New variable.
23143         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23144         (trunc_test_data): New variable.
23145         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23146         (y0_test_data): New variable.
23147         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23148         (y1_test_data): New variable.
23149         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23150         (significand_test_data): New variable.
23151         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23153 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23155         [BZ #12387]
23156         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23158 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23160         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23162 2013-05-10  Andreas Jaeger  <aj@suse.de>
23164         [BZ #15448]
23165         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23166         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23168 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23170         * math/gen-libm-test.pl (adjust_arg): New function.
23171         (special_functions): Handle generating output in both functions
23172         and arrays.
23173         (parse_args): Likewise.
23174         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23175         $in_func argument to parse_args.
23176         * math/libm-test.inc (struct test_f_f_data): New type.
23177         (IF_ROUND_INIT_): New macro.
23178         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23179         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23180         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23181         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23182         (ROUND_RESTORE_): Likewise.
23183         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23184         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23185         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23186         (ROUND_RESTORE_FE_UPWARD): Likewise.
23187         (RUN_TEST_LOOP_f_f): New macro.
23188         (acos_test_data): New variable.
23189         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23190         (acos_tonearest_test_data): New variable.
23191         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23193 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23195         * benchtests/bench-skeleton.c (startup): Fix coding style.
23197 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23199         [BZ #6809]
23200         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23201         negative infinity argument.
23202         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23203         negative infinity argument.
23204         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23205         negative infinity argument.
23206         * math/libm-test.inc (tgamma_test): Expect errno to be set for
23207         domain errors.
23209 2013-05-10  Florian Weimer  <fweimer@redhat.com>
23211         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23212         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23213         * iconv/iconv_prog.c (main): Likewise.
23214         * locale/programs/charmap-dir.c (charmap_readdir)
23215         (fopen_uncompressed): Likewise.
23216         * locale/programs/locfile.c (siblings_uncached)
23217         (write_locale_data): Use lstat64 instead of lstat.
23218         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23219         stat.
23221 2013-05-10  Andreas Jaeger  <aj@suse.de>
23223         [BZ #15395]
23224         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23225         localization.
23226         Include <locale.h>.
23228 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
23230         * elf/dl-close.c (_dl_close_worker): Add comments.
23232 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
23234         [BZ #15359]
23235         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23236         high part of pi/2.
23237         (__ieee754_rem_pio2l): Update comments.
23239         [BZ #15429]
23240         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23241         high part of pi/2.
23242         (__ieee754_rem_pio2l): Update comments.
23244         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23245         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23247         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23248         M_PI_4l.
23250         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23251         (M_PI_34_LOG10El): Likewise.
23252         (M_PI2_LOG10El): Likewise.
23253         (M_PI4_LOG10El): Likewise.
23254         (M_PI_LOG10El): Likewise.
23256 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23260 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
23262         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23263         (MINUS_ZERO_INIT): Likewise.
23264         (PLUS_INFTY_INIT): Likewise.
23265         (MINUS_INFTY_INIT): Likewise.
23266         (QNAN_VALUE_INIT): Likewise.
23267         (MAX_VALUE_INIT): Likewise.
23268         (MIN_VALUE_INIT): Likewise.
23269         (MIN_SUBNORM_VALUE_INIT): Likewise.
23270         (plus_zero): Initialize with PLUS_ZERO_INIT.
23271         (minus_zero): Initialize with MINUS_ZERO_INIT.
23272         (plus_infty): Initialize with PLUS_INFTY_INIT.
23273         (minus_infty): Initialize with MINUS_INFTY_INIT.
23274         (qnan_value): Initialize with QNAN_VALUE_INIT.
23275         (max_value): Initialize with MAX_VALUE_INIT.
23276         (min_value): Initialize with MIN_VALUE_INIT.
23277         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23279         * math/libm-test.inc (RUN_TEST_if_f): New macro.
23280         (jn_test): Use TEST_if_f instead of TEST_ff_f.
23281         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23282         (yn_test): Use TEST_if_f instead of TEST_ff_f.
23284         * math/libm-test.inc (RUN_TEST_f_f): New macro.
23285         (RUN_TEST_2_f): Likewise.
23286         (RUN_TEST_ff_f): Likewise.
23287         (RUN_TEST_fi_f): Likewise.
23288         (RUN_TEST_fl_f): Likewise.
23289         (RUN_TEST_fff_f): Likewise.
23290         (RUN_TEST_c_f): Likewise.
23291         (RUN_TEST_f_f1): Likewise.
23292         (RUN_TEST_fF_f1): Likewise.
23293         (RUN_TEST_fI_f1): Likewise.
23294         (RUN_TEST_ffI_f1): Likewise.
23295         (RUN_TEST_c_c): Likewise.
23296         (RUN_TEST_cc_c): Likewise.
23297         (RUN_TEST_f_i): Likewise.
23298         (RUN_TEST_f_i_tg): Likewise.
23299         (RUN_TEST_ff_i_tg): Likewise.
23300         (RUN_TEST_f_b): Likewise.
23301         (RUN_TEST_f_b_tg): Likewise.
23302         (RUN_TEST_f_l): Likewise.
23303         (RUN_TEST_f_L): Likewise.
23304         (RUN_TEST_sincos): Likewise.
23305         * math/gen-libm-test.pl (new_test): Take new argument to indicate
23306         whether to show exceptions.  Do not include ");\n" in return
23307         value.
23308         (special_functions): Output call to RUN_TEST_sincos instead of
23309         check_float calls.  Update calls to new_test.
23310         (parse_args): Output call to single RUN_TEST_* macro instead of
23311         check_* calls and other assignments.  Update calls to new_test.
23313         [BZ #2546]
23314         [BZ #2560]
23315         [BZ #5159]
23316         [BZ #15426]
23317         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23318         input to result for tgamma overflow.
23319         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23320         (gamma_coeff): New variable.
23321         (NCOEFF): New macro.
23322         (gamma_positive): New function.
23323         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23324         underflow here.  Use gamma_positive instead of exp (lgamma) for
23325         other arguments.
23326         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23327         (gamma_coeff): New variable.
23328         (NCOEFF): New macro.
23329         (gammaf_positive): New function.
23330         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23331         underflow here.  Use gamma_positive instead of exp (lgamma) for
23332         other arguments.
23333         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23334         (gamma_coeff): New variable.
23335         (NCOEFF): New macro.
23336         (gammal_positive): New function.
23337         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23338         underflow here.  Use gamma_positive instead of exp (lgamma) for
23339         other arguments.
23340         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23341         (gamma_coeff): New variable.
23342         (NCOEFF): New macro.
23343         (gammal_positive): New function.
23344         (__ieee754_gammal_r): Handle positive infinity, overflow and
23345         underflow here.  Handle NaN the same as positive infinity.  Remove
23346         check x < 0xffffffff for negative integers.  Use gamma_positive
23347         instead of exp (lgamma) for other arguments.
23348         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23349         (gamma_coeff): New variable.
23350         (NCOEFF): New macro.
23351         (gammal_positive): New function.
23352         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23353         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23354         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23355         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23356         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23357         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23358         * sysdeps/generic/math_private.h (__gamma_productf): New
23359         prototype.
23360         (__gamma_product): Likewise.
23361         (__gamma_productl): Likewise.
23362         * math/Makefile (libm-calls): Add gamma_product.
23363         * math/libm-test.inc (tgamma_test): Add more tests.
23364         * sysdeps/i386/fpu/libm-test-ulps: Update.
23365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23367 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
23369         * benchtests/bench-skeleton.c (main): Preheat CPU.
23371 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
23373         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23375 2013-05-07  Roland McGrath  <roland@hack.frob.com>
23377         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23378         and _dl_skip_args_internal.
23380 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
23382         * manual/message.texi (Message Translation): Talk about users.
23383         Message to key mapping impacts design.
23385 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23387         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23389         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23391         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23392         * sysdeps/wordsize-64/glob64.c: ... here.
23394         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23395         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23396         New macros.
23398         * debug/getlogin_r_chk.c: Moved to ...
23399         * login/getlogin_r_chk.c: ... here.
23400         * debug/Makefile (routines): Move getlogin_r_chk to ...
23401         * login/Makefile (routines): ... here.
23402         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23403         * login/Versions (libc: GLIBC_2.4): ... here.
23405         * io/poll.c (__poll): Renamed from poll.
23406         Add libc_hidden_def.
23407         (poll): Define as weak alias.
23409         * debug/ptsname_r_chk.c: Moved to ...
23410         * login/ptsname_r_chk.c: ... here.
23411         * debug/Makefile (routines): Move ptsname_r_chk to ...
23412         * login/Makefile (routines): ... here.
23413         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23414         * login/Versions (libc: GLIBC_2.4): ... here.
23416         * posix/getlogin.c: Moved to ...
23417         * login/getlogin.c: ... here.
23418         * posix/getlogin_r.c: Moved to ...
23419         * login/getlogin_r.c: ... here.
23420         * posix/getlogin_r.c: Moved to ...
23421         * login/getlogin_r.c: ... here.
23422         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23423         * login/Makefile (routines): ... here.
23424         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23425         * login/Versions (libc: GLIBC_2.0): ... here.
23427         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23428         (setrlimit): Define as weak alias.
23430         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23431         Call __ names for open, ftruncate, and close.
23432         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23433         (truncate): Define as weak alias.
23435 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
23437         * math/gen-libm-test.pl (parse_args): Initialize x before each
23438         test of frexp, modf and remquo.
23440         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23441         test signgam value.
23443 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23445         [BZ #15418]
23446         [BZ #15419]
23447         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23448         internal tests.
23449         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23451 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23453         * elf/dl-writev.h: New file.
23454         * elf/dl-misc.c: Include it.
23455         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23456         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23458 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
23460         * math/libm-test.inc (noXFails): Remove variable.
23461         (noXPasses): Likewise.
23462         (BUILD_COMPLEX_INT): Remove macro.
23463         (print_screen): Remove xfail argument.
23464         (print_screen_max_error): Likewise.
23465         (update_stats): Likewise.
23466         (print_max_error): Likewise.  Update calls to other affected
23467         functions.
23468         (print_complex_max_error): Likewise.
23469         (test_single_exception): Update calls to print_screen.
23470         (test_single_errno): Likewise.
23471         (check_float_internal): Remove xfail argument.  Update calls to
23472         other affected functions.
23473         (check_float): Likewise.
23474         (check_complex): Likewise.
23475         (check_int): Likewise.
23476         (check_long): Likewise.
23477         (check_bool): Likewise.
23478         (check_longlong): Likewise.
23479         (main): Don't print noXFails and noXPasses.
23480         * math/gen-libm-test.pl (top level): Don't mention expected
23481         failure handling in comment.
23482         (new_test): Don't handle expected failures.
23483         (parse_args): Don't mention expected failure handling in comment.
23484         (generate_testfile): Don't handle expected failures.
23485         (parse_ulps): Likewise.
23486         (print_ulps_file): Likewise.
23487         (get_failure): Remove function.
23488         (output_test): Don't handle expected failures.
23489         * make/README.libm-test: Don't mention expected failure handling.
23491         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
23492         (minus_zero): Likewise.
23493         (plus_infty): Likewise.
23494         (minus_infty): Likewise.
23495         (qnan_value): Likewise.
23496         (max_value): Likewise.
23497         (min_value): Likewise.
23498         (min_subnorm_value): Likewise.
23499         (initialize): Do not initialize those variables dynamically.
23501 2013-05-03  Roland McGrath  <roland@hack.frob.com>
23503         * io/open.c (__open_2): Moved to ...
23504         * io/open_2.c: ... this new file.
23505         * io/open64.c (__open64_2): Moved to ...
23506         * io/open64_2.c: ... this new file.
23507         * io/openat.c (__openat_2): Moved to ...
23508         * io/openat_2.c: ... this new file.
23509         * io/openat64.c (__openat64_2): Moved to ...
23510         * io/openat64_2.c: ... this new file.
23511         * io/Makefile (routines): Add them.
23512         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23513         * sysdeps/unix/sysv/linux/open_2.c: File removed.
23514         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23515         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23516         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23517         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23518         (__openat64): Add hidden_ver.
23519         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23520         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23522         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23523         Separately conditionalize setting of GLRO(dl_sysinfo) so
23524         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23525         as well, but the actual setting is only under [NEED_DL_SYSINFO].
23527 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23529         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23530         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23531         definition.
23532         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23533         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23534         (_libc_vdso_platform_setup): Add __vdso_time initialization.
23535         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23536         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23538 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
23540         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23541         test signgam value.
23543         * math/libm-test.inc (hypot_test): Do not use
23544         IGNORE_ZERO_INF_SIGN.
23546 2013-05-03  Andreas Jaeger  <aj@suse.de>
23548         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23549         Linux 3.9.
23550         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23551         (PF_MAX): Adjust for VSOCK change.
23553 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23557 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
23559         [BZ #15264]
23560         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23561         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23562         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23564 2013-05-02  David S. Miller  <davem@davemloft.net>
23566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23568 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
23570         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23572 2013-05-01  Roland McGrath  <roland@hack.frob.com>
23574         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23576 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
23578         [BZ #14952]
23579         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23580         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23581         Use __attribute__ ((__gnu_inline__)).
23582         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23583         Don't use __attribute__ ((__gnu_inline__)).
23585 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
23587         [BZ #15423]
23588         * math/s_catan.c (__catan): Handle small real or imaginary part of
23589         input specially to avoid spurious underflow.
23590         * math/s_catanf.c (__catanf): Likewise.
23591         * math/s_catanh.c (__catanh): Likewise.
23592         * math/s_catanhf.c (__catanhf): Likewise.
23593         * math/s_catanhl.c (__catanhl): Likewise.
23594         * math/s_catanl.c (__catanl): Likewise.
23595         * math/libm-test.inc (catan_test): Add more tests.
23596         (catanh_test): Likewise.
23597         * sysdeps/i386/fpu/libm-test-ulps: Update.
23598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23600 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23604 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
23606         [BZ #15416]
23607         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23608         accurately for denominator in atan2.
23609         * math/s_catanf.c (__catanf): Likewise.
23610         * math/s_catanh.c (__catanh): Likewise.
23611         * math/s_catanhf.c (__catanhf): Likewise.
23612         * math/s_catanhl.c (__catanhl): Likewise.
23613         * math/s_catanl.c (__catanl): Likewise.
23614         * math/libm-test.inc (catan_test): Add more tests.
23615         (catanh_test): Likewise.
23616         * sysdeps/i386/fpu/libm-test-ulps: Update.
23617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23619 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23621         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23623         * benchtests/Makefile (bench): Remove slow benchmarks.
23624         * benchtests/atan-inputs: Add slow benchmark inputs.
23625         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23626         (BENCH_FUNC): Accept variant offset.
23627         (VARIANT): Define.
23628         * benchtests/bench-skeleton.c (main): Run benchmark for each
23629         variant.
23630         * benchtests/cos-inputs: Add slow benchmark inputs.
23631         * benchtests/exp-inputs: Likewise.
23632         * benchtests/pow-inputs: Likewise.
23633         * benchtests/sin-inputs: Likewise.
23634         * benchtests/slowatan-inputs: Remove.
23635         * benchtests/slowatan.c: Remove.
23636         * benchtests/slowcos-inputs: Remove.
23637         * benchtests/slowcos.c: Remove.
23638         * benchtests/slowexp-inputs: Remove.
23639         * benchtests/slowexp.c: Remove.
23640         * benchtests/slowpow-inputs: Remove.
23641         * benchtests/slowpow.c: Remove.
23642         * benchtests/slowsin-inputs: Remove.
23643         * benchtests/slowsin.c: Remove.
23644         * benchtests/slowtan-inputs: Remove.
23645         * benchtests/slowtan.c: Remove.
23646         * benchtests/tan-inputs: Add slow benchmark inputs.
23647         * scripts/bench.pl: Parse comments and directives.
23649         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
23650         in CPPFLAGS.
23651         ($(objpfx)bench-%.c): Remove *-ITER.
23652         * benchtests/bench-modf.c: Remove definition of ITER.
23653         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23654         (main): Loop for DURATION seconds instead of fixed number of
23655         iterations.
23656         * scripts/bench.pl: Don't expect iterations in parameters.
23658 2013-04-29  Roland McGrath  <roland@hack.frob.com>
23660         * io/fchdir.c (__fchdir): Renamed from fchdir.
23661         (fchdir): Define as weak alias.
23663 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23665         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23666         (ERRNO_EDOM): Likewise.
23667         (ERRNO_ERANGE): Likewise.
23668         (noErrnoTests): New variable.
23669         (init_max_error): Set errno to 0.
23670         (test_single_errno): New function.
23671         (test_errno): Likewise.
23672         (check_float_internal): Call test_errno.  Set errno to 0.
23673         (check_complex): Refer to errno tests in comment.
23674         (check_int): Call test_errno.  Set errno to 0.
23675         (check_long): Likewise.
23676         (check_bool): Likewise.
23677         (check_longlong): Likewise.
23678         (cos_test): Use ERRNO_* flags for errno tests instead of
23679         check_int.
23680         (expm1_test): Likewise.
23681         (fmod_test): Likewise.
23682         (ilogb_test): Likewise.
23683         (lgamma_test): Likewise.
23684         (pow_test): Likewise.
23685         (remainder_test): Likewise.
23686         (sin_test): Likewise.
23687         (tan_test): Likewise.
23688         (yn_test): Likewise.
23689         (initialize): Set errno to 0.
23690         (main): Print number of errno tests.
23691         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23693 2013-04-29  Andreas Jaeger  <aj@suse.de>
23695         [BZ #15084]
23696         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23697         and RES_USEVC.
23699         [BZ #15085]
23700         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23701         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23702         unimplemented.
23704         [BZ #15380]
23705         * stdlib/random.c (__initstate): Return NULL if
23706         __initstate fails.
23708         [BZ #15086]
23709         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23710         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23711         RES_SNGLKUPREOP.
23713 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23717 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23719         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23720         of individual tests.
23721         (casin_test): Likewise.
23722         (casinh_test): Likewise.
23724 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
23726         [BZ #15409]
23727         * math/s_catan.c (__catan): Handle arguments with large real or
23728         imaginary part separately without squaring.
23729         * math/s_catanf.c (__catanf): Likewise.
23730         * math/s_catanh.c (__catanh): Likewise.
23731         * math/s_catanhf.c (__catanhf): Likewise.
23732         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23733         and redefine.
23734         (__catanhl): Handle arguments with large real or imaginary part
23735         separately without squaring.
23736         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23737         and redefine.
23738         (__catanl): Handle arguments with large real or imaginary part
23739         separately without squaring.
23740         * math/libm-test.inc (catan_test): Add more tests.
23741         (catanh_test): Likewise.
23742         * sysdeps/i386/fpu/libm-test-ulps: Update.
23743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23745 2013-04-27  Andreas Jaeger  <aj@suse.de>
23747         [BZ #15007]
23748         * stdlib/stdlib.h: Update guards for qecvt.
23749         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23750         <stdlib.h>.
23752 2013-04-27  Allan McRae  <allan@archlinux.org>
23754         * sysdeps/i386/fpu/libm-test-ulps: Update.
23756 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
23758         [BZ #15406]
23759         * math/s_catan.c: Include <float.h>.
23760         (__catan): Ensure underflow exception occurs for underflowed
23761         result.
23762         * math/s_catanf.c: Include <float.h>.
23763         (__catanf): Ensure underflow exception occurs for underflowed
23764         result.
23765         * math/s_catanh.c: Include <float.h>.
23766         (__catanh): Ensure underflow exception occurs for underflowed
23767         result.
23768         * math/s_catanhf.c: Include <float.h>.
23769         (__catanhf): Ensure underflow exception occurs for underflowed
23770         result.
23771         * math/s_catanhl.c: Include <float.h>.
23772         (__catanhl): Ensure underflow exception occurs for underflowed
23773         result.
23774         * math/s_catanl.c: Include <float.h>.
23775         (__catanl): Ensure underflow exception occurs for underflowed
23776         result.
23777         * math/libm-test.inc (catan_test): Add more tests.
23778         (catanh_test): Likewise.
23780         [BZ #15405]
23781         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23782         underflowed result.
23783         * math/s_ccoshf.c (__ccoshf): Likewise.
23784         * math/s_ccoshl.c (__ccoshl): Likewise.
23785         * math/s_csin.c (__csin): Likewise.
23786         * math/s_csinf.c (__csinf): Likewise.
23787         * math/s_csinh.c (__csinh): Likewise.
23788         * math/s_csinhf.c (__csinhf): Likewise.
23789         * math/s_csinhl.c (__csinhl): Likewise.
23790         * math/s_csinl.c (__csinl): Likewise.
23791         * math/libm-test.inc (ccos_test): Add more tests.
23792         (ccosh_test): Likewise.
23793         (csin_test): Likewise.
23794         (csinh_test): Likewise.
23796 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23798         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23799         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23800         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23801         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23802         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23803         powerpc/power5+/fpu folders.
23804         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23807 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23809         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23811 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
23813         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23814         additions to variable.
23815         [$(config-machine) = x86_64] (modules-names): Likewise.
23816         ($(objpfx)tst-audit3): Remove dependency.
23817         ($(objpfx)tst-audit3.out): Likewise.
23818         ($(objpfx)tst-audit4): Likewise.
23819         ($(objpfx)tst-audit4.out): Likewise.
23820         ($(objpfx)tst-audit5): Likewise.
23821         ($(objpfx)tst-audit5.out): Likewise.
23822         ($(objpfx)tst-audit6): Likewise.
23823         ($(objpfx)tst-audit6.out): Likewise.
23824         ($(objpfx)tst-audit7): Likewise.
23825         ($(objpfx)tst-audit7.out): Likewise.
23826         (tst-audit3-ENV): Remove variable.
23827         (tst-audit4-ENV): Likewise.
23828         (tst-audit5-ENV): Likewise.
23829         (tst-audit6-ENV): Likewise.
23830         (tst-audit7-ENV): Likewise.
23831         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23832         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23833         addition to variable.
23834         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23835         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23836         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23837         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23838         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23839         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23840         tst-audit3, tst-audit4 and tst-audit5.
23841         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23842         tst-audit6 and tst-audit7.
23843         [$(subdir) = elf] (modules-names): Add audit modules for those
23844         tests.
23845         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23846         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23847         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23848         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23849         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23850         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23851         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23852         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23853         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23854         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23855         [$(subdir) = elf] (tst-audit3-ENV): New variable.
23856         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23857         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23858         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23859         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23860         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23861         Likewise.
23862         [$(subdir) = elf && $(config-cflags-avx) = yes]
23863         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23864         [$(subdir) = elf && $(config-cflags-avx) = yes]
23865         (CFLAGS-tst-auditmod4a.c): Likewise.
23866         [$(subdir) = elf && $(config-cflags-avx) = yes]
23867         (CFLAGS-tst-auditmod4b.c): Likewise.
23868         [$(subdir) = elf && $(config-cflags-avx) = yes]
23869         (CFLAGS-tst-auditmod6b.c): Likewise.
23870         [$(subdir) = elf && $(config-cflags-avx) = yes]
23871         (CFLAGS-tst-auditmod6c.c): Likewise.
23872         [$(subdir) = elf && $(config-cflags-avx) = yes]
23873         (CFLAGS-tst-auditmod7b.c): Likewise.
23874         * elf/tst-audit3.c: Move to ...
23875         * sysdeps/x86_64/tst-audit3.c: ... here.
23876         * elf/tst-audit4.c: Move to ...
23877         * sysdeps/x86_64/tst-audit4.c: ... here.
23878         * elf/tst-audit5.c: Move to ...
23879         * sysdeps/x86_64/tst-audit5.c: ... here.
23880         * elf/tst-audit6.c: Move to ...
23881         * sysdeps/x86_64/tst-audit6.c: ... here.
23882         * elf/tst-audit7.c: Move to ...
23883         * sysdeps/x86_64/tst-audit7.c: ... here.
23884         * elf/tst-auditmod3a.c: Move to ...
23885         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23886         * elf/tst-auditmod3b.c: Move to ...
23887         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23888         * elf/tst-auditmod4a.c: Move to ...
23889         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23890         * elf/tst-auditmod4b.c: Move to ...
23891         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23892         * elf/tst-auditmod5a.c: Move to ...
23893         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23894         * elf/tst-auditmod5b.c: Move to ...
23895         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23896         * elf/tst-auditmod6a.c: Move to ...
23897         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23898         * elf/tst-auditmod6b.c: Move to ...
23899         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23900         * elf/tst-auditmod6c.c: Move to ...
23901         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23902         * elf/tst-auditmod7a.c: Move to ...
23903         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23904         * elf/tst-auditmod7b.c: Move to ...
23905         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23907 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
23909         [BZ #15366]
23910         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23911         define unconditionally.
23912         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23913         define unconditionally.
23914         (INT8_C, INT16_C, etc.): Likewise.
23916 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
23918         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23919         __ehdr_start with hidden visibility.
23921         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23923 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
23925         * math/libm-test.inc (cos_test): Use accurate hex constants.
23926         (sincost_test): Likewise.
23928 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
23930         * math/libm-test.inc (catan_test): Add more tests.
23931         (catanh_test): Likewise.
23933         * math/s_catanf.c (__catanf): Use suffixed floating-point
23934         constants.
23935         * math/s_catanhf.c (__catanhf): Likewise.
23936         * math/s_catanhl.c (__catanhl): Likewise.
23937         * math/s_catanl.c (__catanl): Likewise.
23939         [BZ #15394]
23940         * math/s_catan.c (__catan): Calculate imaginary part of result
23941         with log1p not log unless computing log of number close to 0.
23942         * math/s_catanf.c (__catanf): Likewise.
23943         * math/s_catanl.c (__catanl): Likewise.
23944         * math/s_catanh.c (__catanh): Calculate real part of result with
23945         log1p not log unless computing log of number close to 0.
23946         * math/s_catanhf.c (__catanhf): Likewise.
23947         * math/s_catanhl.c (__catanhl): Likewise.
23948         * math/libm-test.inc (catan_test): Add more tests.
23949         (catanh_test): Likewise.
23950         * sysdeps/i386/fpu/libm-test-ulps: Update.
23951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23953 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23955         * benchtests/Makefile: Mention files in which fast and slow
23956         paths of math functions are implemented.
23958 2013-04-23  Roland McGrath  <roland@hack.frob.com>
23960         * sysdeps/posix/timespec_get.c: New file.
23962 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23964         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23965         POWER.
23966         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23967         for POWER.
23968         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23969         powerpc/power5/fpu folders.
23970         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23971         * benchtests/Makefile: Add modf testcase.
23972         * benchtests/bench-modf.c: New file: Benchmark test for mo
23974 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23976         [BZ #14888]
23977         * time/Makefile (tests): Add tst-strptime-whitespace.
23978         * time/strptime_l.c (get_number): Use ISSPACE.
23979         (__strptime_internal): Likewise.
23980         * time/tst-strptime-whitespace.c: New test case.
23982 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
23984         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23985         member.
23986         (_nss_files_init): Set it here.
23988 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
23990         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23991         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23992         unsigned.
23994 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
23996         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23998 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24000         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24001         size just once.
24003 2013-04-21  David S. Miller  <davem@davemloft.net>
24005         * po/ru.po: Update Russion translation from translation project.
24007 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24009         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24010         and setfsgid.
24012 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24014         * configure.in: Remove i386 configure warning. Remove i386 case.
24015         * configure: Regenerate.
24016         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24017         Add example to error message.
24018         * sysdeps/i386/configure: Regenerate.
24020 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24022         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24023         slowtan.
24024         * benchtests/cos-inputs: New file.
24025         * benchtests/slowcos-inputs: New file.
24026         * benchtests/slowcos.c: New file.
24027         * benchtests/slowtan-inputs: New file.
24028         * benchtests/slowtan.c: New file.
24029         * benchtests/tan-inputs: New file.
24031 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24033         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24034         considered kosher.
24036 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24038         * benchtests/Makefile: Include cppflags-iterator.mk to add
24039         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24041         * Makefile.in (bench-clean): New target.
24042         * benchtests/Makefile (bench-clean): Likewise.
24044 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24046         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24048 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24050         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24052 2013-04-15  Andreas Schwab  <schwab@suse.de>
24054         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24055         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24056         * nscd/pwdcache.c (cache_addpw): Likewise.
24057         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24058         more than recsize.
24060 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24062         * benchtests/Makefile (bench): Write all output to
24063         bench-out.tmp together.
24065 2013-04-15  Andreas Schwab  <schwab@suse.de>
24067         * nscd/nscd.c (main): Don't fork again after closing files.
24069 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24071         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24073         * benchtests/Rules (bench-deps): Collect dependencies into a
24074         single variable.  Add Makefile to dependencies.
24075         ($(objpfx)bench-%.c): Depend on bench-deps.
24077 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24078             Xavier Roche  <roche+kml2@exalead.com>
24080         [BZ #15361]
24081         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24082         just that it's a file descriptor.
24083         * manual/llio.texi (Synchronizing AIO Operations): Update description
24084         for EBADF error from aio_fsync.
24086 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24088         * Rules (bench): Move target definition...
24089         * benchtests/Makefile: ... here.
24091 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24093         * math/libm-test.inc (cos_test): Fix PI/2 test.
24094         (sincos_test): Likewise.
24095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24096         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24098 2013-04-11  Andreas Schwab  <schwab@suse.de>
24100         [BZ #13988]
24101         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24102         accept exponent character only when digits were seen.
24103         * stdio-common/Makefile (tests): Add bug26.
24104         * stdio-common/bug26.c: New file.
24106         [BZ #14293]
24107         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24108         non-freeable.
24110 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24112         * Makeconfig (rtld-prefix): Define built linker prefix.
24113         * Rules (run-bench): Use it.
24114         * math/Makefile (run-regen-ulps): Likewise.
24116         * Rules (bench): Remove eval.
24118 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24119             Roland McGrath  <roland@hack.frob.com>
24120             Ondrej Bilka  <neleai@seznam.cz>
24122         [BZ #15346]
24123         * time/getdate.c: Include ctype.h and alloca.h.
24124         (__getdate_r): Trim leading and trailing spaces of input.
24125         * time/tst-getdate.c (tests): Add tests with leading and
24126         trailing spaces.
24128 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24130         [BZ #14280]
24131         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24132         when computing value.
24134 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24136         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24137         Use testrun.sh to run libm tests.
24139         [BZ #15309]
24140         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24142 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24144         [BZ #15264]
24145         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24147 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24149         * Makefile.in (regen-ulps): New target.
24150         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24151         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24152         [ifneq (no,$(PERL)] (regen-ulps): New target.
24153         [ifeq (no,$(PERL)] (regen-ulps): New target.
24154         * math/libm-test.inc (ulps_file_name): Define.
24155         (output_dir): New variable.
24156         (options): Add "output-dir" option.
24157         (parse_opt): Handle 'o' case.
24158         (main): If output_dir is non-NULL use it as a prefix
24159         otherwise use "".
24160         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24162 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24164         [BZ #10060, #10062]
24165         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24166         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24167         fail configure if __sync_val_compare_and_swap is not inlined.
24168         * sysdeps/i386/configure: Regenerate.
24169         * configure.in: Build for i686 when configured for i386.
24170         * configure: Regenerate.
24171         * README: Remove i386 reference.
24173 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24175         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24176         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24178 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24180         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24181         (lmsnanval): New variables.
24182         (F): Add conversion tests.
24183         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24184         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24186         * stdio-common/tstdiomisc.c (F): Properly collect individual
24187         tests' results.
24189         [BZ #14686, #15336]
24190         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24191         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24192         Instead, use input NaN values or generate a qNaN by arithmetic
24193         operation.  Also fix bugs to comply with the standard.
24194         * math/libm-test.inc (remainder_test): Add more tests.
24196         [BZ #15335, #15342]
24197         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24198         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24199         input NaN values or generate a qNaN by arithmetic operation.
24201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24202         unreachable code.
24204         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24205         definitions.
24207 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
24209         [BZ #14478]
24210         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24211         underflowed result.
24212         * math/s_cexpf.c (__cexpf): Likewise.
24213         * math/s_cexpl.c (__cexpl): Likewise.
24214         * math/libm-test.inc (cexp_test): Add more tests.
24216 2013-04-03  Andreas Schwab  <schwab@suse.de>
24218         [BZ #15330]
24219         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24220         order arrays from heap if bigger than alloca cutoff.
24222 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
24224         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24225         (SNAN_TESTS_double): Refer to GCC PR56831.
24226         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24227         GCC PR56828.
24229 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24231         * Rules (bench): Move bench.out after the run is complete.
24233         * Rules (bench): Echo currently running benchmark.
24235         * benchtests/Makefile (bench): Add atan and slowatan.
24236         * benchtests/atan-inputs: New file.
24237         * benchtests/slowatan-inputs: New file.
24238         * benchtests/slowatan.c: New file.
24240         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24241         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24242         its value.
24244         [BZ #15305]
24245         * sysdeps/unix/sysv/linux/kernel-features.h
24246         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24247         __ASSUME_XFS_RESTRICTED_CHOWN.
24248         * sysdeps/unix/sysv/linux/pathconf.c
24249         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24250         Save and restore errno.
24252 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
24254         [BZ #15327]
24255         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24256         arguments using __kernel_casinh.
24257         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24258         arguments using __kernel_casinhf.
24259         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24260         arguments using __kernel_casinhl.
24261         * math/libm-test.inc (cacosh_test): Add more tests.
24262         * sysdeps/i386/fpu/libm-test-ulps: Update.
24263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24265 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24267         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24268         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24270         * bench/Makefile (bench): Add sin and slowsin.
24271         * benchtests/sin-inputs: New file.
24272         * benchtests/slowsin-inputs: New file.
24273         * benchtests/slowsin.c: New file.
24275         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24276         (bench): Add slowexp and slowpow.
24277         (exp-ITER): Increase iterations.
24278         (pow-ITER): Likewise.
24279         * benchtests/exp-inputs: Change input.
24280         * benchtests/pow-inputs: Likewise.
24281         * benchtests/slowexp-inputs: New file.
24282         * benchtests/slowexp.c: New file.
24283         * benchtests/slowpow-inputs: New file.
24284         * benchtests/slowpow.c: New file.
24286 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24288         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24289         instructions.
24290         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24291         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24292         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24293         * benchtests/Makefile: Add rint benchtest.
24294         * benchtests/rint-inputs: Input for rint benchtest.
24296 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24298         * Versions.def (libm): Add GLIBC_2.18.
24299         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24300         hidden libm prototypes.
24301         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24302         * math/Makefile (libm-calls): Add s_issignaling.
24303         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24304         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
24305         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24306         declaration.
24307         * math/math.h [__USE_GNU] (issignaling): New macro.
24308         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24309         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24310         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24311         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24312         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24313         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24314         * manual/arith.texi (issignaling): New section.
24315         * manual/libm-err-tab.pl (@all_functions): Update comment.
24316         * math/gen-libm-test.pl (parse_args): Apply special handling for
24317         issignaling.
24318         * math/libm-test.inc (print_float, issignaling_test): New
24319         functions.
24320         (check_float_internal): Add issignaling checks.
24321         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24322         default definition.
24323         * sysdeps/powerpc/math-tests.h: New file.
24324         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24325         tests.
24326         * math/test-snan.c (TEST_FUNC): Likewise.
24328 2013-03-30  David S. Miller  <davem@davemloft.net>
24330         * po/de.po: Update from translation team.
24332 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
24334         [BZ #10357]
24335         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24336         imaginary part less than 1.0 and real part less than 0.5
24337         specially.
24338         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24339         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24340         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24341         (cacos_test): Add more tests.
24342         (casin_test): Likewise.
24343         (casinh_test): Likewise.
24344         * sysdeps/i386/fpu/libm-test-ulps: Update.
24345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24347 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24349         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24350         ONE with its value.
24352         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24353         (__pow_mp): Replace ONE and MONE with their values.
24354         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24355         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24356         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24357         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24358         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24359         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24361         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24363         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24364         (__pow_mp): Replace ZERO and MZERO with their values.
24365         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24366         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24367         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24369         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24370         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24371         (__sqr): Likewise.
24373         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24375         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24377 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24379         * include/stdlib.h [!SHARED] (__call_tls_dtors):
24380         Declare with __attribute__ ((weak)).
24381         * stdlib/exit.c (__libc_atexit) [!SHARED]:
24382         Call __call_tls_dtors only if it's not NULL.
24384 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24386         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24387         didn't do it already, then set _dl_phdr and _dl_phnum based on the
24388         magic __ehdr_start linker symbol if it's defined.
24389         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24390         them up here if it was already done.
24392         * elf/dl-support.c (_dl_phdr): Make pointer to const.
24393         (_dl_aux_init): Use const in cast when setting it.
24394         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24395         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24396         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24398         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24399         Declare them here.
24400         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24401         * csu/libc-tls.c: Nor here.
24402         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24404         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24405         (__libc_message): Never call vsyslog.
24407 2013-03-28  Alan Modra  <amodra@gmail.com>
24409         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24410         Define as empty.
24411         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24412         Likewise.
24414 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24416         [BZ #15214]
24417         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24418         underflow.
24419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24421 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24423         [BZ #15304]
24424         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24425         Don't add gid passed as argument.
24427         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24429 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
24431         [BZ #15307]
24432         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24433         imaginary part between 1.0 and 1.5 and real part less than 0.5
24434         specially.
24435         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24436         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24437         * math/libm-test.inc (cacos_test): Add more tests.
24438         (casin_test): Likewise.
24439         (casinh_test): Likewise.
24440         * sysdeps/i386/fpu/libm-test-ulps: Update.
24441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24443 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24445         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24446         constants.
24447         (norm): Likewise.
24448         (denorm): Likewise.
24449         (__dbl_mp): Likewise.
24450         (add_magnitudes): Likewise.
24451         (sub_magnitudes): Likewise.
24452         (__add): Likewise.
24453         (__sub): Likewise.
24454         (__mul): Likewise.
24455         (__sqr): Likewise.
24456         (__inv): Likewise.
24457         (__dvd): Likewise.
24459         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24460         commented code.
24461         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24462         (__dubcos): Likewise.
24463         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24464         (__ieee754_acos): Likewise.
24465         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24466         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24467         (__exp1): Likewise.
24468         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24469         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24470         (log1): Likewise.
24471         (my_log2): Likewise.
24472         (checkint): Likewise.
24473         * sysdeps/ieee754/dbl-64/e_remainder.c
24474         (__ieee754_remainder): Likewise.
24475         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24476         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24477         (bsloww): Likewise.
24478         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24480         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24481         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24482         MANTISSA_STORE_T to store computations on mantissa.  Use
24483         macros for rounding and division.
24484         (denorm): Likewise.
24485         (__dbl_mp): Likewise.
24486         (add_magnitudes): Likewise.
24487         (sub_magnitudes): Likewise.
24488         (__mul): Likewise.
24489         (__sqr): Likewise.
24490         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24491         powers of two in terms of TWOPOW macro.
24492         (mp_no): Make type of mantissa as MANTISSA_T.
24493         [!RADIXI]: Define RADIXI.
24494         [!TWO52]: Define TWO52.
24495         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24497 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24499         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24500         llroundl symbol when building for PPC32.
24502 2013-03-24  Mark H Weaver  <mhw@netris.org>
24504         * manual/arith.texi (Normalization Functions): Fix prototypes for
24505         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24507 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24509         [BZ #13889]
24510         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24511         high value to check if expl overflow.
24512         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24513         to check for underflow and overflow.
24514         * math/libm-test.inc: Add exp test.
24516 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
24518         [BZ #11120]
24519         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24520         with NOT_IN_libc.
24522 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24524         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24525         symbol.
24527 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24529         * math/gen-libm-test.pl (parse_args, special_functions): Properly
24530         wrap blocks consisting of several statements.
24532         * sysdeps/generic/math-tests.h: New file.
24533         * sysdeps/i386/fpu/math-tests.h: Likewise.
24534         * math/test-snan.c: Include it.
24535         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24537 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24539         [BZ #15285]
24540         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24541         (__ieee754_j0l): Do not improve calculations using cos of twice
24542         input for inputs above LDBL_MAX / 2.0L.
24543         (__ieee754_y0l): Likewise.
24544         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24545         (__ieee754_j1l): Do not improve calculations using cos of twice
24546         input for inputs above LDBL_MAX / 2.0L.
24547         (__ieee754_y1l): Likewise.
24548         * math/libm-test.inc (j0_test): Add another test.
24549         (j1_test): Likewise.
24550         (y0_test): Likewise.
24551         (y1_test): Likewise.
24552         * sysdeps/i386/fpu/libm-test-ulps: Update.
24554 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24556         * Rules ($(objpfx)bench-%.c): Include code from a C source
24557         file.
24559 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24561         [BZ #15287]
24562         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24563         imaginary part 1.0 and real part less than 0.5 specially.
24564         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24565         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24566         * math/libm-test.inc (cacos_test): Add more tests.
24567         (casin_test): Likewise.
24568         (casinh_test): Likewise.
24569         * sysdeps/i386/fpu/libm-test-ulps: Update.
24570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24572 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24574         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24575         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24577 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
24579         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24580         * config.make.in (config-cflags-sse4): Remove variable.
24581         (config-cflags-avx): Likewise.
24582         (config-cflags-sse2avx): Likewise.
24583         (config-cflags-novzeroupper): Likewise.
24584         (config-asflags-i686): Likewise.
24585         (have-mfma4): Likewise.
24586         (have-as-vis3): Likewise.
24587         (MIG): Likewise.
24588         * configure.in (MIG): Do not AC_SUBST.
24589         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24590         (libc_cv_cc_sse4): Do not AC_SUBST.
24591         (libc_cv_cc_avx): Likewise.
24592         (libc_cv_cc_sse2avx): Likewise.
24593         (libc_cv_cc_novzeroupper): Likewise.
24594         (libc_cv_cc_fma4): Likewise.
24595         (libc_cv_as_i686): Likewise.
24596         (libc_cv_sparc_as_vis3): Likewise.
24597         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24598         LIBC_CONFIG_VAR.
24599         (config-asflags-i686): Likewise.
24600         (config-cflags-avx): Likewise.
24601         (config-cflags-sse2avx): Likewise.
24602         (have-mfma4): Likewise.
24603         (config-cflags-novzeroupper): Likewise.
24604         * sysdeps/mach/configure.in (MIG): Likewise.
24605         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24606         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24607         LIBC_CONFIG_VAR.
24608         (config-cflags-avx): Likewise.
24609         (config-cflags-sse2avx): Likewise.
24610         (have-mfma4): Likewise.
24611         (config-cflags-novzeroupper): Likewise.
24612         * configure: Regenerated.
24613         * sysdeps/i386/configure: Likewise.
24614         * sysdeps/mach/configure: Likewise.
24615         * sysdeps/sparc/configure: Likewise.
24616         * sysdeps/x86_64/configure: Likewise.
24618 2013-03-20  Roland McGrath  <roland@hack.frob.com>
24620         [BZ #14812]
24621         * locale/programs/localedef.c (options): Put N_ translation marker
24622         on argument names, not just descriptions.
24624 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24626         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24628 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
24630         [BZ #14176]
24631         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24633 2013-03-19  Roland McGrath  <roland@hack.frob.com>
24635         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24636         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24637         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24638         [!BEFORE_ABORT] (before_abort): New function.
24639         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24640         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24641         (writev_for_fatal): New function.
24642         (WRITEV_FOR_FATAL): New macro; call that.
24643         (backtrace_and_maps): New function.
24644         (BEFORE_ABORT): New macro; call that.
24645         (struct str_list): Type removed.
24646         (__libc_message, __libc_fatal): Functions removed.
24647         Include <sysdeps/posix/libc_fatal.c> instead.
24649 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
24651         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24652         constants.
24653         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24654         double constants.
24656 2013-03-19  Andreas Schwab  <schwab@suse.de>
24658         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24659         * sysdeps/gnu/configure: Regenerate.
24661         * configure.in: Substitute libc_cv_rtlddir.
24662         * configure: Regenerate.
24663         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24664         * Makeconfig (rtlddir, inst_rtlddir): New variables.
24665         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24666         * elf/Makefile (install-others, CFLAGS-interp.c)
24667         (ldso_install, common-ldd-rewrite): Likewise.
24668         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24669         $(inst_slibdir)/$(rtld-installed-name).
24670         * scripts/rellns-sh: Add -p option.
24671         * Makerules (make-shlib-link): Use rellns-sh to get relative name
24672         for source.
24674 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24676         * manual/nptl.texi: Renamed to ...
24677         * manual/threads.texi: ... this.
24678         * manual/Makefile (chapters): Update.
24680 2013-03-18  Roland McGrath  <roland@hack.frob.com>
24682         [BZ #14812]
24683         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24684         on argument names, not just descriptions.
24685         * malloc/memusagestat.c (options): Likewise.
24686         * nss/getent.c (options): Likewise.
24688 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
24690         [BZ #14812]
24691         * iconv/iconv_prog.c (options): Put N_ translation marker
24692         on argument names, not just descriptions.
24693         * iconv/iconvconfig.c (options): Likewise.
24695 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
24697         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24698         implementation which is faster on all x86_64 architectures.
24699         Tested on AMD, Intel Nehalem, SNB, IVB.
24700         * sysdeps/x86_64/strnlen.S: Likewise.
24702         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24703         Remove all multiarch strlen and strnlen versions.
24704         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24705         Remove strlen and strnlen related parts.
24707         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24708         Inline strlen part.
24709         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24711         * sysdeps/x86_64/multiarch/strlen.S: Remove.
24712         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24713         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24714         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24715         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24716         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24718 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
24720         * manual/memory.texi (Malloc Tunable Parameters):
24721         Sort parameters alphabetically. Add comments for missing entries.
24723 2013-03-17  David S. Miller  <davem@davemloft.net>
24725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24727 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
24729         [BZ #15283]
24730         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24731         for arguments at most half maximum finite value.
24732         * math/libm-test.inc (j0_test): Add more tests.
24733         (j1_test): Likewise.
24734         (y0_test): Likewise.
24735         (y1_test): Likewise.
24736         * sysdeps/i386/fpu/libm-test-ulps: Update.
24737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24739         [BZ #14155]
24740         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24741         1 / x and functions P and Q for arguments above 0x1p256L.
24742         (__ieee754_y0l): Likewise.
24743         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24744         (__ieee754_y1l): Likewise.
24745         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24746         (j1_test): Likewise.
24747         (y0_test): Likewise.
24748         (y1_test): Likewise.
24750 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
24752         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24753         variable.
24755 2013-03-15  Roland McGrath  <roland@hack.frob.com>
24757         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24758         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24759         zero since it's initialized to EXEC_PAGESIZE.
24761         * sysdeps/unix/sysv/linux/ldsodefs.h
24762         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24763         * sysdeps/generic/ldsodefs.h: ... here.
24765 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
24767         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24769         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24770         math/test-snan.c.
24771         * math/test-snan.c: Renamed from
24772         sysdeps/powerpc/fpu/test-powerpc-snan.c.
24773         * math/Makefile (tests): Add test-snan.
24774         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24775         test-powerpc-snan.
24777         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24778         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
24779         functions.
24780         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
24781         __builtin_nan family of functions.
24782         * math/libm-test.inc (initialize): Initialize qnan_value with
24783         __builtin_nan family of functions.
24784         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24785         Remove variables.
24786         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24787         Remove functions.
24788         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
24789         storage class.  Initialize qNaN_var and sNaN_var with
24790         __builtin_nan and __builtin_nans families of functions,
24791         respectively.
24793         * math/libm-test.inc (acosh_test): Also test with qNaN input.
24794         (sqrt_test): Remove duplicate test with qNaN input.
24795         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24796         (round_test, signbit_test, significand_test): Note missing +/-Inf
24797         as well as qNaN tests.
24799         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24800         qNaN_var.  Fix a few strings, too.
24801         * math/libm-test.inc (nan_value): Rename to qnan_value.
24802         * math/gen-libm-test.pl (%beautify): Adjust to that.
24803         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24804         * math/test-misc.c (main): Likewise.
24805         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24806         to __qnan_bytes, and __qnan_union, respectively.
24807         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24808         Likewise.
24809         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24810         and lqnanval, respectively.
24811         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24812         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24813         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24814         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24816         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24817         * math/test-misc.c (main) [__x86_64__]: Enable test for long
24818         doubles.
24820         * math/test-misc.c (main): Fix copy'n'pastos.
24821         * misc/tst-efgcvt.c (special): Likewise.
24823         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24824         Remove declarations.
24826 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24828         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24829         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24830         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24831         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24833 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24835         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24836         macro to return vdso values correctly in IFUNC implementations.
24837         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24838         Optimization by using IFUNC.
24840 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24841             Richard Henderson  <rth@redhat.com>
24842             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24844         * Makefile.in (bench): New target.
24845         * NEWS: Mention the benchmark framework.
24846         * Rules (bench): Likewise.
24847         (binaries-bench): Generate binaries for functions to
24848         benchmark.
24849         * benchtests/Makefile: New makefile for benchmark tests.
24850         * benchtests/bench-skeleton.c: New skeleton file for benchmark
24851         programs.
24852         * benchtests/exp-inputs: New input file for EXP function.
24853         * benchtests/pow-inputs: New input file for POW function.
24854         * scripts/bench.pl: New script to generate source files for
24855         benchmark programs.
24857 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24859         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24860         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24861         computations on mantissa.  Use macros for rounding and
24862         division.
24863         (denorm): Likewise.
24864         (__dbl_mp): Likewise.
24865         (add_magnitudes): Likewise.
24866         (sub_magnitudes): Likewise.
24867         (__mul): Likewise.
24868         (__sqr): Likewise.
24869         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24870         powers of two in terms of TWOPOW macro.
24871         (mp_no): Make type of mantissa as MANTISSA_T.
24872         [!RADIXI]: Define RADIXI.
24873         [!TWO52]: Define TWO52.
24874         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24876         * manual/nptl.texi (cindex): Modify threads to pthreads.
24878 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
24880         * sysdeps/x86_64/preconfigure: Regenerated.
24882 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
24884         [BZ #14155]
24885         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24886         0x1p28 and above.
24887         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24888         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24889         0x1p28 and above.
24890         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24891         * math/libm-test.inc (j0_test): Do not allow one spurious
24892         underflow exception.
24893         (y1_test): Likewise.
24895 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24897         * manual/Makefile (chapters): Add nptl.
24898         * manual/debug.texi (Debugging Support): Add link to Threads
24899         chapter.
24900         * manual/nptl.texi: New file.
24902         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24904 2013-03-14  Petr Baudis  <pasky@ucw.cz>
24906         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24907         for non-NULL pointer before the memory validity test. Pointed
24908         out by Holger Brunck <holger.brunck@keymile.com>.
24910 2013-03-13  Andreas Schwab  <schwab@suse.de>
24912         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24913         instead of .os.
24915 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
24917         * timezone/zic.c: Update from tzcode 2013b.
24919 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
24921         * manual/install.texi (Configuring and compiling):
24922         Mention i686 and i586.
24923         * INSTALL: Regenerate.
24925 2013-03-12  Roland McGrath  <roland@hack.frob.com>
24927         * sysdeps/init_array/elf-init.c: New file.
24928         * csu/elf-init.c
24929         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24930         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24932         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24933         __gmon_start__ as global, but as static with a .preinit_array pointer.
24934         * sysdeps/init_array/gmon-start.c: New file.  Use that.
24935         * sysdeps/init_array/crti.S: New file, empty except for comments.
24936         * sysdeps/init_array/crtn.S: Likewise.
24938 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
24940         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24941         definining bcopy.
24942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24943         Remove Prefer_SSE_for_memop.
24944         * sysdeps/x86_64/multiarch/init-arch.h: Remove
24945         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24946         HAS_PREFER_SSE_FOR_MEMOP.
24947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24948         memset-x86-64.
24949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24950         Remove bzero, memset ifunc support.
24951         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24952         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24953         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24954         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24956 2013-03-11  Andreas Schwab  <schwab@suse.de>
24958         [BZ #15234]
24959         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24960         by SHLIB_COMPAT.
24961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24962         (GLIBC_2.16): Remove pthread_atfork.
24964 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24966         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24967         (ptestcases.h): Likewise.
24969 2013-03-08  Roland McGrath  <roland@hack.frob.com>
24971         * Makeconfig ($(common-objpfx)config.status): Depend on
24972         sysdeps/*/preconfigure{,.in} too.
24974 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
24976         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24977         (__free_hook): Use void * instead of __malloc_ptr_t.
24978         (__malloc_hook): Likewise.
24979         (__realloc_hook): Likewise.
24980         (__memalign_hook): Likewise.
24981         (__after_morecore_hook): Likewise.
24982         * malloc/arena.c (save_malloc_hook): Likewise.
24983         (save_free_hook): Likewise.
24984         * malloc/hooks.c (malloc_hook_ini): Likewise.
24985         (realloc_hook_ini): Likewise.
24986         (memalign_hook_ini): Likewise.
24987         * malloc/malloc.c (malloc_hook_ini): Likewise.
24988         (realloc_hook_ini): Likewise.
24989         (memalign_hook_ini): Likewise.
24990         (__free_hook): Likewise.
24991         (__malloc_hook): Likewise.
24992         (__realloc_hook): Likewise.
24993         (__memalign_hook): Likewise.
24994         (__libc_malloc): Likewise.
24995         (__libc_free): Likewise.
24996         (__libc_realloc): Likewise.
24997         (__libc_memalign): Likewise.
24998         (__libc_valloc): Likewise.
24999         (__libc_pvalloc): Likewise.
25000         (__libc_calloc): Likewise.
25001         (__posix_memalign): Likewise.
25002         * malloc/morecore.c (__sbrk): Likewise.
25003         (__default_morecore): Likewise.
25005         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25007         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25008         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25009         __malloc_ptrdiff_t.
25011         * malloc/malloc.h (__malloc_size_t): Remove macro.
25012         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25013         __malloc_size_t.
25014         (old_memalign_hook): Likewise.
25015         (old_realloc_hook): Likewise.
25016         (struct hdr): Likewise.
25017         (flood): Likewise.
25018         (mallochook): Likewise.
25019         (memalignhook): Likewise.
25020         (reallochook): Likewise.
25021         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25022         (tr_old_realloc_hook): Likewise.
25023         (tr_old_memalign_hook): Likewise.
25024         (tr_mallochook): Likewise.
25025         (tr_reallochook): Likewise.
25026         (tr_memalignhook): Likewise.
25028 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25030         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25031         default_ldbl_pack and using as default implementation.
25032         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25033         implementation.
25034         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25035         redundant definition.
25036         (ldbl_insert_mantissa): Likewise.
25037         (ldbl_canonicalize): Likewise.
25038         (ldbl_nearbyint): Likewise.
25039         (ldbl_pack): Rename to ldbl_pack_ppc.
25040         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25041         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25042         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25044 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25047         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25048         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25049         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25051         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25052         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25053         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25055 2013-03-07  Andreas Jaeger  <aj@suse.de>
25057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25058         bits/mman-linux.h.
25060 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25062         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25063         Include mpa.h and declare __MPEXP.
25064         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25065         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25066         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25067         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25068         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25069         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25070         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25072         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25073         (__slowpow): Use long double EXPL and LOGL functions to
25074         compute POW.
25075         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25076         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25077         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25078         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25079         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25080         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25083         intermediate variable to calculate exponent.
25084         (__sqr): Likewise.
25085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25086         Likewise.
25087         (__sqr): Likewise.
25089         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25090         [!NO__SQR]: Define __sqr.
25091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25092         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25093         sysdeps/ieee754/dbl-64/mpa.c.
25094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25096         [BZ #12723]
25097         * posix/Makefile (tests): Add tst-pathconf.
25098         * posix/tst-pathconf.c: New test case.
25099         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25100         _PC_PIPE_BUF.
25101         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25103 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25105         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25107 2013-03-06  Andreas Jaeger  <aj@suse.de>
25109         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25110         definition via __MAP_ANONYMOUS.
25112         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25113         it's not part of Linux headers.
25115         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25116         (MAP_HUGE_MASK): Define.
25118         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25119         Define.
25120         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25121         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25122         Define.
25123         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25124         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25125         Define.
25126         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25127         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25128         Define.
25129         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25131         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25132         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25133         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25134         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25135         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25136         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25138         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25139         Handle f2fs.
25141         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25142         Handle f2fs and efivarfs.
25144         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25145         f2fs.
25147         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25148         (EFIVARFS_MAGIC): Add.
25149         (F2FS_LINK_MAX): Add.
25151 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25153         * stdio-common/vfprintf.c: Replace __builtin_expect with
25154         __glibc_unlikely.
25156 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25158         [BZ #13550]
25159         * sysdeps/generic/bp-sym.h: Remove file.
25160         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25161         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25162         <bp-sym.h> and <bp-asm.h>.
25163         (__longjmp): Don't use BP_SYM.
25164         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25165         and <bp-asm.h>.
25166         (memcpy): Don't use BP_SYM.
25167         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25168         <bp-sym.h> and <bp-asm.h>.
25169         (memcpy): Don't use BP_SYM.
25170         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25171         <bp-asm.h>.
25172         (memcpy): Don't use BP_SYM.
25173         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25174         <bp-asm.h>.
25175         (memset): Don't use BP_SYM.
25176         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25177         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25178         (__bzero): Don't use BP_SYM.
25179         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25180         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25181         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25182         <bp-sym.h> and <bp-asm.h>.
25183         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25184         pointers.
25185         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25186         <bp-sym.h> and <bp-asm.h>.
25187         (memcpy): Don't use BP_SYM.
25188         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25189         <bp-sym.h> and <bp-asm.h>.
25190         (memset): Don't use BP_SYM.
25191         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25192         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25193         (__bzero): Don't use BP_SYM.
25194         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25195         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25196         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25197         <bp-sym.h> and <bp-asm.h>.
25198         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25199         pointers.
25200         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25201         <bp-sym.h> and <bp-asm.h>.
25202         (memcpy): Don't use BP_SYM.
25203         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25204         <bp-sym.h> and <bp-asm.h>.
25205         (memset): Don't use BP_SYM.
25206         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25207         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25208         (__bzero): Don't use BP_SYM.
25209         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25210         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25211         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25212         <bp-sym.h> and <bp-asm.h>.
25213         (__memchr): Don't use BP_SYM.
25214         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25215         <bp-sym.h> and <bp-asm.h>.
25216         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25217         pointers.
25218         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25219         <bp-sym.h> and <bp-asm.h>.
25220         (memcpy): Don't use BP_SYM.
25221         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25222         <bp-sym.h> and <bp-asm.h>.
25223         (__mempcpy): Don't use BP_SYM.
25224         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25225         <bp-sym.h> and <bp-asm.h>.
25226         (__memrchr): Don't use BP_SYM.
25227         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25228         <bp-sym.h> and <bp-asm.h>.
25229         (memset): Don't use BP_SYM.
25230         (__bzero): Likewise.
25231         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25232         <bp-sym.h> and <bp-asm.h>.
25233         (__rawmemchr): Don't use BP_SYM.
25234         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25235         <bp-sym.h> and <bp-asm.h>.
25236         (__STRCMP): Don't use BP_SYM.
25237         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25238         <bp-sym.h> and <bp-asm.h>.
25239         (strchr): Don't use BP_SYM.
25240         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25241         <bp-sym.h> and <bp-asm.h>.
25242         (__strchrnul): Don't use BP_SYM.
25243         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25244         <bp-sym.h> and <bp-asm.h>.
25245         (strlen): Don't use BP_SYM.
25246         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25247         <bp-sym.h> and <bp-asm.h>.
25248         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25249         pointers.
25250         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25251         <bp-sym.h> and <bp-asm.h>.
25252         (__strnlen): Don't use BP_SYM.
25253         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25254         <bp-sym.h> and <bp-asm.h>.
25255         (__GI__setjmp): Don't use BP_SYM.
25256         (_setjmp): Likewise.
25257         (__sigsetjmp): Likewise.
25258         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25259         (L(start_addresses)): Don't use BP_SYM.
25260         (_start): Likewise.
25261         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25262         <bp-asm.h>.
25263         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25264         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25265         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25266         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25267         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25268         <bp-asm.h>.
25269         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25270         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
25271         about bounded pointers.
25272         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25273         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25274         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25275         <bp-asm.h>.
25276         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25277         about bounded pointers.  Remove GKM FIXME comments.
25278         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25279         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25280         <bp-asm.h>.
25281         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25282         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
25283         Remove GKM FIXME comments.
25284         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25285         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25286         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25287         <bp-asm.h>.
25288         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25289         about bounded pointers.  Remove GKM FIXME comment.
25290         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25291         and <bp-asm.h>.
25292         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25293         pointers.
25294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25295         <bp-sym.h> and <bp-asm.h>.
25296         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25298         <bp-sym.h> and <bp-asm.h>.
25299         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25300         comment.
25302 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25304         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25305         call free(NULL).
25307 2013-03-05  David S. Miller  <davem@davemloft.net>
25309         * po/es.po: Update from translation team.
25311 2013-03-05  Andreas Jaeger  <aj@suse.de>
25313         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25314         <bits/mman-linux.h>.
25315         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25316         is fine.
25317         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25318         <bits/mman-linux.h> to end of file.
25319         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25320         is fine.
25321         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25322         <bits/mman-linux.h> to end of file.
25323         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25324         is fine.
25325         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25326         <bits/mman-linux.h> to end of file.
25328         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25329         (MCL_CURRENT, MCL_FUTURE): Define here.
25331 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25333         [BZ #15232]
25334         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25335         attribute_hidden.
25336         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25338 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25340         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25341         fourth parameter needed for rt_sigprocmask syscall.
25342         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25343         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25344         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25345         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25346         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25347         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25349 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
25351         [BZ #13550]
25352         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25353         comment about bounded pointers.
25354         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25355         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25357 2013-03-04  Andreas Jaeger  <aj@suse.de>
25359         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25360         common definitions.
25362         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25363         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25364         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25365         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25366         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25367         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25369 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25371         [BZ #15055]
25372         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25373         __ieee754_sqrl instead of __sqrl.
25375 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
25377         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25378         * sysdeps/powerpc/fpu_control.h: ... here.
25379         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25380         * sysdeps/powerpc/bits/fenvinline.h: ... here.
25381         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25382         * sysdeps/powerpc/bits/mathinline.h: ... here.
25384 2013-03-01  Roland McGrath  <roland@hack.frob.com>
25386         * elf/dl-hwcaps.c (_dl_important_hwcaps):
25387         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25388         to just [NEED_DL_SYSINFO_DSO].
25389         * elf/dl-support.c: Likewise.
25390         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25391         * elf/rtld.c (dl_main): Likewise.
25392         * elf/setup-vdso.h (setup_vdso): Likewise.
25393         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25394         * sysdeps/unix/sysv/linux/dl-sysdep.c
25395         (_dl_discover_osversion): Likewise.
25397 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
25399         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25400         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25402 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25404         * NEWS: Mention libm performance improvements and non-x86 PI
25405         futex support.
25407         * csu/libc-start.c (__pthread_initialize_minimal): Change
25408         function arguments.
25409         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25411 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
25413         [BZ #13550]
25414         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25415         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25416         <bp-sym.h> and <bp-asm.h>.
25417         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25418         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25419         and <bp-asm.h>.
25420         (memcpy): Don't use BP_SYM.
25421         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25422         <bp-asm.h>.
25423         (__mpn_add_n): Don't use BP_SYM.
25424         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25425         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25426         and <bp-asm.h>.
25427         (__mpn_addmul_1): Don't use BP_SYM.
25428         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25429         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25430         <bp-sym.h>.
25431         (_setjmp): Don't use BP_SYM.
25432         (__novmx_setjmp): Likewise.
25433         (__GI__setjmp): Likewise.
25434         (__vmx_setjmp): Likewise.
25435         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25436         <bp-sym.h>.
25437         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25438         (__bzero): Don't use BP_SYM.
25439         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25440         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25441         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25442         <bp-sym.h> and <bp-asm.h>.
25443         (memcpy): Don't use BP_SYM.
25444         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25445         <bp-sym.h> and <bp-asm.h>.
25446         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25447         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25448         <bp-sym.h> and <bp-asm.h>.
25449         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25450         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25451         <bp-asm.h>.
25452         (__mpn_lshift): Don't use BP_SYM.
25453         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25454         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25455         <bp-asm.h>.
25456         (memset): Don't use BP_SYM.
25457         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25458         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25459         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25460         <bp-asm.h>.
25461         (__mpn_mul_1): Don't use BP_SYM.
25462         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25463         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25464         <bp-sym.h> and <bp-asm.h>.
25465         (memcmp): Don't use BP_SYM.
25466         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25467         <bp-sym.h> and <bp-asm.h>.
25468         (memcpy): Don't use BP_SYM.
25469         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25470         <bp-sym.h> and <bp-asm.h>.
25471         (memset): Don't use BP_SYM.
25472         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25473         <bp-sym.h> and <bp-asm.h>.
25474         (strncmp): Don't use BP_SYM.
25475         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25476         <bp-sym.h> and <bp-asm.h>.
25477         (memcpy): Don't use BP_SYM.
25478         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25479         <bp-sym.h> and <bp-asm.h>.
25480         (memset): Don't use BP_SYM.
25481         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25482         <bp-sym.h> and <bp-asm.h>.
25483         (__memchr): Don't use BP_SYM.
25484         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25485         <bp-sym.h> and <bp-asm.h>.
25486         (memcmp): Don't use BP_SYM.
25487         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25488         <bp-sym.h> and <bp-asm.h>.
25489         (memcpy): Don't use BP_SYM.
25490         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25491         <bp-sym.h> and <bp-asm.h>.
25492         (__mempcpy): Don't use BP_SYM.
25493         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25494         <bp-sym.h> and <bp-asm.h>.
25495         (__memrchr): Don't use BP_SYM.
25496         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25497         <bp-sym.h> and <bp-asm.h>.
25498         (memset): Don't use BP_SYM.
25499         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25500         <bp-sym.h> and <bp-asm.h>.
25501         (__rawmemchr): Don't use BP_SYM.
25502         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25503         <bp-sym.h> and <bp-asm.h>.
25504         (__STRCMP): Don't use BP_SYM.
25505         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25506         <bp-sym.h> and <bp-asm.h>.
25507         (strchr): Don't use BP_SYM.
25508         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25509         <bp-sym.h> and <bp-asm.h>.
25510         (__strchrnul): Don't use BP_SYM.
25511         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25512         <bp-sym.h> and <bp-asm.h>.
25513         (strlen): Don't use BP_SYM.
25514         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25515         <bp-sym.h> and <bp-asm.h>.
25516         (strncmp): Don't use BP_SYM.
25517         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25518         <bp-sym.h> and <bp-asm.h>.
25519         (__strnlen): Don't use BP_SYM.
25520         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25521         <bp-asm.h>.
25522         (__mpn_rshift): Don't use BP_SYM.
25523         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25524         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25525         <bp-sym.h> and <bp-asm.h>.
25526         (__sigsetjmp): Don't use BP_SYM.
25527         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25528         (L(start_addresses)): Don't use BP_SYM.
25529         (_start): Likewise.
25530         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25531         <bp-asm.h>.
25532         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25533         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25534         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25535         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25536         <bp-asm.h>.
25537         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25538         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25539         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25540         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25541         <bp-asm.h>.
25542         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25543         comments.
25544         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25545         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25546         <bp-asm.h>.
25547         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
25548         FIXME comments.
25549         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25550         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25551         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25552         <bp-asm.h>.
25553         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25554         comment.
25555         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25556         and <bp-asm.h>.
25557         (strncmp): Don't use BP_SYM,
25558         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25559         <bp-asm.h>.
25560         (__mpn_sub_n): Don't use BP_SYM.
25561         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25562         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25563         and <bp-asm.h>.
25564         (__mpn_submul_1): Don't use BP_SYM.
25565         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25567         <bp-sym.h> and <bp-asm.h>.
25568         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25570         <bp-sym.h> and <bp-asm.h>.
25571         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25572         comment.
25574 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25577         Use ZK to minimize writes to Z.
25578         (sub_magnitudes): Simplify code a bit.
25579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25580         Use ZK to minimize writes to Z.
25581         (sub_magnitudes): Simplify code a bit.
25583 2013-02-27  Roland McGrath  <roland@hack.frob.com>
25585         * csu/gmon-start.c: Add special exception to license text.
25587 2013-02-27  Richard Henderson  <rth@redhat.com>
25589         * scripts/config.guess: Update from config.git.
25590         * scripts/config.sub: Likewise.
25592 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25594         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25596         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25598         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25600         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25602         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25604 2013-02-26  Roland McGrath  <roland@hack.frob.com>
25606         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25607         [$(build-shared = yes].
25609 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25611         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25612         (__mul): Reduce iterations for calculating mantissa.
25614         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25615         MPTWO.
25616         (__mpranred): Likewise.
25618         [BZ #15160]
25619         * malloc/memusagestat.c (main): Draw graphs for heap and stack
25620         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25622 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
25624         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25625         Define __attribute__.
25627 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25629         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25630         unused.
25631         * posix/regex_internal.h (__attribute): Remove.
25632         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25633         (re_string_context_at): Likewise.
25634         (bitset_not): Use __attribute__ and mark function as possibly
25635         unused.
25636         (bitset_merge): Likewise.
25637         (bitset_mask): Likewise.
25638         (re_string_char_size_at): Likewise.
25639         (re_string_wchar_at): Likewise.
25640         (re_string_elem_size_at): Likewise.
25642 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25644         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25645         code.
25646         (cc32): Likewise.
25648         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25649         (__acr): Likewise.
25650         (__cpy): Likewise.
25651         (norm): Likewise.
25652         (denorm): Likewise.
25653         (__dbl_mp): Likewise.
25654         (add_magnitudes): Likewise.
25655         (sub_magnitudes): Likewise.
25656         (__mul): Likewise.
25657         (__inv): Likewise.
25659         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25660         style.
25662         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25663         style.
25665         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25666         code.
25668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25669         up changes with default code.
25670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25671         Likewise.
25673 2013-02-24  Allan McRae  <allan@archlinux.org>
25675         * manual/socket.texi (The Internet Namespace): Order menu items
25676         to match that in the file.
25678         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25679         node listing of the info page menu.
25681 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
25683         [BZ #13550]
25684         * sysdeps/i386/bp-asm.h: Remove file.
25685         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25686         (PARMS): Do not use macros from bp-asm.h.
25687         (S1): Likewise.
25688         (S2): Likewise.
25689         (SIZE): Likewise.
25690         (__mpn_add_n): Do not use BP_SYM
25691         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25692         "bp-asm.h".
25693         (PARMS): Do not use macros from bp-asm.h.
25694         (S1): Likewise.
25695         (SIZE): Likewise.
25696         (__mpn_addmul_1): Do not use BP_SYM
25697         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25698         "bp-asm.h".
25699         (PARMS): Do not use macros from bp-asm.h.
25700         (SIGMSK): Likewise.
25701         (_setjmp): Likewise.  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/fpu/s_frexp.S: Do not include "bp-sym.h" and
25708         "bp-asm.h".
25709         (PARMS): Do not use macros from bp-asm.h.
25710         (__frexp): Do not use BP_SYM.
25711         (frexp): Likewise.
25712         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25713         "bp-asm.h".
25714         (PARMS): Do not use macros from bp-asm.h.
25715         (__frexpf): Do not use BP_SYM.
25716         (frexpf): Likewise.
25717         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25718         "bp-asm.h".
25719         (PARMS): Do not use macros from bp-asm.h.
25720         (__frexpl): Do not use BP_SYM.
25721         (frexpl): Likewise.
25722         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25723         "bp-asm.h".
25724         (PARMS): Do not use macros from bp-asm.h.
25725         (__remquo): Do not use BP_SYM.
25726         (remquo): Likewise.
25727         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25728         "bp-asm.h".
25729         (PARMS): Do not use macros from bp-asm.h.
25730         (__remquof): Do not use BP_SYM.
25731         (remquof): Likewise.
25732         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25733         "bp-asm.h".
25734         (PARMS): Do not use macros from bp-asm.h.
25735         (__remquol): Do not use BP_SYM.
25736         (remquol): Likewise.
25737         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25738         "bp-asm.h".
25739         (PARMS): Do not use macros from bp-asm.h.
25740         (DEST): Likewise.
25741         (SRC): Likewise.
25742         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
25743         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25744         "bp-asm.h".
25745         (PARMS): Do not use macros from bp-asm.h.
25746         (strlen): Do not use BP_SYM.
25747         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25748         "bp-asm.h".
25749         (PARMS): Do not use macros from bp-asm.h.
25750         (S1): Likewise.
25751         (S2): Likewise.
25752         (SIZE): Likewise.
25753         (__mpn_add_n): Do not use BP_SYM.
25754         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25755         "bp-asm.h".
25756         (PARMS): Do not use macros from bp-asm.h.
25757         (S1): Likewise.
25758         (SIZE): Likewise.
25759         (__mpn_addmul_1): Do not use BP_SYM.
25760         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25761         weak_alias.
25762         (bzero): Likewise.
25763         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25764         "bp-asm.h".
25765         (PARMS): Do not use macros from bp-asm.h.
25766         (S): Likewise.
25767         (SIZE): Likewise.
25768         (__mpn_lshift): Do not use BP_SYM.
25769         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25770         "bp-asm.h".
25771         (PARMS): Do not use macros from bp-asm.h.
25772         (DEST): Likewise.
25773         (SRC): Likewise.
25774         (LEN): Likewise.
25775         (memcpy): Likewise.  Do not use BP_SYM.
25776         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25777         libc_hidden_def and weak_alias.
25778         (mempcpy): Do not use BP_SYM in weak_alias.
25779         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25780         "bp-asm.h".
25781         (PARMS): Do not use macros from bp-asm.h.
25782         (DEST): Likewise.
25783         (LEN): Likewise.
25784         [!BZERO_P] (CHR): Likewise.
25785         (memset): Likewise.  Do not use BP_SYM.
25786         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25787         "bp-asm.h".
25788         (PARMS): Do not use macros from bp-asm.h.
25789         (S1): Likewise.
25790         (SIZE): Likewise.
25791         (__mpn_mul_1): Do not use BP_SYM.
25792         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25793         "bp-asm.h".
25794         (PARMS): Do not use macros from bp-asm.h.
25795         (S): Likewise.
25796         (SIZE): Likewise.
25797         (__mpn_rshift): Do not use BP_SYM.
25798         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25799         "bp-asm.h".
25800         (PARMS): Do not use macros from bp-asm.h.
25801         (STR): Likewise.
25802         (CHR): Likewise.
25803         (strchr): Likewise.  Do not use BP_SYM.
25804         (index): Do not use BP_SYM in weak_alias.
25805         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25806         "bp-asm.h".
25807         (PARMS): Do not use macros from bp-asm.h.
25808         (DEST): Likewise.
25809         (SRC): Likewise.
25810         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
25811         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25812         "bp-asm.h".
25813         (PARMS): Do not use macros from bp-asm.h.
25814         (strlen): Do not use BP_SYM.
25815         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25816         "bp-asm.h".
25817         (PARMS): Do not use macros from bp-asm.h.
25818         (S1): Likewise.
25819         (S2): Likewise.
25820         (SIZE): Likewise.
25821         (__mpn_sub_n): Do not use BP_SYM.
25822         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25823         "bp-asm.h".
25824         (PARMS): Do not use macros from bp-asm.h.
25825         (S1): Likewise.
25826         (SIZE): Likewise.
25827         (__mpn_submul_1): Do not use BP_SYM.
25828         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25829         "bp-asm.h".
25830         (PARMS): Do not use macros from bp-asm.h.
25831         (S1): Likewise.
25832         (S2): Likewise.
25833         (SIZE): Likewise.
25834         (__mpn_add_n): Do not use BP_SYM.
25835         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25836         weak_alias.
25837         (bzero): Likewise.
25838         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25839         "bp-asm.h".
25840         (PARMS): Do not use macros from bp-asm.h.
25841         (BLK2): Likewise.
25842         (LEN): Likewise.
25843         (memcmp): Do not use BP_SYM.
25844         (bcmp): Do not use BP_SYM in weak_alias.
25845         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25846         "bp-asm.h".
25847         (PARMS): Do not use macros from bp-asm.h.
25848         (DEST): Likewise.
25849         (SRC): Likewise.
25850         (LEN): Likewise.
25851         (memcpy): Likewise.  Do not use BP_SYM.
25852         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25853         "bp-asm.h".
25854         (PARMS): Do not use macros from bp-asm.h.
25855         (DEST): Likewise.
25856         (SRC): Likewise.
25857         (LEN): Likewise.
25858         (memmove): Likewise.  Do not use BP_SYM.
25859         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25860         "bp-asm.h".
25861         (PARMS): Do not use macros from bp-asm.h.
25862         (DEST): Likewise.
25863         (SRC): Likewise.
25864         (LEN): Likewise.
25865         (__mempcpy): Likewise.  Do not use BP_SYM.
25866         (mempcpy): Do not use BP_SYM in weak_alias.
25867         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25868         "bp-asm.h".
25869         (PARMS): Do not use macros from bp-asm.h.
25870         (DEST): Likewise.
25871         (LEN): Likewise.
25872         [!BZERO_P] (CHR): Likewise.
25873         (memset): Likewise.  Do not use BP_SYM.
25874         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25875         "bp-asm.h".
25876         (PARMS): Do not use macros from bp-asm.h.
25877         (STR2): Likewise.
25878         (strcmp): Do not use BP_SYM.
25879         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25880         "bp-asm.h".
25881         (PARMS): Do not use macros from bp-asm.h.
25882         (STR): Likewise.
25883         (DELIM): Likewise.
25884         [USE_AS_STRTOK_R] (SAVE): Likewise.
25885         (FUNCTION): Likewise.  Do not use BP_SYM.
25886         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25887         aliases.
25888         (strtok_r): Likewise.
25889         (__GI___strtok_r): Likewise.
25890         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25891         (PARMS): Do not use macros from bp-asm.h.
25892         (S): Likewise.
25893         (SIZE): Likewise.
25894         (__mpn_lshift): Do not use BP_SYM.
25895         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25896         (PARMS): Do not use macros from bp-asm.h.
25897         (STR): Likewise.
25898         (CHR): Likewise.
25899         (__memchr): Do not use BP_SYM.
25900         (memchr): Do not use BP_SYM in weak_alias.
25901         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25902         (PARMS): Do not use macros from bp-asm.h.
25903         (BLK2): Likewise.
25904         (LEN): Likewise.
25905         (memcmp): Do not use BP_SYM.
25906         (bcmp): Do not use BP_SYM in weak_alias.
25907         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25908         (PARMS): Do not use macros from bp-asm.h.
25909         (S1): Likewise.
25910         (SIZE): Likewise.
25911         (__mpn_mul_1): Do not use BP_SYM.
25912         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25913         "bp-asm.h".
25914         (PARMS): Do not use macros from bp-asm.h.
25915         (STR): Likewise.
25916         (CHR): Likewise.
25917         (__rawmemchr): Do not use BP_SYM.
25918         (rawmemchr): Do not use BP_SYM in weak_alias.
25919         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25920         (PARMS): Do not use macros from bp-asm.h.
25921         (S): Likewise.
25922         (SIZE): Likewise.
25923         (__mpn_rshift): Do not use BP_SYM.
25924         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25925         (PARMS): Do not use macros from bp-asm.h.
25926         (SIGMSK): Likewise.
25927         (__sigsetjmp): Likewise.  Do not use BP_SYM.
25928         * sysdeps/i386/start.S: Do not include "bp-sym.h".
25929         (_start): Do not use BP_SYM.
25930         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25931         (PARMS): Do not use macros from bp-asm.h.
25932         (DEST): Likewise.
25933         (SRC): Likewise.
25934         (__stpcpy): Likewise.  Do not use BP_SYM.
25935         (stpcpy): Do not use BP_SYM in weak_alias.
25936         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25937         "bp-asm.h".
25938         (PARMS): Do not use macros from bp-asm.h.
25939         (DEST): Likewise.
25940         (SRC): Likewise.
25941         (LEN): Likewise.
25942         (__stpncpy): Likewise.  Do not use BP_SYM.
25943         (stpncpy): Do not use BP_SYM in weak_alias.
25944         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25945         (PARMS): Do not use macros from bp-asm.h.
25946         (STR): Likewise.
25947         (CHR): Likewise.
25948         (strchr): Likewise.  Do not use BP_SYM.
25949         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25950         "bp-asm.h".
25951         (PARMS): Do not use macros from bp-asm.h.
25952         (STR): Likewise.
25953         (CHR): Likewise.
25954         (__strchrnul): Likewise.  Do not use BP_SYM.
25955         (strchrnul): Do not use BP_SYM in weak_alias.
25956         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25957         "bp-asm.h".
25958         (PARMS): Do not use macros from bp-asm.h.
25959         (STOP): Likewise.
25960         (strcspn): Do not use BP_SYM.
25961         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25962         "bp-asm.h".
25963         (PARMS): Do not use macros from bp-asm.h.
25964         (STR): Likewise.
25965         (STOP): Likewise.
25966         (strpbrk): Likewise.  Do not use BP_SYM.
25967         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25968         "bp-asm.h".
25969         (PARMS): Do not use macros from bp-asm.h.
25970         (STR): Likewise.
25971         (CHR): Likewise.
25972         (strrchr): Likewise.  Do not use BP_SYM.
25973         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25974         (PARMS): Do not use macros from bp-asm.h.
25975         (SKIP): Likewise.
25976         (strspn): Do not use BP_SYM.
25977         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25978         (PARMS): Do not use macros from bp-asm.h.
25979         (STR): Likewise.
25980         (DELIM): Likewise.
25981         (SAVE): Likewise.
25982         (FUNCTION): Likewise.  Do not use BP_SYM.
25983         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25984         aliases.
25985         (strtok_r): Likewise.
25986         (__GI___strtok_r): Likewise.
25987         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25988         (PARMS): Do not use macros from bp-asm.h.
25989         (S1): Likewise.
25990         (S2): Likewise.
25991         (SIZE): Likewise.
25992         (__mpn_sub_n): Do not use BP_SYM.
25993         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25994         "bp-asm.h".
25995         (PARMS): Do not use macros from bp-asm.h.
25996         (S1): Likewise.
25997         (SIZE): Likewise.
25998         (__mpn_submul_1): Do not use BP_SYM.
25999         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26000         <bp-sym.h>.
26001         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26002         and <bp-asm.h>.
26003         (PARMS): Do not use macros from bp-asm.h.
26004         (FLAGS): Likewise.
26005         (PTID): Likewise.
26006         (TLS): Likewise.
26007         (CTID): Likewise.
26008         (__clone): Do not use BP_SYM.
26009         (clone): Do not use BP_SYM in weak_alias.
26010         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26011         and <bp-asm.h>.
26012         (PARMS): Do not use macros from bp-asm.h.
26013         (LEN): Likewise.
26014         (__mmap64): Do not use BP_SYM.
26015         (mmap64): Do not use BP_SYM in weak_alias.
26016         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26017         <bp-sym.h> and <bp-asm.h>.
26018         (PARMS): Do not use macros from bp-asm.h.
26019         (__posix_fadvise64_l64): Do not use BP_SYM.
26020         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26021         (PARMS): Do not use macros from bp-asm.h.
26022         (NSOPS): Likewise.
26023         (semtimedop): Do not use BP_SYM.
26024         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26025         and <bp-asm.h>.
26027 2013-02-21  Allan McRae  <allan@archlinux.org>
26029         * manual/message.texi (Charset conversion in gettext):
26030         Move @end statement to beginning of line.
26032 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26035         static.
26036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26037         Likewise.
26039         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26040         (denorm): Likewise.
26041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26044 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26046         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26047         tail-call to the resolved function if pltexit isn't needed.
26049 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26052         or Y being zero as being unlikely.
26053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26054         Likewise.
26056 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26058         * manual/nss.texi (System Databases and Name Service Switch):
26059         Remove frobnicate @pxref.
26061 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26063         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26064         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26066 2013-02-20  Petr Machata  <pmachata@redhat.com>
26068         * elf/elf.h (R_ARM_TARGET1): New macro.
26069         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26070         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26071         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26072         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26073         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26074         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26075         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26076         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26077         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26078         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26079         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26080         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26081         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26082         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26083         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26084         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26085         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26086         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26087         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26088         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26089         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26090         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26091         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26092         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26093         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26094         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26095         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26096         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26097         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26098         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26099         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26100         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26101         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26102         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26103         (R_ARM_THM_GOT_BREL12): Likewise.
26104         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26105         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26106         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26107         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26108         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26109         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26110         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26111         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26112         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26114 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26116         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26117         __attribute_used__ to __attribute__ ((unused)).
26119 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26121         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26122         powerpc mpa.c.
26123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26124         comment formatting.
26125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26127 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26129         [BZ #13550]
26130         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26131         Remove macro.
26132         (ENTER): Remove both macro definitions.
26133         (LEAVE): Likewise.
26134         (CHECK_BOUNDS_LOW): Likewise.
26135         (CHECK_BOUNDS_HIGH): Likewise.
26136         (CHECK_BOUNDS_BOTH): Likewise.
26137         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26138         (RETURN_BOUNDED_POINTER): Likewise.
26139         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26140         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26141         (POP_ERRNO_LOCATION_RETURN): Likewise.
26142         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26143         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26144         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26145         macros.
26146         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26147         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26148         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26149         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26150         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26151         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26152         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26153         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26154         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26155         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26156         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26157         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26158         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26159         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26160         removed macros.
26161         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26162         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26163         macros.
26164         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26165         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26166         * sysdeps/i386/i586/memset.S (memset): Likewise.
26167         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26168         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26169         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26170         macros.
26171         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26172         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26173         Change uses of L(2) to L(out).
26174         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26175         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26176         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26177         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26178         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26179         removed macros.
26180         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26181         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26182         macros.
26183         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26184         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26185         (RETURN): Do not use macro LEAVE.
26186         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26187         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26188         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26189         * sysdeps/i386/i686/memset.S (memset): Likewise.
26190         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26191         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26192         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26193         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26194         Likewise.
26195         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26196         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26197         L(1_2) and L(1_3) into L(1).
26198         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26199         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26200         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26201         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26202         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26203         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26204         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26205         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26206         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26207         macros.
26208         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26209         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26210         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26211         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26212         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26213         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26214         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26215         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26216         * sysdeps/i386/strcspn.S (strcspn): Likewise.
26217         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26218         * sysdeps/i386/strrchr.S (strrchr): Likewise.
26219         * sysdeps/i386/strspn.S (strspn): Likewise.
26220         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26221         conditional code.
26222         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26223         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26224         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26225         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
26226         L(1_3) into L(1_1).
26227         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26228         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26229         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26230         macros.
26231         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26233 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
26235         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26236         macro.
26238 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26240         * math/atest-exp.c (exp_mpn): Remove ROUND.
26241         * math/atest-exp2.c (exp_mpn): Likewise.
26242         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26244         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26245         * stdlib/tst-tls-atexit-lib.c: Likewise.
26246         * stdlib/tst-tls-atexit.c: Likewise.
26248 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26250         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26251         and __attribute_alloc_size__.
26253 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26255         * include/programs/xmalloc.h: Change __attribute_alloc_size to
26256         __attribute_alloc_size__.
26257         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26258         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26260 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26262         * include/programs/xmalloc.h: New file.
26263         * catgets/gencat.c: Include it.
26264         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26265         * elf/pldd.c: Likewise.
26266         * iconv/iconv_charmap.c: Likewise.
26267         * iconv/iconvconfig.c: Likewise.
26268         * iconv/strtab.c: Likewise.
26269         * locale/programs/locale.c: Likewise.
26270         * locale/programs/localedef.h: Likewise.
26271         * locale/programs/simple-hash.c: Likewise.
26272         * nscd/nscd.h: Likewise.
26273         * nss/makedb.c: Likewise.
26274         * sysdeps/generic/ldconfig.h: Likewise.
26276 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26278         * Versions.def: Add GLIBC_2.18.
26279         * include/link.h (struct link_map): New member l_tls_dtor_count.
26280         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26281         (__call_tls_dtors): Likewise.
26282         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26283         __cxa_thread_atexit_impl.
26284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26285         Likewise.
26286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26287         Likewise.
26288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26289         Likewise.
26290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26291         Likewise.
26292         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26294         Likewise.
26295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26296         Likewise.
26297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26299         Likewise.
26300         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26301         (tests): Add test case tst-tls-atexit.
26302         (modules-names): Add shared library for tst-tls-atexit.
26303         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26304         (GLIBC_PRIVATE): Add __call_tls_dtors.
26305         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26306         for libstdc++.
26307         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26308         * stdlib/tst-tls-atexit.c: New test case.
26309         * stdlib/tst-tls-atexit-lib.c: New test case.
26311         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26313         * elf/Versions (ld): Add _dl_find_dso_for_object.
26314         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26315         * elf/dl-open.c (_dl_find_dso_for_object): New function.
26316         (dl_open_worker): Use _dl_find_dso_for_object.
26317         * elf/dl-sym.c (do_sym): Likewise.
26318         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26320 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26322         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26323         Syntactic changes only.
26324         (_dl_runtime_profile): Do a tail-call to the resolved function.
26326 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
26328         [BZ #13550]
26329         * sysdeps/x86_64/bp-asm.h: Remove file.
26330         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26331         <bp-sym.h> and <bp-asm.h>.
26332         (__clone): Do not use BP_SYM.
26333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26334         <bp-sym.h> and <bp-asm.h>.
26335         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26336         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26337         "bp-asm.h".
26338         (_setjmp): Do not use BP_SYM.
26339         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26340         "bp-asm.h".
26341         (setjmp): Do not use BP_SYM.
26342         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26343         libc_hidden_def.
26344         (mempcpy): Do not use BP_SYM in weak_alias.
26345         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26346         "bp-asm.h".
26347         (strchr): Do not use BP_SYM.
26348         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26349         "bp-asm.h".
26350         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26351         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26352         (_start): Do not use BP_SYM.
26353         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26354         "bp-asm.h".
26355         (strcat): Do not use BP_SYM.
26356         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26357         "bp-asm.h".
26358         (STRCMP): Do not use BP_SYM.
26359         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26360         "bp-asm.h".
26361         (STRCPY): Do not use BP_SYM.
26362         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26363         "bp-asm.h".
26364         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26365         "bp-asm.h".
26366         (FUNCTION): Do not use BP_SYM.
26367         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26368         weak_alias.
26369         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26371 2013-02-17  Andreas Jaeger  <aj@suse.de>
26373         * time/Versions: Sort entries.
26374         * string/Versions: Likewise.
26375         * resolv/Versions: Likewise.
26376         * posix/Versions: Likewise.
26377         * iconv/Versions: Likewise.
26378         * elf/Versions: Likewise.
26379         * wcsmbs/Versions: Likewise.
26381 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26383         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26384         loop termination condition.
26386         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26387         variable to calculate EZ.
26388         (__sqr): Likewise.
26390         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26391         the lower precision input.
26393 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
26395         [BZ #13550]
26396         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26397         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26398         (run-via-rtld-prefix): Do not handle %-bp tests.
26399         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26400         (all-object-suffixes): Remove .ob.
26401         (bppfx): Remove variable.
26402         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26403         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26404         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26405         [$(build-bounded) = yes] (libtype.ob): Likewise.
26406         * Makerules (elide-routines.ob): Remove variable.
26407         (do-tests-clean): Do not handle *-bp.out.
26408         (common-mostlyclean): Do not handle *-bp and *-bp.out.
26409         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26410         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26411         (tests): Do not include $(tests-bp.out).
26412         (xtests): Do not include $(xtests-bp.out).
26413         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26414         [$(build-bounded) = yes] ($(addprefix
26415         $(objpfx),$(binaries-bounded))): Remove rule.
26416         ($(objpfx)%-bp.out): Remove rule.
26417         * config.make.in (build-bounded): Remove variable.
26418         * crypt/Makefile [$(build-bounded) = yes]
26419         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26420         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26421         append to variable.
26422         [$(build-bounded) = yes] (install-lib): Likewise.
26423         [$(build-bounded) = yes] (generated): Likewise.
26424         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26425         Remove rule.
26426         * intl/Makefile [$(build-bounded) = yes]
26427         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26428         * math/Makefile [$(build-bounded) = yes]
26429         ($(tests:%=$(objpfx)%-bp): Likewise.
26430         * misc/Makefile [$(build-bounded) = yes]
26431         ($(objpfx)tst-tsearch-bp): Likewise.
26432         * nptl/Makeconfig (bounded-thread-library): Remove variable.
26433         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26434         Remove dependency.
26435         * string/Makefile (o-objects.ob): Remove variable.
26436         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26437         (CFLAGS-.ob): Remove variable.
26438         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26439         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26440         both definitions of variable.
26441         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26442         (ASFLAGS-.ob): Remove variable.
26444 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
26446         [BZ #13550]
26447         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26448         Remove __BOUNDED_POINTERS__ from condition.
26449         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26450         * string/bits/string2.h [!__NO_STRING_INLINES &&
26451         !__BOUNDED_POINTERS__]: Likewise.
26452         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26453         Likewise.
26454         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26455         Remove conditional code.
26456         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26457         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26458         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26459         condition.
26461         [BZ #13550]
26462         * csu/libc-start.c: Do not include <bp-sym.h>.
26463         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26464         * elf/dl-open.c: Do not include <bp-sym.h>.
26465         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26466         * math/fegetenv.c: Do not include <bp-sym.h>.
26467         (fegetenv): Do not use BP_SYM in versioned symbols.
26468         * nptl/sysdeps/pthread/bits/libc-lockP.h
26469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26470         <bp-sym.h>.
26471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26472         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26474         (__pthread_mutex_destroy): Likewise.
26475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26476         (__pthread_mutex_lock): Likewise.
26477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26478         (__pthread_mutex_trylock): Likewise.
26479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26480         (__pthread_mutex_unlock): Likewise.
26481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26482         (__pthread_mutexattr_init): Likewise.
26483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26484         (__pthread_mutexattr_destroy): Likewise.
26485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26486         (__pthread_mutexattr_settype): Likewise.
26487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26488         (__pthread_rwlock_init): Likewise.
26489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26490         (__pthread_rwlock_destroy): Likewise.
26491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26492         (__pthread_rwlock_rdlock): Likewise.
26493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26494         (__pthread_rwlock_tryrdlock): Likewise.
26495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26496         (__pthread_rwlock_wrlock): Likewise.
26497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26498         (__pthread_rwlock_trywrlock): Likewise.
26499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26500         (__pthread_rwlock_unlock): Likewise.
26501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26502         (__pthread_key_create): Likewise.
26503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26504         (__pthread_setspecific): Likewise.
26505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26506         (__pthread_getspecific): Likewise.
26507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26508         Likewise.
26509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26510         (_pthread_cleanup_push_defer): Likewise.
26511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26512         (_pthread_cleanup_pop_restore): Likewise.
26513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26514         (pthread_setcancelstate): Likewise.
26515         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26516         <bp-sym.h>.
26517         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26518         (memchr): Do not use BP_SYM in weak_alias.
26519         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26520         (fegetenv): Do not use BP_SYM in versioned symbols.
26521         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26522         (fesetenv): Do not use BP_SYM in versioned symbols.
26523         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26524         (feupdateenv): Do not use BP_SYM in versioned symbols.
26525         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26526         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26527         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26528         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26529         (open64): Do not use BP_SYM in weak_alias.
26530         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26531         (fegetenv): Do not use BP_SYM in versioned symbols.
26532         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26533         (fesetenv): Do not use BP_SYM in versioned symbols.
26534         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26535         (feupdateenv): Do not use BP_SYM in versioned symbols.
26536         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26537         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26538         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26539         (feraiseexcept): Do not use BP_SYM in versioned symbols.
26540         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26541         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26542         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26543         <bp-sym.h>.
26544         (__libc_start_main): Do not use BP_SYM.
26546 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26549         redundant return line.
26550         (norm): Likewise.
26551         (denorm): Likewise.
26552         (dbl_mp): Likewise.
26553         (sub_magnitudes): Likewise.
26554         (__add): Likewise.
26555         (__sub): Likewise.
26556         (__mul): Likewise.
26557         (__inv): Likewise.
26558         (__dvd): Likewise.
26559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26560         (norm): Likewise.
26561         (denorm): Likewise.
26562         (dbl_mp): Likewise.
26563         (sub_magnitudes): Likewise.
26564         (__add): Likewise.
26565         (__sub): Likewise.
26566         (__mul): Likewise.
26567         (__inv): Likewise.
26568         (__dvd): Likewise.
26570         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26571         instead of __mul.
26572         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26573         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26574         (cc32): Likewise.
26576         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26577         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26578         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26579         of __mul for squares.
26580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26581         function
26582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26583         Likewise.
26584         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26585         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26587 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
26589         [BZ #13550]
26590         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26591         code.
26592         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26593         prototype or function definition.  Rename ubp_* variables and
26594         parameters.  Remove argv definitions conditional on
26595         [__BOUNDED_POINTERS__].
26596         * debug/backtrace.c (__backtrace): Do not use __unbounded.
26597         * elf/dl-runtime.c (_dl_fixup): Likewise.
26598         * include/set-hooks.h (RUN_HOOK): Likewise.
26599         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26600         definition.
26601         * string/strcpy.c (strcpy): Do not use __unbounded.
26602         * sysdeps/generic/frame.h (struct layout): Likewise.
26603         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26604         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26605         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26606         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26607         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26608         (__backtrace): Likewise.
26609         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26610         use __ptrvalue.
26611         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26612         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26613         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26614         Likewise.
26615         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26616         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26617         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26618         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26619         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26620         Do not use __unbounded.
26621         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26622         Rename __unboundedrlimits parameter to rlimits in prototype.
26623         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26624         Do not use __unbounded.
26625         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26626         not use __ptrvalue.
26627         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26628         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26629         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26630         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26631         __ptrvalue or __unbounded.
26632         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26633         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26634         use __unbounded.
26635         (__new_msgctl): Do not use __ptrvalue.
26636         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26637         __unbounded.
26638         (__libc_msgrcv): Do not use __ptrvalue.
26639         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26640         startup_info): Do not use __unbounded.
26641         (__libc_start_main): Likewise.  Rename ubp_* variables and
26642         parameters.  Remove argv definitions conditional on
26643         [__BOUNDED_POINTERS__].
26644         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26645         __ptrvalue.
26646         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26647         use __unbounded.
26648         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26649         or __ptrvalue.
26650         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26651         use __unbounded.
26652         (__new_shmctl): Do not use __ptrvalue.
26653         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26654         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26655         Likewise.
26656         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26657         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26658         (__libc_sigaction): Likewise.
26659         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26660         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26661         Likewise.
26662         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26664 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
26666         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26668         * string/mempcpy.c: Implement by calling memcpy.
26670 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26674         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26675         evaluation.
26677         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26678         values in the mantissa.
26680         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26681         minimize writes to Z.
26682         (sub_magnitudes): Simplify code a bit.
26684 2013-02-12  Roland McGrath  <roland@hack.frob.com>
26686         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26687         from the message.  The linker prefixes all warnings with that already.
26689 2013-02-12  Andreas Schwab  <schwab@suse.de>
26691         [BZ #15078]
26692         * posix/regexec.c (extend_buffers): Add parameter min_len.
26693         (check_matching): Pass minimum needed length.
26694         (clean_state_log_if_needed): Likewise.
26695         (get_subexp): Likewise.
26696         * posix/Makefile (tests): Add bug-regex34.
26697         (bug-regex34-ENV): Define.
26698         * posix/bug-regex34.c: New file.
26700         [BZ #11561]
26701         * posix/regcomp.c (parse_bracket_exp): When looking up collating
26702         elements compare against the byte sequence of it, not its name.
26703         * posix/Makefile (tests): Add bug-regex35.
26704         (bug-regex35-ENV): Define.
26705         * posix/bug-regex35.c: New file.
26707 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26709         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
26710         comment.
26711         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26712         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26713         (CHECK_EOL): Add undef.
26715 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
26717         * bits/stdlib-bsearch.h: New file.
26718         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26719         * stdlib/stdlib.h: Likewise.
26721 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26723         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26724         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26725         declaration.
26726         * manual/search.texi (Array Search Function): Add missing const in
26727         lfind prototype.
26728         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26729         declaration to use rlim_t.
26730         (Basic Scheduling Functions): Remove erroneous const from
26731         sched_getparam prototype.  Remove erroneous * from
26732         sched_get_priority_max and sched_get_priority_min prototypes.
26733         (Resource Usage): Fix summary @comment on vtimes to refer to
26734         sys/vtimes.h rather than vtimes.h.
26735         Add missing *s in vtimes prototype.
26736         (Limits on Resources): Fix ulimit prototype to return long int.
26737         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26738         prototypes to use long int rather than double.
26739         (BSD Random): Fix initstate and setstate to use char *, not void *.
26740         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26741         prototype to make second argument 'struct aiocb64 *const[]'.
26742         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26743         (Status of AIO Operations): Remove erroneous const in aio_return and
26744         aio_return64 prototypes.
26745         (Synchronizing I/O): Fix sync prototype to return void.
26746         * manual/startup.texi (Suboptions): Remove an erroneous const in
26747         getsubopt prototype.
26748         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26749         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26750         use size_t rather than int.
26751         (Scanning All Users): Likewise for getpwent_r.
26752         (Setting Groups): Add missing const to setgroups prototype.
26753         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26754         * manual/socket.texi (Host Names): Fix gethostbyaddr and
26755         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26756         'const void *' rather than 'const char *'.
26757         (Host Address Functions): Likewise for inet_ntop.
26758         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26759         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26760         ssize_t for return value.
26761         (Sending Data): Likewise for send, sendto, sendmsg.
26762         (Socket Option Functions): Add a missing const in setsockopt prototype.
26763         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26764         use wchar_t for the argument.
26765         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26766         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26767         take no arguments.
26768         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26769         double/float/long double for second argument.
26770         Fix return types of significand, significandf, significandl.
26771         * manual/filesys.texi (Setting Permissions): Use mode_t for second
26772         argument in fchmod prototype.
26773         (File Owner): Use uid_t and gid_t in fchown prototype.
26774         (File Times): Add const to utimes, futimes, and lutimes prototypes.
26775         (Making Special Files): Use mode_t and dev_t in mknod prototype.
26776         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26777         use 'const struct dirent **' as argument types to CMP function pointer
26778         argument.
26779         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26780         (File Times): Fix summary magic @comment for struct utimbuf and utime
26781         to refer to utime.h, not time.h.
26782         * manual/string.texi (Argz Functions): Add missing const in
26783         argz_extract and argz_next prototypes.
26784         (Finding Tokens in a String): Likewise for basename.
26785         (String/Array Comparison): Fix typo in wcscasecmp prototype.
26786         (Copying and Concatenation): Fix typo in wmemmove prototype.
26787         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26788         (Signal Stack): Remove erroneous const in sigstack prototype.
26789         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26790         prototype.
26791         (Simple Calendar Time): Likewise for stime.
26792         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26793         prototype.
26794         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26795         say sys/sysctl.h instead.
26796         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26797         and vsyslog prototypes.
26799 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26801         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26802         Remove.
26804 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26806         * misc/sys/mman.h: Fix typo in mremap comment.
26808 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26810         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26811         the '\0' terminator.
26813 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26815         [BZ #13550]
26816         * debug/segfault.c: Don't include <bp-checks.h>.
26817         * sysdeps/generic/bp-checks.h: Remove file.
26818         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26819         (__GETDENTS): Don't use CHECK_N.
26820         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26821         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26822         (__getgroups): Don't use CHECK_N.
26823         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26824         (setgroups): Don't use CHECK_N.
26825         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26826         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26827         (__libc_msgrcv): Don't use CHECK_N.
26828         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26829         (__libc_msgsnd): Don't use CHECK_N.
26830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26831         <bp-checks.h>.
26832         (__libc_pread): Don't use CHECK_N.
26833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26834         include <bp-checks.h>.
26835         (__libc_pread64): Don't use CHECK_N.
26836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26837         include <bp-checks.h>.
26838         (__libc_pwrite): Don't use CHECK_N.
26839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26840         include <bp-checks.h>.
26841         (__libc_pwrite64): Don't use CHECK_N.
26842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26843         <bp-checks.h>.
26844         (__libc_pread): Don't use CHECK_N.
26845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26846         include <bp-checks.h>.
26847         (__libc_pread64): Don't use CHECK_N.
26848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26849         include <bp-checks.h>.
26850         (__libc_pwrite): Don't use CHECK_N.
26851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26852         include <bp-checks.h>.
26853         (__libc_pwrite64): Don't use CHECK_N.
26854         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26855         (do_pread): Don't use CHECK_N.
26856         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26857         (do_pread64): Don't use CHECK_N.
26858         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26859         (do_pwrite): Don't use CHECK_N.
26860         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26861         (do_pwrite64): Don't use CHECK_N.
26862         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26863         (__libc_readv): Don't use CHECK_N.
26864         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26865         (semop): Don't use CHECK_N.
26866         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26867         <bp-checks.h>.
26868         (semtimedop): Don't use CHECK_N.
26869         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26870         (__libc_pread): Don't use CHECK_N.
26871         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26872         <bp-checks.h>.
26873         (__libc_pread64): Don't use CHECK_N.
26874         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26875         <bp-checks.h>.
26876         (__libc_pwrite): Don't use CHECK_N.
26877         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26878         <bp-checks.h>.
26879         (__libc_pwrite64): Don't use CHECK_N.
26880         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26881         <bp-checks.h>.
26882         (__libc_msgrcv): Don't use CHECK_N.
26883         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26884         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
26885         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26886         (__libc_writev): Don't use CHECK_N.
26888 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26890         * string/strcpy.c: Removed unused variable.
26892         * Makeconfig (+sysdep-includes): Define with := rather than =.
26893         Use an existing include/ subdir of each sysdeps dir before it.
26895 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26897         * nscd/connection.c (register_traced_file): Comment function.
26898         [HAVE_INOTIFY] (union __inev): Define.
26899         [HAVE_INOTIFY] (inotify_check_files): New function.
26900         [HAVE_INOTIFY] (clear_db_cache): Likewise.
26901         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26902         clear_db_cache.
26903         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26905 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26907         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26908         loaded if not already and that a failure is permanent.
26910 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26912         [BZ #15006]
26913         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26914         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26916 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26918         [BZ #13550]
26919         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26920         (CHECK_1_NULL_OK): Likewise.
26921         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26922         (__fxstat): Do not use CHECK_1.
26923         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26924         <bp-checks.h>.
26925         (___fxstat64): Do not use CHECK_1.
26926         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26927         <bp-checks.h>.
26928         (__fxstatat): Do not use CHECK_1.
26929         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26930         <bp-checks.h>.
26931         (__fxstatat64): Do not use CHECK_1.
26932         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26933         <bp-checks.h>.
26934         (__fxstat): Do not use CHECK_1.
26935         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26936         <bp-checks.h>.
26937         (__fxstatat): Do not use CHECK_1.
26938         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26939         <bp-checks.h>.
26940         (__getresgid): Do not use CHECK_1.
26941         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26942         <bp-checks.h>.
26943         (__getresuid): Do not use CHECK_1.
26944         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26945         <bp-checks.h>.
26946         (__lxstat): Do not use CHECK_1.
26947         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26948         <bp-checks.h>.
26949         (__old_msgctl): Do not use CHECK_1.
26950         (__new_msgctl): Likewise.
26951         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26952         <bp-checks.h>.
26953         (__new_setrlimit): Do not use CHECK_1.
26954         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26955         <bp-checks.h>.
26956         (__old_shmctl): Do not use CHECK_1.
26957         (__new_shmctl): Likewise.
26958         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26959         <bp-checks.h>.
26960         (__xstat): Do not use CHECK_1.
26961         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26962         (__lxstat): Do not use CHECK_1.
26963         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26964         <bp-checks.h>.
26965         (___lxstat64): Do not use CHECK_1.
26966         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26967         (__old_msgctl): Do not use CHECK_1.
26968         (__new_msgctl): Likewise.
26969         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26970         <bp-checks.h>.
26971         (__gettimeofday): Do not use CHECK_1.
26972         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26973         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26974         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26975         <bp-checks.h>.
26976         (__gettimeofday): Do not use CHECK_1.
26977         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26978         (__old_shmctl): Do not use CHECK_1_NULL_OK.
26979         (__new_shmctl): Do not use CHECK_1.
26980         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26981         <bp-checks.h>.
26982         (do_sigtimedwait): Do not use CHECK_1.
26983         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26984         <bp-checks.h>.
26985         (do_sigwaitinfo): Do not use CHECK_1.
26986         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26987         <bp-checks.h>.
26988         (msgctl): Do not use CHECK_1.
26989         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26990         <bp-checks.h>.
26991         (shmctl): Do not use CHECK_1.
26992         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26993         (ustat): Do not use CHECK_1.
26994         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26995         <bp-checks.h>.
26996         (__fxstat): Do not use CHECK_1.
26997         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26998         <bp-checks.h>.
26999         (__fxstatat): Do not use CHECK_1.
27000         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27001         <bp-checks.h>.
27002         (__lxstat): Do not use CHECK_1.
27003         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27004         <bp-checks.h>.
27005         (__xstat): Do not use CHECK_1.
27006         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27007         (__xstat): Do not use CHECK_1.
27008         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27009         (___xstat64): Do not use CHECK_1.
27011         [BZ #13550]
27012         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27013         definitions.
27014         (CHECK_BOUNDS_HIGH): Likewise.
27015         * string/strcpy.c: Do not include <bp-checks.h>.
27016         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27018 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27020         * nscd/nscd-client.h (__nscd_drop_map_ref):
27021         Add __attribute__ ((unused)).
27022         * nis/nss-nisplus.h (niserr2nss): Likewise.
27024         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27025         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27027         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27028         Remove inline keyword.
27029         * include/rounding-mode.h (round_away): Likewise.
27030         * libio/wfileops.c (adjust_wide_data): Likewise.
27031         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27032         (__m128i_strloadu_tolower): Likewise.
27033         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27034         (__m128i_strloadu_tolower): Likewise.
27035         * time/mktime.c (ydhms_diff): Likewise.
27036         * locale/elem-hash.h (elem_hash): Likewise.
27037         * locale/setlocale.c (setdata): Likewise.
27038         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27039         (re_string_wchar_at): Likewise.
27040         (bitset_not, bitset_merge, bitset_mask): Likewise.
27041         [!(__GNUC__ > 3)] (inline): Remove macro.
27042         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27043         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27044         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27045         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27046         * string/memcmp.c (memcmp_bytes): Likewise.
27047         * locale/programs/locarchive.c (compute_hashval): Likewise.
27048         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27049         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27050         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27051         * nss/getent.c (print_rpc, print_protocols): Likewise.
27052         (print_passwd, print_group, print_aliases): Likewise.
27053         * nis/nss-nisplus.h (niserr2nss): Likewise.
27054         * nscd/connections.c (restart_p): Likewise.
27055         Change return type to bool.
27057 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27059         * Makeconfig (all-Depend-files): Add existing
27060         $(sorted-subdirs:=/Depend) files.
27061         (all-subdirs): Remove nss.
27062         * sysdeps/unix/inet/Subdirs: Add it here instead.
27063         * hesiod/Depend: New file.
27065         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27066         instead of calling alloca.
27068         * io/lseek.c (__lseek): Rename to __libc_lseek.
27069         Define __lseek as an alias.
27071         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27073 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27075         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27076         else clause and remove check for non-standard endianness.
27078 2013-02-04  David S. Miller  <davem@davemloft.net>
27080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27082 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27084         [BZ #13550]
27085         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27086         (__ubp_memchr): Remove prototype.
27087         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27088         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27089         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27090         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27091         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27092         Remove alias.
27093         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27094         (__ubp_memchr): Likewise.
27095         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27096         (__ubp_memchr): Likewise.
27097         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27098         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27099         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27100         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27101         CHECK_STRING.
27102         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27103         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27104         (__getcwd): Do not use CHECK_STRING.
27105         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27106         <bp-checks.h>.
27107         (__real_chown): Do not use CHECK_STRING.
27108         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27109         <bp-checks.h>.
27110         (fchownat): Do not use CHECK_STRING.
27111         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27112         CHECK_STRING.
27113         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27114         <bp-checks.h>.
27115         (__lchown): Do not use CHECK_STRING.
27116         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27117         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27118         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27119         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27121         include <bp-checks.h>.
27122         (truncate64): Do not use CHECK_STRING.
27123         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27124         <bp-checks.h>.
27125         (__real_chown): Do not use CHECK_STRING.
27126         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27127         <bp-checks.h>.
27128         (__lchown): Do not use CHECK_STRING.
27129         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27130         <bp-checks.h>.
27131         (__chown): Do not use CHECK_STRING.
27132         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27133         <bp-checks.h>.
27134         (truncate64): Do not use CHECK_STRING.
27135         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27136         Likewise.
27137         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27138         (__xmknod): Do not use CHECK_STRING.
27139         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27140         <bp-checks.h>.
27141         (__xmknodat): Do not use CHECK_STRING.
27142         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27143         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27145 2013-02-04  Andreas Schwab  <schwab@suse.de>
27147         [BZ #14142]
27148         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27149         * include/netdb.h: Likewise for h_errno.
27150         * elf/tst-stackguard1.c: Include <tls.h>.
27152 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27154         * elf/link.h (struct link_map): Extend the l_addr comment.
27155         * include/link.h (struct link_map): Likewise.
27157 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27159         [BZ #13550]
27160         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27161         (BOUNDED_1): Remove macro.
27162         * debug/backtrace.c: Don't include <bp-checks.h>.
27163         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27164         (__backtrace): Likewise.
27165         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27166         <bp-checks.h>.
27167         (__backtrace): Don't use BOUNDED_1.
27168         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27169         <bp-checks.h>.
27170         (__backtrace): Don't use BOUNDED_1.
27171         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27172         (__backtrace): Don't use BOUNDED_1.
27173         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27174         (shmat): Don't use BOUNDED_N.
27176 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27178         [BZ #13550]
27179         * sysdeps/generic/bp-start.h: Remove file.
27180         * csu/libc-start.c: Don't include <bp-start.h>.
27181         (LIBC_START_MAIN): Set up __environ directly instead of using
27182         INIT_ARGV_and_ENVIRON.
27183         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27184         <bp-start.h>.
27186         [BZ #13550]
27187         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27188         definitions.
27189         (CHECK_FCNTL): Likewise.
27190         (CHECK_N_PAGES): Likewise.
27192         [BZ #13550]
27193         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27194         definitions.
27195         (CHECK_SIGSET_NULL_OK): Likewise.
27196         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27197         <bp-checks.h>.
27198         (sigpending): Don't use CHECK_SIGSET.
27199         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27200         <bp-checks.h>.
27201         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27202         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27203         <bp-checks.h>.
27204         (do_sigsuspend): Don't use CHECK_SIGSET.
27205         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27206         use CHECK_SIGSET.
27207         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27208         (do_sigwait): Don't use CHECK_SIGSET.
27209         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27210         use CHECK_SIGSET.
27211         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27212         include <bp-checks.h>.
27213         (sigpending): Don't use CHECK_SIGSET.
27214         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27215         include <bp-checks.h>.
27216         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27217         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27218         <bp-checks.h>.
27219         (sigpending): Don't use CHECK_SIGSET.
27220         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27221         <bp-checks.h>.
27222         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27224         [BZ #13550]
27225         * sysdeps/generic/bp-semctl.h: Remove file.
27226         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27227         <bp-checks.h> and <bp-semctl.h>.
27228         (__old_semctl): Don't use CHECK_SEMCTL.
27229         (__new_semctl): Likewise.
27230         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27231         and <bp-semctl.h>.
27232         (__old_semctl): Don't use CHECK_SEMCTL.
27233         (__new_semctl): Likewise.
27234         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27235         <bp-checks.h> and <bp-semctl.h>.
27236         (__old_semctl): Don't use CHECK_SEMCTL.
27237         (__new_semctl): Likewise.
27238         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27239         <bp-checks.h> and <bp-semctl.h>.
27240         (semctl): Don't use CHECK_SEMCTL.
27242         [BZ #13550]
27243         * Makerules (elide-bp-thunks): Remove variable.
27244         (elide-routines.oS): Don't use $(elide-bp-thunks).
27245         (elide-routines.os): Likewise.
27246         (elide-routines.o): Likewise.
27247         (elide-routines.op): Likewise.
27248         (elide-routines.og): Likewise.
27249         (objects): Don't use $(bp-thunks).
27250         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27251         include.
27252         (common-generated): Do not add s-proto-bp.d.
27253         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27254         (int): Likewise.
27255         (typ): Likewise.
27256         Do not generate makefile rules for bounded-pointer thunks.
27257         * sysdeps/generic/bp-thunks.h: Remove file.
27258         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27259         * sysdeps/unix/s-proto-bp.S: Likewise.
27261         [BZ #15062]
27262         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27263         parts of result separately when argument is not close to line from
27264         -i to i and one part of argument is small.
27265         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27266         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27267         * math/libm-test.inc (cacos_test): Add more tests.
27268         (casin_test): Likewise.
27269         (casinh_test): Likewise.
27270         * sysdeps/i386/fpu/libm-test-ulps: Update.
27271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27273 2013-01-31  David S. Miller  <davem@davemloft.net>
27275         * po/de.po: Update from translation team.
27277 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
27279         * time/tzfile.c: Include stdint.h for SIZE_MAX.
27281 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
27283         * configure.in (_AC_PROG_CC_C89): New definition.
27284         * configure: Regenerate.
27286         * configure.in (AC_PROG_CPP): New definition.
27287         * configure: Regenerate.
27289 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27291         * debug/tst-backtrace.h: New file.
27292         * debug/tst-backtrace2.c: Include tst-backtrace.h.
27293         (ret): Remove variable.
27294         (x): Likewise.
27295         (FAIL): Remove macro.
27296         (NO_INLINE): Likewise.
27297         (fn1): Use match function instead of strstr.
27298         * debug/tst-backtrace3.c: Include tst-backtrace.h.
27299         (ret): Remove variable.
27300         (x): Likewise.
27301         (FAIL): Remove macro.
27302         (NO_INLINE): Likewise.
27303         (fn): Use match function instead of strstr.
27304         * debug/tst-backtrace4.c: Include tst-backtrace.h.
27305         (ret): Remove variable.
27306         (x): Likewise.
27307         (FAIL): Remove macro.
27308         (NO_INLINE): Likewise.
27309         (handle_signal): Use match function instead of strstr.
27310         * debug/tst-backtrace5.c: Include tst-backtrace.h.
27311         (ret): Remove variable.
27312         (x): Likewise.
27313         (FAIL): Remove macro.
27314         (NO_INLINE): Likewise.
27315         (handle_signal): Use match function instead of strstr.
27317 2013-01-23  Roland McGrath  <roland@hack.frob.com>
27319         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27321 2013-01-23  David S. Miller  <davem@davemloft.net>
27323         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27324         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27325         argument of CAS if possible.
27326         * sysdeps/sparc/sparc64/bits/atomic.h
27327         (__arch_compare_and_exchange_val_32_acq): Likewise.
27328         (__arch_compare_and_exchange_val_64_acq): Likewise.
27330 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
27332         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27333         * sysdeps/posix/ulimit.c: ... this.
27334         Include <limits.h>.
27335         * sysdeps/unix/bsd/ulimit.c: Remove file.
27337 2013-01-23  Adam Conrad  <adconrad@0c3.net>
27339         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27340         (LDFLAGS-tst-array5): Likewise.
27342 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27344         [BZ #15036]
27345         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27346         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27347         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27348         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27350 2013-01-21  David S. Miller  <davem@davemloft.net>
27352         * sysdeps/sparc/backtrace.c: New file.
27353         * sysdeps/sparc/sparc32/backtrace.h: New file.
27354         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27355         * sysdeps/sparc/sparc64/backtrace.h: New file.
27356         * sysdeps/sparc/sparc64/backtrace.c: Delete.
27357         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27358         -funwind-tables.
27360 2013-01-21  Andreas Schwab  <schwab@suse.de>
27362         [BZ #15020]
27363         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27364         closed its stdout.
27366 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
27368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27369         "mpa2.h".
27370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27372 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
27373             Mark Mitchell  <mark@codesourcery.com>
27374             Tom de Vries  <tom@codesourcery.com>
27375             Paul Pluzhnikov  <ppluzhnikov@google.com>
27377         * debug/tst-backtrace2.c: New file.
27378         * debug/tst-backtrace3.c: Likewise.
27379         * debug/tst-backtrace4.c: Likewise.
27380         * debug/tst-backtrace5.c: Likewise.
27381         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27382         (CFLAGS-tst-backtrace3.c): Likewise.
27383         (CFLAGS-tst-backtrace4.c): Likewise.
27384         (CFLAGS-tst-backtrace5.c): Likewise.
27385         (LDFLAGS-tst-backtrace2): Likewise.
27386         (LDFLAGS-tst-backtrace3): Likewise.
27387         (LDFLAGS-tst-backtrace4): Likewise.
27388         (LDFLAGS-tst-backtrace5): Likewise.
27389         (tests): Add new tests tst-backtrace2, tst-backtrace3,
27390         tst-backtrace4 and tst-backtrace5.
27392 2013-01-18  Anton Blanchard  <anton@samba.org>
27393             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27395         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27396         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27397         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27398         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27400         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27401         "+r" and remove output regs list as redundant.  Add explicit inline
27402         asm to specify register of return val to work around compiler codegen
27403         bug.  Remove (int) cast on return value.  Add return type parameter to
27404         use in macro so that this macro does not truncate return value for
27405         64-bit values.
27406         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27407         pass to INTERNAL_VSYSCALL_NCS.
27408         (INLINE_VSYSCALL): Add 'long int' as return type to
27409         INTERNAL_VSYSCALL_NCS macro invocation.
27410         (INTERNAL_VSYSCALL): Add 'long int' as return type to
27411         INTERNAL_VSYSCALL_NCS macro invocation.
27412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27414 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27416         [BZ #14496]
27417         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27418         Fix application of SIMD FP exception mask.
27420         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27421         mp_no from a power of two.
27422         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27423         __mpexp_twomm1.  Use __pow_mp.
27425         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27426         multiplication.
27428 2013-01-17  David S. Miller  <davem@davemloft.net>
27430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27432 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27434         [BZ #15023]
27435         * include/complex.h: Condition contents on [!_COMPLEX_H].
27436         (__kernel_casinhf): New prototype.
27437         (__kernel_casinh): Likewise.
27438         (__kernel_casinhl): Likewise.
27439         * math/Makefile (libm_calls): Add k_casinh.
27440         * math/k_casinh.c: New file.
27441         * math/k_casinhf.c: Likewise.
27442         * math/k_casinhl.c: Likewise.
27443         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27444         finite nonzero arguments.
27445         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27446         finite nonzero arguments.
27447         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27448         finite nonzero arguments.
27449         * math/s_casinh.c: Do not include <float.h>.
27450         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27451         * math/s_casinhf.c: Do not include <float.h>.
27452         (__casinhf): Move code for finite nonzero arguments to
27453         k_casinhf.c.
27454         * math/s_casinhl.c: Do not include <float.h>.
27455         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27456         redefine.
27457         (__casinhl): Move code for finite nonzero arguments to
27458         k_casinhl.c.
27459         * math/libm-test.inc (cacos_test): Add more tests.
27460         * sysdeps/i386/fpu/libm-test-ulps: Update.
27461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27463 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
27465         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27466         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27467         [!HAVE_MREMAP]: Remove [defined linux] case.
27468         * malloc/arena.c: Do not include <malloc-sysdep.h>.
27470 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27472         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27474 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
27476         * elf/elf.h (R_386_SIZE32): New relocation.
27477         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27478         R_386_SIZE32.
27479         (elf_machine_rela): Likewise.
27480         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27481         R_X86_64_SIZE64 and R_X86_64_SIZE32.
27483 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27485         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27486         (FP_FAST_FMA): Do not define.
27487         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27488         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27489         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27490         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27491         !_SOFT_FLOAT]: Likewise.
27492         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27493         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27494         value.
27495         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27496         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27497         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27498         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27499         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27500         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27501         file.
27503 2013-01-16  Andreas Schwab  <schwab@suse.de>
27505         [BZ #14327]
27506         * include/stdlib.h (__mktemp): Add declaration.
27507         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27508         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27510 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27512         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27513         definitions.
27514         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27515         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27516         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27517         definitions here.
27518         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27519         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27520         definitions.
27521         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27522         and ONE.
27523         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27524         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27525         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27526         definitions.
27527         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27528         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27529         definitions.
27530         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27532         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27534 2013-01-15  David S. Miller  <davem@davemloft.net>
27536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27537         trunc{,f} to libm-sysdep_routes.
27538         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27540         file.
27541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27543         file.
27544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27545         file.
27546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27548         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27549         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27550         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27551         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27552         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27553         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27556         nearbyint{,f} to libm-sysdep_routes.
27557         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27559         New file.
27560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27561         file.
27562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27563         New file.
27564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27565         file.
27566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27568         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27569         file.
27570         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27571         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27572         file.
27573         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27574         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27575         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27577         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27578         libc_feholdexcept and libc_fesetenv.
27580 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
27582         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27584 2013-01-14  David S. Miller  <davem@davemloft.net>
27586         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27587         (SPARC_ASM_VIS2_IFUNC): Likewise.
27588         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27590         use of 'siam' instruction.
27591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27592         Likewise.
27593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27594         Likewise.
27595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27596         Likewise.
27597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27598         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27599         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27600         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27602         file.
27603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27604         file.
27605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27606         file.
27607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27608         file.
27609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27612         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27614         new VIS2 routines.
27615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27618         Likewise.
27619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27620         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27621         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27622         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27624         routines to libm-sysdep_routines.
27625         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27628         fdim/fdimf to libm-sysdep_routines.
27629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27630         file.
27631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27633         file.
27634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27637         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27638         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27639         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27640         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27642 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27644         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27645         to optimize copies.
27647         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27652         local variable MPTWO.
27653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27654         Likewise.
27656 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27658         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27659         GLOB_NOESCAPE.
27661 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27663         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27665 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27667         * manual/pattern.texi (glob_t): Document gl_flags.
27668         (glob64_t): Likewise.
27670 2013-01-11  David S. Miller  <davem@davemloft.net>
27672         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27673         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27674         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
27675         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27676         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27677         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27678         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27679         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27680         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27681         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27682         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27683         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27684         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27686         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27687         sparc V9 rather than using V8 code.
27688         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27689         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27691         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27692         Move to...
27693         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27694         Here.
27696 2013-01-11  Roland McGrath  <roland@hack.frob.com>
27698         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27699         not in the main loop.
27700         * configure: Regenerated.
27702 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
27704         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27705         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27706         to just #else.
27707         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
27708         [!__GLIBC_HAVE_LONG_LONG] case.
27709         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27710         condition to just #else.
27711         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27712         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27713         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27714         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27715         unconditional.
27716         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27717         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27718         #elif condition to just #else.
27719         * sysdeps/unix/sysv/linux/sys/sysmacros.h
27720         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27721         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27722         #elif condition to just #else.
27724 2013-01-11  Steve Ellcey  <sellcey@mips.com>
27726         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27727         (EF_MIPS_ARCH_64): Fix value.
27728         (EF_MIPS_ARCH_32R2): New.
27729         (EF_MIPS_ARCH_64R2): New.
27731 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
27733         * Makeconfig (+link-pie-before-libc): New.
27734         (+link-pie-after-libc): Likewise.
27735         (+link-pie-tests): Likewise.
27736         (+link-pie): Rewritten.
27737         (link-before-libc): Remove $(config-LDFLAGS).
27738         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27739         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27740         (config-LDFLAGS): Renamed to ...
27741         (rtld-LDFLAGS): This.
27742         (rtld-tests-LDFLAGS): New macro.
27743         (link-libc-rpath-link): Likewise.
27744         (link-libc-tests-rpath-link): Likewise.
27745         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27746         (link-libc): Prepand $(link-libc-rpath-link).
27747         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27748         (test-program-prefix): New macro.
27749         (test-via-rtld-prefix): Likewise.
27750         (test-program-cmd): Likewise.
27751         (host-test-program-cmd): Likewise.
27752         * Makefile ($(common-objpfx)testrun.sh): Replace
27753         $(run-program-prefix) with $(test-program-prefix).
27754         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27755         $(rtld-LDFLAGS).
27756         ($(common-objpfx)shlib.lds): Likewise.
27757         (build-module-helper): Likewise.
27758         ($(common-objpfx)format.lds): Likewise.
27759         * Rules (binaries-pie-tests): New.
27760         (binaries-pie-notests): Likewise.
27761         (binaries-pie): Rewritten.
27762         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27763         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27764         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27765         (make-test-out): Replace $(host-built-program-cmd) with
27766         $(host-test-program-cmd).
27767         * config.make.in (build-hardcoded-path-in-tests): New variable.
27768         * configure.in (--enable-hardcoded-path-in-tests): New configure
27769         option.
27770         (hardcoded_path_in_tests): New AC_SUBST.
27771         * configure: Regenerated.
27772         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27773         $(built-program-cmd) with $(test-program-cmd).
27774         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27775         (test_program_cmd): This.
27776         * elf/Makefile ($(objpfx)order.out): Run test with
27777         $(test-program-prefix).
27778         ($(objpfx)order2.out): Likewise.
27779         ($(objpfx)tst-initorder.out): Likewise.
27780         ($(objpfx)tst-initorder2.out): Likewise.
27781         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27782         $(test-program-cmd).
27783         ($(objpfx)tst-array1-static.out): Likewise.
27784         ($(objpfx)tst-array2.out): Likewise.
27785         ($(objpfx)tst-array3.out): Likewise.
27786         ($(objpfx)tst-array4.out): Likewise.
27787         ($(objpfx)tst-array5.out): Likewise.
27788         ($(objpfx)tst-array5-static.out): Likewise.
27789         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27790         $(test-program-cmd).
27791         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27792         $(run-program-prefix) with $(test-program-prefix).
27793         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27794         (test_program_prefix): This.
27795         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27796         $(run-program-prefix) with $(test-program-prefix).
27797         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27798         (test_program_prefix): This.
27799         * iconvdata/tst-tables.sh: Likewise.
27800         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27801         $(run-program-prefix) with $(test-program-prefix).
27802         ($(objpfx)tst-translit.out): Likewise.
27803         ($(objpfx)tst-gettext2.out): Likewise.
27804         ($(objpfx)tst-gettext4.out): Likewise.
27805         ($(objpfx)tst-gettext6.out): Likewise.
27806         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27807         (test_program_prefix): This.
27808         * intl/tst-gettext2.sh: Likewise.
27809         * intl/tst-gettext4.sh  Likewise.
27810         * intl/tst-gettext6.sh: Likewise.
27811         * intl/tst-translit.sh: Likewise.
27812         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27813         with $(test-program-cmd).
27814         * libio/Makefile ($(objpfx)test-freopen.out): Replace
27815         $(run-program-prefix) with $(test-program-prefix).
27816         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27817         (test_program_prefix): This.
27818         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27819         $(run-program-prefix) with $(test-program-prefix).
27820         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27821         (test_program_prefix): This.
27822         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27823         * posix/Makefile ($(objpfx)globtest.out): Replace
27824         $(run-via-rtld-prefix) and $(test-wrapper) with
27825         $(test-program-prefix) and $(test-via-rtld-prefix).
27826         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27827         $(test-program-prefix).
27828         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27829         $(host-test-program-cmd).
27830         (tst-spawn-ARGS): Likewise.
27831         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27832         $(test-program-prefix).
27833         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27834         (test_via_rtld_prefix): This.
27835         (test_wrapper): Renamed to ...
27836         (test_program_prefix): This.
27837         (run_program_prefix): Replaced by test_program_prefix.
27838         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27839         (test_program_prefix): This.
27840         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27841         with $(host-test-program-cmd).
27842         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27843         $(run-program-prefix) with $(test-program-prefix).
27844         ($(objpfx)tst-printf.out): Likewise.
27845         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27846         $(test-program-cmd).
27847         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27848         (test_program_prefix): This.
27849         * stdio-common/tst-unbputc.sh: Likewise.
27850         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27851         $(run-program-prefix) with $(test-program-prefix).
27852         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27853         (test_program_prefix): This.
27854         * string/Makefile ($(objpfx)tst-svc.out):  Replace
27855         $(built-program-cmd) with $(test-program-cmd).
27857 2013-01-11  Andreas Jaeger  <aj@suse.de>
27859         [BZ #15003]
27860         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27861         value. Sync with Linux 3.7.
27863 2013-01-10  David S. Miller  <davem@davemloft.net>
27865         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27866         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27867         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27869 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27871         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27872         never set.
27873         * configure: Regenerated.
27875 2013-01-10  David S. Miller  <davem@davemloft.net>
27877         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27878         sparc V9 rather than using V8 code.
27879         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27880         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27882 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27884         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27885         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27886         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27887         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27888         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27889         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27890         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27891         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27892         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27893         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27894         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27895         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27896         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27897         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27898         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27899         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27900         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27901         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27902         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27903         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27904         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27905         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27906         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27907         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27908         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27909         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27910         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27912 2013-01-10  David S. Miller  <davem@davemloft.net>
27914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27916 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27918         * posix/Makefile (tests-static): New variable.
27919         (tests): Add $(tests-static).
27920         (tst-exec-static-ARGS): New variable.
27921         (tst-spawn-static-ARGS): Likewise.
27922         * posix/tst-exec-static.c: New file.
27923         * posix/tst-spawn-static.c: Likewise.
27924         * posix/tst-exec.c: Support run directly.
27925         * posix/tst-spawn.c: Likewise.
27927 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
27929         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27930         long.
27931         * math/bits/mathcalls.h (llrint): Likewise.
27932         (llround): Likewise.
27933         * stdlib/stdlib.h (struct drand48_data): Likewise.
27934         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27935         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27936         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27937         Likewise.
27938         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27939         Likewise.
27940         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27941         (elf_greg_t): Likewise.
27942         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27943         (__jmp_buf): Likewise.
27944         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27945         definitions.
27946         (llrint): Likewise, for all definitions.
27947         (llrintl): Likewise.
27949         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27950         Remove [__GNUC__] condition.
27951         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27952         condition to just [__USE_ISOC99].
27953         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27955 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27957         [BZ #14200]
27958         * sysdeps/unix/sysv/linux/x86/bits/environments.h
27959         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27960         defined.
27961         (_POSIX_V6_ILP32_OFF32): Likewise.
27962         (_XBS5_ILP32_OFF32): Likewise.
27963         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27964         (__ILP32_OFFBIG_LDFLAGS): Likewise.
27966 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27968         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27971         doubles __mpexp_twomm1.  Adjust usage.
27972         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27973         Remove.
27975 2013-01-10  Andreas Schwab  <schwab@suse.de>
27977         [BZ #14964]
27978         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27979         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27981 2013-01-09  David S. Miller  <davem@davemloft.net>
27983         [BZ #15003]
27984         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27985         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27986         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27987         (TCP_FASTOPEN): Define.
27988         (tcp_repair_opt): New structure.
27989         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27990         enum values.
27991         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27992         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27993         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27994         (tcp_cookie_transactions): New structure.
27996 2013-01-09  Anton Blanchard  <anton@samba.org>
27998         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27999         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28000         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28001         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28003 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28005         * include/features.h (__USE_ANSI): Remove.
28007 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28009         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28011         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28013 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28015         * sysdeps/s390/fpu/libm-test-ulps: Update.
28017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28019         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28020         (__acr): Likewise.
28021         (__cpy): Likewise.
28022         (norm): Likewise.
28023         (denorm): Likewise.
28024         (__mp_dbl): Likewise.
28025         (__dbl_mp): Likewise.
28026         (add_magnitudes): Likewise.
28027         (sub_magnitudes): Likewise.
28028         (__add): Likewise.
28029         (__sub): Likewise.
28030         (__mul): Likewise.
28031         (__inv): Likewise.
28032         (__dvd): Likewise.
28033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28034         (__acr): Likewise.
28035         (__cpy): Likewise.
28036         (norm): Likewise.
28037         (denorm): Likewise.
28038         (__mp_dbl): Likewise.
28039         (__dbl_mp): Likewise.
28040         (add_magnitudes): Likewise.
28041         (sub_magnitudes): Likewise.
28042         (__add): Likewise.
28043         (__sub): Likewise.
28044         (__mul): Likewise.
28045         (__inv): Likewise.
28046         (__dvd): Likewise.
28047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28048         (__acr): Likewise.
28049         (__cpy): Likewise.
28050         (norm): Likewise.
28051         (denorm): Likewise.
28052         (__mp_dbl): Likewise.
28053         (__dbl_mp): Likewise.
28054         (add_magnitudes): Likewise.
28055         (sub_magnitudes): Likewise.
28056         (__add): Likewise.
28057         (__sub): Likewise.
28058         (__mul): Likewise.
28059         (__inv): Likewise.
28060         (__dvd): Likewise.
28062 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28064         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28065         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28066         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28067         2 && __USE_EXTERN_INLINES]: Likewise.
28069 2013-01-08  Andreas Jaeger  <aj@suse.de>
28071         [BZ# 14985]
28072         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28073         Remove.
28074         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28075         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28077 2013-01-07  Anton Blanchard  <anton@samba.org>
28079         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28080         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28081         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28082         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28083         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28084         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28085         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28086         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28088         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28089         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28090         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28091         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28092         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28093         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28094         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28095         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28096         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28097         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28098         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28099         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28100         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28101         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28102         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28103         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28104         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28105         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28106         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28107         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28108         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28109         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28111         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28112         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28113         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28114         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28115         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28116         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28117         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28118         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28119         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28120         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28121         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28123 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28125         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28126         (__MALLOC_PMT): Likewise.
28127         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28128         [__GNUC__], only on [_LIBC].
28129         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28130         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28131         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28132         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28133         forward declaration.
28134         (realloc_hook_ini): Likewise.
28135         (memalign_hook_ini): Likewise.
28136         (__libc_memalign): Do not use __MALLOC_PMT in variable
28137         declaration.
28138         (__libc_valloc): Likewise.
28139         (__libc_pvalloc): Likewise.
28140         (__libc_calloc): Likewise.
28141         (__posix_memalign): Likewise.
28143         [BZ #14996]
28144         * math/s_casinh.c: Include <float.h>.
28145         (__casinh): Do not do computation with squaring and square root
28146         for large arguments.
28147         * math/s_casinhf.c: Include <float.h>.
28148         (__casinhf): Do not do computation with squaring and square root
28149         for large arguments.
28150         * math/s_casinhl.c: Include <float.h>.
28151         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28152         (__casinhl): Do not do computation with squaring and square root
28153         for large arguments.
28154         * math/libm-test.inc (casin_test): Add more tests.
28155         (casinh_test): Likewise.
28156         * sysdeps/i386/fpu/libm-test-ulps: Update.
28157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28159 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28161         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28162         (__x86_64_raw_data_cache_size): Likewise.
28163         (__x86_64_data_cache_size_half): Likewise.
28164         (__x86_64_raw_data_cache_size_half): Likewise.
28165         (__x86_64_shared_cache_size): Likewise.
28166         (__x86_64_raw_shared_cache_size): Likewise.
28167         (__x86_64_shared_cache_size_half): Likewise.
28168         (__x86_64_raw_shared_cache_size_half): Likewise.
28169         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28170         to ...
28171         (__x86_data_cache_size): This.
28172         (__x86_64_raw_data_cache_size): Renamed to ...
28173         (__x86_raw_data_cache_size): This.
28174         (__x86_64_data_cache_size_half): Renamed to ...
28175         (__x86_data_cache_size_half): This.
28176         (__x86_64_raw_data_cache_size_half): Renamed to ...
28177         (__x86_raw_data_cache_size_half): This.
28178         (__x86_64_shared_cache_size): Renamed to ...
28179         (__x86_shared_cache_size): This.
28180         (__x86_64_raw_shared_cache_size): Renamed to ...
28181         (__x86_raw_shared_cache_size): This.
28182         (__x86_64_shared_cache_size_half): Renamed to ...
28183         (__x86_shared_cache_size_half): This.
28184         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28185         (__x86_raw_shared_cache_size_half): This.
28186         * sysdeps/x86_64/memcpy.S: Updated.
28187         * sysdeps/x86_64/memset.S: Likewise.
28188         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28189         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28190         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28192 2013-01-04  David S. Miller  <davem@davemloft.net>
28194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28196 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28198         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28199         1 to avoid redefinition warning.
28200         (__USE_GNU): Don't define.
28201         (init_signaling_nan): Protoize.
28203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28205 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28207         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28209         (__cpymn): Likewise.
28210         (norm): Remove commented code.
28211         (denorm): Likewise.
28212         (__mp_dbl): Likewise.
28213         (__inv): Likewise.
28214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28215         (__cpymn): Likewise.
28216         (norm): Remove commented code.
28217         (denorm): Likewise.
28218         (__mp_dbl): Likewise.
28219         (__inv): Likewise.
28221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28222         mp_no value for 1.0 and 2.0.
28223         (norm): Use RADIXI instead of radixi.d.
28224         (denorm): Likewise.
28225         (__mul): Use 0.0 instead of zero.d.
28226         * sysdeps/powerpc/powerpc64/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.
28232 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
28234         [BZ #14994]
28235         * math/s_casinh.c (__casinh): Reduce finite argument to first
28236         quadrant then set signs of results at the end.
28237         * math/s_casinhf.c (__casinhf): Likewise.
28238         * math/s_casinhl.c (__casinhl): Likewise.
28239         * math/libm-test.inc (casin_test): Add more tests.
28240         (casinh_test): Likewise.
28241         * sysdeps/i386/fpu/libm-test-ulps: Update.
28242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28244 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28246         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28248         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28250         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28251         declarations.
28252         (denorm): Likewise.
28253         (__mp_dbl): Likewise.
28254         (__inv): Likewise.
28256         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28257         and adjust the header comment.
28259         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28260         variable name from declaration.
28262 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
28264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28265         Initialize COMMON_CPUID_INDEX_7 element.
28266         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28267         (CPUID_RTM): Likewise.
28268         (HAS_RTM): Likewise.
28269         (COMMON_CPUID_INDEX_7): New enum.
28271 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
28273         [BZ #14981]
28274         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28275         size is zero, record memory as freed.
28277 2013-01-03  Andreas Jaeger  <aj@suse.de>
28279         * po/ia.po: Add new Interlingua translation.
28281 2012-01-03  Allan McRae  <allan@archlinux.org>
28283         * locale/programs/localedef.c: Fix description of '--posix' flag.
28285 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
28287         * NEWS: Update dates in second copyright notice.
28288         * README: Update copyright dates in example.
28289         * manual/libc.texinfo: Update copyright dates.
28290         * scripts/test-installation.pl: Update copyright date in --version
28291         output.
28293         * hurd/ctty-input.c: Fix copyright notice formatting.
28294         * hurd/ctty-output.c: Likewise.
28295         * hurd/dtable.c: Likewise.
28296         * hurd/hurd-raise.c: Likewise.
28297         * hurd/hurdprio.c: Likewise.
28298         * hurd/msgportdemux.c: Likewise.
28299         * misc/sys/file.h: Likewise.
28300         * misc/sys/ioctl.h: Likewise.
28301         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28302         * sysdeps/mach/hurd/chdir.c: Likewise.
28303         * sysdeps/mach/hurd/fchdir.c: Likewise.
28304         * sysdeps/mach/hurd/rename.c: Likewise.
28305         * sysdeps/mach/hurd/rmdir.c: Likewise.
28306         * sysdeps/mach/hurd/seekdir.c: Likewise.
28307         * sysdeps/mach/hurd/setsid.c: Likewise.
28308         * sysdeps/posix/wait3.c: Likewise.
28310         * All files with FSF copyright notices: Update copyright dates
28311         using scripts/update-copyrights.
28312         * intl/plural.c: Regenerated.
28313         * locale/programs/charmap-kw.h: Likewise.
28314         * locale/programs/locfile-kw.h: Likewise.
28316 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28318         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28319         four values.
28321         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28322         calculation loop and add branch prediction.
28324         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28325         check access beyond bounds of m1np.
28327         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28328         MPTWO.
28329         (__inv): Remove local variable MPTWO to use the global
28330         constant.
28331         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28332         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28333         variable MPTWO.
28334         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28335         MP3HALFS static const.
28337 2013-01-01  David S. Miller  <davem@davemloft.net>
28339         * po/ca.po: Update from translation team.
28341 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
28343         * scripts/update-copyrights: New file.
28344         * Makeconfig: Reformat copyright notice.
28345         * ctype/ctype.h: Likewise.
28346         * debug/swprintf_chk.c: Likewise.
28347         * elf/dl-cache.c: Likewise.
28348         * elf/dl-debug.c: Likewise.
28349         * elf/dl-object.c: Likewise.
28350         * grp/initgroups.c: Likewise.
28351         * hurd/Makefile: Likewise.
28352         * hurd/hurd/signal.h: Likewise.
28353         * hurd/hurdfault.c: Likewise.
28354         * hurd/hurdioctl.c: Likewise.
28355         * hurd/hurdlookup.c: Likewise.
28356         * hurd/intr-msg.c: Likewise.
28357         * iconv/gconv_open.c: Likewise.
28358         * libio/swprintf.c: Likewise.
28359         * locale/lc-ctype.c: Likewise.
28360         * locale/nl_langinfo.c: Likewise.
28361         * mach/Machrules: Likewise.
28362         * mach/Makefile: Likewise.
28363         * malloc/obstack.h: Likewise.
28364         * manual/Makefile: Likewise.
28365         * manual/tsort.awk: Likewise.
28366         * misc/bits/stab.def: Likewise.
28367         * nis/nis_print_group_entry.c: Likewise.
28368         * nis/nis_table.c: Likewise.
28369         * nis/nss_compat/compat-pwd.c: Likewise.
28370         * nis/nss_compat/compat-spwd.c: Likewise.
28371         * po/Makefile: Likewise.
28372         * posix/fnmatch.c: Likewise.
28373         * posix/regex.h: Likewise.
28374         * resolv/Makefile: Likewise.
28375         * resolv/nss_dns/dns-network.c: Likewise.
28376         * resolv/res_hconf.c: Likewise.
28377         * scripts/gen-sorted.awk: Likewise.
28378         * soft-fp/soft-fp.h: Likewise.
28379         * stdio-common/printf.h: Likewise.
28380         * stdlib/monetary.h: Likewise.
28381         * stdlib/random.c: Likewise.
28382         * stdlib/random_r.c: Likewise.
28383         * sysdeps/generic/Makefile: Likewise.
28384         * sysdeps/gnu/Makefile: Likewise.
28385         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28386         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28387         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28388         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28389         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28390         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28391         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28392         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28393         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28395         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28396         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28397         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28398         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28399         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28400         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28401         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28402         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28403         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28404         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28405         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28406         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28407         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28408         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28409         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28410         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28411         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28412         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28413         * sysdeps/mach/hurd/errnos.awk: Likewise.
28414         * sysdeps/mach/hurd/fork.c: Likewise.
28415         * sysdeps/mach/hurd/getcwd.c: Likewise.
28416         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28417         * sysdeps/mach/hurd/mmap.c: Likewise.
28418         * sysdeps/mach/hurd/utimes.c: Likewise.
28419         * sysdeps/mach/hurd/xmknod.c: Likewise.
28420         * sysdeps/posix/profil.c: Likewise.
28421         * sysdeps/posix/readdir_r.c: Likewise.
28422         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28423         * sysdeps/powerpc/bits/setjmp.h: Likewise.
28424         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28425         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28427         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28428         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28429         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28431         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28432         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28433         * sysdeps/pthread/lio_listio.c: Likewise.
28434         * sysdeps/sparc/dl-procinfo.h: Likewise.
28435         * sysdeps/unix/i386/sysdep.S: Likewise.
28436         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28437         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28438         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28439         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28441         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28442         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28443         * sysdeps/unix/sysv/linux/speed.c: Likewise.
28444         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28445         * sysdeps/wordsize-32/divdi3.c: Likewise.
28446         * time/sys/time.h: Likewise.
28447         * wcsmbs/Makefile: Likewise.
28449 2013-01-01  David S. Miller  <davem@davemloft.net>
28451         * po/fr.po: Update from translation team.
28453         * catgets/gencat.c: Update copyright year.
28454         * csu/version.c: Likewise.
28455         * debug/catchsegv.sh: Likewise.
28456         * debug/pcprofiledump.c: Likewise.
28457         * debug/xtrace.sh: Likewise.
28458         * elf/ldconfig.c: Likewise.
28459         * elf/ldd.bash.in: Likewise.
28460         * elf/pldd.c: Likewise.
28461         * elf/sotruss.ksh: Likewise.
28462         * elf/sprof.c: Likewise.
28463         * iconv/iconv_prog.c: Likewise.
28464         * iconv/iconvconfig.c: Likewise.
28465         * locale/programs/locale.c: Likewise.
28466         * locale/programs/localedef.c: Likewise.
28467         * login/programs/pt_chown.c: Likewise.
28468         * malloc/memusage.sh: Likewise.
28469         * malloc/memusagestat.c: Likewise.
28470         * malloc/mtrace.pl: Likewise.
28471         * nscd/nscd.c: Likewise.
28472         * nss/getent.c: Likewise.
28473         * nss/makedb.c: Likewise.
28474         * posix/getconf.c: Likewise.
28476 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28478         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28479         numbers.
28481 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
28483         * math/bits/mathcalls.h (modf): Use __nonnull.
28485 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28487         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28488         (split): Use macro CN instead of the bare value.
28489         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28490         could be used.
28491         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28492         instead of the bare value.
28493         (power1): Likewise.
28495 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28497         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28498         __ATAN_TWOM.
28499         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28501         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28502         their values.
28503         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28504         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28505         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28506         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28508 2012-12-28  Andreas Jaeger  <aj@suse.de>
28510         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
28511         values are from Linux 3.7.
28513         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28514         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
28516 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28518         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28519         TRUE case.
28521         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28522         (norm): Likewise.
28523         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28524         variables with preprocessor constants.
28525         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28526         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28527         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28529 2012-12-27  Bruno Haible  <bruno@clisp.org>
28531         [BZ #14317]
28532         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28533         only if needed.
28535 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28538         and use variable directly.
28539         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28541         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28542         MPONE.
28543         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28544         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28545         variable MPONE.
28546         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28547         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28548         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28549         include directive.  Remove local variable MPONE.
28550         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28551         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28552         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28554 2012-12-25  David S. Miller  <davem@davemloft.net>
28556         * version.h (RELEASE): Set to "development".
28557         (VERSION): Set to "2.17.90".
28558         * NEWS: Add 2.18 section.
28560 2012-12-21  David S. Miller  <davem@davemloft.net>
28562         * po/hr.po: Update from translation team.
28564 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28566         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28568 2012-12-19  Steve Ellcey  <sellcey@mips.com>
28570         * NEWS:  Mention new memcpy for MIPS.
28572 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28574         * manual/contrib.texi (Contributors): Spelling correction.
28576 2012-12-15  David S. Miller  <davem@davemloft.net>
28578         * po/ru.po: Update from translation team.
28580 2012-12-13  David S. Miller  <davem@davemloft.net>
28582         * NEWS: Mention IFUNC testsuite enhancements.
28584         * po/pl.po: Update from translation team.
28585         * po/bg.po: Likewise.
28587         * manual/contrib.texi (Contributors): Update entries for Hongjiu
28588         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
28590 2012-12-11  David S. Miller  <davem@davemloft.net>
28592         * po/sv.po: Update from translation team.
28594         * po/vi.po: Update from translation team.
28596         * po/cs.po: Update from translation team.
28598         * po/de.po: Update from translation team.
28599         * po/eo.po: Likewise.
28600         * po/nl.po: Likewise.
28602 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28604         [BZ #14246]
28605         * manual/argp.texi (Argp Helper Functions): Move node to follow
28606         Argp Parsing State.
28608         [BZ #14872]
28609         * manual/conf.texi (Limits on File System Capacity): Mention if
28610         terminating null is included in the max size.
28612 2012-12-10  Andreas Jaeger  <aj@suse.de>
28614         * po/cs.po: Update from translation team.
28616 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28618         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28619         void pointer and cast to uintptr_t.
28620         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28621         path.
28622         * sysdeps/s390/s390-64/memcpy.S: Likewise.
28623         * sysdeps/s390/s390-64/memset.S: Likewise.
28625 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
28627         [BZ #14833]
28628         * menual/message.texi (Message Translation): Fix typos.
28629         (Helper programs for gettext): Likewise.
28631 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
28633         [BZ #14898]
28634         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28635         Change to -1.
28637 2012-12-07  David S. Miller  <davem@davemloft.net>
28639         * po/libc.pot: Update.
28641 2012-12-07  Richard Henderson  <rth@redhat.com>
28643         [BZ #10114]
28644         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28645         normal/normal case to before the switch.
28646         (_FP_DIV): Likewise.
28648 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
28649             Mike Frysinger  <vapier@gentoo.org>
28651         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28652         check for __NR_fadvise64_64.
28654 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
28656         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28657         0, not just to plain "0" as a statement.
28658         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28659         with cw.
28661 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
28663         * NEWS: Use sourceware.org in Bugzilla URL.
28665 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28668         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28670         * stdio-common/tst-put-error.c (do_test): Add newline to the
28671         padded test to ensure flush.
28673 2012-12-05  Jeff Law  <law@redhat.com>
28675         * sunrpc/etc.rpc (fedfs_admin): Add entry.
28677 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
28679         * README: Don't refer to ports add-on as distributed separately.
28680         Mention AArch64 in list of systems supported in the ports add-on.
28682         * LICENSES: Add more non-FSF copyright and license notices.
28684         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28685         ((unused)).
28687         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28689         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28690         10000 as width of padded output.
28692 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28694         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28696         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28697         variable LX with __attribute__ ((unused)).
28698         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28699         Likewise.
28700         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28701         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28702         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28703         with __attribute__ ((unused)).
28705 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
28707         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28709 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28711         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28712         (CFLAGS-nldbl-acos.c): New variable.
28713         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28714         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28715         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28716         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28717         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28718         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28719         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28720         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28721         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28722         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28723         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28724         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28725         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28726         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28727         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28728         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28729         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28730         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28731         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28732         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28733         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28734         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28735         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28736         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28737         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28738         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28739         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28740         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28741         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28742         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28743         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28744         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28745         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28746         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28747         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28748         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28749         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28750         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28751         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28752         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28753         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28754         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28755         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28756         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28757         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28758         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28759         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28760         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28761         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28762         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28763         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28764         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28765         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28766         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28767         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28768         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28769         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28770         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28771         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28772         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28773         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28774         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28775         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28776         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28777         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28778         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28779         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28780         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28781         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28782         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28783         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28784         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28785         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28786         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28787         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28788         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28789         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28790         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28791         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28792         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28793         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28794         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28795         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28796         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28797         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28798         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28799         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28800         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28801         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28802         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28803         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28804         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28805         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28806         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28807         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28808         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28809         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28812         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28814         [BZ #14914]
28815         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28816         whole low double instead of just low 47 bits when splitting values
28817         into two parts.
28819 2012-12-03  Allan McRae  <allan@archlinux.org>
28821         * manual/stdio.texi (Predefined Printf Handlers): Remove
28822         @hsep and @vsep usage.
28824 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
28826         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28827         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28829 2012-12-03  Jeff Law  <law@redhat.com>
28831         * time/sys/time.h (settimeofday): Do not mark TV argument
28832         as __nonnull.
28834 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
28836         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28837         when currently writing and seek to current position when not.
28838         * libio/Makefile (tests): Remove bug-fclose1.
28839         * libio/bug-fclose1.c: Delete.
28841 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
28843         * manual/arith.texi (feenableexcept): Fix typo.
28844         (fedisableexcept): Likewise.
28846 2012-11-30  Roland McGrath  <roland@hack.frob.com>
28848         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28849         second, differently-typed declaration, rather than a cast.
28851 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28853         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28854         * include/rpc/svc.h: ... here.
28856 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
28858         [BZ #13013]
28859         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28860         depending n and resplen2 to catch cases where answer
28861         equals answerp2.
28863 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
28865         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28866         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28868 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
28870         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28872 2012-11-29  Roland McGrath  <roland@hack.frob.com>
28874         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28876 2012-11-28  Jeff Law  <law@redhat.com>
28878         [BZ #13761]
28879         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28880         dataset_temporary.  Track alloca usage into alloca_used.
28881         If dataset is large allocate and release it via malloc/free.
28883 2012-06-04  Florian Weimer  <fweimer@redhat.com>
28885         [BZ #14197]
28886         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28888 2012-11-28  David S. Miller  <davem@davemloft.net>
28890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28892 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28894         [BZ #14803]
28895         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28896         of pi/2 rounded to nearest to 64 bits.
28897         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28898         nearest to 64 bits.
28899         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28900         bits.
28902 2012-11-28  Jeff Law <law@redhat.com>
28903             Martin Osvald <mosvald@redhat.com>
28905         [BZ #14889]
28906         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28907         * sunrpc/svc.c: Include time.h.
28908         (__svc_accept_failed): New function.
28909         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28910         any reason other than EINTR, call __svc_accept_failed.
28911         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28912         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28914 2012-11-28  Andreas Schwab  <schwab@suse.de>
28916         * scripts/abilist.awk: Also handle indirect functions in .opd
28917         section.
28919 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28921         [BZ #13881]
28922         * sysdeps/x86/fpu/powl_helper.c: New file.
28923         * sysdeps/x86/fpu/Makefile: Likewise.
28924         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28925         (p3): New object.
28926         (__ieee754_powl): Use __powl_helper for finite arguments except
28927         integer exponents below 8.
28928         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28929         (p3): New object.
28930         (__ieee754_powl): Use __powl_helper for finite arguments except
28931         integer exponents below 8.
28932         * math/libm-test.inc (pow_test): Add more tests and enable some
28933         previously disabled tests.
28934         * sysdeps/i386/fpu/libm-test-ulps: Update.
28935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28937 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28938             Carlos O'Donell  <carlos_odonell@mentor.com>
28940         * nss/makedb.c (is_prime): Assert that input is odd and greater
28941         than 4.  Note that fact in a comment too.
28942         (next_prime): Add 4 to input.
28944 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28946         [BZ #11741]
28947         * libio/Makefile (tests): Add test case tst-fwrite-error.
28948         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28949         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28950         * libio/tst-fwrite-error.c: New test case.
28952 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
28954         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28955         before casting to void *.
28956         * include/libc-internal.h (__pointer_type): New macro.
28957         (__integer_if_pointer_type_sub): Likewise.
28958         (__integer_if_pointer_type): Likewise.
28959         (cast_to_integer): Likewise.
28960         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28961         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28962         before casting to atomic64_t.
28963         (atomic_exchange_acq): Likewise.
28964         (__arch_exchange_and_add_body): Likewise.
28965         (__arch_add_body): Likewise.
28966         (atomic_add_negative): Likewise.
28967         (atomic_add_zero): Likewise.
28969 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
28971         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28972         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28973         (add_fdes): Likewise.
28974         (linear_search_fdes): Likewise.
28975         (binary_search_unencoded_fdes): Likewise.
28977 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
28979         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28981 2012-11-24  Adam Conrad  <adconrad@0c3.net>
28983         * configure.in: Autodetect C++ header directories.
28984         * configure: Regenerated.
28986 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
28988         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28990 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
28992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28994 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
28996         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28997         LDBL_MANT_DIG == 106]: Disable some tests.
28998         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28999         Likewise.
29000         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29001         Likewise.
29003         [BZ #14871]
29004         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29005         input for small inputs.  Return +/- pi/2 for large inputs.
29006         * math/libm-test.inc (atan_test): Add more tests.
29008         * sysdeps/generic/unwind-dw2-fde-glibc.c
29009         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29010         __attribute__ ((unused)).
29012         [BZ #14645]
29013         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29014         x * y if x and y are nonzero and z is zero.
29016         [BZ #14811]
29017         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29018         nonzero exponents with absolute value below 0x1p-117 to +/-
29019         0x1p-117.
29021         [BZ #14869]
29022         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29023         up arguments below 2**-450, not just those below 2**-500.
29024         * math/libm-test.inc (hypot_test): Add another test.
29026         [BZ #14868]
29027         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29028         Return a+b for ratio over 2**120, not 2**60.
29029         * math/libm-test.inc (hypot_test): Add another test.
29031         * math/libm-test.inc (clog_test): Use
29032         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29033         (clog10_test): Likewise.
29035         [BZ #6778]
29036         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29038 2012-11-22  Andreas Schwab  <schwab@suse.de>
29040         * sysdeps/i386/fpu/libm-test-ulps: Update.
29042 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29044         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29045         printf output with newline.
29047 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29049         [BZ #14865]
29050         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29051         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29052         -z nodlopen, -z initfirst and -z execstack support.
29053         * configure: Regenerated.
29055         * elf/elf.h (DF_1_NODIRECT): New macro.
29056         (DF_1_IGNMULDEF): Likewise.
29057         (DF_1_NOKSYMS): Likewise.
29058         (DF_1_NOHDR): Likewise.
29059         (DF_1_EDITED): Likewise.
29060         (DF_1_NORELOC): Likewise.
29061         (DF_1_SYMINTPOSE): Likewise.
29062         (DF_1_GLOBAUDIT): Likewise.
29063         (DF_1_SINGLETON): Likewise.
29064         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29065         DT_1_SUPPORTED_MASK bits.
29066         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29068 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29070         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29072 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29074         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29075         macro.
29077         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29078         (sendmmsg): Move declarations...
29079         * socket/sys/socket.h: ... here.
29080         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29081         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29082         include it from...
29083         * socket/recvmmsg.c: ... this new file.
29084         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29085         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29086         definition of __sendmmsg hidden.
29087         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29088         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29089         Move ENOSYS stub into and include it from...
29090         * socket/sendmmsg.c: ... this new file.
29091         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29092         (sysdep_routines): Move recvmmsg and sendmmsg...
29093         * socket/Makefile (routines): ... here.
29094         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29095         (GLIBC_PRIVATE): Add __sendmmsg.
29096         * include/sys/socket.h (__sendmmsg): Add declarations.
29097         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29098         sendmmsg.
29100 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29102         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29103         variable I1 with __attribute__ ((unused)).
29104         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29106 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29108         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29109         DUMMY variables with __attribute__ ((unused)).
29111         * bits/byteswap.h: Include <bits/types.h>.
29112         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29114 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29116         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29117         string_t.  Do not manually set errno.
29118         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29119         length with __strnlen.  Make sure to both set errno and return it on
29120         failure.
29122 2012-11-19  David S. Miller  <davem@davemloft.net>
29124         With help from Joseph Myers.
29125         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29126         very large arguments properly.
29127         * math/libm-test.inc (atan_test): New tests.
29128         (atan2_test): New tests.
29129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29132 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29134         [BZ #14856]
29135         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29136         Define to 3.
29138         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29139         [POSIX] (EADDRNOTAVAIL): Likewise.
29140         [POSIX] (EAFNOSUPPORT): Likewise.
29141         [POSIX] (EALREADY): Likewise.
29142         [POSIX] (ECONNABORTED): Likewise.
29143         [POSIX] (ECONNREFUSED): Likewise.
29144         [POSIX] (ECONNRESET): Likewise.
29145         [POSIX] (EDESTADDRREQ): Likewise.
29146         [POSIX] (EDQUOT): Likewise.
29147         [POSIX] (EHOSTUNREACH): Likewise.
29148         [POSIX] (EIDRM): Likewise.
29149         [POSIX] (EISCONN): Likewise.
29150         [POSIX] (ELOOP): Likewise.
29151         [POSIX] (EMULTIHOP): Likewise.
29152         [POSIX] (ENETDOWN): Likewise.
29153         [POSIX] (ENETUNREACH): Likewise.
29154         [POSIX] (ENOBUFS): Likewise.
29155         [POSIX] (ENODATA): Likewise.
29156         [POSIX] (ENOLINK): Likewise.
29157         [POSIX] (ENOMSG): Likewise.
29158         [POSIX] (ENOPROTOOPT): Likewise.
29159         [POSIX] (ENOSR): Likewise.
29160         [POSIX] (ENOSTR): Likewise.
29161         [POSIX] (ENOTCONN): Likewise.
29162         [POSIX] (ENOTSOCK): Likewise.
29163         [POSIX] (EOPNOTSUPP): Likewise.
29164         [POSIX] (EOVERFLOW): Likewise.
29165         [POSIX] (EPROTO): Likewise.
29166         [POSIX] (EPROTONOSUPPORT): Likewise.
29167         [POSIX] (EPROTOTYPE): Likewise.
29168         [POSIX] (ESTALE): Likewise.
29169         [POSIX] (ETIME): Likewise.
29170         [POSIX] (ETXTBSY): Likewise.
29171         [POSIX] (EWOULDBLOCK): Likewise.
29172         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29173         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29174         [POSIX] (SEEK_CUR): Likewise.
29175         [POSIX] (SEEK_END): Likewise.
29176         [POSIX || UNIX98] (mode_t): Do not require.
29177         [POSIX] (off_t): Likewise.
29178         [POSIX] (pid_t): Likewise.
29179         [POSIX] (sys/stat.h): Do not allow header.
29180         [POSIX] (unistd.h): Likewise.
29181         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29182         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29183         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29184         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29185         require.
29186         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29187         sigevent): Specify elements.
29188         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29189         entry.
29190         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29191         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29193         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29194         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29195         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29196         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29197         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29198         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29199         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29200         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29201         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29202         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29203         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29204         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29205         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29206         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29207         Likewise.
29208         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29209         Likewise.
29210         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29211         Likewise.
29212         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29213         Likewise.
29214         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29215         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29216         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29217         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29218         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29219         Specify lower bound on value.
29220         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29221         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29222         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29223         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29224         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29225         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29226         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29227         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29228         value.
29229         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29230         as optional.
29231         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29232         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29233         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29234         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29235         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29236         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29237         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29238         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29239         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29240         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29241         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29242         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29243         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29244         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29245         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29246         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29247         entry.
29248         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29249         optional.
29250         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29251         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29252         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29253         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29254         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29255         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29256         Likewise.
29257         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29258         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29259         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29260         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29261         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
29262         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29263         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29264         as optional.
29265         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29266         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29267         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29268         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29269         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29270         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29271         specify as optional.
29272         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29273         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29274         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29275         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29276         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29277         [XPG3] (NL_LANGMAX): Likewise.
29278         [POSIX || XPG3] (NL_MSGMAX): Likewise.
29279         [POSIX || XPG3] (NL_NMAX): Likewise.
29280         [POSIX || XPG3] (NL_SETMAX): Likewise.
29281         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29282         [XPG3] (NZERO): Likewise.
29283         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29284         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29285         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29286         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29287         (REG_ERANGE): Expect.
29288         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29289         optional-constant.
29290         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29291         Use (void) in prototype.
29292         [POSIX] (*_t): Allow.
29293         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29294         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29295         (WRDE_BADVAL): Expect.
29297         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29298         expect.
29299         [XPG3 || XPG4] (O_RSYNC): Likewise.
29300         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29301         Likewise.
29302         [XPG3 || XPG4] (pthread_sigmask): Likewise.
29303         [XPG3 || XPG4] (sigqueue): Likewise.
29304         [XPG3 || XPG4] (sigtimedwait): Likewise.
29305         [XPG3 || XPG4] (sigwaitinfo): Likewise.
29306         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29307         [XPG3 || XPG4] (vsnprintf): Likewise.
29308         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29309         Likewise.
29310         [XPG3 || XPG4] (blksize_t): Likewise.
29311         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29312         Likewise.
29313         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29314         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29315         [XPG3 || XPG4] (struct itimerspec): Likewise.
29316         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29317         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29318         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29319         [XPG3 || XPG4] (clockid_t): Likewise.
29320         [XPG3 || XPG4] (timer_t): Likewise.
29321         [XPG3 || XPG4] (clock_getres): Likewise.
29322         [XPG3 || XPG4] (clock_gettime): Likewise.
29323         [XPG3 || XPG4] (clock_settime): Likewise.
29324         [XPG3 || XPG4] (nanosleep): Likewise.
29325         [XPG3 || XPG4] (timer_create): Likewise.
29326         [XPG3 || XPG4] (timer_delete): Likewise.
29327         [XPG3 || XPG4] (timer_gettime): Likewise.
29328         [XPG3 || XPG4] (timer_getoverrun): Likewise.
29329         [XPG3 || XPG4] (timer_settime): Likewise.
29330         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29331         [XPG3 || XPG4] (getlogin_r): Likewise.
29332         [XPG3 || XPG4] (pread): Likewise.
29333         [XPG3 || XPG4] (pthread_atfork): Likewise.
29334         [XPG3 || XPG4] (pwrite): Likewise.
29336         [BZ #14835]
29337         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29338         <bits/siginfo.h>.
29340 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29342         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29343         finalizing MALLSTREAM.
29345         * sysdeps/mach/hurd/syncfs.c: New file.
29347 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29349         [BZ #14719]
29350         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29351         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29352         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29353         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29354         (_nss_dns_gethostbyname4_r): Likewise.
29355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29356         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29358 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
29360         [BZ #13763]
29361         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29363 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
29365         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29366         * elf/cache.c (print_entry): Print ",AArch64" for
29367         FLAG_AARCH64_LIB64
29369         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29370         * elf/cache.c (print_entry): Print ",hard-float" for
29371         FLAG_ARM_LIBHF.
29373 2012-11-18  David S. Miller  <davem@davemloft.net>
29375         With help from Joseph Myers.
29376         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29377         cutoff to 2**-13.
29378         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29379         cutoff to 2**-25.
29380         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29381         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29382         small.
29383         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29384         * math/libm-test.inc (y0_test): New tests.
29385         (y1_test): New tests.
29386         * sysdeps/i386/fpu/libm-test-ulps: Update.
29387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29390 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
29392         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29393         64-bit targets.
29394         * configure: Regenerated.
29396 2012-11-17  David S. Miller  <davem@davemloft.net>
29398         [BZ #14811]
29399         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29400         nonzero exponents with absolute value below 0x1p-128 to +/-
29401         0x1p-128.
29403 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
29405         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29407         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29409         * posix/getconf-speclist.c: New file.
29410         * posix/posix-envs.def: Likewise.
29411         * posix/confstr.c (START_ENV_GROUP): New macro.
29412         (END_ENV_GROUP): Likewise.
29413         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29414         (KNOWN_PRESENT_ENV_STRING): Likewise.
29415         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29416         (UNKNOWN_ENVIRONMENT): Likewise.
29417         (confstr): Include posix-envs.def instead of handling
29418         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29419         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29420         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29421         (END_ENV_GROUP): Likewise.
29422         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29423         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29424         (UNKNOWN_ENVIRONMENT): Likewise.
29425         (__sysconf): Include posix-envs.def instead of handling associated
29426         cases directly here.
29427         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29428         preprocessing getconf-speclist.c rather than running getconf or
29429         generating empty file.
29431 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
29433         * scripts/check-local-headers.sh: Ignore 'mach' headers.
29435 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
29437         [BZ #14672]
29438         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29440 2012-11-16  David S. Miller  <davem@davemloft.net>
29442         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29443         smaller than LDBL_EPSILON/2.0L, just return xm1.
29445 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
29447         * elf/tst-array1.c (init): Set constructor priority to 1000.
29448         (fini): Set destructor priority to 1000.
29449         * elf/tst-array2dep.c: Likewise.
29451 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29453         [BZ #11741]
29454         * libio/fileops.c (_IO_new_file_write): Correctly return error.
29455         (_IO_new_file_xsputn): Also return EOF if none of the input
29456         data was written when overflow failed.
29457         * libio/iopadn.c (_IO_padn): Likewise.
29458         * libio/iowpadn.c (_IO_wpadn): Likewise.
29459         * stdio-common/tst-put-error.c: Add copyright notice.
29460         (do_test): Add case for printing padded string.
29461         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29462         _IO_padn returned error.
29463         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29464         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29465         return EOF.
29467 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29469         * libio/libioP.h: Add comment note that the references to C++
29470         bits are now obsolete.
29472 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29474         * math/libm-test.inc (check_complex): Use asprintf.
29476 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
29478         * debug/pcprofiledump.c (print_version): Update copyright year.
29479         * malloc/memusagestat.c (print_version): Likewise.
29481 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
29483         [BZ #14831]
29484         * elf/Makefile (tests): Add tst-audit8.
29485         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29486         ($(objpfx)tst-audit8.out): New target.
29487         (tst-audit8-ENV): New variable.
29488         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29489         audit if l_reloc_result is NULL.
29490         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29491         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29492         * elf/tst-audit8.c: New file.
29494 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29496         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29497         * misc/Makefile (CFLAGS-select.c): Define.
29498         * posix/Makefile (CFLAGS-pause.c): Define.
29500 2012-11-13  David S. Miller  <davem@davemloft.net>
29502         * crypt/Makefile: Move test targets after toplevel Rules
29503         inclusion.  Grab any necessary sysdep routines when linking.
29504         * crypt/md5.c (md5_process_block): Remove define, we will always
29505         name it __md5_process_block.
29506         (md5_finish_ctx): Update md5_process_block call.
29507         (md5_stream): Likewise.
29508         (md5_process_bytes): Likewise.
29509         (md5_process_block): Rename to __md5_process_block and move to ...
29510         * crypt/md5-block.c: ... here.
29511         * crypt/sha256.c (sha256_process_block): Move to ...
29512         * crypt/sha256-block.c: ... here.
29513         * crypt/sha512.c (sha512_process_block): Move to ...
29514         * crypt/sha512-block.c: ... here.
29515         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29516         path.
29517         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29518         * sysdeps/sparc/sparc64/multiarch/Makefile
29519         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29520         crypt subdir.
29521         (localedef-aux): Add md5 crypto assembler when in locale subdir.
29522         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29523         multiarch changes.
29524         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29525         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29526         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29527         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29528         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29529         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29530         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29531         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29532         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29533         file.
29534         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29535         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29536         file.
29537         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29539 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
29541         * timezone/tzselect.ksh: Update from tzcode git revision
29542         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29543         * timezone/zdump.c: Likewise.
29544         * timezone/zic.c: Likewise.
29545         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29546         in TZVERSION setting, not $(PKGVERSION).
29547         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
29548         REPORT_BUGS_TO settings.
29550         [BZ #14838]
29551         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29552         macro.
29554 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29556         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29557         detection to immediately after _FP_ROUND().
29558         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29559         bits are 0.
29561 2012-11-11  David S. Miller  <davem@davemloft.net>
29563         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29564         inttypes.h
29565         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29566         __close rather than their public counterparts.
29568 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
29570         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29571         file.
29572         [UNIX98] (sem_timedwait): Do not expect.
29573         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29574         [XPG4 || UNIX98] (sockatmark): Do not expect.
29575         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29576         (clock_getcpuclockid): Do not expect.
29577         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29578         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29579         Do not expect.
29580         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29581         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29582         [UNIX98] (vwscanf): Likewise.
29583         [UNIX98] (vswscanf): Likewise.
29585 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
29587         * timezone/version.h: Remove file.
29588         * timezone/README: Do not refer to version.h.
29589         * timezone/Makefile ($(objpfx)zic.o): New dependency on
29590         $(objpfx)version.h.
29591         ($(objpfx)zdump.o): Likewise.
29592         ($(objpfx)version.h): New target.
29594         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29595         2012i.
29596         * timezone/README: Don't mention modification to tzselect.ksh.
29597         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29598         work on unmodified tzselect.ksh.  Substitute version numbers in
29599         tzselect.ksh.
29601         * Makefile (format-me): Remove.
29602         (INSTALL): Adjust indentation.  Use commands directly instead of
29603         using $(format-me).
29605         * aclocal.m4 (ACX_PKGVERSION): New macro.
29606         (ACX_BUGURL): Likewise.
29607         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29608         (PKGVERSION): New AC_DEFINE_UNQUOTED.
29609         (REPORT_BUGS_TO): Likewise.
29610         * configure: Regenerated.
29611         * config.h.in (PKGVERSION): New macro.
29612         (REPORT_BUGS_TO): Likewise.
29613         * config.make.in (PKGVERSION): New variable.
29614         (PKGVERSION_TEXI): Likewise.
29615         (REPORT_BUGS_TO): Likewise.
29616         (REPORT_BUGS_TEXI): Likewise.
29617         * Makefile (format-me): Use -I$(common-objpfx)manual.
29618         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29619         ($(common-objpfx)manual/%): New target.
29620         (manual/%): Remove target.
29621         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29622         (print_version): Use PKGVERSION.
29623         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29624         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29625         and REPORT_BUGS_TO.
29626         ($(objpfx)xtrace): Likewise.
29627         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29628         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29629         (print_version): Use PKGVERSION.
29630         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29631         (do_version): Use PKGVERSION.
29632         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29633         REPORT_BUGS_TO.
29634         (common-ldd-rewrite): Likewise.
29635         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29636         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29637         (print_version): Use PKGVERSION.
29638         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29639         * elf/pldd.c (argp_program_bug_address): Remove variable.
29640         (more_help): New function.
29641         (argp): Use more_help.
29642         (print_version): Use PKGVERSION.
29643         * elf/sln.c (main): Use PKGVERSION.
29644         (usage): Use REPORT_BUGS_TO.
29645         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29646         (top level): Use PKGVERSION.
29647         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29648         (print_version): Use PKGVERSION.
29649         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29650         (print_version): Use PKGVERSION.
29651         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29652         (print_version): Use PKGVERSION.
29653         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29654         (print_version): Use PKGVERSION.
29655         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29656         (print_version): Use PKGVERSION.
29657         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29658         (print_version): Use PKGVERSION.
29659         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29660         and BUGURL.
29661         ($(objpfx)memusage): Likewise.
29662         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29663         (do_version): Use PKGVERSION.
29664         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29665         (print_version): Use PKGVERSION.
29666         * malloc/mtrace.pl ($PACKAGE): Remove variable.
29667         ($PKGVERSION): New variable.
29668         ($REPORT_BUGS_TO): Likewise.
29669         (usage): Use $REPORT_BUGS_TO.
29670         (top level): Use $PKGVERSION.
29671         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29672         ($(objpfx)pkgvers.texi): New rule.
29673         ($(objpfx)stamp-pkgvers): Likewise.
29674         * manual/install.texi: Include pkgvers.texi.
29675         (--with-pkgversion): Document new configure option.
29676         (--with-bugurl): Likewise.
29677         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29678         than necessarily for this particular distribution.  Use
29679         REPORT_BUGS_TO for where to report bugs.
29680         * INSTALL: Regenerated.
29681         * manual/libc.texinfo: Include pkgvers.texi.
29682         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29683         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29684         (print_version): Use PKGVERSION.
29685         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29686         (print_version): Use PKGVERSION.
29687         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29688         (print_version): Use PKGVERSION.
29689         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29690         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29691         macro.
29692         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29693         (print_version): Use PKGVERSION.
29694         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29695         (print_version): Use PKGVERSION.
29696         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29697         and PKGVERSION.
29699         * timezone/checktab.awk: Update from tzcode 2012i.
29700         * timezone/ialloc.c: Likewise.
29701         * timezone/private.h: Likewise.
29702         * timezone/scheck.c: Likewise.
29703         * timezone/tzfile.h: Likewise.
29704         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29705         (TZVERSION): Hardcode tzcode version number.
29706         * timezone/zdump.c: Update from tzcode 2012i.
29707         * timezone/zic.c: Likewise.
29708         * timezone/version.h: New file.
29709         * timezone/README: Describe version.h.  Update upstream location.
29711         [BZ #14824]
29712         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29713         (mktemp): Enable declaration.
29714         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29715         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29716         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29717         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29718         Likewise.
29719         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29720         Likewise.
29721         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29722         Likewise.
29723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29724         Likewise.
29725         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29726         Likewise.
29727         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29728         Likewise.
29730         [BZ #14821]
29731         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29732         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
29733         for copies of such integer values.
29734         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29735         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29737 2012-11-09  Andreas Jaeger  <aj@suse.de>
29739         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29740         definitions and declarations that are provided by
29741         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29743 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29745         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29746         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29747         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29748         definition.
29750 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29752         * elf/elf.h: Update comment before AArch64 relocations.
29754 2012-11-07  David S. Miller  <davem@davemloft.net>
29756         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29757         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29758         (__start_context): Declare.
29759         (__makecontext_ret): Delete.
29760         (__makecontext): Hook up __start_context instead of
29761         __makecontext_ret.
29762         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29763         (sysdep_routines): Add __start_context when in stdlib.
29765 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29767         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29768         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29769         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
29770         hardcoded "nm".
29771         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
29772         (READELF): New variable.  Use it instead of hardcoded "readelf".
29774 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29776         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29777         * sysdeps/x86/Makefile: Here.
29778         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29779         * sysdeps/x86/tst-xmmymm.sh: This.
29781 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29783         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29784         expectations.
29785         [UNIX98] (pthread_barrier_t): Do not expect.
29786         [UNIX98] (pthread_barrierattr_t): Likewise.
29787         [UNIX98] (pthread_spinlock_t): Likewise.
29788         [UNIX98] (pthread_barrier_destroy): Likewise.
29789         [UNIX98] (pthread_barrier_init): Likewise.
29790         [UNIX98] (pthread_barrier_wait): Likewise.
29791         [UNIX98] (pthread_barrierattr_destroy): Likewise.
29792         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29793         [UNIX98] (pthread_barrierattr_init): Likewise.
29794         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29795         [UNIX98] (pthread_getcpuclockid): Likewise.
29796         [UNIX98] (pthread_mutex_timedlock): Likewise.
29797         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29798         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29799         [UNIX98] (pthread_sigmask): Likewise.
29800         [UNIX98] (pthread_spin_destroy): Likewise.
29801         [UNIX98] (pthread_spin_init): Likewise.
29802         [UNIX98] (pthread_spin_lock): Likewise.
29803         [UNIX98] (pthread_spin_trylock): Likewise.
29804         [UNIX98] (pthread_spin_unlock): Likewise.
29805         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29806         Do not expect.
29807         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29808         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29809         [XPG3 || XPG4] (pthread_cond_t): Likewise.
29810         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29811         [XPG3 || XPG4] (pthread_key_t): Likewise.
29812         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29813         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29814         [XPG3 || XPG4] (pthread_once_t): Likewise.
29815         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29816         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29817         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29818         [XPG3 || XPG4] (pthread_t): Likewise.
29820         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29821         not expect.
29822         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29824         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29825         Change function return type to int.
29827         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29828         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29829         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29830         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29831         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29832         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29833         [!POSIX] (posix_madvise): Likewise.
29834         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29835         && !UNIX98].
29836         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29837         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29838         (mode_t): Likewise.
29839         (posix_mem_offset): Likewise.
29840         (posix_typed_mem_get_info): Likewise.
29841         (posix_typed_mem_open): Likewise.
29843         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29844         Change condition to [XOPEN2K8].
29846         * conform/conformtest.pl: Preprocess allow-header data with -x c
29847         instead of from stdin.
29848         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29849         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29850         [C99-based standards] (cerfc): Likewise.
29851         [C99-based standards] (cexp2): Likewise.
29852         [C99-based standards] (cexpm1): Likewise.
29853         [C99-based standards] (clog10): Likewise.
29854         [C99-based standards] (clog1p): Likewise.
29855         [C99-based standards] (clog2): Likewise.
29856         [C99-based standards] (clgamma): Likewise.
29857         [C99-based standards] (ctgamma): Likewise.
29858         [C99-based standards] (cerff): Likewise.
29859         [C99-based standards] (cerfcf): Likewise.
29860         [C99-based standards] (cexp2f): Likewise.
29861         [C99-based standards] (cexpm1f): Likewise.
29862         [C99-based standards] (clog10f): Likewise.
29863         [C99-based standards] (clog1pf): Likewise.
29864         [C99-based standards] (clog2f): Likewise.
29865         [C99-based standards] (clgammaf): Likewise.
29866         [C99-based standards] (ctgammaf): Likewise.
29867         [C99-based standards] (cerfl): Likewise.
29868         [C99-based standards] (cerfcl): Likewise.
29869         [C99-based standards] (cexp2l): Likewise.
29870         [C99-based standards] (cexpm1l): Likewise.
29871         [C99-based standards] (clog10l): Likewise.
29872         [C99-based standards] (clog1pl): Likewise.
29873         [C99-based standards] (clog2l): Likewise.
29874         [C99-based standards] (clgammal): Likewise.
29875         [C99-based standards] (ctgammal): Likewise.
29876         * conform/data/inttypes.h-data [C99-based standards]: Include
29877         stdint.h-data.  Remove all expectations for stdint.h contents.
29878         [C99-based standards] (PRI*): Do not allow.
29879         [C99-based standards] (SCN*): Likewise.
29880         [C99-based standards] (*_t): Likewise.
29881         [C99-based-standards] (PRId8): Expect macro.
29882         [C99-based-standards] (PRIi8): Likewise.
29883         [C99-based-standards] (PRIo8): Likewise.
29884         [C99-based-standards] (PRIu8): Likewise.
29885         [C99-based-standards] (PRIx8): Likewise.
29886         [C99-based-standards] (PRIX8): Likewise.
29887         [C99-based-standards] (SCNd8): Likewise.
29888         [C99-based-standards] (SCNi8): Likewise.
29889         [C99-based-standards] (SCNo8): Likewise.
29890         [C99-based-standards] (SCNu8): Likewise.
29891         [C99-based-standards] (SCNx8): Likewise.
29892         [C99-based-standards] (PRIdLEAST8): Likewise.
29893         [C99-based-standards] (PRIiLEAST8): Likewise.
29894         [C99-based-standards] (PRIoLEAST8): Likewise.
29895         [C99-based-standards] (PRIuLEAST8): Likewise.
29896         [C99-based-standards] (PRIxLEAST8): Likewise.
29897         [C99-based-standards] (PRIXLEAST8): Likewise.
29898         [C99-based-standards] (SCNdLEAST8): Likewise.
29899         [C99-based-standards] (SCNiLEAST8): Likewise.
29900         [C99-based-standards] (SCNoLEAST8): Likewise.
29901         [C99-based-standards] (SCNuLEAST8): Likewise.
29902         [C99-based-standards] (SCNxLEAST8): Likewise.
29903         [C99-based-standards] (PRIdFAST8): Likewise.
29904         [C99-based-standards] (PRIiFAST8): Likewise.
29905         [C99-based-standards] (PRIoFAST8): Likewise.
29906         [C99-based-standards] (PRIuFAST8): Likewise.
29907         [C99-based-standards] (PRIxFAST8): Likewise.
29908         [C99-based-standards] (PRIXFAST8): Likewise.
29909         [C99-based-standards] (SCNdFAST8): Likewise.
29910         [C99-based-standards] (SCNiFAST8): Likewise.
29911         [C99-based-standards] (SCNoFAST8): Likewise.
29912         [C99-based-standards] (SCNuFAST8): Likewise.
29913         [C99-based-standards] (SCNxFAST8): Likewise.
29914         [C99-based-standards] (PRId16): Likewise.
29915         [C99-based-standards] (PRIi16): Likewise.
29916         [C99-based-standards] (PRIo16): Likewise.
29917         [C99-based-standards] (PRIu16): Likewise.
29918         [C99-based-standards] (PRIx16): Likewise.
29919         [C99-based-standards] (PRIX16): Likewise.
29920         [C99-based-standards] (SCNd16): Likewise.
29921         [C99-based-standards] (SCNi16): Likewise.
29922         [C99-based-standards] (SCNo16): Likewise.
29923         [C99-based-standards] (SCNu16): Likewise.
29924         [C99-based-standards] (SCNx16): Likewise.
29925         [C99-based-standards] (PRIdLEAST16): Likewise.
29926         [C99-based-standards] (PRIiLEAST16): Likewise.
29927         [C99-based-standards] (PRIoLEAST16): Likewise.
29928         [C99-based-standards] (PRIuLEAST16): Likewise.
29929         [C99-based-standards] (PRIxLEAST16): Likewise.
29930         [C99-based-standards] (PRIXLEAST16): Likewise.
29931         [C99-based-standards] (SCNdLEAST16): Likewise.
29932         [C99-based-standards] (SCNiLEAST16): Likewise.
29933         [C99-based-standards] (SCNoLEAST16): Likewise.
29934         [C99-based-standards] (SCNuLEAST16): Likewise.
29935         [C99-based-standards] (SCNxLEAST16): Likewise.
29936         [C99-based-standards] (PRIdFAST16): Likewise.
29937         [C99-based-standards] (PRIiFAST16): Likewise.
29938         [C99-based-standards] (PRIoFAST16): Likewise.
29939         [C99-based-standards] (PRIuFAST16): Likewise.
29940         [C99-based-standards] (PRIxFAST16): Likewise.
29941         [C99-based-standards] (PRIXFAST16): Likewise.
29942         [C99-based-standards] (SCNdFAST16): Likewise.
29943         [C99-based-standards] (SCNiFAST16): Likewise.
29944         [C99-based-standards] (SCNoFAST16): Likewise.
29945         [C99-based-standards] (SCNuFAST16): Likewise.
29946         [C99-based-standards] (SCNxFAST16): Likewise.
29947         [C99-based-standards] (PRId32): Likewise.
29948         [C99-based-standards] (PRIi32): Likewise.
29949         [C99-based-standards] (PRIo32): Likewise.
29950         [C99-based-standards] (PRIu32): Likewise.
29951         [C99-based-standards] (PRIx32): Likewise.
29952         [C99-based-standards] (PRIX32): Likewise.
29953         [C99-based-standards] (SCNd32): Likewise.
29954         [C99-based-standards] (SCNi32): Likewise.
29955         [C99-based-standards] (SCNo32): Likewise.
29956         [C99-based-standards] (SCNu32): Likewise.
29957         [C99-based-standards] (SCNx32): Likewise.
29958         [C99-based-standards] (PRIdLEAST32): Likewise.
29959         [C99-based-standards] (PRIiLEAST32): Likewise.
29960         [C99-based-standards] (PRIoLEAST32): Likewise.
29961         [C99-based-standards] (PRIuLEAST32): Likewise.
29962         [C99-based-standards] (PRIxLEAST32): Likewise.
29963         [C99-based-standards] (PRIXLEAST32): Likewise.
29964         [C99-based-standards] (SCNdLEAST32): Likewise.
29965         [C99-based-standards] (SCNiLEAST32): Likewise.
29966         [C99-based-standards] (SCNoLEAST32): Likewise.
29967         [C99-based-standards] (SCNuLEAST32): Likewise.
29968         [C99-based-standards] (SCNxLEAST32): Likewise.
29969         [C99-based-standards] (PRIdFAST32): Likewise.
29970         [C99-based-standards] (PRIiFAST32): Likewise.
29971         [C99-based-standards] (PRIoFAST32): Likewise.
29972         [C99-based-standards] (PRIuFAST32): Likewise.
29973         [C99-based-standards] (PRIxFAST32): Likewise.
29974         [C99-based-standards] (PRIXFAST32): Likewise.
29975         [C99-based-standards] (SCNdFAST32): Likewise.
29976         [C99-based-standards] (SCNiFAST32): Likewise.
29977         [C99-based-standards] (SCNoFAST32): Likewise.
29978         [C99-based-standards] (SCNuFAST32): Likewise.
29979         [C99-based-standards] (SCNxFAST32): Likewise.
29980         [C99-based-standards] (PRId64): Likewise.
29981         [C99-based-standards] (PRIi64): Likewise.
29982         [C99-based-standards] (PRIo64): Likewise.
29983         [C99-based-standards] (PRIu64): Likewise.
29984         [C99-based-standards] (PRIx64): Likewise.
29985         [C99-based-standards] (PRIX64): Likewise.
29986         [C99-based-standards] (SCNd64): Likewise.
29987         [C99-based-standards] (SCNi64): Likewise.
29988         [C99-based-standards] (SCNo64): Likewise.
29989         [C99-based-standards] (SCNu64): Likewise.
29990         [C99-based-standards] (SCNx64): Likewise.
29991         [C99-based-standards] (PRIdLEAST64): Likewise.
29992         [C99-based-standards] (PRIiLEAST64): Likewise.
29993         [C99-based-standards] (PRIoLEAST64): Likewise.
29994         [C99-based-standards] (PRIuLEAST64): Likewise.
29995         [C99-based-standards] (PRIxLEAST64): Likewise.
29996         [C99-based-standards] (PRIXLEAST64): Likewise.
29997         [C99-based-standards] (SCNdLEAST64): Likewise.
29998         [C99-based-standards] (SCNiLEAST64): Likewise.
29999         [C99-based-standards] (SCNoLEAST64): Likewise.
30000         [C99-based-standards] (SCNuLEAST64): Likewise.
30001         [C99-based-standards] (SCNxLEAST64): Likewise.
30002         [C99-based-standards] (PRIdFAST64): Likewise.
30003         [C99-based-standards] (PRIiFAST64): Likewise.
30004         [C99-based-standards] (PRIoFAST64): Likewise.
30005         [C99-based-standards] (PRIuFAST64): Likewise.
30006         [C99-based-standards] (PRIxFAST64): Likewise.
30007         [C99-based-standards] (PRIXFAST64): Likewise.
30008         [C99-based-standards] (SCNdFAST64): Likewise.
30009         [C99-based-standards] (SCNiFAST64): Likewise.
30010         [C99-based-standards] (SCNoFAST64): Likewise.
30011         [C99-based-standards] (SCNuFAST64): Likewise.
30012         [C99-based-standards] (SCNxFAST64): Likewise.
30013         [C99-based-standards] (PRIdMAX): Likewise.
30014         [C99-based-standards] (PRIiMAX): Likewise.
30015         [C99-based-standards] (PRIoMAX): Likewise.
30016         [C99-based-standards] (PRIuMAX): Likewise.
30017         [C99-based-standards] (PRIxMAX): Likewise.
30018         [C99-based-standards] (PRIXMAX): Likewise.
30019         [C99-based-standards] (SCNdMAX): Likewise.
30020         [C99-based-standards] (SCNiMAX): Likewise.
30021         [C99-based-standards] (SCNoMAX): Likewise.
30022         [C99-based-standards] (SCNuMAX): Likewise.
30023         [C99-based-standards] (SCNxMAX): Likewise.
30024         [C99-based-standards] (PRIdPTR): Likewise.
30025         [C99-based-standards] (PRIiPTR): Likewise.
30026         [C99-based-standards] (PRIoPTR): Likewise.
30027         [C99-based-standards] (PRIuPTR): Likewise.
30028         [C99-based-standards] (PRIxPTR): Likewise.
30029         [C99-based-standards] (PRIXPTR): Likewise.
30030         [C99-based-standards] (SCNdPTR): Likewise.
30031         [C99-based-standards] (SCNiPTR): Likewise.
30032         [C99-based-standards] (SCNoPTR): Likewise.
30033         [C99-based-standards] (SCNuPTR): Likewise.
30034         [C99-based-standards] (SCNxPTR): Likewise.
30035         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30036         allow.
30037         * conform/data/stdint.h-data: Update comments to clarify
30038         requirements.
30039         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30040         type.
30041         [C99-based standards] (INT8_MAX): Likewise.
30042         [C99-based standards] (INT16_MIN): Likewise.
30043         [C99-based standards] (INT16_MAX): Likewise.
30044         [C99-based standards] (INT32_MIN): Likewise.
30045         [C99-based standards] (INT32_MAX): Likewise.
30046         [C99-based standards] (INT64_MIN): Likewise.
30047         [C99-based standards] (INT64_MAX): Likewise.
30048         [C99-based standards] (UINT8_MAX): Likewise.
30049         [C99-based standards] (UINT16_MAX): Likewise.
30050         [C99-based standards] (UINT32_MAX): Likewise.
30051         [C99-based standards] (UINT64_MAX): Likewise.
30052         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30053         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30054         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30055         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30056         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30057         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30058         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30059         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30060         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30061         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30062         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30063         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30064         [C99-based standards] (INT_FAST8_MIN): Likewise.
30065         [C99-based standards] (INT_FAST8_MAX): Likewise.
30066         [C99-based standards] (INT_FAST16_MIN): Likewise.
30067         [C99-based standards] (INT_FAST16_MAX): Likewise.
30068         [C99-based standards] (INT_FAST32_MIN): Likewise.
30069         [C99-based standards] (INT_FAST32_MAX): Likewise.
30070         [C99-based standards] (INT_FAST64_MIN): Likewise.
30071         [C99-based standards] (INT_FAST64_MAX): Likewise.
30072         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30073         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30074         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30075         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30076         [C99-based standards] (INTPTR_MIN): Likewise.
30077         [C99-based standards] (INTPTR_MAX): Likewise.
30078         [C99-based standards] (UINTPTR_MAX): Likewise.
30079         [C99-based standards] (INTMAX_MIN): Likewise.
30080         [C99-based standards] (INTMAX_MAX): Likewise.
30081         [C99-based standards] (UINTMAX_MAX): Likewise.
30082         [C99-based standards] (PTRDIFF_MIN): Likewise.
30083         [C99-based standards] (PTRDIFF_MAX): Likewise.
30084         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30085         [C99-based standards] (SIZE_MAX): Likewise.
30086         [C99-based standards] (WCHAR_MAX): Likewise.
30087         [C99-based standards] (WINT_MAX): Likewise.
30088         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30089         constraint on value.
30090         [C99-based standards] (WCHAR_MIN): Likewise.
30091         [C99-based standards] (WINT_MIN): Likewise.
30092         [C99-based standards] (*_t): Allow.
30093         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30094         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30095         Include math.h-data and complex.h-data.  Remove all expectations
30096         of math.h and complex.h contents.
30097         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30098         at end of line.
30099         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30100         (struct tm): Expect tag.
30101         [C99-based-standards] (wcstof): Expect function.
30102         [C99-based-standards] (wcstold): Likewise.
30103         [C99-based-standards] (wcstoll): Likewise.
30104         [C99-based-standards] (wcstoull): Likewise.
30105         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30106         macro-int-constant.  Specify type.
30107         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30108         constraint on value.
30109         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30110         Specify type.
30111         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30112         Specify value.
30113         [ISO C standards]: Do not allow headers.
30114         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30115         wcs[abcdefghijklmnopqrstuvwxyz]*.
30116         [ISO C standards] (*_t): Do not allow.
30117         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30118         Expect function.
30119         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30120         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30121         Specify type.
30122         [ISO C standards]: Do not allow headers.
30123         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30124         is[abcdefghijklmnopqrstuvwxyz]*.
30125         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30126         to[abcdefghijklmnopqrstuvwxyz]*.
30127         [ISO C standards] (*_t): Do not allow.
30128         * conform/data/stdalign.h-data: New file.
30129         * conform/data/stdbool.h-data: Likewise.
30130         * conform/data/stdnoreturn.h-data: Likewise.
30132 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30134         [BZ #14815]
30135         * manual/filesys.texi (Directory Entries): Typo fix.
30136         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30138 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30140         * elf/elf.h (EM_AARCH64): New macro.
30141         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30142         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30143         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30144         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30145         (R_AARCH64_TLSDESC): Likewise.
30146         (NT_ARM_TLS): Likewise.
30147         (NT_ARM_HW_BREAK): Likewise.
30148         (NT_ARM_HW_WATCH): Likewise.
30150 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30152         [BZ #14811]
30153         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30154         (__ieee754_powl): Saturate nonzero exponents with absolute value
30155         below 0x1p-79 to +/- 0x1p-79.
30156         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30157         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30158         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30159         nonzero exponents with absolute value below 0x1p-32 to +/-
30160         0x1p-32.
30161         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30162         (__ieee754_powl): Saturate nonzero exponents with absolute value
30163         below 0x1p-79 to +/- 0x1p-79.
30164         * math/libm-test.inc (pow_test): Add more tests.
30166 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30168         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30169         _dl_s390_cap_flags with kernel. Increase string length.
30170         (_dl_s390_platforms): Add z196 and zEC12.
30172 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30174         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30175         Change XOPEN21K to XOPEN2K.
30177 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30179         * string/memmove.c: Use memcpy when possible.
30181 2012-11-06  Andreas Jaeger  <aj@suse.de>
30183         * po/eo.po: Update from translation team.
30185 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30187         [BZ #14793]
30188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30189         exponent and small x and y exponents, scale x or y up.  Increase
30190         by 2 the exponent used in scaling up.
30191         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30193         * math/libm-test.inc (fma_test): Add more tests.
30194         (fma_test_towardzero): Likewise.
30195         (fma_test_downward): Likewise.
30196         (fma_test_upward): Likewise.
30198 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30200         [BZ #14805]
30201         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30202         fenv_t *.
30204         [BZ #14801]
30205         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30206         namespace for names of struct fields.
30207         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30208         fenv_t fields.
30209         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30210         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30212 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30214         [BZ #3665]
30215         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30217 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30219         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30220         PTR_DEMANGLE.
30222         [BZ #5246]
30223         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30224         PTR_DEMANGLE.
30226 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
30228         [BZ #14797]
30229         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30230         definitely overflow as x * y not x * y + z.
30231         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30232         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30233         * math/libm-test.inc (fma_test): Add more tests.
30234         (fma_test_towardzero): Likewise.
30235         (fma_test_downward): Likewise.
30236         (fma_test_upward): Likewise.
30238 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30240         [BZ #157]
30242         * include/stub-tag.h: Remove file.
30243         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30244         '#include' of it.
30245         * manual/maint.texi (Porting): Don't reference it.
30246         * Makerules ($(objpfx)stubs): Likewise.
30247         * dirent/closedir.c: Don't include <stub-tag.h>.
30248         * dirent/dirfd.c: Likewise.
30249         * dirent/fdopendir.c: Likewise.
30250         * dirent/getdents.c: Likewise.
30251         * dirent/getdents64.c: Likewise.
30252         * dirent/opendir.c: Likewise.
30253         * dirent/readdir.c: Likewise.
30254         * dirent/readdir64.c: Likewise.
30255         * dirent/readdir64_r.c: Likewise.
30256         * dirent/readdir_r.c: Likewise.
30257         * dirent/rewinddir.c: Likewise.
30258         * dirent/seekdir.c: Likewise.
30259         * dirent/telldir.c: Likewise.
30260         * gmon/profil.c: Likewise.
30261         * grp/setgroups.c: Likewise.
30262         * inet/if_index.c: Likewise.
30263         * io/access.c: Likewise.
30264         * io/chdir.c: Likewise.
30265         * io/chmod.c: Likewise.
30266         * io/chown.c: Likewise.
30267         * io/close.c: Likewise.
30268         * io/dup.c: Likewise.
30269         * io/dup2.c: Likewise.
30270         * io/dup3.c: Likewise.
30271         * io/euidaccess.c: Likewise.
30272         * io/faccessat.c: Likewise.
30273         * io/fchdir.c: Likewise.
30274         * io/fchmod.c: Likewise.
30275         * io/fchmodat.c: Likewise.
30276         * io/fchown.c: Likewise.
30277         * io/fchownat.c: Likewise.
30278         * io/fcntl.c: Likewise.
30279         * io/flock.c: Likewise.
30280         * io/fstatfs.c: Likewise.
30281         * io/fstatfs64.c: Likewise.
30282         * io/fstatvfs.c: Likewise.
30283         * io/fstatvfs64.c: Likewise.
30284         * io/futimens.c: Likewise.
30285         * io/fxstat.c: Likewise.
30286         * io/fxstat64.c: Likewise.
30287         * io/fxstatat.c: Likewise.
30288         * io/fxstatat64.c: Likewise.
30289         * io/getcwd.c: Likewise.
30290         * io/isatty.c: Likewise.
30291         * io/lchmod.c: Likewise.
30292         * io/lchown.c: Likewise.
30293         * io/link.c: Likewise.
30294         * io/linkat.c: Likewise.
30295         * io/lseek.c: Likewise.
30296         * io/lseek64.c: Likewise.
30297         * io/lxstat64.c: Likewise.
30298         * io/mkdir.c: Likewise.
30299         * io/mkdirat.c: Likewise.
30300         * io/mkfifo.c: Likewise.
30301         * io/mkfifoat.c: Likewise.
30302         * io/open.c: Likewise.
30303         * io/open64.c: Likewise.
30304         * io/openat.c: Likewise.
30305         * io/openat64.c: Likewise.
30306         * io/pipe.c: Likewise.
30307         * io/pipe2.c: Likewise.
30308         * io/poll.c: Likewise.
30309         * io/posix_fadvise.c: Likewise.
30310         * io/posix_fadvise64.c: Likewise.
30311         * io/posix_fallocate.c: Likewise.
30312         * io/posix_fallocate64.c: Likewise.
30313         * io/read.c: Likewise.
30314         * io/readlink.c: Likewise.
30315         * io/readlinkat.c: Likewise.
30316         * io/rmdir.c: Likewise.
30317         * io/sendfile.c: Likewise.
30318         * io/sendfile64.c: Likewise.
30319         * io/statfs.c: Likewise.
30320         * io/statfs64.c: Likewise.
30321         * io/statvfs.c: Likewise.
30322         * io/statvfs64.c: Likewise.
30323         * io/symlink.c: Likewise.
30324         * io/symlinkat.c: Likewise.
30325         * io/ttyname.c: Likewise.
30326         * io/ttyname_r.c: Likewise.
30327         * io/umask.c: Likewise.
30328         * io/unlink.c: Likewise.
30329         * io/unlinkat.c: Likewise.
30330         * io/utime.c: Likewise.
30331         * io/utimensat.c: Likewise.
30332         * io/write.c: Likewise.
30333         * io/xmknod.c: Likewise.
30334         * io/xmknodat.c: Likewise.
30335         * io/xstat.c: Likewise.
30336         * io/xstat64.c: Likewise.
30337         * login/getpt.c: Likewise.
30338         * login/grantpt.c: Likewise.
30339         * login/unlockpt.c: Likewise.
30340         * math/e_acoshl.c: Likewise.
30341         * math/e_acosl.c: Likewise.
30342         * math/e_asinl.c: Likewise.
30343         * math/e_atan2l.c: Likewise.
30344         * math/e_atanhl.c: Likewise.
30345         * math/e_coshl.c: Likewise.
30346         * math/e_expl.c: Likewise.
30347         * math/e_fmodl.c: Likewise.
30348         * math/e_gammal_r.c: Likewise.
30349         * math/e_hypotl.c: Likewise.
30350         * math/e_j0l.c: Likewise.
30351         * math/e_j1l.c: Likewise.
30352         * math/e_jnl.c: Likewise.
30353         * math/e_lgammal_r.c: Likewise.
30354         * math/e_log10l.c: Likewise.
30355         * math/e_log2l.c: Likewise.
30356         * math/e_logl.c: Likewise.
30357         * math/e_powl.c: Likewise.
30358         * math/e_rem_pio2l.c: Likewise.
30359         * math/e_sinhl.c: Likewise.
30360         * math/e_sqrtl.c: Likewise.
30361         * math/fclrexcpt.c: Likewise.
30362         * math/fedisblxcpt.c: Likewise.
30363         * math/feenablxcpt.c: Likewise.
30364         * math/fegetenv.c: Likewise.
30365         * math/fegetexcept.c: Likewise.
30366         * math/fegetround.c: Likewise.
30367         * math/feholdexcpt.c: Likewise.
30368         * math/fesetenv.c: Likewise.
30369         * math/fesetround.c: Likewise.
30370         * math/feupdateenv.c: Likewise.
30371         * math/fgetexcptflg.c: Likewise.
30372         * math/fraiseexcpt.c: Likewise.
30373         * math/fsetexcptflg.c: Likewise.
30374         * math/ftestexcept.c: Likewise.
30375         * math/k_cosl.c: Likewise.
30376         * math/k_rem_pio2l.c: Likewise.
30377         * math/k_sinl.c: Likewise.
30378         * math/k_tanl.c: Likewise.
30379         * math/s_asinhl.c: Likewise.
30380         * math/s_atanl.c: Likewise.
30381         * math/s_cbrtl.c: Likewise.
30382         * math/s_erfl.c: Likewise.
30383         * math/s_expm1l.c: Likewise.
30384         * math/s_log1pl.c: Likewise.
30385         * math/s_tanhl.c: Likewise.
30386         * misc/acct.c: Likewise.
30387         * misc/brk.c: Likewise.
30388         * misc/chflags.c: Likewise.
30389         * misc/chroot.c: Likewise.
30390         * misc/fchflags.c: Likewise.
30391         * misc/fgetxattr.c: Likewise.
30392         * misc/flistxattr.c: Likewise.
30393         * misc/fremovexattr.c: Likewise.
30394         * misc/fsetxattr.c: Likewise.
30395         * misc/fsync.c: Likewise.
30396         * misc/ftruncate.c: Likewise.
30397         * misc/futimes.c: Likewise.
30398         * misc/futimesat.c: Likewise.
30399         * misc/getdomain.c: Likewise.
30400         * misc/getdtsz.c: Likewise.
30401         * misc/gethostid.c: Likewise.
30402         * misc/gethostname.c: Likewise.
30403         * misc/getloadavg.c: Likewise.
30404         * misc/getpagesize.c: Likewise.
30405         * misc/getsysstats.c: Likewise.
30406         * misc/getxattr.c: Likewise.
30407         * misc/gtty.c: Likewise.
30408         * misc/ioctl.c: Likewise.
30409         * misc/lgetxattr.c: Likewise.
30410         * misc/listxattr.c: Likewise.
30411         * misc/llistxattr.c: Likewise.
30412         * misc/lremovexattr.c: Likewise.
30413         * misc/lsetxattr.c: Likewise.
30414         * misc/lutimes.c: Likewise.
30415         * misc/madvise.c: Likewise.
30416         * misc/mincore.c: Likewise.
30417         * misc/mlock.c: Likewise.
30418         * misc/mlockall.c: Likewise.
30419         * misc/mmap.c: Likewise.
30420         * misc/mprotect.c: Likewise.
30421         * misc/msync.c: Likewise.
30422         * misc/munlock.c: Likewise.
30423         * misc/munlockall.c: Likewise.
30424         * misc/munmap.c: Likewise.
30425         * misc/preadv.c: Likewise.
30426         * misc/preadv64.c: Likewise.
30427         * misc/ptrace.c: Likewise.
30428         * misc/pwritev.c: Likewise.
30429         * misc/pwritev64.c: Likewise.
30430         * misc/readv.c: Likewise.
30431         * misc/reboot.c: Likewise.
30432         * misc/remap_file_pages.c: Likewise.
30433         * misc/removexattr.c: Likewise.
30434         * misc/revoke.c: Likewise.
30435         * misc/select.c: Likewise.
30436         * misc/setdomain.c: Likewise.
30437         * misc/setegid.c: Likewise.
30438         * misc/seteuid.c: Likewise.
30439         * misc/sethostid.c: Likewise.
30440         * misc/sethostname.c: Likewise.
30441         * misc/setregid.c: Likewise.
30442         * misc/setreuid.c: Likewise.
30443         * misc/setxattr.c: Likewise.
30444         * misc/sstk.c: Likewise.
30445         * misc/stty.c: Likewise.
30446         * misc/swapoff.c: Likewise.
30447         * misc/swapon.c: Likewise.
30448         * misc/sync.c: Likewise.
30449         * misc/syncfs.c: Likewise.
30450         * misc/syscall.c: Likewise.
30451         * misc/truncate.c: Likewise.
30452         * misc/ualarm.c: Likewise.
30453         * misc/usleep.c: Likewise.
30454         * misc/ustat.c: Likewise.
30455         * misc/utimes.c: Likewise.
30456         * misc/vhangup.c: Likewise.
30457         * misc/writev.c: Likewise.
30458         * posix/_exit.c: Likewise.
30459         * posix/alarm.c: Likewise.
30460         * posix/execve.c: Likewise.
30461         * posix/fexecve.c: Likewise.
30462         * posix/fork.c: Likewise.
30463         * posix/fpathconf.c: Likewise.
30464         * posix/getaddrinfo.c: Likewise.
30465         * posix/getegid.c: Likewise.
30466         * posix/geteuid.c: Likewise.
30467         * posix/getgid.c: Likewise.
30468         * posix/getgroups.c: Likewise.
30469         * posix/getlogin.c: Likewise.
30470         * posix/getlogin_r.c: Likewise.
30471         * posix/getpgid.c: Likewise.
30472         * posix/getpid.c: Likewise.
30473         * posix/getppid.c: Likewise.
30474         * posix/getresgid.c: Likewise.
30475         * posix/getresuid.c: Likewise.
30476         * posix/getsid.c: Likewise.
30477         * posix/getuid.c: Likewise.
30478         * posix/glob64.c: Likewise.
30479         * posix/nanosleep.c: Likewise.
30480         * posix/pathconf.c: Likewise.
30481         * posix/pause.c: Likewise.
30482         * posix/posix_madvise.c: Likewise.
30483         * posix/pread.c: Likewise.
30484         * posix/pread64.c: Likewise.
30485         * posix/pwrite.c: Likewise.
30486         * posix/pwrite64.c: Likewise.
30487         * posix/sched_getaffinity.c: Likewise.
30488         * posix/sched_getp.c: Likewise.
30489         * posix/sched_gets.c: Likewise.
30490         * posix/sched_primax.c: Likewise.
30491         * posix/sched_primin.c: Likewise.
30492         * posix/sched_rr_gi.c: Likewise.
30493         * posix/sched_setaffinity.c: Likewise.
30494         * posix/sched_setp.c: Likewise.
30495         * posix/sched_sets.c: Likewise.
30496         * posix/sched_yield.c: Likewise.
30497         * posix/setgid.c: Likewise.
30498         * posix/setlogin.c: Likewise.
30499         * posix/setpgid.c: Likewise.
30500         * posix/setresgid.c: Likewise.
30501         * posix/setresuid.c: Likewise.
30502         * posix/setsid.c: Likewise.
30503         * posix/setuid.c: Likewise.
30504         * posix/sleep.c: Likewise.
30505         * posix/spawni.c: Likewise.
30506         * posix/sysconf.c: Likewise.
30507         * posix/times.c: Likewise.
30508         * posix/wait.c: Likewise.
30509         * posix/wait3.c: Likewise.
30510         * posix/wait4.c: Likewise.
30511         * posix/waitpid.c: Likewise.
30512         * resolv/gai_sigqueue.c: Likewise.
30513         * resource/getpriority.c: Likewise.
30514         * resource/getrlimit.c: Likewise.
30515         * resource/getrusage.c: Likewise.
30516         * resource/nice.c: Likewise.
30517         * resource/setpriority.c: Likewise.
30518         * resource/setrlimit.c: Likewise.
30519         * resource/ulimit.c: Likewise.
30520         * rt/aio_cancel.c: Likewise.
30521         * rt/aio_fsync.c: Likewise.
30522         * rt/aio_read.c: Likewise.
30523         * rt/aio_sigqueue.c: Likewise.
30524         * rt/aio_suspend.c: Likewise.
30525         * rt/aio_write.c: Likewise.
30526         * rt/clock_getres.c: Likewise.
30527         * rt/clock_gettime.c: Likewise.
30528         * rt/clock_nanosleep.c: Likewise.
30529         * rt/clock_settime.c: Likewise.
30530         * rt/lio_listio.c: Likewise.
30531         * rt/mq_close.c: Likewise.
30532         * rt/mq_getattr.c: Likewise.
30533         * rt/mq_notify.c: Likewise.
30534         * rt/mq_open.c: Likewise.
30535         * rt/mq_receive.c: Likewise.
30536         * rt/mq_send.c: Likewise.
30537         * rt/mq_setattr.c: Likewise.
30538         * rt/mq_timedreceive.c: Likewise.
30539         * rt/mq_timedsend.c: Likewise.
30540         * rt/mq_unlink.c: Likewise.
30541         * rt/shm_open.c: Likewise.
30542         * rt/shm_unlink.c: Likewise.
30543         * rt/timer_create.c: Likewise.
30544         * rt/timer_delete.c: Likewise.
30545         * rt/timer_getoverr.c: Likewise.
30546         * rt/timer_gettime.c: Likewise.
30547         * rt/timer_settime.c: Likewise.
30548         * setjmp/__longjmp.c: Likewise.
30549         * setjmp/setjmp.c: Likewise.
30550         * signal/kill.c: Likewise.
30551         * signal/killpg.c: Likewise.
30552         * signal/raise.c: Likewise.
30553         * signal/sigaction.c: Likewise.
30554         * signal/sigaltstack.c: Likewise.
30555         * signal/sigblock.c: Likewise.
30556         * signal/sigignore.c: Likewise.
30557         * signal/sigintr.c: Likewise.
30558         * signal/signal.c: Likewise.
30559         * signal/sigpause.c: Likewise.
30560         * signal/sigpending.c: Likewise.
30561         * signal/sigqueue.c: Likewise.
30562         * signal/sigreturn.c: Likewise.
30563         * signal/sigset.c: Likewise.
30564         * signal/sigsetmask.c: Likewise.
30565         * signal/sigstack.c: Likewise.
30566         * signal/sigsuspend.c: Likewise.
30567         * signal/sigtimedwait.c: Likewise.
30568         * signal/sigvec.c: Likewise.
30569         * signal/sigwait.c: Likewise.
30570         * signal/sigwaitinfo.c: Likewise.
30571         * signal/sysv_signal.c: Likewise.
30572         * socket/accept.c: Likewise.
30573         * socket/accept4.c: Likewise.
30574         * socket/bind.c: Likewise.
30575         * socket/connect.c: Likewise.
30576         * socket/getpeername.c: Likewise.
30577         * socket/getsockname.c: Likewise.
30578         * socket/getsockopt.c: Likewise.
30579         * socket/isfdtype.c: Likewise.
30580         * socket/listen.c: Likewise.
30581         * socket/recv.c: Likewise.
30582         * socket/recvfrom.c: Likewise.
30583         * socket/recvmsg.c: Likewise.
30584         * socket/send.c: Likewise.
30585         * socket/sendmsg.c: Likewise.
30586         * socket/sendto.c: Likewise.
30587         * socket/setsockopt.c: Likewise.
30588         * socket/shutdown.c: Likewise.
30589         * socket/sockatmark.c: Likewise.
30590         * socket/socket.c: Likewise.
30591         * socket/socketpair.c: Likewise.
30592         * stdio-common/ctermid.c: Likewise.
30593         * stdio-common/cuserid.c: Likewise.
30594         * stdio-common/remove.c: Likewise.
30595         * stdio-common/rename.c: Likewise.
30596         * stdio-common/renameat.c: Likewise.
30597         * stdio-common/tempname.c: Likewise.
30598         * stdlib/getcontext.c: Likewise.
30599         * stdlib/makecontext.c: Likewise.
30600         * stdlib/setcontext.c: Likewise.
30601         * stdlib/swapcontext.c: Likewise.
30602         * stdlib/system.c: Likewise.
30603         * streams/fattach.c: Likewise.
30604         * streams/fdetach.c: Likewise.
30605         * streams/getmsg.c: Likewise.
30606         * streams/getpmsg.c: Likewise.
30607         * streams/putmsg.c: Likewise.
30608         * streams/putpmsg.c: Likewise.
30609         * sysdeps/unix/bsd/getpt.c: Likewise.
30610         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30611         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30612         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30614         Likewise.
30615         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30616         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30617         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30618         * sysvipc/msgctl.c: Likewise.
30619         * sysvipc/msgget.c: Likewise.
30620         * sysvipc/msgrcv.c: Likewise.
30621         * sysvipc/msgsnd.c: Likewise.
30622         * sysvipc/semctl.c: Likewise.
30623         * sysvipc/semget.c: Likewise.
30624         * sysvipc/semop.c: Likewise.
30625         * sysvipc/semtimedop.c: Likewise.
30626         * sysvipc/shmat.c: Likewise.
30627         * sysvipc/shmctl.c: Likewise.
30628         * sysvipc/shmdt.c: Likewise.
30629         * sysvipc/shmget.c: Likewise.
30630         * termios/tcdrain.c: Likewise.
30631         * termios/tcflow.c: Likewise.
30632         * termios/tcflush.c: Likewise.
30633         * termios/tcgetattr.c: Likewise.
30634         * termios/tcgetpgrp.c: Likewise.
30635         * termios/tcsendbrk.c: Likewise.
30636         * termios/tcsetattr.c: Likewise.
30637         * termios/tcsetpgrp.c: Likewise.
30638         * time/adjtime.c: Likewise.
30639         * time/clock.c: Likewise.
30640         * time/getitimer.c: Likewise.
30641         * time/gettimeofday.c: Likewise.
30642         * time/setitimer.c: Likewise.
30643         * time/settimeofday.c: Likewise.
30644         * time/stime.c: Likewise.
30645         * time/time.c: Likewise.
30647 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
30649         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30650         /usr/old/bin.
30652         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30653         instead of spaces.
30654         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30656 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
30658         [BZ #14796]
30659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30660         FE_TONEAREST before applying Dekker multiplication and Knuth
30661         addition.  Clear inexact exceptions and check for exact zero
30662         results afterwards.
30663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30664         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30665         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30666         * math/libm-test.inc (fma_test): Add more tests.
30667         (fma_test_towardzero): Likewise.
30668         (fma_test_downward): Likewise.
30669         (fma_test_upward): Likewise.
30670         * sysdeps/generic/math_private.h (default_libc_fesetround): New
30671         function.
30672         (libc_fesetround): New macro.
30673         (libc_fesetroundf): Likewise.
30674         (libc_fesetroundl): Likewise.
30675         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30676         function.
30677         (libc_fesetround_387): Likewise.
30678         (libc_fesetroundf): New macro.
30679         (libc_fesetround): Likewise.
30680         (libc_fesetroundl): Likewise.
30681         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30682         function.
30683         (libc_fesetroundf): New macro.
30684         (libc_fesetround): Likewise.
30685         (libc_fesetroundl): Likewise.
30686         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30687         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30688         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30689         libm_hidden_ver.
30690         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30691         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30692         libm_hidden_def.
30693         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30694         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30695         libm_hidden_ver.
30696         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30697         libm_hidden_def.
30699         [BZ #3439]
30700         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30701         integer constant usable in #if and use that to give value to enum
30702         constant.
30703         (FE_DIVBYZERO): Likewise.
30704         (FE_UNDERFLOW): Likewise.
30705         (FE_OVERFLOW): Likewise.
30706         (FE_INVALID): Likewise.
30707         (FE_INVALID_SNAN): Likewise.
30708         (FE_INVALID_ISI): Likewise.
30709         (FE_INVALID_IDI): Likewise.
30710         (FE_INVALID_ZDZ): Likewise.
30711         (FE_INVALID_IMZ): Likewise.
30712         (FE_INVALID_COMPARE): Likewise.
30713         (FE_INVALID_SOFTWARE): Likewise.
30714         (FE_INVALID_SQRT): Likewise.
30715         (FE_INVALID_INTEGER_CONVERSION): Likewise.
30716         (FE_TONEAREST): Likewise.
30717         (FE_TOWARDZERO): Likewise.
30718         (FE_UPWARD): Likewise.
30719         (FE_DOWNWARD): Likewise.
30720         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30721         (FE_DIVBYZERO): Likewise.
30722         (FE_OVERFLOW): Likewise.
30723         (FE_UNDERFLOW): Likewise.
30724         (FE_INEXACT): Likewise.
30725         (FE_TONEAREST): Likewise.
30726         (FE_DOWNWARD): Likewise.
30727         (FE_UPWARD): Likewise.
30728         (FE_TOWARDZERO): Likewise.
30729         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30730         (FE_UNDERFLOW): Likewise.
30731         (FE_OVERFLOW): Likewise.
30732         (FE_DIVBYZERO): Likewise.
30733         (FE_INVALID): Likewise.
30734         (FE_TONEAREST): Likewise.
30735         (FE_TOWARDZERO): Likewise.
30736         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30737         (FE_OVERFLOW): Likewise.
30738         (FE_UNDERFLOW): Likewise.
30739         (FE_DIVBYZERO): Likewise.
30740         (FE_INEXACT): Likewise.
30741         (FE_TONEAREST): Likewise.
30742         (FE_TOWARDZERO): Likewise.
30743         (FE_UPWARD): Likewise.
30744         (FE_DOWNWARD): Likewise.
30745         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30746         (FE_DIVBYZERO): Likewise.
30747         (FE_OVERFLOW): Likewise.
30748         (FE_UNDERFLOW): Likewise.
30749         (FE_INEXACT): Likewise.
30750         (FE_TONEAREST): Likewise.
30751         (FE_DOWNWARD): Likewise.
30752         (FE_UPWARD): Likewise.
30753         (FE_TOWARDZERO): Likewise.
30755 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
30757         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30759 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
30761         * scripts/cross-test-ssh.sh (command): Use newlines to separate
30762         commands.  Quote $PWD.
30763         (blacklist_exports): Don't use remove_newlines.  Replace "declare
30764         -x" by "export".
30765         (remove_newlines): Remove.
30767 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
30769         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30770         * stdlib/stdlib.h (atof): Moved to ...
30771         * include/bits/stdlib-float.h: Here.  New file.
30772         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30773         * stdlib/bits/stdlib-float.h: New file.
30774         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30775         -mno-sse -mno-mmx.
30776         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30777         <xmmintrin.h>.
30779 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30781         * conform/conformtest.pl (@headers): Add fenv.h.
30782         * conform/data/fenv.h-data: New file.
30783         * include/fenv.h [_ISOMAC]: Disable all contents of file except
30784         include of <math/fenv.h>.
30786         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30787         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30788         && !UNIX98].  Enables tests for XOPEN2K8.
30789         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30790         POSIX2008]: Likewise.
30792         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30793         (struct rusage): Do not expect type or its members.
30795         [BZ #3439]
30796         * math/math.h (FP_NAN): Define macro to integer constant usable in
30797         #if and use that to give value to enum constant.
30798         (FP_INFINITE): Likewise.
30799         (FP_ZERO): Likewise.
30800         (FP_SUBNORMAL): Likewise.
30801         (FP_NORMAL): Likewise.
30803 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
30805         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30806         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30807         arguments.
30809 2012-11-02  Roland McGrath  <roland@hack.frob.com>
30811         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30812         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30813         autoconf-time if not.
30814         * configure.in: Remove AC_PREREQ.
30816 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30818         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30819         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30820         of the internal implementation.
30822 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30824         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30825         except include of <misc/sys/syslog.h>.
30827 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30830         function returns with a NULL context exit with zero.
30832 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30834         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30836 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
30838         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30839         (run_program_cmd): This.
30840         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30841         (tst_langinfo): New variable.  Use it.
30843 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
30845         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30846         floating point opcodes.
30848 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30850         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30851         variable.
30853         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30855         * sysdeps/mach/hurd/powerpc: Remove directory.
30856         * sysdeps/mach/powerpc: Likewise.
30858 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30860         * scripts/check-local-headers.sh: Ignore c++ headers.
30862 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30864         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30865         __libc_cleanup_region_start argument.
30867 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
30869         [BZ #14784]
30870         [BZ #14785]
30871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30872         x * y using scaling, not as x * y + z.
30873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30874         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30875         * math/libm-test.inc (fma_test): Add more tests.
30876         (fma_test_towardzero): Likewise.
30877         (fma_test_downward): Likewise.
30878         (fma_test_upward): Likewise.
30880 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30882         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30884 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30886         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30887         New variable.
30889 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
30891         * rt/tst-shm.c (worker): Correct checking for mmap failure.
30893 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30896         Fix sort order.
30897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30898         Likewise.
30900 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30903         Fix the order of the list for glibc 2.17.
30904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30905         Likewise.
30907 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30911 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30913         [BZ #14610]
30914         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30915         for low part of x being zero before using __atanl (y).
30916         * math/libm-test.inc (atan2_test): Add another test.
30918         * manual/install.texi (Configuring and compiling): Document
30919         general use of test-wrapper and test-wrapper-env.
30920         * INSTALL: Regenerated.
30922         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30923         (__fma): Do not extract and scale down low bits on after-rounding
30924         systems when result rounded to normal precision would have normal
30925         exponent.
30926         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30927         (__fmal): Do not extract and scale down low bits on after-rounding
30928         systems when result rounded to normal precision would have normal
30929         exponent.
30930         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30931         (__fmal): Do not extract and scale down low bits on after-rounding
30932         systems when result rounded to normal precision would have normal
30933         exponent.
30934         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30935         macro.
30936         (fma_test): Add more tests.
30937         (fma_test_towardzero): Likewise.
30938         (fma_test_downward): Likewise.
30939         (fma_test_upward): Likewise.
30941 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
30943         * sysdeps/i386/tininess.h: Renamed to ...
30944         * sysdeps/x86/tininess.h: This.
30945         * sysdeps/x86_64/tininess.h: Removed.
30947 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30949         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30950         input.  Use $(build-program-cmd).
30951         ($(objpfx)tst-array1-static.out): Likewise.
30952         ($(objpfx)tst-array2.out): Likewise.
30953         ($(objpfx)tst-array3.out): Likewise.
30954         ($(objpfx)tst-array4.out): Likewise.
30955         ($(objpfx)tst-array5.out): Likewise.
30956         ($(objpfx)tst-array5-static.out): Likewise.
30958 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
30960         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30961         if defined.
30963         * nss/nsswitch.h (nss_interface_function): Provide new
30964         macro for use with NSS functions.
30965         * grp/initgroups.c: Use new macro.
30966         * nss/getXXbyYY.c: Likewise.
30967         * nss/getXXbyYY_r.c: Likewise.
30968         * nss/getXXent.c: Likewise.
30969         * nss/getXXent_r.c: Likewise.
30970         * sysdeps/posix/getaddrinfo.c: Likewise.
30972 2012-10-30  Andreas Jaeger  <aj@suse.de>
30974         * po/ru.po: Update Russion translation from translation project.
30976 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30978         [BZ #14152]
30979         [BZ #14783]
30980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30981         result and shift together with sticky bit instead of replicating
30982         round-to-nearest rounding.
30983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30984         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30985         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
30986         missing underflow exceptions.
30987         (fma_test_towardzero): Add more tests.
30988         (fma_test_downward): Likewise.
30989         (fma_test_upward): Likewise.
30991         [BZ #14047]
30992         * sysdeps/generic/tininess.h: New file.
30993         * sysdeps/i386/tininess.h: Likewise.
30994         * sysdeps/sh/tininess.h: Likewise.
30995         * sysdeps/x86_64/tininess.h: Likewise.
30996         * stdlib/tst-strtod-underflow.c: Likewise.
30997         * stdlib/tst-tininess.c: Likewise.
30998         * stdlib/strtod_l.c: Include <tininess.h>.
30999         (round_and_return): Do not set errno for exact underflow cases.
31000         Force an underflow exception when setting errno for underflow.
31001         Determine underflow based on rounding to normal precision if
31002         TININESS_AFTER_ROUNDING.
31003         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31004         ERANGE for exact underflow cases.
31005         * stdlib/Makefile (tests): Add tst-tininess and
31006         tst-strtod-underflow.
31007         ($(objpfx)tst-tininess): Use $(link-libm).
31008         ($(objpfx)tst-strtod-underflow): Likewise.
31010 2012-10-30  Andreas Jaeger  <aj@suse.de>
31012         [BZ#14767]
31013         * elf/Makefile (tests): Remove conditional for have-initfini-array
31014         since this is now always required and the variable does not exist
31015         anymore.
31016         (tests-static): Likewise.
31017         (modules-names): Likewise.
31019         * po/eo.po: Add Esperanto translation from translation project.
31021         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31022         merged with constructor/destructor.
31023         (init_array): Likewise.
31024         * elf/tst-array2dep.c (fini_array): Likewise.
31025         (init_array): Likewise.
31027 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31029         * manual/message.texi: Delete @cartouche tags.
31031 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31033         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31034         EOPNOTSUPP.
31035         * sysdeps/mach/hurd/fsync.c: Likewise.
31037         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31038         [_POSIX_REALTIME_SIGNALS]: Change condition to
31039         [_POSIX_REALTIME_SIGNALS > 0].
31041 2012-10-27  Andreas Jaeger  <aj@suse.de>
31043         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31044         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31045         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31046         [__WORDSIZE != 64]: Likewise.
31048 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31050         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31051         *  iconvdata/tst-tables.sh: Likewise.
31053 2012-10-25  David S. Miller  <davem@davemloft.net>
31055         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31056         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31057         of strtoull.
31059         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31060         ifunc-impl-list.c
31061         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31062         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31063         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31064         file.
31066 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31068         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31069         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31070         __getdirentries.
31072 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31073             Jim Blandy  <jimb@codesourcery.com>
31075         * scripts/cross-test-ssh.sh: New file.
31076         * manual/install.texi (Configuring and compiling): Document use of
31077         cross-test-ssh.sh.
31078         * INSTALL: Regenerated.
31080 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31082         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31083         EOPNOTSUPP.
31085 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31087         * Makeconfig (run-program-prefix): Fix comment.
31089 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31090             Jim Blandy  <jimb@codesourcery.com>
31092         * Makeconfig (test-wrapper): New variable,
31093         (test-wrapper-env): Likewise.
31094         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31095         (run-built-tests): Define to yes.
31096         (run-program-prefix): Use $(test-wrapper).
31097         (built-program-cmd): Likewise.
31098         * Rules (make-test-out): Use $(test-wrapper-env) and
31099         $(host-built-program-cmd).
31100         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31101         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31102         tst-pathopt.sh.
31103         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31104         $(test-wrapper-env) to tst-rtld-load-self.sh.
31105         ($(objpfx)order2.out): Use $(test-wrapper).
31106         ($(objpfx)tst-initorder.out): Likewise.
31107         ($(objpfx)tst-initorder2.out): Likewise.
31108         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31109         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31110         (test_wrapper_env): New variable.  Use it to run ld.so.
31111         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31112         Use it to run ld.so.
31113         (test_wrapper_env): Likewise.
31114         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31115         $(test-wrapper) to run-iconv-test.sh.
31116         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31117         (ICONV): Use $test_wrapper.
31118         * posix/Makefile ($(objpfx)globtest.out): Pass
31119         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31120         globtest.sh, not $(run-program-prefix).
31121         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31122         (test_wrapper): Likewise.
31123         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31124         set together with run_via_rtld_prefix.
31125         (run_program_prefix): Define in terms of test_wrapper and
31126         run_via_rtld_prefix.
31128 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31130         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31131         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31132         Targets removed.
31134         [BZ #14743]
31135         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31136         Declare __clock_getres, __clock_gettime, __clock_settime,
31137         __clock_nanosleep, and __clock_getcpuclockid.
31138         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31139         Remove librt_hidden_def (clock_gettime).
31140         * sysdeps/unix/clock_gettime.c: Likewise.
31141         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31142         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31143         * rt/clock_getres.c: Define __clock_getres as an alias.
31144         * sysdeps/posix/clock_getres.c: Likewise.
31145         * rt/clock_settime.c: Define __clock_settime as an alias.
31146         * sysdeps/unix/clock_settime.c: Likewise.
31147         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31148         * sysdeps/unix/clock_nanosleep.c: Likewise.
31149         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31150         * rt/clock-compat.c: New file.
31151         * rt/Makefile (librt-routines): Add clock-compat and move
31152         $(clock-routines) to ...
31153         (routines): ... here, new variable.
31154         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31155         Don't add get_clockfreq here.
31156         * rt/Versions (libc: GLIBC_2.17): New version set.
31157         Add clock_* symbols here.
31158         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31159         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31160         (GLIBC_2.17): Add clock_* symbols.
31161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31163         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31165         Likewise.
31166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31167         Likewise.
31168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31172         * NEWS: Mention the move.
31174         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31175         Use __open, __read, __close rather than their public counterparts.
31176         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31177         (__get_clockfreq_via_cpuinfo): Likewise.
31178         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31179         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31181         * config.h.in (HAVE_IFUNC): New #undef.
31182         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31183         was successful.
31184         * configure: Regenerated.
31186 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31188         * configure.in: Move READELF check to start of file.
31189         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31190         libc_cv_asm_gnu_indirect_function in the process.
31191         * configure: Regenerated.
31193 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31195         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31196         send the output to /dev/null.
31197         (libc_cv_cc_with_libunwind): Likewise.
31198         (libc_cv_as_noexecstack): Likewise.
31199         * configure: Regenerate.
31201 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31203         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31205         * posix/globtest.sh (TMPDIR): Do not set.
31206         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31207         (testout): Likewise.
31209 2012-10-24  Andreas Jaeger  <aj@suse.de>
31211         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31212         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31213         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31214         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31215         posix_fadvise64, posix_fallocate64.
31217         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31218         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31219         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31220         Likewise.
31221         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31222         Likewise.
31223         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31225         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31226         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31227         <bits/fcntl-linux.h>.
31228         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31231         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31232         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31233         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31234         [__WORDSIZE != 64]: Likewise.
31236 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31238         * Makeconfig (run-built-tests): New variable.
31239         * Rules [$(cross-compiling) = yes]: Change condition to
31240         [$(run-built-tests) = no].
31241         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31242         to [$(run-built-tests) = yes].
31243         * elf/Makefile [$(cross-compiling) = no]: Likewise
31244         * grp/Makefile [$(cross-compiling) = no]: Likewise.
31245         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31246         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31247         * intl/Makefile [$(cross-compiling) = no]: Likewise.
31248         * io/Makefile [$(cross-compiling) = no]: Likewise.
31249         * libio/Makefile [$(cross-compiling) = no]: Likewise.
31250         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31251         * misc/Makefile [$(cross-compiling) = no]: Likewise.
31252         * posix/Makefile [$(cross-compiling) = no]: Likewise.
31253         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31254         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31255         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31256         * string/Makefile [$(cross-compiling) = no]: Likewise.
31258         * posix/Makefile ($(objpfx)globtest.out): Pass
31259         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31260         $(rtld-installed-name).
31261         * posix/globtest.sh (elf_objpfx): Remove variable.
31262         (rtld_installed_name): Likewise.
31263         (library_path): Likewise.
31264         (run_program_prefix): New variable.  Use for running globtest
31265         binary.
31267 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
31268             Joseph Myers  <joseph@codesourcery.com>
31270         * Makeconfig (host-built-program-cmd): New variable.
31271         * elf/Makefile (tst-stackguard1-ARGS): Use
31272         $(host-built-program-cmd).
31273         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31274         (tst-spawn-ARGS): Likewise.
31275         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31277 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31278             Jim Blandy  <jimb@codesourcery.com>
31280         * Makeconfig (run-via-rtld-prefix): New variable.
31281         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31282         (built-program-cmd): Likewise.
31284 2012-10-22  Andreas Jaeger  <aj@suse.de>
31286         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31287         __O_RSYNC if it exists, otherwise to O_SYNC.
31289 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
31290             Joseph Myers  <joseph@codesourcery.com>
31292         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31293         /dev/null.
31294         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31295         from /dev/null
31296         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31297         /dev/null.
31299 2012-10-22  Andreas Jaeger  <aj@suse.de>
31301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31302         Define always.
31303         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31306         bits/fcntl-linux.h.
31308         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31309         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31312         to __O_LARGEFILE.
31313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31314         to __O_LARGEFILE.
31316 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
31317             Joseph Myers  <joseph@codesourcery.com>
31319         * config.make.in (NM): New variable.
31321 2012-10-21  Andreas Jaeger  <aj@suse.de>
31323         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31324         definitions and declarations that are provided by
31325         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31327 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31329         [BZ #14683]
31330         * elf/Makefile (tests-static): Add tst-leaks1-static.
31331         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31332         ($(objpfx)tst-leaks1-static): New rule.
31333         ($(objpfx)tst-leaks1-static-mem): Likewise.
31334         (tst-leaks1-static-ENV): New macro.
31335         * elf/dl-open.c (dl_open_worker): Check the main application
31336         only if SHARED is defined.
31337         * elf/tst-leaks1-static.c: New file.
31339 2012-10-20  Andreas Jaeger  <aj@suse.de>
31341         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31342         generic values for Linux.
31343         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31344         and declarations that are provided by <bits/fcntl-linux.h> and
31345         include <bits/fcntl-linux.h>.
31346         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31347         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31349 2012-10-20  Roland McGrath  <roland@hack.frob.com>
31351         * io/fcntl.h: Move include of <bits/types.h> to the top and
31352         include it unconditionally.
31354 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31356         * wcsmbs/Makefile (tests-ifunc): New variable.
31357         (tests): Add $(tests-ifunc).
31358         * wcsmbs/test-wcschr-ifunc.c: New file.
31359         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31360         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31361         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31362         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31363         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31365         * string/Makefile (tests-ifunc): New variable.
31366         (tests): Add $(tests-ifunc).
31367         * string/test-memccpy.c (TEST_NAME): New macro.
31368         * string/test-memchr.c (TEST_NAME): Likewise.
31369         * string/test-memcmp.c (TEST_NAME): Likewise.
31370         * string/test-memcpy.c (TEST_NAME): Likewise.
31371         * string/test-memmem.c (TEST_NAME): Likewise.
31372         * string/test-memmove.c (TEST_NAME): Likewise.
31373         * string/test-memset.c (TEST_NAME): Likewise.
31374         * string/test-rawmemchr.c (TEST_NAME): Likewise.
31375         * string/test-stpcpy.c (TEST_NAME): Likewise.
31376         * string/test-stpncpy.c (TEST_NAME): Likewise.
31377         * string/test-strcasecmp.c (TEST_NAME): Likewise.
31378         * string/test-strcasestr.c (TEST_NAME): Likewise.
31379         * string/test-strcat.c (TEST_NAME): Likewise.
31380         * string/test-strchr.c (TEST_NAME): Likewise.
31381         * string/test-strcmp.c(TEST_NAME): Likewise.
31382         * string/test-strcpy.c (TEST_NAME): Likewise.
31383         * string/test-strcspn.c (TEST_NAME): Likewise.
31384         * string/test-strlen.c (TEST_NAME): Likewise.
31385         * string/test-strncasecmp.c (TEST_NAME): Likewise.
31386         * string/test-strncmp.c (TEST_NAME): Likewise.
31387         * string/test-strncpy.c (TEST_NAME): Likewise.
31388         * string/test-strnlen.c (TEST_NAME): Likewise.
31389         * string/test-strpbrk.c (TEST_NAME): Likewise.
31390         * string/test-strrchr.c (TEST_NAME): Likewise.
31391         * string/test-strspn.c (TEST_NAME): Likewise.
31392         * string/test-strstr.c (TEST_NAME): Likewise.
31393         * string/test-bcopy-ifunc.c: New file.
31394         * string/test-bzero-ifunc.c: Likewise.
31395         * string/test-memccpy-ifunc.c: Likewise.
31396         * string/test-memchr-ifunc.c: Likewise.
31397         * string/test-memcmp-ifunc.c: Likewise.
31398         * string/test-memcpy-ifunc.c: Likewise.
31399         * string/test-memmem-ifunc.c: Likewise.
31400         * string/test-memmove-ifunc.c: Likewise.
31401         * string/test-mempcpy-ifunc.c: Likewise.
31402         * string/test-memset-ifunc.c: Likewise.
31403         * string/test-rawmemchr-ifunc.c: Likewise.
31404         * string/test-stpcpy-ifunc.c: Likewise.
31405         * string/test-stpncpy-ifunc.c: Likewise.
31406         * string/test-strcasecmp-ifunc.c: Likewise.
31407         * string/test-strcasestr-ifunc.c: Likewise.
31408         * string/test-strcat-ifunc.c: Likewise.
31409         * string/test-strchr-ifunc.c: Likewise.
31410         * string/test-strchrnul-ifunc.c: Likewise.
31411         * string/test-strcmp-ifunc.c: Likewise.
31412         * string/test-strcpy-ifunc.c: Likewise.
31413         * string/test-strcspn-ifunc.c: Likewise.
31414         * string/test-strlen-ifunc.c: Likewise.
31415         * string/test-strncasecmp-ifunc.c: Likewise.
31416         * string/test-strncat-ifunc.c: Likewise.
31417         * string/test-strncmp-ifunc.c: Likewise.
31418         * string/test-strncpy-ifunc.c: Likewise.
31419         * string/test-strnlen-ifunc.c: Likewise.
31420         * string/test-strpbrk-ifunc.c: Likewise.
31421         * string/test-strrchr-ifunc.c: Likewise.
31422         * string/test-strspn-ifunc.c: Likewise.
31423         * string/test-strstr-ifunc.c: Likewise.
31425         * debug/Makefile (tests-ifunc): New variable.
31426         (tests): Add $(tests-ifunc).
31427         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31428         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31429         * debug/test-stpcpy_chk-ifunc.c: New file.
31430         * debug/test-strcpy_chk-ifunc.c: Likewise.
31432 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31434         [BZ #13601]
31435         * elf/dl-load.c (open_verify): Retry read if the entire ELF
31436         header is not read in.
31438 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
31440         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
31441         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
31442         directly.  Pass built executable to script as
31443         $(built-program-cmd).
31444         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
31445         $testprogram without using LD_LIBRARY_PATH and $ldso.
31447         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31448         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31449         $(rtld-installed-name).
31450         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31451         (rtld_installed_name): Likewise.
31452         (library_path): Likewise.
31453         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
31454         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31455         $(run-program-prefix) to tst-tables.sh.
31456         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
31457         it to run tst-table-from and tst-table-to.
31458         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31459         Pass it to tst-table.sh.
31460         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31461         $(run-program-prefix) to tst-gettext.sh.
31462         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31463         tst-translit.sh.
31464         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31465         tst-gettext2.sh.
31466         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
31467         to run tst-gettext.
31468         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
31469         to run tst-gettext2.
31470         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
31471         to run tst-translit.
31472         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31473         $(run-program-prefix) to tst-mtrace.sh.
31474         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
31475         to run tst-mtrace.
31476         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31477         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31478         $(rtld-installed-name).
31479         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31480         (rtld_installed_name): Likewise.
31481         (run_program_prefix): New variable.  Use it to run wordexp-test.
31483         * Makeconfig (ARCH): Remove all definitions.
31484         (machine): Likewise.
31485         [ARCH]: Remove conditional code.
31486         [!objdir]: Give error.
31487         [!objdir] (objpfx): Remove.
31488         [!objdir] (common-objpfx): Likewise.
31489         [!objdir] (common-objdir): Likewise.
31490         * configure.in (config_makefile): Remove.  Hardcode Makefile in
31491         AC_CONFIG_FILES call.
31492         * configure: Regenerated.
31494         [BZ #13888]
31495         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31496         or TMPDIR.
31497         (testout): Likewise.
31499         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31500         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31501         $(rtld-installed-name).
31502         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31503         (rtld_installed_name): Likwise.
31504         (runit): Remove function.
31505         (run_getconf): New variable,  Use it for running getconf binary.
31507 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
31509         [BZ #14716]
31510         * string/test-memmem.c (check_result): New function.
31511         (do_one_test): Use it.
31512         (check1): New function.
31513         (test_main): Use it.
31515 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
31517         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31519 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
31521         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31522         (_G_LSEEK64): Likewise.
31523         (_G_MMAP64): Likewise.
31524         (_G_FSTAT64): Likewise.
31525         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31526         (_G_LSEEK64): Likewise.
31527         (_G_MMAP64): Likewise.
31528         (_G_FSTAT64): Likewise.
31529         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31530         unconditional.  Call __mmap64 directly.
31531         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31532         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
31533         __lseek64 directly.
31534         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31535         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
31536         __mmap64 directly.
31537         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31538         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31539         __lseek64 directly.
31540         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31541         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31542         __lseek64 directly.
31543         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31544         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
31545         __lseek64 directly.
31546         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31547         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
31548         __fxstat64 directly.
31549         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31550         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31551         unconditional.
31552         (freopen64) [!_G_OPEN64]: Remove conditional code.
31553         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31554         unconditional.
31555         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31556         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31557         unconditional.
31558         (ftello64) [!_G_LSEEK64]: Remove conditional code.
31559         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31560         unconditional.
31561         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31562         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31563         unconditional.
31564         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31565         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31566         unconditional.
31567         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31568         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31569         unconditional.
31570         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31571         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31572         unconditional.
31573         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31575 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31577         [BZ #12140]
31578         * manual/memory.texi (Malloc Tunable Parameters): Add note
31579         about free list pointers overwriting some perturb bytes.
31580         Wording suggested by Roland McGrath.
31582 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
31584         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31585         (lgamma_test): Likewise.
31586         (tgamma_test): Likewise.
31588 2012-10-16  Florian Weimer  <fweimer@redhat.com>
31590         [BZ #14700]
31591         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31592         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31594 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
31596         * NEWS: Mention BZ #14716.
31597         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31598         when removing AVAILABLE1_USES_J macro.
31600 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
31602         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31603         (__bswap_64): __uint64_t for unsigned 64-bit int.
31605 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
31607         * include/string.h (memmem): Declare libc hidden alias.
31608         * string/memmem.c (memmem): Define libc hidden alias.
31609         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31610         __read, __close instead of open, read, close.
31612 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
31614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31615         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31616         global and hidden.
31617         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31618         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31619         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31620         Likewise.
31621         (__rawmemchr_sse2): Likewise.
31622         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31623         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31624         (__strchr_sse2): Likewise.
31625         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31626         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31627         (__strcasecmp_sse2): Likewise.
31628         (__strncasecmp_sse2): Likewise.
31629         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31630         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31631         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31632         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31633         (__strrchr_sse2): Likewise.
31634         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31635         ifunc-impl-list.c.
31636         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31637         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31638         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31639         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31640         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31641         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31642         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31643         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31644         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31645         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31646         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31647         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31648         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31649         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31650         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31651         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31652         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31653         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31654         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31655         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31656         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31657         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31658         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31659         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31660         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31661         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31662         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31663         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31664         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31665         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31667         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31668         global and hidden.
31669         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31670         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31671         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31672         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31673         Likewise.
31674         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31675         Likewise.
31676         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31677         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31678         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31679         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31680         ifunc-impl-list.c.
31681         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31682         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31683         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31684         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31685         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31686         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31687         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31688         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31689         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31690         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31691         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31692         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31693         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31694         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31695         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31696         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31697         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31698         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31699         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31700         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31701         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31702         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31703         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31704         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31705         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31706         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31707         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31708         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31709         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31710         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31711         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31712         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31713         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31714         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31715         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31716         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31717         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31718         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31719         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31720         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31721         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31723         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31724         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31725         * include/ifunc-impl-list.h: New file.
31726         * misc/ifunc-impl-list.c: Likewise.
31727         * misc/Makefile (routines): Add ifunc-impl-list.
31728         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31729         * string/test-string.h: Include <ifunc-impl-list.h>.
31730         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31731         TEST_NAME]: New variables.
31732         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31733         are defined.
31734         (test_init): Call __libc_ifunc_impl_list to initialize
31735         func_list if TEST_IFUNC and TEST_NAME are defined.
31737         * string/Makefile (strop-tests): Add bcopy and bzero.
31738         * string/test-bcopy.c: New file.
31739         * string/test-bzero.c: Likewise.
31740         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31741         defined.
31742         * string/test-memset.c: Support bzero test if TEST_BZERO is
31743         defined.
31744         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31745         __libc_memmove.
31746         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31747         __libc_memset.
31748         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31749         of memset.
31751 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
31753         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31754         * configure: Regenerated.
31756         * Makeconfig (+link-static-before-libc): Don't include
31757         $(link-static-libc).
31759         * libio/libio.h (_IO_pos_t): Remove.
31761 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31763         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
31764         McGrath.
31766 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31768         * crypt/crypt-entry.c: Include fips-private.h.
31769         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31770         * crypt/md5c-test.c (main): Tolerate disabled MD5.
31771         * sysdeps/unix/sysv/linux/fips-private.h: New file.
31772         * sysdeps/generic/fips-private.h: New file, dummy fallback.
31774 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31776         * crypt/crypt-private.h: Include stdbool.h.
31777         (_ufc_setup_salt_r): Return bool.
31778         * crypt/crypt-entry.c: Include errno.h.
31779         (__crypt_r): Return NULL with EINVAL for bad salt.
31780         * crypt/crypt_util.c (bad_for_salt): New.
31781         (_ufc_setup_salt_r): Check that salt is long enough and within
31782         the specified alphabet.
31783         * crypt/badsalttest.c: New file.
31784         * crypt/Makefile (tests): Add it.
31785         ($(objpfx)badsalttest): New.
31787 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
31789         * NEWS: Add entry for BZ #14602.
31791 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31793         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31794         type-generic.
31795         * math/libm-test.inc: Update comment listing what functions and
31796         macros are tested.
31797         (isgreater_test): New function.
31798         (isgreaterequal_test): Likewise.
31799         (isless_test): Likewise.
31800         (islessequal_test): Likewise.
31801         (islessgreater_test): Likewise.
31802         (isunordered_test): Likewise.
31803         (main): Call the new functions.
31805 2012-10-09  Roland McGrath  <roland@hack.frob.com>
31807         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31808         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31809         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31810         * sysdeps/i386/configure: Regenerated.
31811         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31812         * sysdeps/mach/configure: Regenerated.
31813         * sysdeps/mach/hurd/configure: Regenerated.
31814         * sysdeps/powerpc/configure: Regenerated.
31815         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31816         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31817         * sysdeps/s390/s390-32/configure: Regenerated.
31818         * sysdeps/s390/s390-64/configure: Regenerated.
31819         * sysdeps/sh/configure: Regenerated.
31820         * sysdeps/sparc/configure: Regenerated.
31821         * sysdeps/unix/sysv/linux/configure: Regenerated.
31822         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31823         * sysdeps/x86_64/configure: Regenerated.
31825         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31826         defined.  Don't check if MAP is NULL.
31828 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31830         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31831         (_G_stat64): Likewise.
31832         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31833         (_G_stat64): Likewise.
31834         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31835         instead of struct _G_stat64.
31836         * libio/fileops.c (mmap_remap_check): Likewise.
31837         (decide_maybe_mmap): Likewise.
31838         (_IO_new_file_seekoff): Likewise.
31839         (_IO_file_stat): Likewise.
31840         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31841         _G_off64_t.
31842         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31843         instead of struct _G_stat64.
31844         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31846 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
31848         [BZ #14602]
31849         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31850         Replace with ...
31851         (CHECK_EOL): New macro.
31852         (two_way_short_needle): Check beginning of haystack for EOL.  Use
31853         CHECK_EOL.
31854         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31855         Replace with CHECK_EOL.
31856         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31857         Replace with CHECK_EOL.
31859 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
31861         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31862         type-generic.
31863         * math/libm-test.inc: Update comment listing what functions and
31864         macros are tested.
31865         (finite_test): New function.
31866         (isinf_test): Likewise.
31867         (isnan_test): Likewise.
31868         (fpclassify_test): Test subnormal input.
31869         (isfinite_test): Likewise.
31870         (isnormal_test): Likewise.
31871         (main): Call the new functions.
31873 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
31875         [BZ #14660]
31876         * Makerules (%.dynsym): Force C locale when running
31877         $(OBJDUMP) --dynamic-syms.
31879 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
31881         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31882         <stdint.h>.
31884 2012-10-06  David S. Miller  <davem@davemloft.net>
31886         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31887         upper 32-bits of the length value in %o2 since we use branch-on-register
31888         tests which consider the entire 64-bit register.
31890 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
31892         * string/test-strstr.c (check2): Add a test for page boundary.
31894 2012-10-05  David S. Miller  <davem@davemloft.net>
31896         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31897         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31898         file.
31899         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31900         sysdep_routines.
31901         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31902         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31903         and bzero when HWCAP_SPARC_CRYPTO is present.
31905 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
31907         [BZ #14602]
31908         * string/test-strstr.c (check2): New function.
31909         (test_main): Call check2.
31911         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31912         and bug-strchr1.
31913         * string/bug-strcasestr1.c (do_test): Moved to ...
31914         * string/test-strcasestr.c (check1): Here.  New function.
31915         (do_one_test): Break out result checking code into ...
31916         (check_result): This.  New function.
31917         (do_one_test): Call check_result.
31918         (test_main): Call check1.
31919         * string/bug-strchr1.c (do_test): Moved to ...
31920         * string/test-strchr.c (check1): Here.  New function.
31921         (do_one_test): Break out result checking code into ...
31922         (check_result): This.  New function.
31923         (do_one_test): Call check_result.
31924         (test_main): Call check1.
31925         * string/bug-strstr1.c (main): Moved to ...
31926         * string/test-strstr.c (check1): Here.  New function.
31927         (do_one_test): Break out result checking code into ...
31928         (check_result): This.  New function.
31929         (do_one_test): Call check_result.
31930         (test_main): Call check1.
31931         * string/bug-strcasestr1.c: Removed.
31932         * string/bug-strchr1.c: Likewise.
31933         * string/bug-strstr1.c: Likewise.
31935         * elf/Makefile (dl-routines): Add hwcaps.
31936         * elf/dl-support.c (_dl_important_hwcaps): Removed.
31937         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31938         (_dl_important_hwcaps): Moved to ...
31939         * elf/dl-hwcaps.c: Here.  New file.
31940         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31942         [BZ #14557]
31943         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31944         if IS_IN_rtld isn't defined.
31946         * elf/dl-support.c (_dl_sysinfo_map): New.
31947         Include "get-dynamic-info.h" and "setup-vdso.h".
31948         (_dl_non_dynamic_init): Call setup_vdso.
31949         * elf/dynamic-link.h: Don't include <assert.h>.
31950         (elf_get_dynamic_info): Moved to ...
31951         * elf/get-dynamic-info.h: Here.  New file.
31952         * elf/dynamic-link.h: Include "get-dynamic-info.h".
31953         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31954         * elf/setup-vdso.h: Here.  New file.
31955         * elf/rtld.c: Include "setup-vdso.h".
31956         (dl_main): Call setup_vdso.
31958 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
31960         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31961         creal in comment listing functions tested.  List finite, isinf,
31962         isnan, isless, islessequal, isgreater, isgreaterequal,
31963         islessgreater, isunordered, lgamma_r and pow10 as functions and
31964         macros not tested.  Mention which functions not tested are aliases
31965         for other functions.  Fix typo.  Note that signs of NaNs are not
31966         tested.
31968         * scripts/config.guess: Update from config.git.
31969         * scripts/config.sub: Likewise.
31971 2012-10-04  Roland McGrath  <roland@hack.frob.com>
31973         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31974         * misc/madvise.c (madvise): Renamed to __madvise.
31975         Make madvise a weak alias.
31976         * include/sys/mman.h: Declare __madvise.
31977         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31978         * sysdeps/unix/syscalls.list
31979         (madvise): Make __madvise the strong name, and madvise a weak alias.
31980         * sysdeps/unix/sysv/linux/syscalls.list
31981         (madvise, mmap): Remove redundant entries.
31982         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31983         * malloc/malloc.c (mtrim): Likewise.
31984         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31986 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31988         * sysdeps/mach/hurd/dl-cache.c: File removed.
31989         * config.h.in (USE_LDCONFIG): New #undef.
31990         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31991         * configure: Regenerated.
31992         * elf/Makefile (dl-routines): Add dl-cache only under
31993         [$(use-ldconfig) = yes].
31994         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31995         cache on [USE_LDCONFIG].
31996         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31997         [USE_LDCONFIG].
31998         * elf/rtld.c (dl_main): Likewise.
32000 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32002         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32003         _SC_LEVEL4_CACHE_LINESIZE.
32005 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32007         * sysdeps/unix/bsd/confstr.h: File removed.
32009 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32011         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32012         sys/sdt-config.h.
32014 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32016         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32017         Make 'mapoff' field ElfW(Off) rather than off_t.
32019 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32021         * nscd/Makefile: Remove nscd-cflags and all its users.
32022         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32023         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32025         [BZ #10631]
32026         * malloc.c (malloc_printerr): Clarify error message.
32028 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32030         [BZ #14648]
32031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32032         Set bit_FMA_Usable if FMA is supported.
32033         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32034         macro.
32035         (bit_FMA4_Usable): Updated.
32036         (index_FMA_Usable): New macro.
32037         (CPUID_FMA): Likewise
32038         (HAS_FMA): Defined with bit_FMA_Usable.
32040 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32042         * bits/types.h (__swblk_t): Type removed.
32043         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32044         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32045         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32046         (__SWBLK_T_TYPE): Likewise.
32047         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32048         (__SWBLK_T_TYPE): Likewise.
32049         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32050         (__SWBLK_T_TYPE): Likewise.
32051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32052         (__SWBLK_T_TYPE): Likewise.
32054 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32055             Honza Horak <hhorak@redhat.com>
32057         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32058         (xdr_mapname): Use YPMAXMAP as maxsize.
32059         (xdr_peername): Use YPMAXPEER as maxsize.
32060         (xdr_keydat): Use YPAXRECORD as maxsize.
32061         (xdr_valdat): Use YPMAXRECORD as maxsize.
32063 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32065         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32067         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32068         * csu/init-first.c: ... here.
32069         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32070         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32071         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32072         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32073         * sysdeps/i386/init-first.c: File removed.
32074         * sysdeps/sh/init-first.c: File removed.
32076 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32078         [BZ #14645]
32079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32080         if x * y might underflow to zero and z is zero.
32081         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32082         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32083         * math/libm-test.inc (min_subnorm_value): New variable.
32084         (fma_test): Add more tests.
32085         (fma_test_towardzero): Likewise.
32086         (fma_test_downward): Likewise
32087         (fma_test_upward): Likewise.
32088         (initialize): Set min_subnorm_value.
32090 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32092         [BZ #14638]
32093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32094         0 + 0.
32095         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32096         mode for addition resulting in exact zero.
32097         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32098         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32099         exact 0 + 0.
32100         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32101         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32102         * math/libm-test.inc (fma_test): Add more tests.
32103         (fma_test_towardzero): New function.
32104         (fma_test_downward): Likewise.
32105         (fma_test_upward): Likewise.
32106         (main): Call the new functions.
32108 2012-09-28  David S. Miller  <davem@davemloft.net>
32110         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32112 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32114         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32115         instead of SIGALRM.
32117         * sysdeps/gnu/_G_config.h: Moved to ...
32118         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32119         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32120         * sysdeps/generic/_G_config.h: ... here.
32122         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32124         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32126         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32127         Conditionalize target on [libnss_test1.so-version].
32129         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32131         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32132         (elfobjdir): Move out of conditionals.
32134         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32135         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32136         (__nss_lookup_function): Conditionalize label remove_from_tree on
32137         [!DO_STATIC_NSS || SHARED], matching its only use.
32139 2012-09-28  David S. Miller  <davem@davemloft.net>
32141         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32142         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32143         file.
32144         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32145         sysdep_routines.
32146         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32147         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32148         when HWCAP_SPARC_CRYPTO is present.
32150 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32152         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32154 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32156         [BZ #6530]
32157         * stdio-common/vfprintf.c (process_string_arg): Revert
32158         2000-07-22 change.
32160 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32162         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32163         for testcase.
32164         * stdio-common/tst-sprintf.c: Include <locale.h>
32165         (main): Test sprintf's handling of incomplete multibyte
32166         characters.
32168 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32170         * elf/dl-runtime.c (VERSYMIDX): Removed.
32171         * elf/dl-version.c (VERSYMIDX): Likewise.
32172         * elf/do-rel.h (VERSYMIDX): Likewise.
32173         (VALIDX): Likewise.
32174         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32175         * elf/rtld.c (VALIDX): Likewise.
32176         (ADDRIDX): Likewise.
32177         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32178         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32179         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32180         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32181         (VALIDX): Likewise.
32182         (ADDRIDX): Likewise.
32184 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32186         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32188 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32190         [BZ #11438]
32191         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32192         to global scope.
32193         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32194         addresses are in the same scope as 192.0.2/24.
32195         * posix/gai.conf: Document new scope table defaults.
32197 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32199         [BZ #5298]
32200         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32201         for ftell.  Compute offsets from write pointers instead.
32202         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32204 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32206         [BZ #14543]
32207         * libio/Makefile (tests): New test case tst-fseek.
32208         * libio/tst-fseek.c: New test case to verify that fseek/ftell
32209         combination works in wide mode.
32210         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32211         state when the external buffer state changes.
32213 2012-09-27  David S. Miller  <davem@davemloft.net>
32215         [BZ #14376]
32216         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32217         pass reloc->r_addend in as the 'high' argument to
32218         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32222 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32224         * rt/tst-aio2.c: Include <pthread.h>.
32225         * rt/tst-aio3.c: Likewise.
32227 2012-09-27  Steve Ellcey  <sellcey@mips.com>
32229         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32231 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
32233         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32234         contents on [SHARED].
32236 2012-09-26  Marek Polacek  <polacek@redhat.com>
32238         [BZ #14530]
32239         [BZ #13741]
32240         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32241         for C++ and GCC <4.3 as well as for non GCC compilers.
32243 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32247 2012-09-25  Roland McGrath  <roland@hack.frob.com>
32249         * Makefile.in (all, install): Declare with .PHONY.
32250         Reported by Michael Hope <michael.hope@linaro.org>.
32252 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32254         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32255         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32256         system header.
32257         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32258         Likewise.
32259         (sydep_routines): Add the new and the internal functions.
32260         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32261         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32263         (GLIBC_2.17): Add the new function.
32264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32265         (GLIBC_2.17): Likewise.
32266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32267         (GLIBC_2.17): Likewise.
32268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32269         (GLIBC_2.17): Likewise.
32270         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32272 2012-09-25  Alan Modra  <amodra@gmail.com>
32274         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32275         Add release barrier before setting once_control to say
32276         initialisation is done.  Add hints on lwarx.  Use macro in
32277         place of isync.
32278         (clear_once_control): Add release barrier.
32280 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32282         [BZ #13629]
32283         * math/s_clog.c (__clog): Handle more values close to |z| = 1
32284         specially.
32285         * math/s_clog10.c (__clog10): Likewise.
32286         * math/s_clog10f.c (__clog10f): Likewise.
32287         * math/s_clog10l.c (__clog10l): Likewise.
32288         * math/s_clogf.c (__clogf): Likewise.
32289         * math/s_clogl.c (__clogl): Likewise.
32290         * math/Makefile (libm-calls): Add x2y2m1.
32291         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32292         (__x2y2m1): Likewise.
32293         (__x2y2m1l): Likewise.
32294         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32295         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32296         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32297         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32298         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32299         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32300         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32301         * sysdeps/i386/fpu/libm-test-ulps: Update.
32302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32304         [BZ #14621]
32305         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32306         int as type of variable DEPTH.
32307         (glob): Use size_t instead of int as type of variables NEWCOUNT
32308         and OLD_PATHC.
32310 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32312         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32313         Add s_sincosf-sse2.
32314         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32315         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32316         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32317         macros for using routine as __sincosf_ia32.
32318         Use macro for function declaration and weak_alias.
32319         * sysdeps/i386/fpu/libm-test-ulps: Update.
32321         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32324         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32325         subnormal argument.
32326         * math/s_cexpf.c (__cexpf): Likewise.
32327         * math/s_csinf.c (__csinf): Likewise.
32328         * math/s_csinhf.c (__csinhf): Likewise.
32329         * math/s_ctanf.c (__ctanf): Likewise.
32330         * math/s_ctanhf.c (__ctanhf): Likewise.
32331         * math/s_ccosh.c (__ccoshf): Likewise.
32332         * math/s_cexp.c (__cexpl): Likewise.
32333         * math/s_csin.c (__csin): Likewise.
32334         * math/s_csinh.c (__csinh): Likewise.
32335         * math/s_ctan.c (__ctan): Likewise.
32336         * math/s_ctanh.c (ctanh): Likewise.
32337         * math/s_ccoshl.c (__ccoshl): Likewise.
32338         * math/s_cexpl.c (__cexpl): Likewise.
32339         * math/s_csinl.c (__csinl): Likewise.
32340         * math/s_csinhl.c (__csinhl): Likewise.
32341         * math/s_ctanl.c (__ctanl): Likewise.
32342         * math/s_ctanhl.c (__ctanhl): Likewise.
32344 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32346         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32347         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32348         (_IO_off_t): Define to __off_t, not _G_off_t.
32349         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32350         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32351         (_IO_wint_t): Define to wint_t, not _G_wint_t.
32352         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32353         type of __dummy and __dummy2 fields.
32354         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32355         (_G_ssize_t): Likewise.
32356         (_G_off_t): Likewise.
32357         (_G_pid_t): Likewise.
32358         (_G_uid_t): Likewise.
32359         (_G_wchar_t): Likewise.
32360         (_G_wint_t): Likewise.
32361         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32362         (_G_ssize_t): Likewise.
32363         (_G_off_t): Likewise.
32364         (_G_pid_t): Likewise.
32365         (_G_uid_t): Likewise.
32366         (_G_wchar_t): Likewise.
32367         (_G_wint_t): Likewise.
32368         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32369         (_G_ssize_t): Likewise.
32370         (_G_off_t): Likewise.
32371         (_G_pid_t): Likewise.
32372         (_G_uid_t): Likewise.
32373         (_G_wchar_t): Likewise.
32374         (_G_wint_t): Likewise.
32376 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32378         * malloc/arena.c: Include malloc-sysdep.h.
32379         (shrink_heap): Use check_may_shrink_heap to decide if madvise
32380         is sufficient to shrink the heap or an unmap is needed.
32381         * sysdeps/generic/malloc-sysdep.h: New file.  Define
32382         new function check_may_shrink_heap.
32383         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
32384         new function check_may_shrink_heap.
32386 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32388         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32389         comments.
32391 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
32393         * catgets/test-gencat.sh: Add "set -e".
32394         * elf/tst-pathopt.sh: Likewise.
32395         * grp/tst_fgetgrent.sh: Likewise.
32396         * iconvdata/run-iconv-test.sh: Likewise.
32397         * intl/tst-gettext.sh: Likewise.
32398         * intl/tst-gettext2.sh: Likewise.
32399         * intl/tst-gettext4.sh: Likewise.
32400         * intl/tst-gettext6.sh: Likewise.
32401         * intl/tst-translit.sh: Likewise.
32402         * io/ftwtest-sh: Likewise.
32403         * libio/test-freopen.sh: Likewise.
32404         * malloc/tst-mtrace.sh: Likewise.
32405         * posix/globtest.sh: Likewise.
32406         * posix/tst-getconf.sh: Likewise.
32407         * posix/wordexp-tst.sh: Likewise.
32408         * stdio-common/tst-printf.sh: Likewise.
32409         * stdio-common/tst-unbputc.sh: Likewise.
32410         * stdlib/tst-fmtmsg.sh: Likewise.
32411         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32412         * catgets/Makefile: Do not specify -e option when running
32413         testsuite shell scripts.
32414         * elf/Makefile: Likewise.
32415         * grp/Makefile: Likewise.
32416         * iconvdata/Makefile: Likewise.
32417         * intl/Makefile: Likewise.
32418         * io/Makefile: Likewise.
32419         * libio/Makefile: Likewise.
32420         * malloc/Makefile: Likewise.
32421         * posix/Makefile: Likewise.
32422         * stdio-common/Makefile: Likewise.
32423         * stdlib/Makefile: Likewise.
32424         * sysdeps/x86_64/Makefile: Likewise.
32426         * io/ftwtest-sh: Add copyright header.
32427         * posix/globtest.sh: Likewise.
32428         * posix/tst-getconf.sh: Likewise.
32429         * posix/wordexp-tst.sh: Likewise.
32430         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32432 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
32434         [BZ #13679]
32435         * Makeconfig (+link): Defined as $(+link-static) if
32436         $(build-shared) isn't yes.
32437         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32438         isn't yes.
32439         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32441         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32443         [BZ #14562]
32444         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32445         new chunk size with MALLOC_ALIGN_MASK.
32447 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
32449         [BZ #5044]
32450         * stdio-common/printf_fphex.c: Include <stdbool.h> and
32451         <rounding-mode.h>.
32452         (__printf_fphex): Determine rounding using get_rounding_mode and
32453         round_away.
32454         * stdio-common/tst-printf-round.c (struct hex_test): New
32455         structure.
32456         (hex_tests): New variable.
32457         (test_hex_in_one_mode): New function.
32458         (do_test): Also run tests for hex float output.
32460 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
32462         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32463         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32464         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32465         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32466         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32467         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32468         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32469         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32471 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
32473         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32474         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32475         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32476         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32478 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
32480         [BZ #14579]
32481         * elf/rtld.c (dl_main): Limit the check for self loading to normal
32482         mode only.
32483         * elf/tst-rtld-load-self.sh: New test.
32484         * elf/Makefile: Run it.
32486 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
32488         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32489         (tst-writev-ENV): Remove.
32490         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32492 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
32494         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32496 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
32498         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32499         unconditional.
32500         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32501         Likewise.
32502         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32503         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32504         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32505         Likewise.
32507 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
32509         [BZ #14587]
32510         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32511         * config.make.in (have-cpp-asm-debuginfo): Removed.
32512         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32513         * configure: Regenerated.
32515 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
32517         [BZ #5044]
32518         * stdio-common/printf_fp.c: Include <stdbool.h> and
32519         <rounding-mode.h>.
32520         (___printf_fp): Determine rounding using get_rounding_mode and
32521         round_away.
32522         * stdio-common/tst-printf-round.c: New file.
32523         * stdio-common/Makefile (tests): Add tst-printf-round.
32524         (link-libm): New variable.
32525         ($(objpfx)tst-printf-round): Depend in $(link-libm).
32527 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
32529         [BZ #14576]
32530         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32531         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32532         Likewise.
32533         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32534         Likewise.
32536 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
32538         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32539         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32540         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32541         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32543 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
32545         [BZ #14518]
32546         * include/rounding-mode.h: New file.
32547         * sysdeps/generic/get-rounding-mode.h: Likewise.
32548         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32549         * stdlib/strtod_l.c: Include <rounding-mode.h>.
32550         (MAX_VALUE): New macro.
32551         (MIN_VALUE): Likewise.
32552         (overflow_value): New function.
32553         (underflow_value): Likewise.
32554         (round_and_return): Use overflow_value and underflow_value to
32555         determine return values in overflow and underflow cases.  Use
32556         round_away to determine rounding depending on rounding mode.
32557         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32558         determine return values in overflow and underflow cases.
32559         * stdlib/tst-strtod-round.c: Include <fenv.h>.
32560         (struct test_results): New structure.
32561         (struct test): Use struct test_results to store expected results
32562         for all rounding modes.
32563         (TEST): Include expected results for all rounding modes.
32564         (test_in_one_mode): New function.
32565         (do_test): Use test_in_one_mode to compute and check results.
32566         Check results for all rounding modes.
32567         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32568         $(link-libm).
32570 2012-12-09  Allan McRae  <allan@archlinux.org>
32572         * sysdeps/i386/fpu/libm-test-ulps: Update
32574 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
32576         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32577         (_G_int32_t): Likewise.
32578         (_G_uint16_t): Likewise.
32579         (_G_uint32_t): Likewise.
32580         (_G_HAVE_BOOL): Likewise.
32581         (_G_HAVE_ATEXIT): Likewise.
32582         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32583         (_G_HAVE_IO_FILE_OPEN): Likewise.
32584         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32585         (_G_int32_t): Likewise.
32586         (_G_uint16_t): Likewise.
32587         (_G_uint32_t): Likewise.
32588         (_G_HAVE_BOOL): Likewise.
32589         (_G_HAVE_ATEXIT): Likewise.
32590         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32591         (_G_HAVE_IO_FILE_OPEN): Likewise.
32592         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32593         (_G_int32_t): Likewise.
32594         (_G_uint16_t): Likewise.
32595         (_G_uint32_t): Likewise.
32596         (_G_HAVE_BOOL): Likewise.
32597         (_G_HAVE_ATEXIT): Likewise.
32598         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32599         (_G_HAVE_IO_FILE_OPEN): Likewise.
32601 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
32603         * csu/libc-tls.c: Update copyright years.
32605 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
32607         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32608         [!_G_USING_THUNKS]: Remove conditional code.
32609         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32610         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32612         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32613         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32614         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32615         (_G_VTABLE_LABEL_PREFIX): Likewise.
32616         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32617         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32618         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32619         (_G_VTABLE_LABEL_PREFIX): Likewise.
32620         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32621         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32622         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32623         (_G_VTABLE_LABEL_PREFIX): Likewise.
32624         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32626 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
32628         * libio/Makefile: Include ../Makeconfig before tests.
32629         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32630         only if $(build-shared) is yes.
32632         * iconv/gconv_db.c: Update copyright years.
32634 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32636         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32637         unwind info if defined PIC. Fix special cases description.
32638         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32640         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32641         DP_HI_MASK entry.
32642         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32644 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
32646         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32648         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32649         is NULL.
32651         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32652         (LDLIBS-tst-chk4): This.
32653         (LDFLAGS-tst-chk5): Renamed to ...
32654         (LDLIBS-tst-chk5): This.
32655         (LDFLAGS-tst-chk6): Renamed to ...
32656         (LDLIBS-tst-chk6): This.
32657         (LDFLAGS-tst-lfschk4): Renamed to ...
32658         (LDLIBS-tst-lfschk4): This.
32659         (LDFLAGS-tst-lfschk5): Renamed to ...
32660         (LDLIBS-tst-lfschk5): This.
32661         (LDFLAGS-tst-lfschk6): Renamed to ...
32662         (LDLIBS-tst-lfschk6): This.
32664         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32665         on $(common-objpfx)soversions.mk.
32667 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
32669         [BZ #10014]
32670         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32671         example host name.
32673 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32675         * malloc/arena.c (arena_get_retry): New function that gets
32676         another arena for the caller to try its request on.
32677         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32678         current arena cannot fulfill the request.
32679         (__libc_memalign): Likewise.
32680         (__libc_memalign): Likewise.
32681         (__libc_pvalloc): Likewise.
32682         (__libc_calloc): Likewise.
32684 2012-09-05  John Tobey  <john.tobey@gmail.com>
32686         [BZ #13542]
32687         * manual/arith.texi (Operations on Complex): Fix description
32688         of carg branch cut.
32690 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32692         [BZ #10014]
32693         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32694         host name.
32696         [BZ #10038]
32697         * manual/memory.texi (Memory): Make order of menu items match
32698         order of sections.
32700 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32702         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32703         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
32704         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32706 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32708         * csu/libc-tls.c (static_dtv): Renamed to ...
32709         (_dl_static_dtv): This.  Make it global.
32710         (_dl_initial_dtv): Removed.
32711         (__libc_setup_tls): Updated.
32712         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32713         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32714         DL_INITIAL_DTV.
32716 2012-09-06  Petr Machata  <pmachata@redhat.com>
32718         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32719         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32720         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32721         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32723 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32725         [BZ #14545]
32726         * csu/libc-tls.c (_dl_initial_dtv): New variable.
32727         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32728         freeing dtv[-1].
32730 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32732         [BZ #14544]
32733         * Makeconfig (link-static-before-libc): Replace $(+prector)
32734         with $(+prectorT).
32735         (link-static-after-libc): Replace $(+postctor) with
32736         $(+postctorT).
32737         (link-bounded): Replace $(+prector)/$(+postctor) with
32738         $(+prectorT)/$(+postctorT).
32739         (+prectorT): New macro.
32740         (+postctorT): Likewise.
32742 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32744         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32745         (round_str): Handle values above the maximum for IBM long double
32746         as inexact.
32747         * stdlib/tst-strtod-round.c (tests): Regenerated.
32749 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32751         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32752         assembler flag.
32753         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32754         zarch_nohighgprs around the zarch optimized routines.
32755         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32756         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32757         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32758         for zarch.
32760 2012-09-05  David S. Miller  <davem@davemloft.net>
32762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32764         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32765         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32766         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32767         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32768         entries.
32770 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32772         * malloc/arena.c: Fold copyright years.
32773         * malloc/mcheck.c, malloc/memusage.c: Likewise.
32775 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32777         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32779 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32781         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
32783 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32785         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32786         change internal state upon failure.
32788 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32790         * malloc/mcheck.c (mcheck_check_all): Fix typo.
32791         * malloc/memusage.c (mmap): Likewise.
32792         (mmap64, mremap): Likewise.  Adjust name in comment.
32794 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32796         * libio/fileops.c: Fix typos in comments.
32797         * libio/oldfileops.c: Likewise.
32798         * libio/wfileops.c: Likewise.
32800 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32802         [BZ #1349]
32803         * malloc/Makefile (tests): Add tst-malloc-usable test case.
32804         (tst-malloc-usable-ENV): Set environment for test case.
32805         * malloc/hooks.c (malloc_check_get_size): New function to get
32806         requested size.
32807         * malloc/malloc.c (musable): Use malloc_check_get_size.
32808         * malloc/tst-malloc-usable.c: New test case.
32810 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32812         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32814 2012-09-05  Allan McRae  <allan@archlinux.org>
32816         [BZ #13966]
32817         * configure.in (CXX_SYSINCLUDES): Use compiler output to
32818         determine header location.
32819         * configure: Regenerated.
32821 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32823         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32824         float format.
32825         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32826         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32827         format.
32828         (test): Regenerate.
32830 2012-09-04  David S. Miller  <davem@davemloft.net>
32832         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32833         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32834         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32836 2012-09-04  Florian Weimer  <fweimer@redhat.com>
32838         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32839         failures.
32841         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32843 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
32845         [BZ #9914]
32846         * libio/iogetdelim.c: Include <limits.h>.
32847         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32848         + len + 1 would overflow.
32850 2012-09-03  Andreas Jaeger  <aj@suse.de>
32852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32853         * sysdeps/i386/fpu/libm-test-ulps: Update.
32855 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32857         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32858         Add s_sinf-sse2, s_conf-sse2.
32860         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32861         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32862         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32863         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32865         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32866         for using routine as __sinf_ia32.
32867         Use macro for function declaration and weak_alias.
32868         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32869         for using routine as __cosf_ia32.
32870         Use macro for function declaration and weak_alias.
32872         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32873         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32875         * sysdeps/x86_64/fpu/s_sinf.S: New file.
32876         * sysdeps/x86_64/fpu/s_cosf.S: New file.
32877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32879         * math/libm-test.inc (cos_test): Add more test cases.
32880         (sin_test): Likewise.
32881         (sincos_test): Likewise.
32883 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32885         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32886         (IFUNC_RESOLVE): Make pointers to the specialized implementations
32887         hidden.
32888         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32890 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
32892         [BZ #14538]
32893         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32894         first element of the GOT.
32895         (elf_machine_load_address): Return the difference between
32896         the runtime address of _DYNAMIC and elf_machine_dynamic ().
32898 2012-09-01  Allan McRae  <allan@archlinux.org>
32900         [BZ #13412]
32901         * configure.in (AWK): Require gawk version 3.0 or later.
32902         * configure: Regenerated.
32904 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
32906         * sysdeps/unix/sysv/linux/kernel-features.h
32907         (__ASSUME_POSIX_CPU_TIMERS): Remove.
32908         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32909         [__NR_clock_getres]: Make code unconditional.
32910         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32911         (clock_getcpuclockid): Remove code left unreachable by removal of
32912         conditionals.
32913         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32914         code unconditional.
32915         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32916         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32917         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32918         Make code unconditional.
32919         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32920         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32921         * sysdeps/unix/sysv/linux/clock_settime.c
32922         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32923         conditional code.
32924         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32925         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32927 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
32929         [BZ #14476]
32930         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32931         scripts/test-installation.pl.
32933         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32934         and $ld_so_version if it is set.
32936 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32938         [BZ #14516]
32939         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32940         failure if reading from procfs failed.
32941         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32943 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32945         * sysdeps/unix/sysv/linux/kernel-features.h
32946         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32947         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32948         Remove conditional code.
32949         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32950         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32951         Remove conditional code.
32952         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32953         * sysdeps/unix/sysv/linux/i386/fxstat.c
32954         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32955         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32956         * sysdeps/unix/sysv/linux/i386/fxstatat.c
32957         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32958         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32959         * sysdeps/unix/sysv/linux/i386/lxstat.c
32960         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32962         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32963         Remove conditional code.
32964         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32965         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32966         Remove conditional code.
32967         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32968         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32969         <kernel-features.h>.
32970         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32971         Remove.
32972         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32973         Remove conditional code.
32974         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32975         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32976         Remove conditional.
32978 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
32980         [BZ #5400]
32981         * NEWS: Add fixed bug number.
32983 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32985         [BZ #14519]
32986         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32987         underflowing exponent in case of negative sign.
32988         * stdlib/tst-strtod-round-data: Add more tests.
32989         * stdlib/tst-strtod-round.c (tests): Regenerated.
32991         [BZ #3479]
32992         * stdlib/strtod_l.c (NDIG): Remove.
32993         (HEXNDIG): Likewise.
32994         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32995         smallest representable value.
32996         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32997         lie within an exact representation of 1/2 ulp of the result.
32998         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32999         unconditionally.
33000         (TENS_P9_IDX): Define unconditionally.
33001         (TENS_P9_SIZE): Likewise.
33002         (TENS_P10_IDX): Likewise.
33003         (TENS_P10_SIZE): Likewise.
33004         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33005         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33006         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33007         entries for 10^2^13 and 10^2^14.
33008         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33009         (TENS_P13_IDX): Define.
33010         (TENS_P13_SIZE): Likewise.
33011         (TENS_P14_IDX): Likewise.
33012         (TENS_P14_SIZE): Likewise.
33013         (_fpioconst_pow10): Change array size to
33014         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33015         unconditional.
33016         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33017         1024]: Add entries for 10^2^13 and 10^2^14.
33018         [LAST_POW10 > _LAST_POW10]: Remove #error.
33019         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33020         (_fpioconst_pow10): Change array size to
33021         FPIOCONST_POW10_ARRAY_SIZE.
33022         * stdlib/gen-fpioconst.c: New file.
33023         * stdlib/gen-tst-strtod-round.c: Likewise.
33024         * stdlib/tst-strtod-round-data: Likewise.
33025         * stdlib/tst-strtod-round.c: Likewise.
33026         * stdlib/Makefile (tests): Add tst-strtod-round.
33028         [BZ #14459]
33029         * stdlib/strtod_l.c: Include <stdint.h>.
33030         (NDEBUG): Do not define.
33031         (round_and_return): Change EXPONENT parameter to type intmax_t.
33032         Rearrange calculations to avoid internal overflow possibilities.
33033         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33034         Rearrange calculations to avoid internal overflow possibilities.
33035         Assert that number fits inside MPNSIZE limbs.
33036         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33037         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33038         calculations and add assertions to avoid internal overflow
33039         possibilities.  Add casts to avoid signed/unsigned operations.
33040         * stdlib/tst-strtod-overflow.c: New file.
33041         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33043 2012-08-25  Marek Polacek  <polacek@redhat.com>
33045         * time/time.h: Fix some typos in comments.
33047 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33049         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33050         * posix/tst-rfc3484-2.c: Likewise.
33051         * posix/tst-rfc3484-3.c: Likewise.
33053 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33055         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33056         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33058 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33060         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33061         #include of fxstatat64.c.
33063 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33065         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33066         * shadow/getspent_r.c: Likewise.
33067         * shadow/getspnam.c: Likewise.
33068         * shadow/getspnam_r.c: Likewise.
33069         * gshadow/getsgent.c: Likewise.
33070         * gshadow/getsgent_r.c: Likewise.
33071         * gshadow/getsgnam.c: Likewise.
33072         * gshadow/getsgnam_r.c: Likewise.
33073         * inet/getnetbyad.c: Likewise.
33074         * inet/getnetbyad_r.c: Likewise.
33075         * inet/getnetbynm.c: Likewise.
33076         * inet/getnetbynm_r.c: Likewise.
33077         * inet/getnetent.c: Likewise.
33078         * inet/getnetent_r.c: Likewise.
33079         * inet/getproto.c: Likewise.
33080         * inet/getproto_r.c: Likewise.
33081         * inet/getprtent.c: Likewise.
33082         * inet/getprtent_r.c: Likewise.
33083         * inet/getprtname.c: Likewise.
33084         * inet/getprtname_r.c: Likewise.
33085         * inet/getrpcbyname.c: Likewise.
33086         * inet/getrpcbyname_r.c: Likewise.
33087         * inet/getrpcbynumber.c: Likewise.
33088         * inet/getrpcbynumber_r.c: Likewise.
33089         * inet/getrpcent.c: Likewise.
33090         * inet/getrpcent_r.c: Likewise.
33091         * inet/getaliasent.c: Likewise.
33092         * inet/getaliasent_r.c: Likewise.
33093         * inet/getaliasname.c: Likewise.
33094         * inet/getaliasname_r.c: Likewise.
33095         * nscd/getgrgid_r.c: Likewise.
33096         * nscd/getgrnam_r.c: Likewise.
33097         * nscd/gethstbyad_r.c: Likewise.
33098         * nscd/gethstbynm3_r.c: Likewise.
33099         * nscd/getpwnam_r.c: Likewise.
33100         * nscd/getpwuid_r.c: Likewise.
33101         * nscd/getsrvbynm_r.c: Likewise.
33102         * nscd/getsrvbypt_r.c: Likewise.
33103         * nscd/gai.c: Likewise.
33105         * configure.in (build_nscd): New substituted variable, set
33106         by --disable-build-nscd and defaults to $use_nscd.
33107         * configure: Regenerated.
33108         * config.make.in (build-nscd): New substituted variable.
33109         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33110         Change conditional to require [$(build-nscd) = yes] as well.
33111         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33113         [BZ# 13696]
33114         * configure.in (use_nscd): New substituted variable, set by
33115         --disable-nscd.  If enabled, define USE_NSCD.
33116         * configure: Regenerated.
33117         * config.h.in: Add USE_NSCD.
33118         * config.make.in (use-nscd): New substituted variable.
33119         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33120         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33121         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33122         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33123         (CFLAGS-getgrnam_r.c): Likewise.
33124         (CFLAGS-initgroups.c): Likewise.
33125         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33126         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33127         Variables removed.
33128         * inet/getnetgrent_r.c
33129         (nscd_setnetgrent): New function, broken out of ...
33130         (setnetgrent): ... here.  Call it.
33131         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33132         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33133         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33134         * nscd/Makefile (routines, aux): Move definitions after include of
33135         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33136         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33137         Conditionalize on [USE_NSCD].
33138         (is_nscd, nscd_init_cb): Likewise.
33139         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33140         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33141         * nss/nss_db/db-init.c: Likewise.
33142         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33143         [USE_NSCD].
33144         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33145         (make_request): Use it.
33146         (cache_valid_p): New function.
33147         (__check_pf): Use it.
33148         * NEWS: Add item for --disable-nscd.
33150 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33152         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33153         to support sed >= 4.2.1-20-ga9bf076.
33154         * configure: Regenerated.
33156 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33158         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33159         Conditionalize whole body on [IREL].
33161 2012-08-22  Jeff Law <law@redhat.com>
33163         [BZ #14505]
33164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33165         if the family is PF_UNSPEC.
33167 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33169         * Makerules (lib-version): Rename from V.
33170         (install-lib-nosubdir): Change V to lib-version.
33172 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33174         [BZ #14252]
33175         * powerpc32/power6/wcschr.c: New file.
33176         * powerpc32/power6/wcscpy.c: New file.
33177         * powerpc32/power6/wcsrchr.c: New file.
33178         * powerpc64/power6/wcschr.c: New file.
33179         * powerpc64/power6/wcscpy.c: New file.
33180         * powerpc64/power6/wcsrchr.c: New file.
33182 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33184         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33185         (two_way_short_needle): Use it.
33186         * string/strstr.c (AVAILABLE1_USES_J): Define.
33187         * string/strcasestr.c: Likewise.
33189         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33190         array references.
33191         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33193         [BZ #11607]
33194         * NEWS: Add an entry.
33195         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33196         define their defaults.
33197         (two_way_short_needle): Detect end-of-string on-the-fly.
33198         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33199         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33200         * string/bug-strcasestr1.c: New test.
33201         * string/Makefile: Run it.
33203 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33205         [BZ #11607]
33206         * string/str-two-way.h (two_way_short_needle): Optimize matching of
33207         the first character.
33209 2012-08-21  Roland McGrath  <roland@hack.frob.com>
33211         * csu/elf-init.c (__libc_csu_irel): Function removed.
33212         * csu/libc-start.c (apply_irel): New function.
33213         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33215 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
33217         * sysdeps/unix/sysv/linux/kernel-features.h
33218         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33219         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33220         <kernel-features.h>.
33221         [__NR_fadvise64_64]: Make code unconditional.
33222         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33223         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33224         !__NR_fadvise64_64)]: Likewise.
33225         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33226         !__NR_fadvise64_64))]: Likewise.
33227         [__NR_fadvise64]: Make code unconditional.
33228         [!__NR_fadvise64]: Remove conditional code.
33229         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33230         <kernel-features.h>.
33231         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33232         unconditional.
33233         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33234         conditional code.
33235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33236         not include <kernel-features.h>.
33237         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33238         unconditional.
33239         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33240         conditional code.
33241         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33242         include <kernel-features.h>.
33243         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33244         unconditional.
33245         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33246         conditional code.
33248 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33250         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33251         slight instruction rearrangements per scrollpipe analysis.
33252         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33254 2012-08-20  Roland McGrath  <roland@hack.frob.com>
33256         * manual/syslog.texi (syslog; vsyslog, closelog):
33257         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33258         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33260         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33261         DSOCAPS to match condition on defining it.
33263 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
33265         * sysdeps/unix/sysv/linux/kernel-features.h
33266         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33268         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33269         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33271         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33272         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33274         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33275         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33277         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33278         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33280         * sysdeps/unix/sysv/linux/kernel-features.h
33281         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33282         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33283         unconditional.
33284         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33285         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33286         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33287         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33288         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33289         Make code unconditional.
33290         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33291         (__mmap64) [!__NR_mmap2]: Likewise.
33292         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33293         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33294         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33295         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33296         [__NR_mmap2]: Make code unconditional.
33297         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33298         (__mmap64) [!__NR_mmap2]: Likewise.
33300 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33302         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33304 2012-08-18  Andreas Jaeger  <aj@suse.de>
33306         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33308 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33310         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33311         * include/unistd.h (__have_sock_cloexec): Likewise.
33312         (__have_pipe2): Likewise.
33313         (__have_dup3): Likewise.
33315 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33317         [BZ #9685]
33318         * include/unistd.h (__have_pipe2): Change define into an extern int.
33319         (__have_dup3): Likewise.
33320         * socket/have_sock_cloexec.c: Include fcntl.h.
33321         (__have_pipe2): New variable.
33322         (__have_dup3): Likewise.
33324 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
33326         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33328 2012-08-17  Marek Polacek  <polacek@redhat.com>
33330         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33331         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33333 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33335         * configure.in: Add AC_SUBST for sysheaders.
33336         * configure: Regenerated.
33337         * config.make.in (sysheaders): New substituted variable.
33339         * sysdeps/unix/mkfifo.c: Moved ...
33340         * sysdeps/posix/mkfifo.c: ... here.
33341         * sysdeps/unix/mkfifoat.c: Moved ...
33342         * sysdeps/posix/mkfifoat.c: ... here.
33344         * sysdeps/unix/utime.c: Moved ...
33345         * sysdeps/posix/utime.c: ... here.
33347         * sysdeps/unix/time.c: Moved ...
33348         * sysdeps/posix/time.c: ... here.
33349         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33350         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33352         * sysdeps/unix/nice.c: Moved ...
33353         * sysdeps/posix/nice.c: ... here.
33355         * sysdeps/unix/alarm.c: Moved ...
33356         * sysdeps/posix/alarm.c: ... here.
33358         * intl/Makefile ($(codeset_mo)): Depend on the input file.
33360 2012-08-17  Jeff Law <law@redhat.com>
33362         * intl/Makefile (codeset_mo): New variable.
33363         ($(codeset_mo)): New target.
33364         (tst-codeset.out): Depend on that.  Remove explicit rule.
33365         (tst-gettext3.out, tst-gettext5.out): Likewise.
33366         (LOCPATH-ENV, tst-codeset-ENV): New variables.
33367         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33368         * intl/tst-codeset.sh: Remove.
33369         * intl/tst-gettext3.sh: Likewise.
33370         * intl/tst-gettext5.sh: Likewise.
33372 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33374         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
33375         * sysdeps/unix/syscalls.list: ... here.
33377         * sysdeps/posix/getaddrinfo.c
33378         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33379         (gaiconf_init, gaiconf_reload): Use them.
33380         [!_STATBUF_ST_NSEC]
33381         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33382         Define using time_t rather than struct timespec.
33384         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33385         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33386         Macros removed.
33387         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33388         [!NO_THREADS].
33389         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33390         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33391         Likewise.
33393         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33394         __libc_cleanup_push argument.
33396         * bits/param.h: New file.
33397         * misc/sys/param.h: New file.
33398         * include/sys/param.h: New file.
33399         * misc/Makefile (headers): Add bits/param.h.
33400         * sysdeps/generic/sys/param.h: File removed.
33401         * sysdeps/unix/sysv/linux/bits/param.h: New file.
33402         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33403         * sysdeps/mach/hurd/bits/param.h: New file.
33404         * sysdeps/mach/hurd/sys/param.h: File removed.
33406         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33407         last change.
33409         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33410         [_IO_MTSAFE_IO].
33411         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33412         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33413         New macros.
33415         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33416         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33417         rather than -D_IO_MTSAFE_IO conditionally.
33418         * stdio-common/Makefile (CPPFLAGS): Likewise.
33419         * wcsmbs/Makefile (CPPFLAGS): Likewise.
33420         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33421         Use $(libio-mtsafe).
33422         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33423         of -D_IO_MTSAFE_IO.
33424         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33425         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33426         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33427         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33428         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33429         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33430         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33431         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33432         (CFLAGS-fread_u_chk.c): Likewise.
33433         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33434         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33435         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33436         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33437         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33438         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33439         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33440         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33441         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33443         * libio/Makefile: Test [$(libc-reentrant) = yes]
33444         instead of [$(filter %REENTRANT, $(defines)) nonempty].
33446         * Makeconfig
33447         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33448         * sysdeps/pthread/configure: File removed.
33449         * sysdeps/pthread/Makeconfig: New file.
33450         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33451         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33453 2012-08-16  Gary Benson  <gbenson@redhat.com>
33455         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33456         unmapping the first object in a namespace.
33458 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33460         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33461         (__internal_setnetgrent): ... this.  Add internal_function to
33462         definition.  Add libc_hidden_def.
33463         (setnetgrent): Update caller.
33464         (internal_endnetgrent): Renamed to ...
33465         (__internal_endnetgrent): ... this.  Add internal_function to
33466         definition.  Add libc_hidden_def.
33467         (endnetgrent): Update caller.
33468         (internal_getnetgrent_r): Renamed to ...
33469         (__internal_getnetgrent_r): ... this.  Add internal_function to
33470         definition.  Add libc_hidden_def.
33471         (__getnetgrent_r): Update caller.
33472         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
33474 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33476         * stdlib/longlong.h: Update from GCC.
33478 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33480         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33481         on _QL, which is set by umul_ppmm but never used.
33482         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33483         variables, which are set by GMP macros but never used.
33484         * stdio-common/_itowa.c (_itowa): Likewise.
33485         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33486         * stdlib/mod_1.c (mpn_mod_1): Likewise.
33488 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
33490         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33491         struct La_sh_regs is not constant.
33492         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33493         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33494         and struct La_sparc64_regs are not constant.
33496 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33498         * sysdeps/unix/sysv/linux/kernel-features.h
33499         (__ASSUME_POSIX_TIMERS): Remove.
33500         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33501         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33502         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33503         Make code unconditional.
33504         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33505         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33506         Make code unconditional.
33507         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33508         * sysdeps/unix/sysv/linux/clock_nanosleep.c
33509         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33510         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33511         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33512         Make code unconditional.
33513         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33514         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33515         (__libc_missing_posix_timers): Remove.
33517 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33519         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33520         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33522         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33524         * elf/dl-sym.c: Include <stdlib.h>.
33526         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33527         constants, which avoids warnings in 32-bit builds.
33529         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33530         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33532         * misc/lseek.c: File moved to ...
33533         * io/lseek.c: ... here.
33535         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33537         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33538         shifting LEN more than 31 bits at once.
33540 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33542         [BZ #14195]
33543         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33544         segmentation fault for a case of two empty input strings.
33545         * string/test-strncasecmp.c (check1): Renamed to...
33546         (bz12205): ...this.
33547         (bz14195): Add new testcase for two empty input strings and N > 0.
33548         (test_main): Call new testcase, adapt for renamed function.
33550 2012-08-15  Andreas Jaeger  <aj@suse.de>
33552         [BZ #14090]
33553         * crypt/md5test2.c: New test, based on test supplied by Serge
33554         Belyshev <belyshev@depni.sinp.msu.ru>.
33555         * crypt/Makefile (xtests): Add md5test-giant..
33556         * crypt/Makefile ($(objpfx)md5test-giant): Add.
33558 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
33560         [BZ #14090]
33561         * crypt/md5.c (md5_process_block): Don't assume the buffer
33562         length is less than 2**32.
33563         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33564         length is less than 2**64.
33566 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33568         * string/str-two-way.h: Include <sys/param.h>.
33569         (MAX): Macro removed.
33571         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33572         Move #define and #undef of memmove to just before and after
33573         including <string.h>.
33575         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33576         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33577         and after including <string.h>.  Move declarations of
33578         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33579         to before #include "string/memmove.c".
33581         * include/dirent.h: Declare __getdirentries.
33583         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33584         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33586 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
33588         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33589         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33590         * sysdeps/i386/configure: Regenerated.
33591         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33592         STABS_CURRENT_FILE, and STABS_FUN.
33593         (END): Remove call to STABS_FUN_END.
33594         (STABS_CURRENT_FILE1): Delete.
33595         (STABS_CURRENT_FILE): Likewise.
33596         (STABS_FUN): Likewise.
33597         (STABS_FUN_END): Likewise.
33598         (STABS_FUN2): Likewise.
33599         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33600         * sysdeps/x86_64/configure: Regenerated.
33602 2012-08-14  Roland McGrath  <roland@hack.frob.com>
33604         * elf/dl-open.c: Include <atomic.h>.
33605         * elf/dl-lookup.c: Likewise.
33607 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
33609         * sysdeps/unix/sysv/linux/kernel-features.h
33610         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33611         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33612         unconditionally.
33613         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33614         unconditionally.
33615         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33616         condition on __ASSUME_CLONE_THREAD_FLAGS.
33618 2012-08-14  Andreas Jaeger  <aj@suse.de>
33620         * sysdeps/i386/fpu/libm-test-ulps: Update.
33622 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
33624         * include/atomic.h (atomic_exchange_and_add): Split into ...
33625         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33626         New atomic macros.
33628 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
33630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33632 2012-08-13  Jeff Law <law@redhat.com>
33634         * manual/stdio.texi (snprintf): Clarify handling of the trailing
33635         null byte in the output string.
33637 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
33639         * sysdeps/unix/sysv/linux/kernel-features.h
33640         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33641         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33642         (__ASSUME_ARG_MAX_STACK_BASED): Define.
33643         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33644         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33645         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
33646         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33648 2012-08-09  Jeff Law <law@redhat.com>
33650         [BZ #13939]
33651         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33652         When avoid_arena is set, don't retry in the that arena.  Pick the
33653         next one, whatever it might be.
33654         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33655         (arena_lock): Pass in new parameter to arena_get2.
33656         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33657         arena_get2.
33658         (__libc_malloc): Unify retrying after main arena failure with
33659         __libc_memalign version.
33660         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33662 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33664         [BZ #14166]
33665         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33666         to __redirect_strstr.
33667         (__strstr_sse42): Use typeof __redirect_strstr.
33668         (__strstr_ia32): Likewise.
33669         (__libc_strstr): New prototype.
33670         (strstr): Renamed to ...
33671         (__libc_strstr): This.
33672         (strstr): New strong alias of __libc_strstr.
33673         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33674         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33675         __redirect_time.
33676         Include <time.h>.
33677         (__libc_time): New prototype.
33678         (time_ifunc): Replace time with __libc_time.
33679         (time): New strong alias and hidden definition of __libc_time.
33680         (__GI_time): Remove strong alias.
33681         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33682         Include <stddef.h>.
33683         (memmove): Redefined to __redirect_memmove.
33684         (__memmove_sse2): Use typeof __redirect_memmove.
33685         (__memmove_ssse3): Likewise.
33686         (__memmove_ssse3_back): Likewise.
33687         (__libc_memmove): New prototype.
33688         (memmove): Renamed to ...
33689         (__libc_memmove): This.
33690         (memmove): New strong alias of __libc_memmove.
33692 2012-08-08  Mark Salter  <msalter@redhat.com>
33694         * elf/elf.h
33695         (R_MN10300_TLS_GD): Define.
33696         (R_MN10300_TLS_LD): Likewise.
33697         (R_MN10300_TLS_LDO): Likewise.
33698         (R_MN10300_TLS_GOTIE): Likewise.
33699         (R_MN10300_TLS_IE): Likewise.
33700         (R_MN10300_TLS_LE): Likewise.
33701         (R_MN10300_TLS_DTPMOD): Likewise.
33702         (R_MN10300_TLS_DTPOFF): Likewise.
33703         (R_MN10300_TLS_TPOFF): Likewise.
33704         (R_MN10300_SYM_DIFF): Likewise.
33705         (R_MN10300_ALIGN): Likewise.
33706         (R_MN10300_NUM): Update.
33708 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
33710         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33711         Remove.
33713 2012-08-08  Roland McGrath  <roland@hack.frob.com>
33715         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33717         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33718         sysdeps/unix -> sysdeps/posix move.
33719         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33721 2012-08-07      Allan McRae     <allan@archlinux.org>
33723         [BZ #14303]
33724         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33725         (SUNOS_CPP): Likewise.
33726         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33727         not found.
33728         (open_input): Call CPP using execvp.
33730 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33732         * sysdeps/unix/sysv/linux/kernel-features.h
33733         (__ASSUME_PROT_GROWSUPDOWN): Remove.
33734         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33735         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33736         (__ASSUME_WAITID_SYSCALL): Likewise.
33737         * sysdeps/unix/sysv/linux/dl-execstack.c
33738         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33739         code unconditional.
33740         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33741         conditional code.
33742         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33743         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33744         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33745         code.
33746         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33747         unconditional.
33748         [__ASSUME_WAITID_SYSCALL]: Likewise.
33749         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33751 2012-08-07  Roland McGrath  <roland@hack.frob.com>
33753         * sysdeps/unix/closedir.c: Renamed to ...
33754         * sysdeps/posix/closedir.c: ... here.
33755         * sysdeps/unix/dirfd.c: Renamed to ...
33756         * sysdeps/posix/dirfd.c: ... here.
33757         * sysdeps/unix/dirstream.h: Renamed to ...
33758         * sysdeps/posix/dirstream.h: ... here.
33759         * sysdeps/unix/fdopendir.c: Renamed to ...
33760         * sysdeps/posix/fdopendir.c: ... here.
33761         * sysdeps/unix/opendir.c: Renamed to ...
33762         * sysdeps/posix/opendir.c: ... here.
33763         * sysdeps/unix/readdir.c: Renamed to ...
33764         * sysdeps/posix/readdir.c: ... here.
33765         * sysdeps/unix/readdir_r.c: Renamed to ...
33766         * sysdeps/posix/readdir_r.c: ... here.
33767         * sysdeps/unix/rewinddir.c: Renamed to ...
33768         * sysdeps/posix/rewinddir.c: ... here.
33769         * sysdeps/unix/seekdir.c: Renamed to ...
33770         * sysdeps/posix/seekdir.c: ... here.
33771         * sysdeps/unix/telldir.c: Renamed to ...
33772         * sysdeps/posix/telldir.c: ... here.
33773         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33774         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33775         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33776         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33778         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33779         * bits/fcntl.h: ... here.
33781         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33782         not 0.
33783         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33784         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33785         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33786         (struct flock): Move l_start, l_len to the beginning.
33787         Use __pid_t for l_pid.
33788         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33789         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33790         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33791         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33792         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33793         [__USE_LARGEFILE64] (struct flock64): New type.
33794         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33796         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33797         * bits/dirent.h: ... here.
33799         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33800         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33802 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33804         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33805         Change from 2.6.0 to 2.6.16.
33806         * sysdeps/unix/sysv/linux/configure: Regenerated.
33807         * sysdeps/unix/sysv/linux/kernel-features.h
33808         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33809         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33810         version.
33811         (__ASSUME_UTIMES): Likewise.
33812         (__ASSUME_CLONE_STOPPED): Remove.
33813         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33814         architectures, not kernel version.
33815         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33816         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33817         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33818         (__ASSUME_WAITID_SYSCALL): Likewise.
33819         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33820         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33821         * README: State 2.6.16 as minimum Linux kernel version.  Do not
33822         refer to older versions.
33824 2012-08-06  Roland McGrath  <roland@hack.frob.com>
33826         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33827         Define alphasort64 as an alias.
33828         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33829         Define versionsort64 as an alias.
33830         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33831         Define scandir64 as an alias.
33832         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33833         Define scandirat64 as an alias.
33834         * dirent/alphasort64.c (alphasort64):
33835         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33836         * dirent/versionsort64.c: Likewise.
33837         * dirent/scandir64.c: Likewise.
33838         * dirent/scandirat64.c: Likewise.
33839         * sysdeps/wordsize-64/alphasort.c: File removed.
33840         * sysdeps/wordsize-64/alphasort64.c: File removed.
33841         * sysdeps/wordsize-64/scandir.c: File removed.
33842         * sysdeps/wordsize-64/scandir64.c: File removed.
33843         * sysdeps/wordsize-64/scandirat.c: File removed.
33844         * sysdeps/wordsize-64/scandirat64.c: File removed.
33845         * sysdeps/wordsize-64/versionsort.c: File removed.
33846         * sysdeps/wordsize-64/versionsort64.c: File removed.
33847         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33848         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33849         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33850         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33851         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33852         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33853         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33854         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33856         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33858         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33859         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33860         [defined __arch64__ || defined __sparcv9]
33861         (__INO_T_MATCHES_INO64_T): New macro.
33862         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33863         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33864         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33865         * sysdeps/unix/sysv/linux/bits/dirent.h
33866         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33867         (_DIRENT_MATCHES_DIRENT64): New macro.
33869         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33870         Define lockf64 as an alias.
33871         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33872         Define fseeko64 as an alias.
33873         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33874         Define ftello64 as an alias.
33875         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33876         Define _IO_fgetpos64 and fgetpos64 as aliases.
33877         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33878         Define _IO_fsetpos64 and fsetpos64 as aliases.
33879         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33880         Conditionalize body on this.
33881         * libio/fseeko64.c: Likewise.
33882         * libio/ftello64.c: Likewise.
33883         * libio/iofgetpos64.c: Likewise.
33884         * libio/iofsetpos64.c: Likewise.
33885         * sysdeps/wordsize-64/lockf.c: File removed.
33886         * sysdeps/wordsize-64/lockf64.c: File removed.
33887         * sysdeps/wordsize-64/fseeko.c: File removed.
33888         * sysdeps/wordsize-64/fseeko64.c: File removed.
33889         * sysdeps/wordsize-64/ftello.c: File removed.
33890         * sysdeps/wordsize-64/ftello64.c: File removed.
33891         * sysdeps/wordsize-64/iofgetpos.c: File removed.
33892         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33893         * sysdeps/wordsize-64/iofsetpos.c: File removed.
33894         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33895         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33896         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33897         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33898         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33899         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33900         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33901         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33902         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33903         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33904         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33906         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33907         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33908         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33910         [defined __arch64__ || defined __sparcv9]
33911         (__OFF_T_MATCHES_OFF64_T): New macro.
33912         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33913         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33914         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33915         (__OFF_T_MATCHES_OFF64_T): New macro.
33917 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33919         * stdlib/secure-getenv.c (__secure_getenv): Replace
33920         GLIBC_2_16 with GLIBC_2_17.
33922 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33924         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33925         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33927 2012-08-03  David S. Miller  <davem@davemloft.net>
33929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33931 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33933         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33934         Remove.
33935         (__ASSUME_CORRECT_SI_PID): Likewise.
33936         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33937         (__ASSUME_TMPFS_NAME): Likewise.
33938         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33939         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33940         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33941         (HAVE_AUX_SECURE): Make definition unconditional.
33942         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33943         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33945 2012-08-03  Roland McGrath  <roland@hack.frob.com>
33947         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33948         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33949         * sysdeps/mach/hurd/eloop-threshold.h: New file.
33950         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33951         __eloop_threshold instead of SYMLOOP_MAX.
33953         * sysdeps/generic/eloop-threshold.h: New file.
33954         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33955         of MAXSYMLINKS.
33956         * elf/chroot_canon.c (chroot_canon): Likewise.
33958 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33960         [BZ #13717]
33961         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33962         Change to 2.6.0 everywhere.
33963         * sysdeps/unix/sysv/linux/configure: Regenerated.
33964         * sysdeps/unix/sysv/linux/kernel-features.h
33965         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33966         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33967         kernel versions.
33968         (__ASSUME_POSIX_TIMERS): Define unconditionally.
33969         (__ASSUME_FUTEX_REQUEUE): Remove.
33970         (__ASSUME_STATFS64): Define unconditionally.
33971         (__ASSUME_AT_SECURE): Likewise.
33972         (__ASSUME_CORRECT_SI_PID): Likewise.
33973         (__ASSUME_TGKILL): Define without depending on kernel version for
33974         i386.
33975         (__ASSUME_UTIMES): Likewise.
33976         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33977         kernel version.
33978         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33979         (__ASSUME_TMPFS_NAME): Likewise.
33980         * README: Update reference to Linux kernel versions.
33982 2012-08-02  Marek Polacek  <polacek@redhat.com>
33984         [BZ# 14150]
33985         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
33986         libc_cv_asm_type_prefix with %.
33987         * configure: Regenerated.
33988         * include/libc-symbols.h: Remove comment about
33989         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33990         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33991         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33992         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33993         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33994         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33995         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33996         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33997         * elf/tst-unique2mod1.c: Likewise.
33998         * elf/tst-unique1mod2.c: Likewise.
33999         * elf/tst-unique1mod1.c: Likewise.
34000         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34001         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34002         Replace ASM_TYPE_DIRECTIVE with .type.
34003         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34004         * sysdeps/i386/sysdep.h: Likewise.
34005         * sysdeps/x86_64/sysdep.h: Likewise.
34006         * sysdeps/sh/sysdep.h: Likewise.
34007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34008         Do not define ASM_TYPE_DIRECTIVE.
34009         * sysdeps/powerpc/sysdep.h: Likewise.
34010         * sysdeps/powerpc/powerpc32/sysdep.h:
34011         Replace ASM_TYPE_DIRECTIVE with .type.
34012         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34013         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34014         * sysdeps/i386/fpu/e_powf.S: Likewise.
34015         * sysdeps/i386/fpu/e_expl.S: Likewise.
34016         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34017         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34018         * sysdeps/i386/fpu/e_pow.S: Likewise.
34019         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34020         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34021         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34022         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34023         * sysdeps/i386/fpu/e_log2.S: Likewise.
34024         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34025         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34026         * sysdeps/i386/fpu/e_powl.S: Likewise.
34027         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34028         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34029         * sysdeps/i386/fpu/e_logl.S: Likewise.
34030         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34031         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34032         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34033         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34034         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34035         * sysdeps/i386/fpu/e_log.S: Likewise.
34036         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34037         * sysdeps/i386/fpu/e_logf.S: Likewise.
34038         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34039         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34040         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34041         * sysdeps/i386/fpu/e_log10.S: Likewise.
34042         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34043         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34044         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34045         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34046         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34047         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34048         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34049         * sysdeps/i386/i686/strtok.S: Likewise.
34050         * sysdeps/i386/i386-mcount.S: Likewise.
34051         * sysdeps/i386/strtok.S: Likewise.
34052         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34053         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34054         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34055         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34056         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34057         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34058         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34059         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34060         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34061         * sysdeps/x86_64/_mcount.S: Likewise.
34062         * sysdeps/x86_64/strtok.S: Likewise.
34063         * sysdeps/sh/_mcount.S: Likewise.
34065 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34067         * libio/iofopen.c: Include <fcntl.h>.
34068         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34069         (_IO_fopen64, fopen64): Define as aliases.
34070         * libio/iofopen64.c: Include <fcntl.h>.
34071         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34072         Conditionalize body on this.
34073         * sysdeps/wordsize-64/iofopen.c: File removed.
34074         * sysdeps/wordsize-64/iofopen64.c: File removed.
34076 2012-08-01  Marek Polacek  <polacek@redhat.com>
34078         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34079         Use dlfcn directly instead of a variable.
34080         (binfmt-subdir): Do not define.
34081         (dlfcn): Likewise.
34083 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34086         Remove all definitions.
34087         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34088         <kernel-features.h>.
34089         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34090         (miss_F_GETOWN_EX): Remove all definitions.
34091         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34092         macro definition.
34093         [!__ASSUME_FCNTL64]: Remove conditional code.
34094         [__ASSUME_FCNTL64]: Make code unconditional.
34095         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34096         <kernel-features.h>.
34097         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34098         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34099         (lockf64) [__NR_fcntl64]: Make code unconditional.
34100         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34102         * sysdeps/unix/sysv/linux/kernel-features.h
34103         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34104         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34105         Make code unconditional.
34106         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34107         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34109         [__NR_vfork]: Make code unconditional.
34110         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34111         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34113         [__NR_vfork]: Make code unconditional.
34114         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34115         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34117 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34119         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34120         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34122         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34123         Define mkstemp64 as an alias.
34124         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34125         Define mkstemps64 as an alias.
34126         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34127         Define mkostemp64 as an alias.
34128         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34129         Define mkostemps64 as an alias.
34130         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34131         Conditionalize body on this.
34132         * misc/mkostemp64.c: Likewise.
34133         * misc/mkostemps64.c: Likewise.
34134         * misc/mkstemps64.c: Likewise.
34135         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34136         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34137         * sysdeps/wordsize-64/mkostemp.c: File removed.
34138         * sysdeps/wordsize-64/mkstemp.c: File removed.
34139         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34140         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34141         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34142         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34144         [BZ #14138]
34145         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34146         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34147         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34148         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34150         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34151         compat_symbol macros from <shlib-compat.h> rather than the underlying
34152         default_symbol_version and symbol_version macros, so that DEFAULT
34153         lines in shlib-versions are respected.
34154         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34156 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34158         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34159         Declare with warn_unused_result.
34160         (setgid, setregid, setegid, setresgid): Likewise.
34161         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34162         Likewise.
34163         * WUR-REPORT: Remove set*id functions.
34165 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34167         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34169 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34171         [BZ #10191]
34172         * include/sys/socket.h (__libc_accept, __libc_accept4):
34173         Add attribute_hidden.
34174         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34176         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34177         use of PTR_MANGLE.
34178         * inet/getnetgrent_r.c (setup): Likewise.
34180         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34182 2012-07-31  David S. Miller  <davem@davemloft.net>
34184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34186 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34188         [BZ #13629]
34189         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34190         value between 1.0 and 2.0 and smaller part has absolute value less
34191         than 1.0.
34192         * math/s_clog10.c (__clog10): Likewise.
34193         * math/s_clog10f.c (__clog10f): Likewise.
34194         * math/s_clog10l.c (__clog10l): Likewise.
34195         * math/s_clogf.c (__clogf): Likewise.
34196         * math/s_clogl.c (__clogl): Likewise.
34197         * math/libm-test.inc (clog_test): Add more tests.
34198         (clog10_test): Likewise.
34199         * sysdeps/i386/fpu/libm-test-ulps: Update.
34200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34202 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34204         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34205         Exit with zero in case no suitable GID is found, and write a
34206         message to standard error.
34208 2012-07-30  Roland McGrath  <roland@hack.frob.com>
34210         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34211         rather than to 1.
34212         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34213         (MAXPATHLEN): Removed.
34214         (NOGROUP, NODEV): New macros.
34215         (setbit, clrbit, isset, isclr): New macros.
34216         (howmany, roundup, powerof2): New macros.
34217         (DEV_BSIZE): New macro.
34219         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34220         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34222         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34223         definition on [!__NO_LONG_DOUBLE_MATH].
34225         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34226         PTR_MANGLE and PTR_DEMANGLE.
34228         * socket/accept4.c (accept4): Rename to __libc_accept4.
34229         Define accept4 as a weak alias.
34231         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34232         on [_DIRENT_HAVE_D_TYPE].
34233         * io/ftw.c (ftw_dir): Likewise.
34235         * io/xmknod.c (__xmknod): Don't check PATH for being null.
34237         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34239         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34240         Use the BSD numbers rather than the arbitrary ones we had.
34241         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34242         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34243         (SIGXCPU, SIGXFSZ): New macros.
34244         (_NSIG): Now 32.
34246         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34247         initializer on [_LIBC_REENTRANT].
34249         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34250         definitions inside [_POSIX_MAPPED_FILES].
34252         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34254         * dirent/opendir.c: Include <fcntl.h>.
34256         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34257         (__libc_getspecific): Likewise.
34258         (__libc_key_create): Likewise.
34260         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34261         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34262         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34263         (tmpfile64): Define as alias.
34264         * sysdeps/wordsize-64/tmpfile.c: File removed.
34265         * sysdeps/wordsize-64/tmpfile64.c: File removed.
34266         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34267         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34269         * stdio-common/vfscanf.c: Include <stdbool.h>.
34270         * nss/makedb.c: Likewise.
34271         * stdio-common/_i18n_number.h: Likewise.
34272         * argp/argp-help.c: Likewise.
34273         * posix/wordexp.c: Likewise.
34274         * sysdeps/posix/spawni.c: Likewise.
34275         * nss/nss_files/files-initgroups.c: Likewise.
34276         * stdio-common/reg-modifier.c: Include <stdlib.h>.
34277         * nss/nss_files/files-initgroups.c: Likewise.
34278         * nss/nss_db/db-netgrp.c: Likewise.
34279         * nss/nss_db/db-initgroups.c: Likewise.
34280         * io/fchmodat.c: Include <sys/stat.h>.
34282         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34283         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34285         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34286         [HAVE_MMAP].
34288         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34289         Add multiple inclusion protection.
34291 2012-07-27  David S. Miller  <davem@davemloft.net>
34293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34295 2012-07-27  Gary Benson  <gbenson@redhat.com>
34297         [BZ #14298]
34298         * elf/rtld.c: Include <stap-probe.h>.
34299         (dl_main): Added static probes "init_start" and "init_complete".
34300         * elf/dl-load.c: Include <stap-probe.h>.
34301         (lose): Take new parameter "nsid".
34302         Added static probe "map_failed".
34303         (_dl_map_object_from_fd): Pass namespace id to lose.
34304         Added static probe "map_start".
34305         (open_verify): Pass namespace id to lose.
34306         * elf/dl-open.c: Include <stap-probe.h>.
34307         (dl_open_worker) Added static probes "map_complete", "reloc_start"
34308         and "reloc_complete".
34309         * elf/dl-close.c: Include <stap-probe.h>.
34310         (_dl_close_worker): Added static probes "unmap_start" and
34311         "unmap_complete".
34312         * elf/rtld-debugger-interface.txt: New file documenting the above.
34314 2012-07-26  Roland McGrath  <roland@hack.frob.com>
34316         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34317         rather than a string variable.
34318         * sunrpc/rpc_main.c (h_output): Likewise.
34319         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34321 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
34323         * inet/check_native.c: New file.
34325 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
34327         [BZ #13629]
34328         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34329         if larger part has absolute value 1.0.
34330         * math/s_clog10.c (__clog10): Likewise.
34331         * math/s_clog10f.c (__clog10f): Likewise.
34332         * math/s_clog10l.c (__clog10l): Likewise.
34333         * math/s_clogf.c (__clogf): Likewise.
34334         * math/s_clogl.c (__clogl): Likewise.
34335         * math/libm-test.inc (clog_test): Add more tests.
34336         (clog10_test): Likewise.
34337         * sysdeps/i386/fpu/libm-test-ulps: Update.
34338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34340         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34341         (pltexit): Likewise.
34342         (La_regs): Likewise.
34343         (La_retval): Likewise.
34344         (int_retval): Likewise.
34345         Update #error for removed macros to refer only to definitions in
34346         tst-audit.h.
34347         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34348         macro.
34349         (pltexit): Likewise.
34350         (La_regs): Likewise.
34351         (La_retval): Likewise.
34352         (int_retval): Likewise.
34353         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34354         macro.
34355         (pltexit): Likewise.
34356         (La_regs): Likewise.
34357         (La_retval): Likewise.
34358         (int_retval): Likewise.
34359         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34360         macro.
34361         (pltexit): Likewise.
34362         (La_regs): Likewise.
34363         (La_retval): Likewise.
34364         (int_retval): Likewise.
34365         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34366         macro.
34367         (pltexit): Likewise.
34368         (La_regs): Likewise.
34369         (La_retval): Likewise.
34370         (int_retval): Likewise.
34371         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34372         macro.
34373         (pltexit): Likewise.
34374         (La_regs): Likewise.
34375         (La_retval): Likewise.
34376         (int_retval): Likewise.
34377         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34378         macro.
34379         (pltexit): Likewise.
34380         (La_regs): Likewise.
34381         (La_retval): Likewise.
34382         (int_retval): Likewise.
34383         * sysdeps/generic/tst-audit.h: Update comment to refer only to
34384         macro definitions in tst-audit.h.
34385         * sysdeps/i386/tst-audit.h: New file.
34386         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34387         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34388         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34389         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34390         * sysdeps/sh/tst-audit.h: Likewise.
34391         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34392         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34393         * sysdeps/x86_64/tst-audit.h: Likewise.
34395 2012-07-26  Andreas Jaeger  <aj@suse.de>
34397         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34398         ptrace.
34400         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34401         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34402         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34403         PTRACE_O_MASK.
34404         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34405         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34406         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34408         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34409         value.
34411         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34412         _sigsys.
34413         (si_call_addr, si_syscall, si_arch): Define new macro.
34414         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34415         _sigsys.
34416         (si_call_addr, si_syscall, si_arch): Define new marcro.
34417         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34418         _sigsys.
34419         (si_call_addr, si_syscall, si_arch): Define new macro.
34420         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34421         _sigsys.
34422         (si_call_addr, si_syscall, si_arch): Define new macro.
34424 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34426         [BZ #13717]
34427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34428         Change to 2.4.21 where previously 2.4.1.
34429         * sysdeps/unix/sysv/linux/configure: Regenerated.
34430         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34431         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34432         Linux kernel version.
34433         (__ASSUME_STD_AUXV): Remove.
34434         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34435         kernel version.
34436         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34437         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34438         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34439         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34440         (__ASSUME_NETLINK_SUPPORT): Likewise.
34441         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34442         (__no_netlink_support): Remove conditional definition.
34443         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34444         Remove.
34445         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34446         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34447         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34448         (if_nameindex_ioctl): Remove.
34449         (if_nameindex_netlink): Do not handle __no_netlink_support.
34450         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34451         code.
34452         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34453         Remove conditional code.
34454         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34455         code.
34456         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34457         unconditional.
34458         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34459         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34460         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34461         Remove.
34462         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34463         [!__ASSUME_STD_AUXV]: Remove conditional code.
34464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34465         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34466         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34468         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34469         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34470         code.
34471         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34473         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34474         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34475         conditional code.
34476         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34478         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34479         code.
34480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34481         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34482         conditional code.
34483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34484         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34485         code unconditional.
34486         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34487         conditional code.
34488         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34489         unconditional.
34490         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34491         conditional code.
34492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34493         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34494         unconditional.
34495         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34496         conditional code.
34497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34498         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34499         code unconditional.
34500         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34501         conditional code.
34502         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34503         unconditional.
34504         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34505         conditional code.
34506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34507         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34508         code unconditional.
34509         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34510         conditional code.
34511         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34512         unconditional.
34513         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34514         conditional code.
34516 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
34518         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34519         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34520         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34521         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34522         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34523         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34524         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34525         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34526         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34527         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34528         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34529         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34530         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34531         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34532         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34533         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34534         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34535         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34536         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34538         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34539         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34540         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34542 2012-07-25  Florian Weimer  <fweimer@redhat.com>
34544         * Versions.def: Add GLIBC_2.17.
34545         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34546         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34547         Introduce __libc_secure_getenv.
34548         * stdlib/Versions (2.17): Add secure_getenv
34549         (GLIBC_PRIVATE): Add __libc_secure_getenv.
34550         * stdlib/secure-getenv.c: Rename __secure_getenv to
34551         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
34552         symbol __secure_getenv for GLIBC_2.0.
34553         * stdlib/tst-secure-getenv.c: New.
34554         * stdlib/Makefile (tests): Add testcase.
34555         * manual/startup.texi (Environment Access): Document
34556         secure_getenv.
34557         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34558         __libc_secure_getenv.
34559         * inet/ruserpass.c (ruserpass): Likewise.
34560         * malloc/mtrace.c (mtrace): Likewise.
34561         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34562         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34563         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34564         * sysdeps/posix/tempname.c: Likewise.  Evaluate
34565         HAVE_SECURE_GETENV.
34566         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34567         __secure_getenv to __libc_secure_getenv.
34568         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34570         Likewise.
34571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34572         Likewise.
34573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34575         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34581 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34583         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34584         (struct La_i86_retval): Likewise.
34585         (struct La_x86_64_regs): Likewise.
34586         (struct La_x86_64_retval): Likewise.
34587         (struct La_x32_regs): Likewise.
34588         (struct La_x32_retval): Likewise.
34589         (struct La_ppc32_regs): Likewise.
34590         (struct La_ppc32_retval): Likewise.
34591         (struct La_ppc64_regs): Likewise.
34592         (struct La_ppc64_retval): Likewise.
34593         (struct La_sh_regs): Likewise.
34594         (struct La_sh_retval): Likewise.
34595         (struct La_s390_32_regs): Likewise.
34596         (struct La_s390_32_retval): Likewise.
34597         (struct La_s390_64_regs): Likewise.
34598         (struct La_s390_64_retval): Likewise.
34599         (struct La_sparc32_regs): Likewise.
34600         (struct La_sparc32_retval): Likewise.
34601         (struct La_sparc64_regs): Likewise.
34602         (struct La_sparc64_retval): Likewise.
34603         (struct audit_ifaces): Remove architecture-specific pltenter and
34604         pltexit members.
34605         * sysdeps/i386/ldsodefs.h: New file.
34606         * sysdeps/powerpc/ldsodefs.h: Likewise.
34607         * sysdeps/s390/ldsodefs.h: Likewise.
34608         * sysdeps/sh/ldsodefs.h: Likewise.
34609         * sysdeps/sparc/ldsodefs.h: Likewise.
34610         * sysdeps/x86_64/ldsodefs.h: Likewise.
34612 2012-07-25  Marek Polacek  <polacek@redhat.com>
34614         [BZ #6808]
34615         * math/libm-test.inc (yn_test): Add another test.
34616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34617         to ERANGE when the result is +-Inf.
34618         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34619         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34620         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34621         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34623 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
34625         * conform/data/time.h-data (NULL): Use macro-constant.  Require
34626         equal to 0.
34627         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
34628         clock_t.
34629         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
34631 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
34633         * configure.in <sysdeps resolving>: Correct printing
34634         Implies_before.
34635         * configure: Regenerate.
34637 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
34639         * math/w_ilogb.c: Include <limits.h>.
34640         * math/w_ilogbl.c: Likewise.
34642 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34644         * manual/lang.texi (__va_copy): Document primarily as ISO C99
34645         va_copy.  Document allowing for unavailable va_copy only as
34646         pre-C99 compatibility.
34647         * manual/string.texi (Copying and Concatenation): Use va_copy
34648         instead of __va_copy in concat example.
34650 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
34652         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34653         (__sendto): Use create_address_port.  Initialize APORT and deallocate
34654         it if not null.
34656         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34657         with O_NOLINK passed to __file_name_lookup.
34659         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34660         with O_NOLINK passed to __file_name_lookup.
34662         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34663         negative N or less than NGIDS.
34665         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34666         type to string_t.  Set ERANGE as errno and return it if NAME is not big
34667         enough.  Use memcpy instead of strncpy.
34669 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34671         * elf/Makefile (check-data): Remove.
34672         (localplt.data): New vpath directive.
34673         ($(objpfx)check-localplt.out): Use localplt.data from vpath
34674         instead of $(check-data).
34675         * scripts/data/localplt-generic.data: Move to ...
34676         * sysdeps/generic/localplt.data: ... here.
34677         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34678         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34679         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34681         ... here.
34682         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34684         ... here.
34685         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34687         ... here.
34688         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34690         ... here.
34691         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34693         ... here.
34694         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34696         ... here.
34698 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34700         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34701         PPC32 and PPC64 files.
34702         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34703         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34705 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34707         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34708         __makecontext_ret to ...
34709         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34710         ... here and call exit if uc_link is NULL.  New file.
34711         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34712         __makecontext_ret.S.
34713         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34714         __makecontext_ret to ...
34715         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34716         ... here and call exit if uc_link is NULL.  New file.
34717         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34718         __makecontext_ret.S.
34720 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34722         * elf/elf.h (R_390_IRELATIVE): New definition.
34723         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34724         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
34725         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34726         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34727         (elf_machine_lazy_rel): Likewise.
34728         * sysdeps/s390/dl-irel.h: New file.
34729         * sysdeps/s390/s390-64/memcpy.S: New asm code.
34730         * sysdeps/s390/s390-64/memset.S: New asm code.
34731         * sysdeps/s390/s390-64/memcmp.S: New asm code.
34732         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34733         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34734         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34735         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34736         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34737         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34738         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34739         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34740         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34741         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34742         * sysdeps/s390/s390-32/memcpy.S: New asm code.
34743         * sysdeps/s390/s390-32/memset.S: New asm code.
34744         * sysdeps/s390/s390-32/memcmp.S: New asm code.
34746 2012-07-17  Marek Polacek  <polacek@redhat.com>
34748         [BZ #14349]
34749         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34750         * sysdeps/s390/s390-64/configure.in: Likewise.
34751         * sysdeps/sparc/configure.in: Likewise.
34752         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34753         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34754         * sysdeps/i386/configure.in: Likewise.
34755         * sysdeps/x86_64/configure.in: Likewise.
34756         * sysdeps/sh/configure.in: Likewise.
34757         * sysdeps/s390/s390-32/configure: Regenerated.
34758         * sysdeps/s390/s390-64/configure: Likewise.
34759         * sysdeps/x86_64/configure: Likewise.
34760         * sysdeps/sh/configure: Likewise.
34761         * sysdeps/powerpc/powerpc64/configure: Likewise.
34762         * sysdeps/powerpc/powerpc32/configure: Likewise.
34763         * sysdeps/sparc/configure: Likwise.
34764         * sysdeps/i386/configure: Likewise.
34766         * elf/dl-open.c: Comment fixes.
34768 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
34770         * Makefile [CXX] (check-data): Remove.
34771         [CXX] (c++-types.data): New vpath directive.
34772         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34773         vpath.  Do not allow for C++ type data being missing.
34774         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34775         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34776         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34777         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34778         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34779         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34780         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34782         ... here.
34783         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34785         ... here.
34786         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34788         ... here.
34789         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34791         ... here.
34792         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34794         ... here.
34795         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34797         ... here.
34798         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34800         ... here.
34801         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34804         * elf/tls-macros.h (TLS_LE): Move architecture-specific
34805         definitions to architecture-specific files.
34806         (TLS_IE): Likewise.
34807         (TLS_LD): Likewise.
34808         (TLS_GD): Likewise.
34809         * sysdeps/i386/tls-macros.h: New file.
34810         * sysdeps/powerpc/tls-macros.h: Likewise.
34811         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34812         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34813         * sysdeps/sh/tls-macros.h: Likewise.
34814         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34815         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34816         * sysdeps/x86_64/tls-macros.h: Likewise.
34818 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34820         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34821         zero value for regular exit case.
34823         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34824         (__start_context): Preserve zero value for regular exit case.
34826 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34827             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34829         * manual/setjmp.texi (setcontext): Clarify normal process
34830         termination when uc_link is the null pointer.
34831         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34832         exit call.
34834 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
34836         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34837         preprocessor.  Test for each exception mask separately.
34839 2012-07-16  Andreas Jaeger  <aj@suse.de>
34841         * po/ru.po: Update from translation team.
34843 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
34845         * conform/data/string.h-data (NULL): Use macro-constant.  Require
34846         equal to 0.
34847         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34848         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34849         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34850         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34851         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34853 2012-07-13  Andreas Jaeger  <aj@suse.de>
34855         * po/fr.po: Update from translation team.
34857 2012-07-12  Marek Polacek  <polacek@redhat.com>
34859         [BZ #14173]
34860         * math/libm-test.inc (yn_test): Add test for BZ #14173.
34861         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34862         loop condition.
34864 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
34866         [BZ #13717]
34867         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34868         Change to 2.4.1 where previously 2.4.0.
34869         * sysdeps/unix/sysv/linux/configure: Regenerated.
34870         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34871         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34872         version.
34873         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34874         (__ASSUME_AT_CLKTCK): Remove.
34875         (__ASSUME_AT_PAGESIZE): Likewise.
34876         (__ASSUME_AT_XID): Likewise.
34877         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34878         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34879         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34880         unconditionally.
34881         (HAVE_AUX_PAGESIZE): Likewise.
34882         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34883         [__ASSUME_AT_CLKTCK]: Make code unconditional.
34884         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34886 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
34888         [BZ #14307]
34889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34890         the temporary buffer used to invoke __gethostbyname2_r,
34891         __gethostbyaddr_r and gethostbyname4_r to make room for struct
34892         host_data / struct gaih_addrtuple.
34893         * resolv/nss_dns/dns-host.c (global scope): Move definition of
34894         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34895         header file nss/nsswitch.h.
34896         * nss/nsswitch.h (global scope): Add definition of implementation
34897         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34898         resolv/nss_dns/dns-host.c).
34900 2012-07-11  Andreas Jaeger  <aj@suse.de>
34902         * po/fr.po: Update from translation team.
34904         * po/sv.po: Update from translation team
34905         * po/fr.po: Another update from translation team.
34907 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34909         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34910         for subnormals or multiply small sinh result by itself.
34911         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34914 2012-07-11  David S. Miller  <davem@davemloft.net>
34916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34918 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
34920         [BZ #14347]
34921         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34922         (INTERNAL_MARK): Shift it here.
34924 2012-07-10  Marek Polacek  <polacek@redhat.com>
34926         [BZ #14151]
34927         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
34928         libc_cv_asm_global_directive with .globl.
34929         * configure: Regenerated.
34930         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34931         with .globl.
34932         * sysdeps/i386/configure: Regenerated.
34933         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34934         with .globl.
34935         * sysdeps/x86_64/configure: Regenerated.
34936         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34937         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34938         * elf/tst-unique2mod2.c: Likewise.
34939         * elf/tst-unique2mod1.c: Likewise.
34940         * elf/tst-unique1mod2.c: Likewise.
34941         * elf/tst-unique1mod1.c: Likewise.
34942         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34943         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34944         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34945         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34946         * sysdeps/mach/sysdep.h: Likewise.
34947         * sysdeps/i386/sysdep.h: Likewise.
34948         * sysdeps/i386/i386-mcount.S: Likewise.
34949         * sysdeps/x86_64/_mcount.S: Likewise.
34950         * sysdeps/x86_64/sysdep.h: Likewise.
34951         * sysdeps/sh/_mcount.S: Likewise.
34952         * sysdeps/sh/sysdep.h: Likewise.
34953         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34954         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34955         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34956         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34957         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34958         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34959         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34960         * locale/localeinfo.h: Likewise.
34961         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34962         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34964 2012-07-09  Roland McGrath  <roland@hack.frob.com>
34966         [BZ #14336]
34967         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34968         system".
34969         * manual/message.texi (The Uniforum approach): Likewise.
34970         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34971         (glibc iconv Implementation): Likewise.
34973 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
34975         [BZ #14337]
34976         * math/s_clog.c (__clog): Avoid scaling a value down where that
34977         could result in underflow.
34978         * math/s_clog10.c (__clog10): Likewise.
34979         * math/s_clog10f.c (__clog10f): Likewise.
34980         * math/s_clog10l.c (__clog10l): Likewise.
34981         * math/s_clogf.c (__clogf): Likewise.
34982         * math/s_clogl.c (__clogl): Likewise.
34983         * math/libm-test.inc (clog_test): Add more tests.
34984         (clog10_test): Likewise.
34985         * sysdeps/i386/fpu/libm-test-ulps: Update.
34986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34988 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
34990         [BZ #14283]
34991         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34992         by 7 not 8 to examine high bit of fractional part.
34994         [BZ #14042]
34995         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34996         for call to __mcount_internal.
34997         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34998         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34999         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35001 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35003         [BZ #14154]
35004         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35005         approximation for values within 0x1p-13f of an odd multiple of
35006         pi/4.
35007         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35008         exception.  Add more tests.
35009         * sysdeps/i386/fpu/libm-test-ulps: Update.
35011         [BZ #6778]
35012         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35013         inputs and return -1 for them.  Do not check for +Inf in case not
35014         reachable for +Inf.
35015         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35016         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35017         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35018         and return -1 for them.  Do not check for +Inf in case not
35019         reachable for +Inf.
35020         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35021         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         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35026         spurious underflow.
35027         * sysdeps/i386/fpu/libm-test-ulps: Update.
35028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35030 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35032         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35034 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35036         [BZ #14157]
35037         [BZ #14331]
35038         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35039         could result in spurious underflow.  Scale down values above
35040         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35041         * math/s_csqrtf.c (__csqrtf): Likewise.
35042         * math/s_csqrtl.c (__csqrtl): Likewise.
35043         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35044         spurious underflow.
35045         * sysdeps/i386/fpu/libm-test-ulps: Update.
35046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35048 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35050         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35051         xopen-msg.sed.
35052         * catgets/xopen-msg.awk: New file.
35053         * catgets/xopen-msg.sed: Removed.
35055         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35056         po2text.sed.
35057         * intl/po2test.awk: New file.
35058         * intl/po2test.sed: Removed.
35060 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35062         [BZ #14328]
35063         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35064         or multiply small sinh result by itself.
35065         * math/s_ctanf.c (__ctanf): Likewise.
35066         * math/s_ctanh.c (__ctanh): Likewise.
35067         * math/s_ctanhf.c (__ctanhf): Likewise.
35068         * math/s_ctanhl.c (__ctanhl): Likewise.
35069         * math/s_ctanl.c (__ctanl): Likewise.
35070         * math/libm-test.inc (ctan_test_tonearest): New function.
35071         (ctan_test_towardzero): Likewise.
35072         (ctan_test_downward): Likewise.
35073         (ctan_test_upward): Likewise.
35074         (ctanh_test_tonearest): Likewise.
35075         (ctanh_test_towardzero): Likewise.
35076         (ctanh_test_downward): Likewise.
35077         (ctanh_test_upward): Likewise.
35078         (main): Call these new functions.
35079         * sysdeps/i386/fpu/libm-test-ulps: Update.
35080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35082 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35084         * .gitignore: Delete /ports entry.
35086 2012-07-03  Andreas Jaeger  <aj@suse.de>
35088         * po/bg.po: Update from translation team.
35089         * po/cs.po: Likewise.
35090         * po/de.po: Likewise.
35091         * po/hr.po: Likewise.
35092         * po/nl.pl: Likewise.
35093         * po/pl.po: Likewise.
35094         * po/vi.po: Likewise.
35096 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35098         * Makeconfig [!+link] (+link-before-libc): New variable.
35099         [!+link] (+link-after-libc): Likewise.
35100         [!+link] (+link-tests): Likewise.
35101         [!+link] (+link): Define in terms of $(+link-before-libc) and
35102         $(+link-after-libc).
35103         [!+link-static] (+link-static-before-libc): New variable.
35104         [!+link-static] (+link-static-after-libc): Likewise.
35105         [!+link-static] (+link-static-tests): Likewise.
35106         [!+link-static] (+link-static): Define in terms of
35107         $(+link-static-before-libc) and $(+link-static-after-libc).
35108         [build-shared] (link-libc-before-gnulib): New variable.
35109         [build-shared] (link-libc-tests): Likewise.
35110         [build-shared] (link-libc): Define in terms of
35111         $(link-libc-before-gnulib).
35112         [!build-shared] (link-libc-tests): New variable.
35113         (link-libc-static-tests): New variable.
35114         [!gnulib] (gnulib-arch): New variable.
35115         [!gnulib] (gnulib-tests): Likewise.
35116         [!gnulib] (static-gnulib-arch): Likewise.
35117         [!gnulib] (static-gnulib-tests): Likewise.
35118         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35119         Define with "=" instead of ":=".
35120         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35121         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35122         * Rules (binaries-all-notests): New variable.
35123         (binaries-all-tests): Likewise.
35124         (binaries-static-notests): Likewise.
35125         (binaries-static-tests): Likewise.
35126         (binaries-all): Define using $(binaries-all-notests) and
35127         $(binaries-all-tests).
35128         (binaries-static): Define using $(binaries-static-notests) and
35129         $(binaries-static-tests).
35130         (binaries-shared-tests): New variable.
35131         (binaries-shared-notests): Likewise.
35132         (binaries-shared): Remove variable.
35133         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35134         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35135         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35136         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35137         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35138         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35139         * elf/Makefile (sln-modules): New variable.
35140         (extra-objs): Add $(sln-modules:=.o).
35141         (ldconfig-modules): Add static-stubs.
35142         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35143         * elf/static-stubs.c: New file.
35145         [BZ #14283]
35146         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35147         by 7 not 8 to examine high bit of fractional part.  Use volatile
35148         variables when splitting into final array of floats if
35149         __FLT_EVAL_METHOD__ != 0.
35150         * math/libm-test.inc (cos_test): Add another test.
35151         (sin_test): Likewise.
35152         * sysdeps/i386/fpu/libm-test-ulps: Update.
35154         [BZ #14273]
35155         * math/libm-test.inc (cosh_test): Add more tests.
35157         * version.h (RELEASE): Set to "development".
35158         (VERSION): Set to "2.16.90".
35160 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35162         * NEWS: Update copyright. Remove last-updated date.
35163         Mention math library bug fixes and timezone data changes.
35164         * README: Mention GNU/Hurd, x32, and HPPA support status.
35166 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35168         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35170 2012-06-27  Andreas Jaeger  <aj@suse.de>
35172         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35174 2012-06-25  Andreas Jaeger  <aj@suse.de>
35176         * sysdeps/s390/fpu/libm-test-ulps: Update.
35178 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35179             Thomas Schwinge  <thomas@codesourcery.com>
35181         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35182         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35183         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35184         fanotify_mark.
35186 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35188         * sysdeps/mach/start.c: Remove file.
35189         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35190         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35191         * sysdeps/sh/init-first.c: Likewise.
35193         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35194         registers for frame unwinding purposes, add CFI directives.
35195         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35196         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35197         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35198         Likewise.
35200         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35201         __fortify_fail returning.
35202         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35204         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35205         sysdeps/sh/____longjmp_chk.S.
35206         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35207         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35208         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35209         (gen-as-const-headers): Append sigaltstack-offsets.sym.
35211         * sysdeps/sh/abort-instr.h: New file.
35212         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35213         process in case exit returns.
35215         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35216         initialize the GOT register before use.
35218         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35219         calculation of ARGC > 4.
35221         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35222         meaningful names to some local labels.
35224 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35225             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35227         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35228         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35229         (__arch_compare_and_exchange_val_16_acq): Likewise.
35230         (__arch_compare_and_exchange_val_32_acq): Likewise.
35231         (atomic_exchange_and_add): Fix gUSA sequence.
35232         (atomic_add): Likewise.
35233         (atomic_add_negative): Likewise.
35234         (atomic_add_zero): Likewise.
35235         (atomic_bit_test_set): Likewise.
35237 2012-06-22  Andreas Schwab  <schwab@redhat.com>
35239         [BZ #13579]
35240         * include/link.h (struct link_map): Add l_free_initfini.
35241         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35242         l_initfini.
35243         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35244         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35245         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35246         set.
35248 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
35250         * configure.in: Use AC_LANG_SOURCE.
35251         * configure: Regenerate.
35253 2012-06-22  Roland McGrath  <roland@hack.frob.com>
35255         * configure.in (libc_cv_localstatedir): New substituted variable.
35256         * configure: Regenerated.
35257         * config.make.in (localstatedir): New variable, substituted from
35258         libc_cv_localstatedir.
35259         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35260         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35261         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35262         * sysdeps/gnu/configure: Regenerated.
35264 2012-06-21  Jeff Law  <law@redhat.com>
35266         [BZ #14277]
35267         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35268         free.  Simplify list management for _LIBC case.
35270 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
35272         [BZ #14273]
35273         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35274         Clear sign bit of 64-bit integer value before comparing against
35275         overflow value.
35277         * sysdeps/mach/configure: Regenerated.
35279 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
35281         [BZ #14278]
35282         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35284 2012-06-21  Jeff Law  <law@redhat.com>
35286         [BZ #13882]
35287         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
35288         uint16_t for elements in the "seen" array to avoid char overflows.
35289         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35290         * elf/dl-open.c (dl_open_worker): Likewise.
35292 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
35294         * scripts/list-sources.sh: Scan PORTS for translations.
35295         * po/libc.pot: Regenerated.
35297 2012-06-21  Andreas Jaeger  <aj@suse.de>
35299         [BZ #12194]
35300         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35301         warning.
35302         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35303         * bits/byteswap-16.h (__bswap_16): Likewise.
35304         * bits/byteswap.h (__bswap_constant_16): Likewise.
35306 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
35308         [BZ #14117]
35309         * sysdeps/i386/fpu_control.h: Removed.
35310         * sysdeps/x86_64/fpu_control.h: Moved to ...
35311         * sysdeps/x86/fpu_control.h: Here.
35313         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35314         (_FPU_SETCW): Likewise.
35316 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
35318         [BZ #14117]
35319         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35320         * sysdeps/x86/fpu/bits/mathinline.h: This.
35321         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35323         [BZ #14050]
35324         [BZ #14117]
35325         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35326         functions if __x86_64__ is defined.
35328 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
35330         * string/endian.h: Add !__ASSEMBLER__ condition for including
35331         conversion interfaces.
35333 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
35335         [BZ #14241]
35336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35337         of ABS(x) in calculating zero to negative powers other than odd
35338         integers.
35339         * math/libm-test.inc (pow_test): Add more tests.
35341 2012-06-15  Andreas Jaeger  <aj@suse.de>
35343         * manual/contrib.texi (Contributors): Update entry of Liubov
35344         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35345         Machado Filho.
35347 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
35349         * string/string.h: Add __wur to GNU version of strerror_r.
35351 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
35353         [BZ #14229]
35354         * string/Makefile (tests): Add tst-strtok_r.
35355         * string/tst-strtok_r.c: New file.
35356         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35357         RAX_LP/RDX_LP on SAVE_PTR.
35359 2012-06-14  Roland McGrath  <roland@hack.frob.com>
35361         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35363 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
35365         * libm_test.inc (csqrt_test): Allow more spurious underflow
35366         exceptions.
35367         (j0_test): Likewise.
35368         (j1_test): Likewise.
35369         (y0_test): Likewise.
35370         (y1_test): Likewise.
35372 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
35374         * po/Makefile (libc.pot): Use UTF-8 charset.
35376 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
35378         [BZ #14210]
35379         Suppress sign-conversion warning from FD_SET.
35380         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35381         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35382         not unsigned long int.
35383         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35385 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
35387         [BZ #14050]
35388         [BZ #14117]
35389         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35390         __extern_always_inline instead of __extern_inline.
35391         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35392         (__signbit): Likewise.
35393         (__signbitl): Support C++ namespace.
35394         (lrintf): New inline function.
35395         (lrint): Likewise.
35396         (llrintf): Likewise.
35397         (llrint): Likewise.
35398         (fmaxf): Likewise.
35399         (fmax): Likewise.
35400         (fminf): Likewise.
35401         (fmin): Likewise.
35402         (rint): Likewise.
35403         (rintf): Likewise.
35404         (ceil): Likewise.
35405         (ceilf): Likewise.
35406         (floor): Likewise.
35407         (floorf): Likewise.
35408         (nearbyint): Likewise.
35409         (nearbyintf): Likewise.
35411 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
35413         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35414         non-default versions.
35416 2012-06-11  Roland McGrath  <roland@hack.frob.com>
35418         [BZ #14218]
35419         * manual/argp.texi (Argp): Reword argp_parse description slightly.
35421 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
35423         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35424         (FE_UPWARD, FE_DOWNWARD): Don't define.
35425         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35426         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35428         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35429         reading it.
35430         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35431         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35433 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35435         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35436         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35437         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35438         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35440 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
35442         [BZ #14117]
35443         * sysdeps/i386/fpu/bits/fenv.h: Removed.
35444         * sysdeps/i386/fpu/Implies: New file.
35445         * sysdeps/x86_64/fpu/Implies: Likewise.
35446         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35447         * sysdeps/x86/fpu/bits/fenv.h: This.
35449         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35450         __SSE_MATH__.
35452 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35454         [BZ #14134]
35455         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35456         character 0xffff that matches the last element of the
35457         conversion table.
35459 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35461         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35462         fmodl commit.
35464 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35466         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35467         values higher than 25.6283.
35469 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35471         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35472         subnormal exponent extraction and add some __builtin_expect.
35473         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35474         Fix for subnormal mantissa calculation.
35476 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
35478         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35479         cpu2 is -1 and errno is not ENOSYS.
35481 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
35483         [BZ #14117]
35484         * sysdeps/i386/i486/bits/string.h: Renamed to ...
35485         * sysdeps/x86/bits/string.h: This.
35486         * sysdeps/x86_64/bits/string.h: Removed.
35488         * sysdeps/i386/i486/bits/string.h: Define inline functions only
35489         if not compiling for x86-64, but compiling for >= i486.
35491         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35492         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35494         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35495         New macro from Linux kernel 3.4.0.
35496         (FP_XSTATE_MAGIC2): Likewise.
35497         (FP_XSTATE_MAGIC2_SIZE): Likewise.
35498         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35499         (struct _fpx_sw_bytes): New struct.
35500         (struct _xsave_hdr): Likewise.
35501         (struct _ymmh_state): Likewise.
35502         (struct _xstate): Likewise.
35504         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35505         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35506         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35507         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35508         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35509         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35511         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35512         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35513         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35514         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35515         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35516         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35518 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35520         [BZ #13743]
35521         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35522         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35523         (sysdep_headers): Include sys/platform/ppc.h.
35524         * sysdeps/powerpc/test-gettimebase.c: Test for
35525         __ppc_get_timebase() to catch future ISA opcode/insn changes.
35526         * manual/Makefile (appendices): Include platform.texi.
35527         * manual/contrib.texi (Contributors): Update @node pointers.
35528         * manual/maint.texi (Maintenance): Likewise.
35529         (Platform): New node.
35530         * manual/platform.texi: New file.  Document the new features.
35532 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35533             Jakub Jelinek  <jakub@redhat.com>
35535         [BZ #14188]
35536         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35537         where __builtin_expect is unavailable.
35539 2012-06-03  David S. Miller  <davem@davemloft.net>
35541         * stdlib/longlong.h: Updated from GCC.
35543 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
35545         [BZ #14042]
35546         * sysdeps/powerpc/powerpc32/mcount.c: New file.
35547         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35548         __mcount_internal.
35549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35550         (GLIBC_2.16): Likewise.
35552 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35554         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35556 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35559         (default-abi): New variable.
35560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35561         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35562         variable.
35563         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35564         Likewise.
35565         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35566         Likewise.
35567         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35568         Likewise.
35570         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35571         definition.  Document in comment.
35573 2012-06-01  David S. Miller  <davem@davemloft.net>
35575         * stdlib/longlong.h: Updated from GCC.
35577 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35579         [BZ #14117]
35580         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35581         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35582         sys/debugreg.h sys/io.h here.
35583         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35584         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35585         sys/io.h.
35586         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35587         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35588         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35589         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35590         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35591         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35593         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35594         Define only if __x86_64__ is defined.
35596 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35598         [BZ #14048]
35599         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35600         Use int64_t for variable i.
35601         * math/libm-test.inc (fmod_test): Add more tests.
35603         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35604         z computation is not scheduled after fetestexcept.
35605         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35606         Use math_force_eval instead of asm to ensure calculation scheduled
35607         before exception test.
35608         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35609         Ensure a1 + u.d computation is not scheduled after fetestexcept.
35611 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
35613         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35614         computation is not scheduled after fetestexcept.
35616 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35618         [BZ #14117]
35619         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35620         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35622 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35624         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35625         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35627 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35629         [BZ #14117]
35630         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35631         <bits/wordsize.h>.
35632         (__WCHAR_MIN): Support __WORDSIZE == 64.
35633         (__WCHAR_MAX): Likewise.
35635         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35636         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35638         [BZ #14183]
35639         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35640         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35642         [BZ #14117]
35643         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35644         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35646         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35647         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35649         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35650         Defined to 1 if __x86_64__ isn't defined.
35651         (_STAT_VER_LINUX_OLD): New.
35652         (st_atime): Remove duplicate.
35653         (st_mtime): Likewise.
35654         (st_ctime): Likewise.
35656 2012-05-31  David S. Miller  <davem@davemloft.net>
35658         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35659         entries.
35661 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
35663         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35664         gen-libm-test.pl.
35666         [BZ #14132]
35667         * elf/dl-reloc.c: Include <_itoa.h>.
35668         (_dl_reloc_bad_type): Remove use of INTUSE.
35669         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35670         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35671         * stdio-common/psiginfo.c (psiginfo): Likewise.
35672         * stdio-common/psignal.c (psignal): Likewise.
35673         * string/strsignal.c (strsignal): Likewise.
35674         * include/signal.h (_sys_siglist): Declare hidden proto.
35675         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
35676         INTVARDEF with libc_hidden_data_def.
35677         * stdio-common/itoa-udigits.c: Likewise.
35678         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35679         (_itoa_lower_digits_internal): Remove declaration.
35680         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35681         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35682         (_sys_sigabbrev_internal): Remove aliases.
35683         (_sys_siglist): Define hidden alias.
35685 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
35687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35688         bits/sysctl.h.
35690 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35692         [BZ #14117]
35693         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35694         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35696         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35697         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35698         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35699         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35700         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35701         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35703         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35704         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35705         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35707         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35708         with __addr.
35709         (insw): Likewise.
35710         (insl): Likewise.
35711         (outsb): Likewise.
35712         (outsw): Likewise.
35713         (outsl): Likewise.
35715         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35716         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35717         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35719         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35720         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35721         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35722         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35723         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35724         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35726         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35727         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35729         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35730         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35732         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35733         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35734         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35736         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35737         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35738         to ...
35739         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35741         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35742         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35743         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35745         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35746         for x86-64.
35747         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35749 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
35751         * math/math.h (M_El): Use two more decimal places.
35752         (M_LOG2El): Likewise.
35753         (M_LOG10El): Likewise.
35754         (M_LN2l): Likewise.
35755         (M_LN10l): Likewise.
35756         (M_PIl): Likewise.
35757         (M_PI_2l): Likewise.
35758         (M_PI_4l): Likewise.
35759         (M_1_PIl): Likewise.
35760         (M_2_PIl): Likewise.
35761         (M_2_SQRTPIl): Likewise.
35762         (M_SQRT2l): Likewise.
35763         (M_SQRT1_2l): Likewise.
35765 2012-05-31  David S. Miller  <davem@davemloft.net>
35767         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35768         values between float registers.
35769         * sysdeps/sparc/sparc64/memset.S: Likewise.
35770         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35772 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
35774         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35775         -D_FORTIFY_SOURCE=1.
35776         (CPPFLAGS-tst-longjmp_chk.c): Define.
35777         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35778         (CPPFLAGS-tst-longjmp_chk2.c): Define.
35779         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35780         CFLAGS-tst-wchar-h.c.
35782 2012-05-31  Marek Polacek  <polacek@redhat.com>
35784         [BZ #14132]
35785         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35786         __endmntent_internal): Remove declaration.
35787         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35788         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35789         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35791 2012-05-30  David S. Miller  <davem@davemloft.net>
35793         * sysdeps/sparc/sparc32/soft-fp/q_util.c
35794         (___Q_simulate_exceptions): Use real FP ops rather than writing
35795         into the %fsr.
35796         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35797         Likewise.
35799 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35801         [BZ #14117]
35802         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35803         * sysdeps/x86/bits/xtitypes.h: This.
35805         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35806         * sysdeps/x86/bits/wordsize.h: This.
35808         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35809         * sysdeps/x86/bits/huge_vall.h: This.
35811         * sysdeps/i386/bits/select.h: Removed.
35812         * sysdeps/x86_64/bits/select.h: Renamed to ...
35813         * sysdeps/x86/bits/select.h: This.
35815         * sysdeps/i386/bits/setjmp.h: Removed.
35816         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35817         * sysdeps/x86/bits/setjmp.h: This.
35819         * sysdeps/i386/bits/mathdef.h: Removed.
35820         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35821         * sysdeps/x86/bits/mathdef.h: This.
35823 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
35825         [BZ #14132]
35826         * include/sys/socket.h (__connect_internal)
35827         (__libc_sa_len_internal): Remove declaration.
35828         (__connect, __libc_sa_len): Declare hidden_proto.
35829         (SA_LEN): Remove use of INTUSE.
35830         * socket/connect.c: Add libc_hidden_def.
35831         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35832         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35833         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35834         alias.
35835         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35836         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35837         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35838         of adding _internal alias.
35840 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35842         [BZ #14117]
35843         * sysdeps/i386/bits/link.h: Removed.
35844         * sysdeps/i386/bits/linkmap.h: Likewise.
35845         * sysdeps/x86_64/bits/link.h: Renamed to ...
35846         * sysdeps/x86/bits/link.h: This.
35847         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35848         * sysdeps/x86/bits/linkmap.h: This.
35850         * sysdeps/i386/bits/endian.h: Removed.
35851         * sysdeps/x86_64/bits/endian.h: Renamed to ...
35852         * sysdeps/x86/bits/endian.h: This.
35854         * sysdeps/i386/bits/byteswap.h: Removed.
35855         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35856         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35857         * sysdeps/x86/bits/byteswap.h: This.
35858         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35859         * sysdeps/x86/bits/byteswap-16.h: This.
35860         * sysdeps/i386/Implies: Add x86.
35861         * sysdeps/x86_64/Implies: Likewise.
35863 2012-05-30  David S. Miller  <davem@davemloft.net>
35865         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35866         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35867         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35868         (FP_TRAPPING_EXCEPTIONS): Define.
35869         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35870         (FP_TRAPPING_EXCEPTIONS): Define.
35871         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35872         subnormals only when inexact has been signalled or underflow
35873         exceptions are enabled.
35874         (_FP_PACK_CANONICAL): Likewise.
35876 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35878         [BZ #14183]
35879         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35880         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35882 2012-05-30  Richard Henderson  <rth@twiddle.net>
35884         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35885         with #ifndef NOT_IN_libc.
35887         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
35888         marked to avoid plt entry.
35890 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35892         [BZ #14112]
35893         * Makeconfig (default-abi): New macro.
35894         (abi-includes): Likewise.
35895         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
35896         $(abi-$(default-abi)-lib-soname) for soname if defined.
35897         ($(common-objpfx)gnu/lib-names.stmp): Generate from
35898         abi-variants.
35899         * Makefile (installed-stubs): Likewise.
35900         * include/stubs-biarch.h: Removed.
35901         * scripts/lib-names.awk: Only handle one library at a time.
35902         * scripts/soversions.awk: Remove WORDSIZE support.
35903         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35904         entries.
35905         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35906         Removed.
35907         (syscall-list-default-condition): Likewise.
35908         (syscall-list-default-condition): Likewise.
35909         (syscall-list-includes): Likewise.
35910         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35911         syscall-list-* with abi-*.  Handle undefined abi-variants.
35912         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35913         * sysdeps/unix/sysv/linux/i386/Implies: New file.
35914         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35915         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35916         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35917         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35918         Removed.
35919         (syscall-list-32-options): Likewise.
35920         (syscall-list-32-condition): Likewise.
35921         (syscall-list-64-options): Likewise.
35922         (syscall-list-64-condition): Likewise.
35923         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35924         macro.
35925         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35926         Renamed to ...
35927         (abi-*): This.
35928         (abi-64-ld-soname): New macro.
35929         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35930         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35931         Renamed to ...
35932         (abi-*): This.
35933         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35934         * sysdeps/x86_64/x32/shlib-versions: Likewise.
35936 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
35938         * sysdeps/unix/sysv/linux/kernel-features.h
35939         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35940         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35941         include <kernel-features.h>.
35942         [!__NR_ftruncate64]: Remove conditional code.
35943         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35944         [__NR_ftruncate64]: Make code unconditional.
35945         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35946         * sysdeps/unix/sysv/linux/truncate64.c: Do not
35947         include <kernel-features.h>.
35948         [!__NR_ftruncate64]: Remove conditional code.
35949         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35950         [__NR_ftruncate64]: Make code unconditional.
35951         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35953         include <kernel-features.h>.
35954         [!__NR_ftruncate64]: Remove conditional code.
35955         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35956         [__NR_ftruncate64]: Make code unconditional.
35957         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35959         include <kernel-features.h>.
35960         [!__NR_ftruncate64]: Remove conditional code.
35961         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35962         [__NR_ftruncate64]: Make code unconditional.
35963         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35965         * configure.in (libc_cv_fpie): Weaken to a compile test using
35966         LIBC_TRY_CC_OPTION.
35967         * configure: Regenerated.
35969 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35975         Refreshed.
35976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35982         Refreshed.
35984 2012-05-27  David S. Miller  <davem@davemloft.net>
35986         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35987         (___Q_zero): New.
35988         (__Q_simulate_exceptions): Return void.  Change to simulate
35989         exceptions by writing into the %fsr.
35990         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35991         (__Qp_handle_exceptions): Likewise.
35992         (numbers): Delete.
35993         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35994         __Qp_handle_exceptions.
35995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35996         __Qp_handle_exceptions.
35997         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35998         as unused and give dummy FP_RND_NEAREST initializer.
35999         (FP_INHIBIT_RESULTS): Define.
36000         (___Q_simulate_exceptions): Update declaration.
36001         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36002         formatting.
36003         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36004         as unused and give dummy FP_RND_NEAREST initializer.
36005         (__Qp_handle_exceptions): Update declaration.
36006         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36007         formatting.
36009 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36011         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36012         the temporary FPU control word.
36013         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36014         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36015         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36016         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36017         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36018         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36019         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36020         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36021         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36022         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36023         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36025 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36027         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36028         fields.
36030 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36032         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36033         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36034         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36035         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36036         Likewise.
36037         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36038         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36039         Likewise.
36041 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36043         * po/h.po: Update from translation team.
36045 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36047         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36049         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36050         handling of denormals.
36051         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36052         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36053         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36054         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36055         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36057         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36058         Likewise.
36060 2012-05-26  Marek Polacek  <polacek@redhat.com>
36062         [BZ #14152]
36063         * math/libm-test.inc (fma_test): Don't always expect underflow
36064         exception.
36066 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36068         [BZ #12416]
36069         * elf/tst-execstack.c: Include stackinfo.h.
36070         (do_test): Adjust test case to ensure that pthread_getattr_np
36071         behaviour remains the same after marking stack executable.
36073 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36075         * sysdeps/unix/sysv/linux/kernel-features.h
36076         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36077         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36078         kernel-features.h.
36079         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36080         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36081         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36082         kernel-features.h.
36083         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36084         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36086 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36088         * configure.in: Define the default includes to being none.
36089         * configure: Regenerated.
36091 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36093         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36094         * sysdeps/x86_64/setjmp.S: Likewise.
36095         * sysdeps/i386/bsd-setjmp.S: Likewise.
36096         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36097         * sysdeps/i386/setjmp.S: Likewise.
36098         * sysdeps/i386/__longjmp.S: Likewise.
36099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36100         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36102         * include/stap-probe.h: New file.
36103         * configure.in: Handle --enable-systemtap.
36104         * configure: Regenerated.
36105         * config.h.in (USE_STAP_PROBE): New #undef.
36106         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36107         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36108         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36110 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36112         [BZ #13717]
36113         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36114         to 2.4.0 where earlier.
36115         * sysdeps/unix/sysv/linux/configure: Regenerated.
36116         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36117         <kernel-features.h>.
36118         [__ASSUME_32BITUIDS]: Make code unconditional.
36119         [!__ASSUME_32BITUIDS]: Remove conditional code.
36120         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36121         <kernel-features.h>.
36122         [__ASSUME_32BITUIDS]: Make code unconditional.
36123         [!__ASSUME_32BITUIDS]: Remove conditional code.
36124         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36125         [__ASSUME_32BITUIDS]: Make code unconditional.
36126         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36127         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36128         <kernel-features.h>.
36129         [__ASSUME_32BITUIDS]: Make code unconditional.
36130         [!__ASSUME_32BITUIDS]: Remove conditional code.
36131         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36132         <kernel-features.h>.
36133         [__ASSUME_32BITUIDS]: Make code unconditional.
36134         [!__ASSUME_32BITUIDS]: Remove conditional code.
36135         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36136         <kernel-features.h>.
36137         [__ASSUME_32BITUIDS]: Make code unconditional.
36138         [!__ASSUME_32BITUIDS]: Remove conditional code.
36139         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36140         <kernel-features.h>.
36141         [__ASSUME_32BITUIDS]: Make code unconditional.
36142         [!__ASSUME_32BITUIDS]: Remove conditional code.
36143         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36144         <kernel-features.h>.
36145         [__ASSUME_32BITUIDS]: Make code unconditional.
36146         [!__ASSUME_32BITUIDS]: Remove conditional code.
36147         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36148         <kernel-features.h>.
36149         [__ASSUME_32BITUIDS]: Make code unconditional.
36150         [!__ASSUME_32BITUIDS]: Remove conditional code.
36151         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36152         <kernel-features.h>.
36153         [__ASSUME_32BITUIDS]: Make code unconditional.
36154         [!__ASSUME_32BITUIDS]: Remove conditional code.
36155         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36156         <kernel-features.h>.
36157         [__ASSUME_32BITUIDS]: Make code unconditional.
36158         [!__ASSUME_32BITUIDS]: Remove conditional code.
36159         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36160         <kernel-features.h>.
36161         [__ASSUME_32BITUIDS]: Make code unconditional.
36162         [!__ASSUME_32BITUIDS]: Remove conditional code.
36163         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36164         <kernel-features.h>.
36165         [__ASSUME_32BITUIDS]: Make code unconditional.
36166         [!__ASSUME_32BITUIDS]: Remove conditional code.
36167         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36168         <kernel-features.h>.
36169         [__NR_setresgid] (__setresgid): Do not declare.
36170         [__ASSUME_32BITUIDS]: Make code unconditional.
36171         [!__ASSUME_32BITUIDS]: Remove conditional code.
36172         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36173         <kernel-features.h>.
36174         [__NR_setresuid] (__setresuid): Do not declare.
36175         [__ASSUME_32BITUIDS]: Make code unconditional.
36176         [!__ASSUME_32BITUIDS]: Remove conditional code.
36177         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36178         <kernel-features.h>.
36179         [__ASSUME_32BITUIDS]: Make code unconditional.
36180         [!__ASSUME_32BITUIDS]: Remove conditional code.
36181         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36182         <kernel-features.h>.
36183         [__ASSUME_32BITUIDS]: Make code unconditional.
36184         [!__ASSUME_32BITUIDS]: Remove conditional code.
36185         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36186         <kernel-features.h>.
36187         [__ASSUME_32BITUIDS]: Make code unconditional.
36188         [!__ASSUME_32BITUIDS]: Remove conditional code.
36189         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36190         <kernel-features.h>.
36191         [__ASSUME_32BITUIDS]: Make code unconditional.
36192         [!__ASSUME_32BITUIDS]: Remove conditional code.
36193         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36194         <kernel-features.h>.
36195         [__ASSUME_32BITUIDS]: Make code unconditional.
36196         [!__ASSUME_32BITUIDS]: Remove conditional code.
36197         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36198         <kernel-features.h>.
36199         [__ASSUME_32BITUIDS]: Make code unconditional.
36200         [!__ASSUME_32BITUIDS]: Remove conditional code.
36201         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36202         <kernel-features.h>.
36203         [__ASSUME_32BITUIDS]: Make code unconditional.
36204         [!__ASSUME_32BITUIDS]: Remove conditional code.
36205         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36206         <kernel-features.h>.
36207         [__ASSUME_32BITUIDS]: Make code unconditional.
36208         [!__ASSUME_32BITUIDS]: Remove conditional code.
36209         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36210         <kernel-features.h>.
36211         [__ASSUME_32BITUIDS]: Make code unconditional.
36212         [!__ASSUME_32BITUIDS]: Remove conditional code.
36213         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36214         <kernel-features.h>.
36215         [__ASSUME_32BITUIDS]: Make code unconditional.
36216         [!__ASSUME_32BITUIDS]: Remove conditional code.
36217         * sysdeps/unix/sysv/linux/kernel-features.h
36218         (__ASSUME_SETRESUID_SYSCALL): Remove.
36219         (__ASSUME_SETRESGID_SYSCALL): Likewise.
36220         (__ASSUME_32BITUIDS): Likewise.
36221         (__ASSUME_LDT_WORKS): Likewise.
36222         (__ASSUME_O_DIRECTORY): Likewise.
36223         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36224         architecture but not kernel version.
36225         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36226         (__ASSUME_MMAP2_SYSCALL): Likewise.
36227         (__ASSUME_STAT64_SYSCALL): Likewise.
36228         (__ASSUME_IPC64): Likewise.
36229         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36230         <kernel-features.h>.
36231         [__ASSUME_32BITUIDS]: Make code unconditional.
36232         [!__ASSUME_32BITUIDS]: Remove conditional code.
36233         * sysdeps/unix/sysv/linux/opendir.c: Do not include
36234         <kernel-features.h>.
36235         [__ASSUME_O_DIRECTORY]: Make code unconditional.
36236         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36237         132096]: Remove conditional code.
36238         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36239         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36240         <kernel-features.h>.
36241         [__ASSUME_32BITUIDS]: Make code unconditional.
36242         [!__ASSUME_32BITUIDS]: Remove conditional code.
36243         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36244         <kernel-features.h>.
36245         [__ASSUME_32BITUIDS]: Make code unconditional.
36246         [!__ASSUME_32BITUIDS]: Remove conditional code.
36247         * sysdeps/unix/sysv/linux/setegid.c: Do not include
36248         <kernel-features.h>.
36249         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36250         unconditional.
36251         (__setresgid): Do not declare.
36252         [__ASSUME_32BITUIDS]: Make code unconditional.
36253         [!__ASSUME_32BITUIDS]: Remove conditional code.
36254         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36255         <kernel-features.h>.
36256         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36257         unconditional.
36258         (__setresuid): Do not declare.
36259         [__ASSUME_32BITUIDS]: Make code unconditional.
36260         [!__ASSUME_32BITUIDS]: Remove conditional code.
36261         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36262         <kernel-features.h>.
36263         [__ASSUME_32BITUIDS]: Make code unconditional.
36264         [!__ASSUME_32BITUIDS]: Remove conditional code.
36265         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36266         <kernel-features.h>.
36267         [__ASSUME_32BITUIDS]: Make code unconditional.
36268         [!__ASSUME_32BITUIDS]: Remove conditional code.
36270 2012-05-25  Richard Henderson  <rth@twiddle.net>
36272         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36273         dl_hwcap to ifunc resolver.
36274         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36275         elf_ifunc_invoke.
36276         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36277         dl_hwcap to ifunc resolver.
36278         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36280 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36282         [BZ #14153]
36283         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36284         for |x| <= 2**-26, not 2**-57.
36285         * math/libm-test.inc (acos_test): Do not allow spurious underflow
36286         exception.
36288 2012-05-24  Jeff Law  <law@redhat.com>
36290         * stdio-common/Makefile (tests): Add bug25.
36291         * stdio-common/bug25.c: New test.
36293 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36295         [BZ #13576]
36296         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36297         multiple of MALLOC_ALIGNMENT in size.
36298         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36300 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36302         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36303         Require >= 256.
36304         (FILENAME_MAX): Use macro-int-constant.
36305         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
36306         (_IOFBF): Use macro-int-constant.
36307         (_IOLBF): Likewise.
36308         (_IONBF): Likewise.
36309         (SEEK_CUR): Likewise.
36310         (SEEK_END): Likewise.
36311         (SEEK_SET): Likewise.
36312         (TMP_MAX): Likewise.
36313         (EOF): Use macro-int-constant.  Require < 0.
36314         (NULL): Use macro-constant.  Require == 0.
36315         (stdin): Require type to be FILE *.
36316         (stdout): Likewise.
36317         (stderr): Likewise.
36318         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36319         macro-int-constant.
36320         (EXIT_SUCCESS): Likewise.
36321         (NULL): Use macro-constant.  Require == 0.
36322         (RAND_MAX): Use macro-int-constant.
36323         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36324         [C99-based standards] (strtof): Require function.
36325         [C99-based standards] (strtold): Likewise.
36326         [C99-based standards] (strtoll): Likewise.
36327         [C99-based standards] (strtoull): Likewise.
36328         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36329         [ISO || ISO99 || ISO11] (limits.h): Likewise.
36330         [ISO || ISO99 || ISO11] (math.h): Likewise.
36331         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36332         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36333         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36335 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
36337         [BZ #14132]
36338         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36339         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36340         * intl/dgettext.c (DCGETTEXT): Likewise.
36341         * intl/gettext.c (DCGETTEXT): Likewise.
36342         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36343         * posix/regex_internal.h (gettext): Likewise.
36344         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36345         Remove declaration.
36346         * include/argz.h (__argz_count_internal)
36347         (__argz_stringify_internal): Remove declaration.
36348         (__argz_count, __argz_stringify): Declare hidden proto.
36349         * intl/dcgettext.c: Remove use of INTDEF.
36350         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36351         * string/argz-stringify.c: Likewise.
36352         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36353         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36354         Declare hidden proto.
36355         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36356         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36357         Declare hidden proto.
36358         * include/stdio.h (__asprintf_internal): Don't declare.
36359         (__asprintf): Don't define as macro.  Declare hidden proto.
36360         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36361         (__fsetlocking): Declare hidden proto.
36362         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36363         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36364         hidden proto.
36365         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36366         (_IO_setlinebuf): Remove use of INTUSE.
36367         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36368         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36369         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36370         Remove declaration.
36371         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36372         (_IO_do_flush): Remove use of INTUSE.
36373         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36374         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36375         (_IO_adjust_column, _IO_least_wmarker)
36376         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36377         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36378         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36379         (_IO_default_doallocate, _IO_wdefault_doallocate)
36380         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36381         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36382         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36383         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36384         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36385         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36386         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36387         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36388         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36389         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36390         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36391         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36392         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36393         proto.
36394         (_IO_flush_all_internal, _IO_adjust_column_internal)
36395         (_IO_default_uflow_internal, _IO_default_finish_internal)
36396         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36397         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36398         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36399         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36400         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36401         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36402         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36403         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36404         (_IO_file_close_internal, _IO_file_close_it_internal)
36405         (_IO_file_underflow_internal, _IO_file_overflow_internal)
36406         (_IO_file_init_internal, _IO_file_attach_internal)
36407         (_IO_file_fopen_internal, _IO_file_read_internal)
36408         (_IO_file_sync_internal, _IO_file_seek_internal)
36409         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36410         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36411         (_IO_str_underflow_internal, _IO_str_overflow_internal)
36412         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36413         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36414         (_IO_list_all_internal, _IO_link_in_internal)
36415         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36416         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36417         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36418         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36419         (_IO_do_write_internal, _IO_padn_internal)
36420         (_IO_getline_info_internal, _IO_getline_internal)
36421         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36422         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36423         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36424         (_IO_vfscanf_internal, _IO_vfprintf_internal)
36425         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36426         (_IO_init_internal, _IO_un_link_internal): Don't declare.
36427         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36428         with libc_hidden_ver, remove use of INTUSE.
36429         * libio/genops.c: Likewise.
36430         * libio/freopen.c: Likewise.
36431         * libio/freopen64.c: Likewise.
36432         * libio/iofclose.c: Likewise.
36433         * libio/iofdopen.c: Likewise.
36434         * libio/iofflush.c: Likewise.
36435         * libio/iofflush_u.c: Likewise.
36436         * libio/iofgets.c: Likewise.
36437         * libio/iofgets_u.c: Likewise.
36438         * libio/iofopen.c: Likewise.
36439         * libio/iofopncook.c: Likewise.
36440         * libio/iofread.c: Likewise.
36441         * libio/iofread_u.c: Likewise.
36442         * libio/ioftell.c: Likewise.
36443         * libio/iofwrite.c: Likewise.
36444         * libio/iogetline.c: Likewise.
36445         * libio/iogets.c: Likewise.
36446         * libio/iogetwline.c: Likewise.
36447         * libio/iopadn.c: Likewise.
36448         * libio/iopopen.c: Likewise.
36449         * libio/ioseekoff.c: Likewise.
36450         * libio/ioseekpos.c: Likewise.
36451         * libio/iosetbuffer.c: Likewise.
36452         * libio/iosetvbuf.c: Likewise.
36453         * libio/ioungetc.c: Likewise.
36454         * libio/ioungetwc.c: Likewise.
36455         * libio/iovdprintf.c: Likewise.
36456         * libio/iovsprintf.c: Likewise.
36457         * libio/iovsscanf.c: Likewise.
36458         * libio/memstream.c: Likewise.
36459         * libio/obprintf.c: Likewise.
36460         * libio/oldfileops.c: Likewise.
36461         * libio/oldiofclose.c: Likewise.
36462         * libio/oldiofdopen.c: Likewise.
36463         * libio/oldiofopen.c: Likewise.
36464         * libio/oldiopopen.c: Likewise.
36465         * libio/oldstdfiles.c: Likewise.
36466         * libio/putc.c: Likewise.
36467         * libio/setbuf.c: Likewise.
36468         * libio/setlinebuf.c: Likewise.
36469         * libio/stdfiles.c: Likewise.
36470         * libio/strops.c: Likewise.
36471         * libio/vasprintf.c: Likewise.
36472         * libio/vscanf.c: Likewise.
36473         * libio/vsnprintf.c: Likewise.
36474         * libio/vswprintf.c: Likewise.
36475         * libio/wfiledoalloc.c: Likewise.
36476         * libio/wfileops.c: Likewise.
36477         * libio/wgenops.c: Likewise.
36478         * libio/wmemstream.c: Likewise.
36479         * libio/wstrops.c: Likewise.
36480         * libio/__fpurge.c: Likewise.
36481         * libio/__fsetlocking.c: Likewise.
36482         * assert/assert.c: Likewise.
36483         * debug/fgets_chk.c: Likewise.
36484         * debug/fgets_u_chk.c: Likewise.
36485         * debug/fread_chk.c: Likewise.
36486         * debug/fread_u_chk.c: Likewise.
36487         * debug/gets_chk.c: Likewise.
36488         * debug/obprintf_chk.c: Likewise.
36489         * debug/vasprintf_chk.c: Likewise.
36490         * debug/vdprintf_chk.c: Likewise.
36491         * debug/vsnprintf_chk.c: Likewise.
36492         * debug/vsprintf_chk.c: Likewise.
36493         * malloc/mtrace.c: Likewise.
36494         * misc/error.c: Likewise.
36495         * misc/syslog.c: Likewise.
36496         * stdio-common/asprintf.c: Likewise.
36497         * stdio-common/fxprintf.c: Likewise.
36498         * stdio-common/getw.c: Likewise.
36499         * stdio-common/isoc99_fscanf.c: Likewise.
36500         * stdio-common/isoc99_scanf.c: Likewise.
36501         * stdio-common/isoc99_vfscanf.c: Likewise.
36502         * stdio-common/isoc99_vscanf.c: Likewise.
36503         * stdio-common/isoc99_vsscanf.c: Likewise.
36504         * stdio-common/printf-prs.c: Likewise.
36505         * stdio-common/printf_fp.c: Likewise.
36506         * stdio-common/printf_fphex.c: Likewise.
36507         * stdio-common/printf_size.c: Likewise.
36508         * stdio-common/putw.c: Likewise.
36509         * stdio-common/scanf.c: Likewise.
36510         * stdio-common/sprintf.c: Likewise.
36511         * stdio-common/tmpfile.c: Likewise.
36512         * stdio-common/vfprintf.c: Likewise.
36513         * stdio-common/vfscanf.c: Likewise.
36514         * stdlib/strfmon_l.c: Likewise.
36515         * sunrpc/openchild.c: Likewise.
36516         * sunrpc/xdr_stdio.c: Likewise.
36517         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36518         * sysdeps/mach/hurd/tmpfile.c: Likewise.
36520 2012-05-24  Roland McGrath  <roland@hack.frob.com>
36522         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36524         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36525         in the third column, to generate for the shared library an IFUNC
36526         that uses _dl_vdso_vsym.
36527         * Makerules (COMPILE.c, compile-stdin.c): New variables.
36528         * Makeconfig (object-suffixes-noshared): New variable.
36530         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36531         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36532         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36533         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36535         [BZ #14132]
36536         * include/sys/time.h (__gettimeofday): Remove macro.
36537         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36538         * time/gettimeofday.c (__gettimeofday): Remove #undef.
36539         Remove INTDEF.
36540         (__gettimeofday): Add libc_hidden_def.
36541         (gettimeofday): Add libc_hidden_weak.
36542         * sysdeps/mach/gettimeofday.c: Likewise.
36543         * sysdeps/posix/gettimeofday.c: Likewise.
36544         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36545         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36546         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36547         (__gettimeofday_internal): Remove strong_alias.
36548         (__gettimeofday): Add libc_hidden_def.
36549         (gettimeofday): Add libc_hidden_weak.
36550         * sysdeps/unix/syscalls.list (gettimeofday):
36551         Remove __gettimeofday_internal alias.
36553 2012-05-24  Daniel Jacobowitz  <drow@false.org>
36554             H.J. Lu  <hongjiu.lu@intel.com>
36556         [BZ #12495]
36557         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36558         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36559         (largebin_index_32_big): New.
36560         (largebin_index): Use it for 16-byte alignment.
36561         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
36562         correction with front_misalign.
36564 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36568         Likewise.
36569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36570         Likewise.
36571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36572         Likewise.
36573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36574         Likewise.
36575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36576         Likewise.
36577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36578         Likewise.
36579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36580         Likewise.
36581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36582         Likewise.
36583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36584         Likewise.
36585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36586         Likewise.
36587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36588         Likewise.
36589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36590         Likewise.
36592         * scripts/data/c++-types-x32-linux-gnu.data: New file.
36593         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36595 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36597         [BZ #10846]
36598         [BZ #14036]
36599         * math/libm-test.inc (exp_test): Add test from bug 14036.
36600         (pow_test): Add test from bug 10846.
36602         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36603         and other flags.
36604         (special_function): Do not include flags in test name.
36605         (parse_args): Likewise.
36606         * sysdeps/i386/fpu/libm-test-ulps: Update.
36607         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36608         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36609         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36612         * math/gen-libm-test.pl (%beautify): Add entries for underflow
36613         exceptions.
36614         * math/libm-test.inc ("Philosophy"): Update comment about
36615         exception testing.
36616         (UNDERFLOW_EXCEPTION): New macro.
36617         (UNDERFLOW_EXCEPTION_OK): Likewise.
36618         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36619         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36620         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36621         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36622         (INVALID_EXCEPTION_OK): Update value.
36623         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36624         (OVERFLOW_EXCEPTION_OK): Likewise.
36625         (IGNORE_ZERO_INF_SIGN): Likewise.
36626         (test_exceptions): Handle underflow exceptions.
36627         (acos_test): Update for underflow exception expectations.
36628         (cexp_test): Likewise.
36629         (clog_test): Likewise.
36630         (clog10_test): Likewise.
36631         (csqrt_test): Likewise.
36632         (ctan_test): Likewise.
36633         (ctanh_test): Likewise.
36634         (exp_test): Likewise.
36635         (exp10_test): Likewise.
36636         (exp2_test): Likewise.
36637         (expm1_test): Likewise.
36638         (fma_test): Likewise.
36639         (j0_test): Likewise.
36640         (jn_test): Likewise.
36641         (nexttoward_test): Likewise.
36642         (pow_test): Likewise.
36643         (scalbn_test): Likewise.
36644         (scalbln_test): Likewise.
36645         (tan_test): Likewise.
36646         (y1_test): Likewise.
36647         * sysdeps/i386/fpu/libm-test-ulps: Update.
36648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36650 2012-05-23  David S. Miller  <davem@davemloft.net>
36652         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36653         (__libc_sigaction): Remove unused local variables.
36655 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36657         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36659 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
36661         mktime: avoid signed integer overflow
36662         * time/mktime.c (__mktime_internal): Do not mishandle the case
36663         where diff == INT_MIN.
36665         mktime: simplify computation of average
36666         * time/mktime.c (ranged_convert): Use new time_t_avg function
36667         instead of rolling our own (probably-slower) code.
36669         mktime: do not assume signed right shift propagates sign bit
36670         * time/mktime.c (isdst_differ): New static function.
36671         (__mktime_internal): No need to normalize tm_isdst now.
36672         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36673         tm_isdst values.
36675         mktime: merge another wrapv change from gnulib
36676         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36677         from some compilers.
36679         mktime: remove incorrect attempt at unusual arithmetics
36680         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36681         The code didn't really work on such machines anyway.
36682         (TYPE_MINIMUM): Assume two's complement.
36683         (twos_complement_arithmetic): Verify that long_int and time_t
36684         are two's complement (or unsigned, in the latter case).
36686         mktime: check signed shifts on long_int and time_t, too
36687         * time/mktime.c (SHR): Check that shifts work as desired
36688         on the types long_int and time_t too, as SHR is used on
36689         such types.
36691         mktime: do not assume 'long' is wide enough
36692         * time/mktime.c (verify): Move decl up.
36693         (long_int): New type.
36694         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36695         to remove assumption in the code that 'long' is wide enough to
36696         store year values.  This assumption is not true on x32 and on
36697         some non-glibc platforms.
36699         mktime: merge wrapv change from gnulib
36700         * time/mktime.c (WRAPV): New macro.
36701         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36702         (guess_time_tm, __mktime_internal): Do not assume that signed
36703         integer overflow wraps around; modern compilers generate code
36704         where this assumption is no longer valid.
36706 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36708         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36709         Replace "jmp L(pseudo_end)" with "ret".
36710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36711         Likewise.
36713 2012-05-23  Andreas Jaeger  <aj@suse.de>
36715         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36716         * sysdeps/unix/sysv/linux/poll.c: Remove file.
36718 2012-05-23  Andreas Jaeger  <aj@suse.de>
36719             Maximilian Attems  <max@stro.at>
36721         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36722         New macros.
36724 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36726         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36727         code so that pseudo_end is just ret and the stack pointer is
36728         correct also for static library in error case.
36730 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
36732         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36733         move to syscalls.list.
36734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36739         * manual/install.texi (Running make install): Do not mention Linux
36740         kernel version for which pt_chown is not needed.
36741         (Linux): Do not mention problems with nscd with 2.0 kernels.
36742         * INSTALL: Regenerated.
36744 2012-05-23  Andreas Jaeger  <aj@suse.de>
36746         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36747         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36748         macro.
36749         * sysdeps/unix/sysv/linux/s390/bits/mman.h
36750         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36751         * sysdeps/unix/sysv/linux/sh/bits/mman.h
36752         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36753         * sysdeps/unix/sysv/linux/i386/bits/mman.h
36754         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36755         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36756         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36757         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36758         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36759         * sysdeps/unix/sysv/linux/bits/in.h
36760         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36762 2012-05-22  Roland McGrath  <roland@hack.frob.com>
36764         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36765         (PREPARE_VERSION): Just use assert instead, it will be elided
36766         under [NDEBUG] anyway.
36768 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36770         * sysdeps/unix/sysv/linux/Makefile: Include
36771         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36772         (sysdep_routines): Remove sysctl.
36773         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36774         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36775         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36776         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36777         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36779 2012-05-22  Andreas Jaeger  <aj@suse.de>
36781         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36782         that pseudo_end is just ret and the stack pointer is correct also
36783         for static library in error case.
36785 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36787         [BZ #14122]
36788         * nss/nsswitch.c (defconfig_entries): New variable.
36789         (__nss_database_lookup): Don't leak defconfig entries.
36790         (nss_parse_service_list): Don't leak on error paths.
36791         (free_database_entries): New function.
36792         (free_defconfig): New function.
36793         (free_mem): Move common code to free_database_entries.
36795 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36797         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36798         Add arch_prctl.
36799         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36801         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36802         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36803         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36804         New macro.
36805         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36806         (INTERNAL_SYSCALL_TYPES): Likewise.
36807         (LOAD_ARGS_TYPES_[1-6]): Likewise.
36808         (LOAD_REGS_TYPES_[1-6]): Likewise.
36809         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36810         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36812 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36814         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36815         copysignl for GLIBC_2_0.
36816         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36817         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36818         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36819         logbl for GLIBC_2_0.
36820         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36821         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36823 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36825         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36826         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36828         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36829         Use "neg %eax".
36831         * time/mktime.c: Update copyright years.
36833 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36835         mktime: merge comment-quoting-style change from gnulib
36836         * time/mktime.c: Quote 'like this' in comments.
36837         The GNU coding standards suggest that we no longer quote `like this',
36838         as "`" and "'" are typically rendered asymmetrically nowadays.
36839         The typical gnulib style is to quote 'like this' when quoting
36840         code, and "like this" when quoting English.
36842         * time/mktime.c (compile-command): Add "-I.".
36844         mktime: merge mktime-internal.h change from gnulib
36845         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36847         mktime: merge time_r change from gnulib
36848         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36850         mktime: merge DEBUG change from gnulib
36851         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36852         case system <time.h> has a #define.
36854         mktime: merge <sys/types.h> change from gnulib
36855         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36856         since <time.t> is now guaranteed to define time_t.
36858         mktime: merge HAVE_CONFIG_H change from gnulib
36859         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36861 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36864         Use "neg %eax".
36866         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36867         __rlim_t cast.
36868         (struct rusage): Use anonymous union to pad each field to
36869         __syscall_slong_t.
36871 2012-05-21  David S. Miller  <davem@davemloft.net>
36873         * Makefules (o-iterator): Remove .s cases.
36874         (compile-command.s): Delete.
36875         (COMPILE.s): Delete.
36876         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36878 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
36880         * configure.in (libc_cv_predef_stack_protector): Only consider
36881         "foobar" and "__stack_chk_fail" lines in libc_undefs.
36882         * configure: Regenerated.
36884 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36887         New macro.  Use R*LP on int and pointer.
36888         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36889         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36890         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36891         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36893         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36894         [__WORDSIZE_TIME64_COMPAT32] instead of
36895         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36896         (struct utmp): Likewise.
36897         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36898         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36899         Renamed to ...
36900         (__WORDSIZE_TIME64_COMPAT32): This.
36901         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36902         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36903         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36904         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36905         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36906         (__WORDSIZE_TIME64_COMPAT32): New macro.
36908 2012-05-21  Andreas Jaeger  <aj@suse.de>
36910         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36911         only if [SHARED]. Add prototype for __wcschr_ia32.
36913 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36915         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36916         of %rbp unmolested in the jmp_buf while mangling the low bits.
36917         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36918         unmolested high bits of %rbp while demangling the low bits.
36919         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36921 2012-05-21  Andreas Jaeger  <aj@suse.de>
36923         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36924         * sunrpc/svc_simple.c: Use it for registerrpc.
36925         * sunrpc/xcrypt.c: Use it for passwd2des.
36927         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36929 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36931         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36932         Don't define if [__SYSCALL_WORDSIZE != 32].
36933         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36934         New macro.
36936 2012-05-21  Bruno Haible  <bruno@clisp.org>
36937             Andreas Jaeger  <aj@suse.de>
36939         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36940         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36941         inptr and inend for must_buffer_ch.
36942         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36943         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36944         * stdio-common/Makefile (tests): Remove bug15.
36945         (bug15-ENV): Remove macro.
36946         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36947         anymore.
36949 2012-05-19  Andreas Jaeger  <aj@suse.de>
36950             Roland McGrath  <roland@hack.frob.com>
36952         * manual/contrib.texi: Completely rewritten. It contains now an
36953         alphabetical list of contributors and their contributions.
36955 2012-05-21  Richard Henderson  <rth@twiddle.net>
36957         * misc/getauxval.c (__getauxval): Use unsigned long int.
36958         * misc/sys/auxv.h: Include <sys/cdefs.h>.
36959         (getauxval): Use unsigned long int.
36961 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36963         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36965 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36967         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36968         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36969         __alignof__ (long double).
36971 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36975 2012-05-20  Richard Henderson  <rth@twiddle.net>
36977         * misc/getauxval.c: New file.
36978         * misc/sys/auxv.h: New file.
36979         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36980         (routines): Add getauxval.
36981         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36982         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36983         * elf/dl-sysdep.c (_dl_auxv): Remove.
36984         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36985         * elf/dl-support.c (_dl_auxv): New variable.
36986         (_dl_aux_init): Initialize it.
36987         * manual/startup.texi (Auxiliary Vector): New node.
36988         * sysdeps/generic/bits/hwcap.h: New file.
36989         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36990         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
36991         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36992         * sysdeps/sparc/sysdep.h: ... here.  Include it.
36993         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36994         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36996         Update.
36997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37000         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37006 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37010 2012-05-19  David S. Miller  <davem@davemloft.net>
37012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37014 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37016         [BZ #14123]
37017         * math/s_ccosh.c: Include <float.h>
37018         (__ccosh): Avoid internal overflow calculating sinh and cosh
37019         values before multiplying by sin and cos values.
37020         * math/s_ccoshf.c: Likewise.
37021         * math/s_ccoshl.c: Likewise.
37022         * math/s_csin.c: Likewise.
37023         * math/s_csinf.c: Likewise.
37024         * math/s_csinl.c: Likewise.
37025         * math/s_csinh.c: Likewise.
37026         * math/s_csinhf.c: Likewise.
37027         * math/s_csinhl.c: Likewise.
37028         * math/libm-test.inc (ccos_test): Add more tests.
37029         (ccosh_test): Likewise.
37030         (csin_test): Likewise.
37031         (csinh_test): Likewise.
37032         * sysdeps/i386/fpu/libm-test-ulps: Update.
37033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37035 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37037         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37038         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37040         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37042 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37044         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37045         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37046         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37047         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37048         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37049         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37050         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37051         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37052         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37053         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37054         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37055         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37056         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37057         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37058         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37059         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37060         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37061         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37062         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37063         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37064         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37065         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37066         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37067         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37068         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37069         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37070         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37071         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37072         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37073         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37074         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37076 2012-05-18  Andreas Jaeger  <aj@suse.de>
37078         * csu/.gitignore: Delete.
37080 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37082         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37083         (timex): Use __syscall_slong_t.
37085 2012-05-18  Andreas Jaeger  <aj@suse.de>
37086             Carlos O'Donell  <carlos_odonell@mentor.com>
37088         * manual/install.texi (Configuring and compiling): Update
37089         description about files modified in the source directory.
37090         * INSTALL: Regenerated.
37092 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37094         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37095         value.  Use "or" to set return value to -1.
37096         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37097         negate return value.
37099 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37101         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37102         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37103         failure if the compiler has Graphite support disabled.
37104         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37105         Likewise.
37106         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37107         (CFLAGS-memmove.c): Likewise.
37108         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37109         Likewise.
37111 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37113         * sysdeps/x86_64/x32/_itoa.h: New file.
37115         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37116         getdents system call only if kernel and user dirents have the
37117         same d_ino and d_off.
37119         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37120         LLONG_MAX != LONG_MAX.
37121         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37122         (_fitoa_word): Likewise.
37124         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37125         years.
37126         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37127         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37128         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37130         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37131         include <bits/wordsize.h>.  Check __x86_64__ instead of
37132         __WORDSIZE.
37133         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37134         if __x86_64__ is defined.  Use anonymous union on fpstate.
37136         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37137         anonymous union.
37139 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37141         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37142         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37143         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37144         Refer to _rtld_local_ro instead of _rtld_global_ro.
37145         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37146         Likewise.
37147         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37148         Likewise.
37149         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37150         Likewise.
37151         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37152         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37153         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37155         * sysdeps/powerpc/powerpc32/dl-machine.c
37156         (__elf_machine_runtime_setup) [PROF]: Don't reference
37157         _dl_prof_resolve.
37159 2012-05-18  Andreas Jaeger  <aj@suse.de>
37161         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37162         function only available for GCCs before 3.4 since GCC 3.4
37163         introduced a builtin.
37164         (lrint): Likewise.
37165         (llrintf): Likewise.
37166         (llrint): Likewise.
37167         (fmaxf): Likewise.
37168         (fmax): Likewise.
37169         (fminf): Likewise.
37170         (fmin): Likewise.
37171         (rint): Likewise.
37172         (rintf): Likewise.
37173         (nearbyint): Likewise.
37174         (nearbyintf): Likewise.
37175         (ceil): Likewise.
37176         (ceilf): Likewise.
37177         (floor): Likewise.
37178         (floorf): Likewise.
37180 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37182         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37183         on both fields and cast pointer to __syscall_ulong_t.
37185         * bits/types.h (__fsword_t): New type.
37186         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37187         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37188         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37189         (__FSWORD_T_TYPE): Likewise.
37190         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37191         (__FSWORD_T_TYPE): Likewise.
37192         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37193         (__FSWORD_T_TYPE): Likewise.
37194         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37195         (__FSWORD_T_TYPE): Likewise.
37196         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37197         __SWORD_TYPE with __fsword_t.
37198         (statfs64): Likewise.
37200 2012-05-17  David S. Miller  <davem@davemloft.net>
37202         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37204 2012-05-17  Andreas Jaeger  <aj@suse.de>
37206         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37207         warning.
37209 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37211         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37213 2012-05-17  Andreas Jaeger  <aj@suse.de>
37215         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37216         when it is used.
37218 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37220         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37222 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37224         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37225         * sysdeps/x86_64/tst-mallocalign1.c: New file.
37227 2012-05-17  Andreas Jaeger  <aj@suse.de>
37228             Carlos O'Donell  <carlos_odonell@mentor.com>
37230         [BZ #14059]
37231         * sysdeps/x86_64/multiarch/init-arch.h
37232         (bit_YMM_Usable): Rename to...
37233         (bit_AVX_Usable): ... this.
37234         (bit_FMA4_Usable): New macro.
37235         (bit_XMM_state): New macro.
37236         (bit_YMM_state): New macro.
37237         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37238         [__ASSEMBLER__] (index_AVX_Usable): ... this.
37239         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37240         (CPUID_OSXSAVE): New macro.
37241         (CPUID_AVX): New macro.
37242         (CPUID_FMA4): New macro.
37243         (index_YMM_Usable): Rename to...
37244         (index_AVX_Usable): ... this.
37245         (HAS_AVX): Use HAS_ARCH_FEATURE.
37246         (HAS_FMA4): Likewise.
37247         (HAS_YMM_USABLE): Remove.
37248         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37249         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37250         are present.
37251         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37252         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37253         * sysdeps/x86_64/multiarch/Makefile: Likewise.
37254         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37255         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37257 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37259         * math/libm-test.c: Support platforms without multiple rounding modes.
37260         * math/bug-nextafter.c: Support platforms without FP exceptions.
37261         * math/bug-nexttoward.c: Likewise.
37262         * math/test-fenv.c: Likewise.
37263         * math/test-misc.c: Likewise.
37264         * stdlib/bug-getcontext.c: Likewise.
37266 2012-05-17  Andreas Jaeger  <aj@suse.de>
37268         * manual/examples/search.c (critter_cmp): Change signature to
37269         avoid warnings.
37270         * manual/string.texi (Collation Functions): Likewise.
37272 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37274         * bits/types.h: Fold copyright years.
37275         * bits/typesizes.h: Likewise.
37276         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37277         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37278         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37279         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37280         * time/time.h: Likewise.
37282 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
37284         [BZ #208]
37285         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37286         in instead of returning them.  Return void.
37287         (__libc_mallinfo): Accumulate over all arenas.
37288         (__malloc_stats): Adjust for change in int_mallinfo interface.
37290 2012-05-16  Roland McGrath  <roland@hack.frob.com>
37292         [BZ #10375]
37293         * configure.in (NM): Add AC_CHECK_TOOL for it.
37294         (libc_extra_cflags): New substituted variable.
37295         Check for -fstack-protector being used implicitly.
37296         * configure: Regenerated.
37297         * config.make.in (config-extra-cflags): New variable,
37298         gets @libc_extra_cflags@.
37299         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37301         [BZ #10375]
37302         * configure.in: Check for _FORTIFY_SOURCE being predefined.
37303         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37304         * configure: Regenerated.
37305         * config.make.in (CPPUNDEFS): New substituted variable.
37306         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37307         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37308         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37310 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37312         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37313         (mq_attr): Use __syscall_slong_t.
37315 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37317         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37318         Check __x86_64__ instead of __WORDSIZE.
37319         (_STAT_VER_LINUX): Likewise.
37320         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
37321         __syscall_ulong_t and __syscall_slong_t.
37322         (stat64): Likewise.
37324 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37326         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37328 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37330         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37332 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37334         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37335         __syscall_ulong_t.
37337         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37338         include <bits/wordsize.h>.  Check __x86_64__ instead of
37339         __WORDSIZE.
37340         (greg_t): Use "__extension__ long long int" if __x86_64__ is
37341         defined.
37342         (mcontext_t): Replace "unsigned long" with "unsigned long long".
37344         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37345         include <bits/wordsize.h>.  Check __x86_64__ instead of
37346         __WORDSIZE.
37347         (user_regs_struct): Use "__extension__ unsigned long long"
37348         instead of "unsigned long" if __x86_64__ is defined.
37349         (user): Likewise.  Pad after pointer field if __ILP32__ is
37350         defined.
37352 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
37354         * configure.in (makeinfo): Require version 4.5 or later.  Allow
37355         versions 5 to 9.
37356         * configure: Regenerated.
37357         * manual/install.texi (texinfo): Increase version requirement to
37358         4.5 or later.
37359         * INSTALL: Regenerated.
37361         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37363 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37365         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37367         * sysdeps/x86_64/x32/ffs.c: New file.
37369         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37370         __syscall_ulong_t.
37371         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37372         defined.  Use __syscall_ulong_t.
37373         (shminfo): Use __syscall_ulong_t.
37374         (shm_info): Likewise.
37376         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37377         __syscall_ulong_t.
37379         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37380         <bits/wordsize.h>.
37381         (msgqnum_t): Use __syscall_ulong_t.
37382         (msglen_t): Likewise.
37383         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
37384         __syscall_ulong_t.
37386         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37387         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37389         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37391         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37392         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37394         * sysvipc/sys/msg.h (msgbuf): Replace long int with
37395         __syscall_slong_t.
37397         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37398         include <bits/wordsize.h>.  Check __x86_64__ instead of
37399         __WORDSIZE.
37401         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37402         "unsigned long long int" if __x86_64__ is defined.
37403         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37405         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37406         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37407         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37409         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37410         <stdint.h>.
37411         (GET_PC): Cast to uintptr_t first.
37412         (GET_FRAME): Likewise.
37413         (GET_STACK): Likewise.
37415         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37416         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37417         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37418         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37419         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37420         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37421         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37422         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37423         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37424         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37425         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37426         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37427         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37428         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37429         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37430         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37431         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37432         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37433         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37434         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37435         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37436         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37437         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37438         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37439         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37440         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37441         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37442         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37443         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37445 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
37447         * Makerules (+depfiles): Also collect depfiles from .oS in
37448         $(extra-objs).
37449         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37450         .oS, $(libnldbl-routines)).
37452         * Makerules (native-compile-mkdep-flags): Define.
37453         * sunrpc/Makefile (extra-objs): Add $(addprefix
37454         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37455         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37456         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
37457         calling $(make-target-directory).
37459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37461         * bits/types.h (__snseconds_t): Removed.
37462         * time/time.h (struct timespec): Replace __snseconds_t with
37463         __syscall_slong_t.
37464         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37465         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37466         Likewise.
37467         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37468         (__SNSECONDS_T_TYPE): Likewise.
37469         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37470         (__SNSECONDS_T_TYPE): Likewise.
37471         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37472         (__SNSECONDS_T_TYPE): Likewise.
37474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37476         * sysdeps/mach/hurd/bits/typesizes.h
37477         (__SYSCALL_SLONG_TYPE): New macro.
37478         (__SYSCALL_ULONG_TYPE): Likewise.
37480 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37482         * bits/types.h (__syscall_slong_t): New type.
37483         (__syscall_ulong_t): Likewise.
37485         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37486         (__SYSCALL_ULONG_TYPE): Likewise.
37487         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37488         (__SYSCALL_SLONG_TYPE): Likewise.
37489         (__SYSCALL_ULONG_TYPE): Likewise.
37490         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37491         (__SYSCALL_SLONG_TYPE): Likewise.
37492         (__SYSCALL_ULONG_TYPE): Likewise.
37493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37494         (__SYSCALL_SLONG_TYPE): Likewise.
37495         (__SYSCALL_ULONG_TYPE): Likewise.
37497 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37499         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37500         Add sigaltstack-offsets.sym.
37501         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37502         <sigaltstack-offsets.h>.
37503         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
37504         longjmp_msg pointer.
37505         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
37506         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37507         signal stack.
37508         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37510 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37512         * elf/stackguard-macros.h: Remove file.
37513         * sysdeps/generic/stackguard-macros.h: New file.
37514         * sysdeps/i386/stackguard-macros.h: Likewise.
37515         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37516         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37517         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37518         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37519         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37520         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37521         * sysdeps/x86_64/stackguard-macros.h: Likewise.
37522         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37523         <elf/stackguard-macros.h>.
37525         [BZ #14109]
37526         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37527         __aligned__ in attribute.
37528         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37529         (gregset_t): Likewise.
37531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37533         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37534         * sysdeps/x86_64/64/Implies-after: Here.  New file.
37535         * sysdeps/x86_64/x32/Implies-after: New file.
37537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37539         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37540         and access return value for _dl_profile_fixup.  Use R10_LP to
37541         load frame size.
37543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37545         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37549         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37550         * sysdeps/x86_64/x32/sysdep.h: New file.
37552 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37554         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37555         * sysdeps/x86_64/setjmp.S: Likewise.
37557 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37559         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37560         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37561         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37562         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37563         remove unused global constant.
37565 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
37567         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37568         include of <not-cancel.h>.
37570 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37572         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37574 2012-05-15  Jeff Law  <law@redhat.com>
37575             Andreas Jaeger  <aj@suse.de>
37577         [BZ #13594]
37578         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37579         out from...
37580         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37581         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37582         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37583         code changing __hst_map_handle.map.
37585 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37587         * configure.in (sysnames): Look for Implies-before and Implies-after
37588         files.
37589         * configure: Regenerated.
37591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37593         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37594         8-byte data alignment with LP_SIZE alignment.
37596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37598         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37599         into R10_LP.
37601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37603         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37607         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37608         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37609         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37610         Likewise.
37611         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37613 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37615         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37616         (stackinfo_sub_sp): Likewise.
37618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37620         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37621         RAX_LP.
37623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37625         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37626         into R*_LP.
37628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37630         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37631         sizes into R*_LP.
37633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37635         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37639         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37640         into R11_LP and load __x86_64_shared_cache_size_half into
37641         R8_LP.
37643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37645         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37646         R8_LP.
37648 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37650         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37651         logb for POWER7.
37652         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37653         logbf for POWER7.
37654         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37655         logbl for POWER7.
37656         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37657         powerpc32/power7/fpu/s_logb.c via #include.
37658         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37659         powerpc32/power7/fpu/s_logbf.c via #include.
37660         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37661         powerpc32/power7/fpu/s_logbl.c via #include.
37663 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37665         * README.libm: Remove file.
37667 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37669         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37670         count for x32.  Use R*_LP and omit operand-size suffix.
37672 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37674         * shlib-versions: Move x86_64-.*-linux.* entries to ...
37675         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
37676         * sysdeps/x86_64/x32/shlib-versions: New file.
37678 2012-05-14  Roland McGrath  <roland@hack.frob.com>
37680         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37681         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37682         Use _dl_fatal_printf instead.
37684 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37686         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37687         set if not set by the user.  Do not allow for being unset.
37688         * sysdeps/unix/sysv/linux/configure: Regenerated.
37690 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37692         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37693         the `q' suffix from lea and replace .quad with ASM_ADDR.
37695 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37698         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
37699         instead of $17.
37700         (PTR_DEMANGLE): Likewise.
37702 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37704         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37705         (LP_OP): Likewise.
37706         (ASM_ADDR): Likewise.
37707         (RAX_LP): Likewise.
37708         (RBP_LP): Likewise.
37709         (RBX_LP): Likewise.
37710         (RCX_LP): Likewise.
37711         (RDI_LP): Likewise.
37712         (RSI_LP): Likewise.
37713         (RSP_LP): Likewise.
37714         (R8_LP): Likewise.
37715         (R9_LP): Likewise.
37716         (R10_LP): Likewise.
37717         (R10_LP): Likewise.
37718         (R11_LP): Likewise.
37719         (R12_LP): Likewise.
37720         (R13_LP): Likewise.
37721         (R14_LP): Likewise.
37722         (R15_LP): Likewise.
37724 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37726         * sysdeps/x86_64/x32/dl-machine.h: New file.
37728 2012-05-14  Andreas Jaeger  <aj@suse.de>
37730         * manual/Makefile (subdir): Remove export of subdir.
37731         (all): Remove target.
37732         (.PHONY): Remove all from list.
37733         (mkinstalldirs): Remove.
37734         (.PHONY): Remove installdirs from list.
37735         ($(inst_infodir)/libc.info): Use make-target-directory.
37736         (installdirs): Remove.
37737         (subdir_%): Remove.
37738         (glibc-targets): Remove.
37739         (lib): Remove.
37740         (stubs): Remove.
37741         ($(objpfx)stubs ../po/manual.pot): Remove.
37742         ($(objpfx)stamp%): Remove.
37743         (make-target-directory): Remove.
37744         (subdir_install): Remove.
37745         (routines): Remove.
37746         (aux): Remove.
37747         (sources): Remove.
37748         (objects): Remove.
37749         (headers): Remove.
37751         [BZ #13750]
37752         * manual/.gitignore: Remove, it's not needed anymore.
37753         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37754         all files in it.
37755         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37756         directory.
37757         (texis): Renamed to $(objpfx)texis.
37758         (texis-path): New, contains path to generated files.
37759         (chapters.%): Use texis-path for complete path, add extra argument
37760         libc-texinfo.sh.
37761         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37762         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37763         (summary,texi, stamp-summary): Use complete path of
37764         files. Generate files in build dir.
37765         (dir-add.texi): Build in build dir.
37766         (libm-err.texi,stamp-libm-err): Likewise.
37767         (version.texi, stamp-version): Likewise.
37768         (.%c.texi): Likewise.
37769         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37770         (mostlyclean): Remove target.
37771         (realclean): Remove target.
37772         (generated): Add new variable with contents from mostlyclean and
37773         realclean, remove entries duplicated in common-mostlyclean, add
37774         stamp-libm-err and stamp-version.
37775         (generated-dirs): Add libc directory.
37776         ($(inst_infodir)/libc.info): Install files from build dir.
37778         * manual/install.texi (Configuring and compiling): Adjust since
37779         the info files are not part of the tar ball anymore.
37781 2012-05-14  Andreas Jaeger  <aj@suse.de>
37783         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37784         variable.
37786 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37788         [BZ #13717]
37789         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37790         to 2.2.0 where earlier.
37791         * sysdeps/unix/sysv/linux/configure: Regenerated.
37792         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37793         Remove conditional code.
37794         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37795         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37796         Remove conditional code.
37797         [!__NR_lchown]: Likewise.
37798         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37799         [__NR_lchown]: Likewise.
37800         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37801         comment referencing __ASSUME_LCHOWN_SYSCALL.
37802         * sysdeps/unix/sysv/linux/i386/sigaction.c
37803         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37804         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37805         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37806         Remove conditional code.
37807         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37808         (__protocol_available): Remove #if 0 code.
37809         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37810         conditional code.
37811         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37812         * sysdeps/unix/sysv/linux/kernel-features.h
37813         (__ASSUME_GETCWD_SYSCALL): Don't define.
37814         (__ASSUME_REALTIME_SIGNALS): Likewise.
37815         (__ASSUME_PREAD_SYSCALL): Likewise.
37816         (__ASSUME_PWRITE_SYSCALL): Likewise.
37817         (__ASSUME_POLL_SYSCALL): Likewise.
37818         (__ASSUME_LCHOWN_SYSCALL): Likewise.
37819         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37820         non-SPARC.
37821         (__ASSUME_SIOCGIFNAME): Don't define.
37822         (__ASSUME_MSG_NOSIGNAL): Likewise.
37823         (__ASSUME_SENDFILE): Define unconditionally.
37824         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37825         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37826         conditional code.
37827         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37828         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37829         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37830         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37831         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37832         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37833         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37835         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37836         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37838         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37839         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37841         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37842         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37844         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37845         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37847         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37848         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37850         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37851         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37853         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37856         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37857         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37858         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37859         Remove conditional code.
37860         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37861         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37862         Remove conditional code.
37863         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37864         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37865         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37866         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37867         Remove conditional code.
37868         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37869         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37870         Remove conditional code.
37871         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37872         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37873         Remove conditional code.
37874         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37875         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37876         Remove conditional code.
37877         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37878         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37879         Remove conditional code.
37880         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37881         * sysdeps/unix/sysv/linux/sh/pwrite64.c
37882         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37883         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37884         * sysdeps/unix/sysv/linux/sigaction.c
37885         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37886         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37887         * sysdeps/unix/sysv/linux/sigpending.c
37888         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37889         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37890         * sysdeps/unix/sysv/linux/sigprocmask.c
37891         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37892         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37893         * sysdeps/unix/sysv/linux/sigsuspend.c
37894         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37895         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37896         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37897         (__libc_missing_rt_sigs): Remove.
37898         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37899         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37900         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37901         Remove conditional code.
37902         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37903         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37904         return 1.
37905         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37906         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37907         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37908         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37910 2012-05-14  Andreas Jaeger  <aj@suse.de>
37912         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37913         it's not used in glibc.
37914         (__coshm1): Likewise.
37915         (__acosh1p): Likewise.
37916         (__sgn): Likewise.
37918         * manual/string.texi (Copying and Concatenation): Add missing
37919         variable in concat example.
37920         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37922 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37924         [BZ #14103]
37925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37926         __builtin_clzl with __builtin_clzll.
37928 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37930         [BZ #14104]
37931         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37932         libc_freeres_ptr.
37934 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37936         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37937         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37938         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37939         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37941 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
37943         * NEWS: Update ia64 info.
37945 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
37947         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37948         used as bcopy.
37950 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
37952         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37953         * sysdeps/unix/syscalls.list (dup3): Likewise.
37954         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37955         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37957 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37959         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37960         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37962 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37964         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37965         thread pointer.
37966         (TLS_IE): Use mov/add instead of movq/addq to load thread
37967         pointer.
37968         (TLS_GD_PREFIX): New.
37969         (TLS_GD): Use it.
37971 2012-05-11  David S. Miller  <davem@davemloft.net>
37973         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37974         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37975         (_FPU_SETCW): Likewise.
37977 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37979         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37980         is 32-byte aligned.
37982 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
37984         [BZ #11837]
37985         * iconvdata/gb18030.c: Update tables.
37986         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
37987         characters specially.
37988         (BODY for TO_LOOP): Add encoding of missing ranges.
37990 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
37992         [BZ #13673]
37993         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37994         * sysdeps/mach/hurd/dup3.c: Likewise.
37995         * sysdeps/mach/hurd/readlinkat.c: Likewise.
37996         * sysdeps/powerpc/memmove.c:: Likewise.
37998 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38000         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38001         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38003 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38005         * elf/elf.h (R_X86_64_RELATIVE64): New.
38006         (R_X86_64_NUM): Updated.
38007         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38008         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38009         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38010         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38011         tst-quad1pie tst-quad2pie
38012         (modules-names): Add tst-quadmod1 tst-quadmod2.
38013         ($(objpfx)tst-quad1): New dependency.
38014         ($(objpfx)tst-quad2): Likewise.
38015         ($(objpfx)tst-quad1pie): Likewise.
38016         ($(objpfx)tst-quad2pie): Likewise.
38017         * sysdeps/x86_64/tst-quad1.c: New file.
38018         * sysdeps/x86_64/tst-quad1pie.c: New file.
38019         * sysdeps/x86_64/tst-quad2.c: Likewise.
38020         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38021         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38022         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38023         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38024         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38026 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38028         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38029         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38030         * streams/stropts.h (t_scalar_t): Define type.
38032         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38033         (_PATH_PRESERVE): Set to "/var/lib".
38034         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38036         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38037         instead of int.
38039         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38040         if __dir_mkfile succeeded.
38042         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38043         checking for _hurd_dtablesize.  Unlock it right after having
38044         finished _hurd_dtable allocation.
38046 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38048         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38049         * sysdeps/mach/hurd/configure: Regenerated.
38050         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38051         special-casing to...
38052         * sysdeps/gnu/configure.in: ... this new file.
38053         * sysdeps/unix/sysv/linux/configure: Regenerated.
38054         * sysdeps/gnu/configure: New generated file.
38056         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38057         for Linux: use nsec instead of usec, as well as:
38058         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38059         members of type struct timespec.
38060         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38061         New macros.
38062         (struct stat64): Likewise.
38063         (_STATBUF_ST_NSEC): New macro.
38064         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38066         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38067         __strtoul_internal rather than strtoul.
38069 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38071         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38072         and reject them.
38074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38076         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38077         which preserves existing values.
38078         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38080 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38082         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38083         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38084         greater than FD_SETSIZE.
38086 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38088         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38089         allocated, call __vm_protect to finish enabling the existing space, and
38090         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38091         allocate the remainder.
38093 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38095         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38096         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38098 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38100         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38101         sysdeps/mach/hurd/readlink.c.
38103         * posix/tst-sysconf.c (posix_options): Only use
38104         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38105         _POSIX_SYNCHRONIZED_IO when they are defined
38106         * sysdeps/mach/hurd/bits/posix_opt.h:
38107         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38108         (_XOPEN_REALTIME): Undefine macro.
38109         (_XOPEN_REALTIME_THREADS): Undefine macro.
38110         (_XOPEN_SHM): Undefine macro.
38111         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38112         macro to -1.
38113         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38114         macro to -1.
38115         (_POSIX_ASYNC_IO): Undefine macro.
38116         (_POSIX_PRIORITIZED_IO): Undefine macro.
38117         (_POSIX_SPIN_LOCKS): Define macro to -1.
38119         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38120         SA_NODEFER, SA_RESETHAND.
38121         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38122         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38123         F_DUPFD_CLOEXEC.
38125 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38127         * elf/Makefile (pldd-modules): Define unconditionally.
38129 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38131         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38135         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38136         Return ENOENT when name is empty.
38137         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38139 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38141         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38143         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38147         Fix mlock in all cases except non-readable pages.
38148         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38149         instead of VM_PROT_ALL as parameter to __vm_wire function.
38151         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38152         (__mkdir): When path is `/', just fail with EEXIST.
38153         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38155 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38157         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38158         <sys/uio.h> (for writev).
38159         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38160         and <sys/param.h> (for MIN).
38162 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38164         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38165         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38166         if interrupted.
38168 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38170         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38171         Depend on against $(link-rpcuserlibs).
38173 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38175         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38176         (__libc_stack_end): Do not use attribute_relro.
38177         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38178         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38179         to libthread-provided value.
38180         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38181         attribute_relro.
38183 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38185         [BZ #3748]
38186         * bits/libc-lock.h (__libc_once_get): New macro.
38187         * sysdeps/mach/bits/libc-lock.h: Likewise.
38188         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38189         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38190         instead of using implementation details.
38192         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38193         * libio/freopen.c: Likewise.
38194         * libio/freopen64.c: Likewise.
38195         * misc/syslog.c: Likewise.
38196         * nscd/connections.c: Likewise.
38197         * nscd/netgroupcache.c: Likewise.
38198         * sysdeps/posix/getcwd.c: Likewise.
38200 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38202         * math/w_ilogbf.c: Add #include <limits.h>.
38204 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38206         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38207         path instead of returning without unlocking.
38209         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38210         immediate-write ioctls.
38211         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38213 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38215         * sysdeps/mach/hurd/i386/init-first.c (init): Use
38216         __builtin_frame_address instead of making assumptions about the
38217         location of the return address relative to DATA.  Force early load of
38218         the return address.
38219         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38220         __builtin_frame_address.
38222         dup3 for GNU Hurd.
38223         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38224         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
38225         implement dup3 and do some further code clean-ups.
38226         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38227         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38229 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38231         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38233         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38234         HURD_CRITICAL_END around holding _hurd_dtable_lock.
38235         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38236         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38237         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38238         d->port.lock.
38240         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38241         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
38242         when handler == SIG_ERR, not when handler != SIG_ERR.
38244 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38246         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38247         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38248         definitions.
38250         accept4 for GNU Hurd.
38251         * include/sys/socket.h (__libc_accept4): New prototype.
38252         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
38253         to implement __libc_accept4.
38254         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38255         __libc_accept4.
38256         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38258         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38259         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38260         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38261         signal-defines.sym.
38263 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38265         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38267 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38269         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38270         assertion on O_CLOEXEC flag.
38271         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38272         * hurd/intern-fd.c: Likewise.
38273         * hurd/port2fd.c: Likewise.
38275 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38277         [BZ #3906]
38278         * bits/in.h (IPV6_PKTINFO): Define new macro.
38279         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38281 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38283         [BZ #13954]
38284         [BZ #13955]
38285         [BZ #13956]
38286         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38287         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38288         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38289         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38290         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38291         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38292         * math/libm-test.inc (logb_test) : Additional logb tests.
38294 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
38295             Andreas Jaeger  <aj@suse.de>
38297         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38298         * configure: Regenerated.
38299         * config.h.in (LINK_OBSOLETE_RPC): New macro.
38300         * config.make.in (link-obsolete-rpc): New substituted variable.
38301         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38302         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38303         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38304         (shared-only-routines): Don't set it under [link-obsolete-rpc],
38305         so that libc.a contains the symbols.
38306         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38307         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38308         * sunrpc/auth_none.c: Likewise.
38309         * sunrpc/auth_unix.c: Likewise.
38310         * sunrpc/authdes_prot.c: Likewise.
38311         * sunrpc/authuxprot.c: Likewise.
38312         * sunrpc/clnt_gen.c: Likewise.
38313         * sunrpc/clnt_perr.c: Likewise.
38314         * sunrpc/clnt_raw.c: Likewise.
38315         * sunrpc/clnt_simp.c: Likewise.
38316         * sunrpc/clnt_tcp.c: Likewise.
38317         * sunrpc/clnt_udp.c: Likewise.
38318         * sunrpc/clnt_unix.c: Likewise.
38319         * sunrpc/des_crypt.c: Likewise.
38320         * sunrpc/des_soft.c: Likewise.
38321         * sunrpc/get_myaddr.c: Likewise.
38322         * sunrpc/key_call.c: Likewise.
38323         * sunrpc/key_prot.c: Likewise.
38324         * sunrpc/netname.c: Likewise.
38325         * sunrpc/pm_getmaps.c: Likewise.
38326         * sunrpc/pm_getport.c: Likewise.
38327         * sunrpc/pmap_clnt.c: Likewise.
38328         * sunrpc/pmap_prot.c: Likewise.
38329         * sunrpc/pmap_prot2.c: Likewise.
38330         * sunrpc/pmap_rmt.c: Likewise.
38331         * sunrpc/publickey.c: Likewise.
38332         * sunrpc/rpc_cmsg.c: Likewise.
38333         * sunrpc/rpc_common.c: Likewise.
38334         * sunrpc/rpc_dtable.c: Likewise.
38335         * sunrpc/rpc_prot.c: Likewise.
38336         * sunrpc/rpc_thread.c: Likewise.
38337         * sunrpc/rtime.c: Likewise.
38338         * sunrpc/svc.c: Likewise.
38339         * sunrpc/svc_auth.c: Likewise.
38340         * sunrpc/svc_raw.c: Likewise.
38341         * sunrpc/svc_run.c: Likewise.
38342         * sunrpc/svc_tcp.c: Likewise.
38343         * sunrpc/svc_udp.c: Likewise.
38344         * sunrpc/svc_unix.c: Likewise.
38345         * sunrpc/svcauth_des.c: Likewise.
38346         * sunrpc/xcrypt.c: Likewise.
38347         * sunrpc/xdr.c: Likewise.
38348         * sunrpc/xdr_array.c: Likewise.
38349         * sunrpc/xdr_float.c: Likewise.
38350         * sunrpc/xdr_intXX_t.c: Likewise.
38351         * sunrpc/xdr_mem.c: Likewise.
38352         * sunrpc/xdr_rec.c: Likewise.
38353         * sunrpc/xdr_ref.c: Likewise.
38354         * sunrpc/xdr_sizeof.c: Likewise.
38355         * sunrpc/xdr_stdio.c: Likewise.
38357 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38359         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38360         change.  Update copyright years.
38362 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38364         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38366 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
38367             Joseph Myers  <joseph@codesourcery.com>
38368             Paul Pluzhnikov  <ppluzhnikov@google.com>
38370         [BZ #14012]
38371         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38372         requiring rpcgen.
38373         [cross-compiling] (extra-libs): Likewise.
38374         [cross-compiling] (extra-libs-others): Likewise.
38375         [cross-compiling] (librpcsvc-routines): Likewise.
38376         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38377         [cross-compiling] (omit-deps): Likewise.
38378         (sunrpc-CPPFLAGS): New variable.
38379         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38380         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38381         (cross-rpcgen-objs): New variable.
38382         (extra-objs): Append $(cross-rpcgen-objs).
38383         ($(cross-rpcgen-objs)): New rule.
38384         ($(objpfx)cross-rpcgen): Likewise.
38385         (rpcgen-cmd): Define to use $(built-program-file).  Expand
38386         comment.
38387         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38388         ($(objpfx)x%.stmp): Likewise.
38389         * sunrpc/proto.h [IS_IN_build] (_): Define.
38390         [IS_IN_build] (_libc_intl_domainname): Likewise.
38392 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38394         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38395         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38396         and R_X86_64_TPOFF64.
38398 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38400         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38401         sysdeps/unix/sysv/syscalls.list.
38402         (stime): Likewise.
38403         (utime): Likewise.
38404         * sysdeps/unix/sysv/syscalls.list: Remove file.
38406 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
38408         [BZ #3440]
38409         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38410         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38411         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38412         (__LC_IDENTIFICATION): Make these macros useful in #if
38413         expressions, as required by C99.
38415 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
38417         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38418         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
38419         after this.
38421 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
38423         * stdlib/longlong.h: Updated from GCC.
38425 2012-05-09  Andreas Jaeger  <aj@suse.de>
38427         * nscd/nscd.c (run_modes): Make named enum, reorder so that
38428         default is first entry.
38429         (run_mode): Set type.
38430         (main): Remove informal message about syslog.
38431         (options): Fix typo.
38433         [BZ #14053]
38434         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38435         to asm.
38436         (lrint): Likewise.
38437         (llrintf): Likewise.
38438         (llrint): Likewise.
38439         (rint): Likewise.
38440         (rintf): Likewise.
38441         (nearbyint): Likewise.
38442         (nearbyintf): Likewise.
38444 2012-05-09  Andreas Jaeger  <aj@suse.de>
38445             Pedro Alves  <palves@redhat.com>
38447         * nscd/nscd.c (run_mode): Use enum.
38448         (main): Cleanup coding style issue.
38450 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
38451             Andreas Jaeger  <aj@suse.de>
38453         * nscd/nscd.c (go_background): Replaced with...
38454         (run_mode): ... this.
38455         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38456         (options): Add -F --foreground.
38457         (main): Implement it.
38458         (parse_opt): Parse it.
38460 2012-05-09  Andreas Jaeger  <aj@suse.de>
38462         [BZ #14083]
38463         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38464         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38465         -Wconversion warning.
38466         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38467         Likewise.
38469 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
38471         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
38472         == 0.
38473         (LC_ALL): Use macro-int-constant.
38474         (LC_COLLATE): Likewise.
38475         (LC_CTYPE): Likewise.
38476         (LC_MESSAGES): Likewise.
38477         (LC_MONETARY): Likewise.
38478         (LC_NUMERIC): Likewise.
38479         (LC_TIME): Likewise.
38480         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38481         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38482         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38483         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38484         Specify type.
38485         [C99-based standards] (float_t): Expect type.
38486         [C99-based standards] (double_t): Expect type.
38487         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
38488         type.
38489         [C99-based standards] (HUGE_VALL): Likewise.
38490         [C99-based standards] (INFINITY): Likewise.
38491         [C99-based standards] (NAN): Likewise.
38492         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38493         [C99-based standards] (FP_NAN): Likewise.
38494         [C99-based standards] (FP_NORMAL): Likewise.
38495         [C99-based standards] (FP_SUBNORMAL): Likewise.
38496         [C99-based standards] (FP_ZERO): Likewise.
38497         [C99-based standards] (FP_FAST_FMA): Use
38498         optional-macro-int-constant.  Specify type.  Require == 1.
38499         [C99-based standards] (FP_FAST_FMAF): Likewise.
38500         [C99-based standards] (FP_FAST_FMAL): Likewise.
38501         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38502         [C99-based standards] (FP_ILOGBNAN): Likewise.
38503         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38504         Specify type.
38505         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38506         [C99-based standards] (math_errhandling): Specify type.
38507         [ISO99 || ISO11] (signgam): Do not allow.
38508         [non-C99-based standards] (copysignf): Do not allow.
38509         [non-C99-based standards] (exp2f): Likewise.
38510         [non-C99-based standards] (log2f): Likewise.
38511         [non-C99-based standards] (modff): Allow.
38512         [non-C99-based standards] (erff): Do not allow.
38513         [non-C99-based standards] (erfcf): Likewise.
38514         [non-C99-based standards] (gammaf): Likewise.
38515         [non-C99-based standards] (hypotf): Likewise.
38516         [non-C99-based standards] (j0f): Likewise.
38517         [non-C99-based standards] (j1f): Likewise.
38518         [non-C99-based standards] (jnf): Likewise.
38519         [non-C99-based standards] (lgammaf): Likewise.
38520         [non-C99-based standards] (tgammaf): Likewise.
38521         [non-C99-based standards] (y0f): Likewise.
38522         [non-C99-based standards] (y1f): Likewise.
38523         [non-C99-based standards] (ynf): Likewise.
38524         [non-C99-based standards] (isnanf): Likewise.
38525         [non-C99-based standards] (acoshf): Likewise.
38526         [non-C99-based standards] (asinhf): Likewise.
38527         [non-C99-based standards] (atanhf): Likewise.
38528         [non-C99-based standards] (cbrtf): Likewise.
38529         [non-C99-based standards] (expm1f): Likewise.
38530         [non-C99-based standards] (ilogbf): Likewise.
38531         [non-C99-based standards] (log1pf): Likewise.
38532         [non-C99-based standards] (logbf): Likewise.
38533         [non-C99-based standards] (nextafterf): Likewise.
38534         [non-C99-based standards] (remainderf): Likewise.
38535         [non-C99-based standards] (rintf): Likewise.
38536         [non-C99-based standards] (scalbf): Likewise.
38537         [non-C99-based standards] (copysignl): Likewise.
38538         [non-C99-based standards] (exp2l): Likewise.
38539         [non-C99-based standards] (log2l): Likewise.
38540         [non-C99-based standards] (modfl): Allow.
38541         [non-C99-based standards] (erfl): Do not allow.
38542         [non-C99-based standards] (erfcl): Likewise.
38543         [non-C99-based standards] (gammal): Likewise.
38544         [non-C99-based standards] (hypotl): Likewise.
38545         [non-C99-based standards] (j0l): Likewise.
38546         [non-C99-based standards] (j1l): Likewise.
38547         [non-C99-based standards] (jnl): Likewise.
38548         [non-C99-based standards] (lgammal): Likewise.
38549         [non-C99-based standards] (tgammal): Likewise.
38550         [non-C99-based standards] (y0l): Likewise.
38551         [non-C99-based standards] (y1l): Likewise.
38552         [non-C99-based standards] (ynl): Likewise.
38553         [non-C99-based standards] (isnanl): Likewise.
38554         [non-C99-based standards] (acoshl): Likewise.
38555         [non-C99-based standards] (asinhl): Likewise.
38556         [non-C99-based standards] (atanhl): Likewise.
38557         [non-C99-based standards] (cbrtl): Likewise.
38558         [non-C99-based standards] (expm1l): Likewise.
38559         [non-C99-based standards] (ilogbl): Likewise.
38560         [non-C99-based standards] (log1pl): Likewise.
38561         [non-C99-based standards] (logbl): Likewise.
38562         [non-C99-based standards] (nextafterl): Likewise.
38563         [non-C99-based standards] (remainderl): Likewise.
38564         [non-C99-based standards] (rintl): Likewise.
38565         [non-C99-based standards] (scalbl): Likewise.
38566         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38567         [non-C99-based standards] (FP_*): Do not allow.
38568         [C99-based standards] (FP_*): Change to
38569         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38570         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38571         allow.
38572         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38573         (SIG_ERR): Likewise.
38574         [X/Open-based standards] (SIG_HOLD): Likewise.
38575         (SIG_IGN): Likewise.
38576         (SIGABRT): Use macro-int-constant.  Specify type.  Require
38577         positive value.
38578         (SIGFPE): Likewise.
38579         (SIGILL): Likewise.
38580         (SIGINT): Likewise.
38581         (SIGSEGV): Likewise.
38582         (SIGTER): Likewise.
38583         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38584         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38585         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38586         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38587         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38588         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38589         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38590         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38591         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38592         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38593         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38594         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38595         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38596         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38597         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38598         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38599         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38600         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38601         [X/Open-based standards] (SIGTRAP): Likewise.
38602         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38603         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38604         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38605         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38606         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38607         allow.
38609 2012-05-08  Ian Wienand  <ianw@vmware.com>
38611         [BZ #14080]
38612         * time/tzset.c (__tzset_parse_tz): Update default rules for
38613         daylight time changes in the Energy Policy Act of 2005.
38615 2012-05-09  Andreas Jaeger  <aj@suse.de>
38617         [BZ #13983]
38618         * elf/ldconfig.c (parse_conf): Change string to make clear that
38619         ldconfig only issued a warning if ld.so.conf does not exist.
38621 2012-05-08  David S. Miller  <davem@davemloft.net>
38623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38624         movxtod instead of popping the value on the stack.
38626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38628 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
38630         * config.h.in: Add HAVE_ARM_PCS_VFP.
38632 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
38634         [BZ #13979]
38635         * include/features.h: Warn if user requests __FORTIFY_SOURCE
38636         checking but the checks are disabled for any reason.
38638 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
38640         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38641         and ELF64_R_TYPE with ELFW(R_TYPE).
38643 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
38645         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38646         (ulimit): Likewise.
38648         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38649         (settimeofday): Likewise.
38651 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
38653         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
38654         a struct th_u2 inside the union, and move tu_block/tu_code into
38655         a new th_u3 union of tu_block/tu_code inside of that.  Move
38656         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
38657         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
38658         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38659         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38660         (th_stuff): Change to th_u1.tu_stuff.
38661         (th_data): Define.
38662         (th_msg): Change to th_u1.th_u2.tu_data.
38664 2012-05-07  David S. Miller  <davem@davemloft.net>
38666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38668         [BZ #14074]
38669         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38670         (SETUP_PIC_REG): Use it.
38671         (SETUP_PIC_REG_LEAF): Use it.
38673 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
38675         [BZ #13885]
38676         [BZ #13923]
38677         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38678         USE_AS_EXPM1L.
38679         (EXPL_FINITE): Likewise.
38680         (FLDLOG): Likewise.
38681         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38682         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38683         e_expl.S.
38684         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38685         USE_AS_EXPM1L.
38686         (EXPL_FINITE): Likewise.
38687         (FLDLOG): Likewise.
38688         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38689         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38690         e_expl.S.
38691         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
38692         test of -max_value argument for long double.
38693         * sysdeps/i386/fpu/libm-test-ulps: Update.
38694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38696 2012-05-06  David S. Miller  <davem@davemloft.net>
38698         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38699         quad soft-float symbols whose references which are compiler
38700         generated.
38701         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38703 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
38705         [BZ #13884]
38706         [BZ #13914]
38707         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38708         USE_AS_EXP10L.
38709         (EXPL_FINITE): Likewise.
38710         (FLDLOG): Likewise.
38711         (c0): Likewise.
38712         (c1): Likewise.
38713         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38714         Adjust comments for base varying.
38715         (__expl_finite): Change alias to EXPL_FINITE.
38716         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38717         e_expl.S.
38718         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38719         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38720         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38721         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38722         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38723         USE_AS_EXP10L.
38724         (EXPL_FINITE): Likewise.
38725         (FLDLOG): Likewise.
38726         (c0): Likewise.
38727         (c1): Likewise.
38728         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38729         Adjust comments for base varying.
38730         (__expl_finite): Change alias to EXPL_FINITE.
38731         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
38732         tests for bugs.
38733         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38735         [BZ #14064]
38736         * math/libm-test.inc (check_float_internal): Correct ulp
38737         calculation for subnormal expected results.
38739 2012-05-06  Andreas Jaeger  <aj@suse.de>
38741         * Makeconfig (+math-flags): New, set to -frounding-math.
38742         (+cflags): Add +math-flags so that all of glibc gets compiled with
38743         it.
38745         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38747 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
38749         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38750         Disable one test.
38752         [BZ #13787]
38753         [BZ #13922]
38754         [BZ #14036]
38755         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38756         (__ieee754_expl): Allow for and saturate large arguments.
38757         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38758         (u_threshold): Likewise.
38759         (__exp): Call __ieee754_exp before checking for overflow and
38760         underflow.
38761         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38762         (u_threshold): Likewise.
38763         (__expf): Call __ieee754_expf before checking for overflow and
38764         underflow.
38765         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38766         (u_threshold): Likewise.
38767         (__expl): Call __ieee754_expl before checking for overflow and
38768         underflow.
38769         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38770         (__ieee754_expl): Allow for and saturate large arguments.
38771         * math/libm-test.inc (exp_test): Add another test.  Do not allow
38772         missing overflow exception on overflow.
38773         (expm1_test): Do not allow missing overflow exception on overflow.
38775         * sysdeps/i386/fpu/e_expl.c: Move to ...
38776         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
38777         rather than using inline asm.
38778         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38779         * sysdeps/x86_64/fpu/e_expl.S: Copy from
38780         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38782         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38783         (nice): Likewise.
38784         (poll): Likewise.
38785         (signal): Likewise.
38786         (time): Likewise.
38787         (times): Likewise.
38789 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38791         * sysdeps/unix/syscalls.list (adjtime): Add entry from
38792         sysdeps/unix/common/syscalls.list.
38793         (fchmod): Likewise.
38794         (fchown): Likewise.
38795         (ftruncate): Likewise.
38796         (getrusage): Likewise.
38797         (gettimeofday): Likewise.
38798         (setpgid): Likewise.
38799         (setregid): Likewise.
38800         (setreuid): Likewise.
38801         (sigaction): Likewise.
38802         (truncate): Likewise.
38803         (vhangup): Likewise.
38804         * sysdeps/unix/common/syscalls.list: Remove file.
38805         * sysdeps/unix/bsd/Implies: Don't include unix/common.
38806         * sysdeps/unix/sysv/linux/Implies: Likewise.
38808 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
38810         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38812         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38813         Moved to ...
38814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38815         Here.
38816         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38817         to ...
38818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38819         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38820         to ...
38821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38822         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38823         to ...
38824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38825         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38826         to ...
38827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38828         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38829         to ...
38830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38831         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38832         to ...
38833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38834         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38835         to ...
38836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38837         Here.
38838         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38839         to ...
38840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38841         Here.
38842         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38843         to ...
38844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38845         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38846         Moved to ...
38847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38848         Here.
38849         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38850         to ...
38851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38853 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38855         * sysdeps/unix/common/bits/dirent.h: Remove file.
38856         * sysdeps/unix/common/bits/fcntl.h: Likewise.
38858         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38859         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38860         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38861         * sysdeps/unix/bsd/isatty.c: Likewise.
38862         * sysdeps/unix/bsd/tcdrain.c: Likewise.
38863         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38864         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38866 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38868         [BZ #13563]
38869         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38870         long double comparison inaccuracies.
38871         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38874 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
38876         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38877         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38879 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38881         [BZ #14049]
38882         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38883         nonzero digits before rounding a hex value.
38884         * stdlib/tst-strtod.c (tests): Add another test.
38886 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38888         * sysdeps/s390/fpu/libm-test-ulps: Update.
38890 2012-05-03  Andreas Jaeger  <aj@suse.de>
38892         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38893         does not get optimized out.
38894         (malloc_opt_barrier): New.
38896 2012-05-03  Andreas Jaeger  <aj@suse.de>
38897             Roland McGrath  <roland@hack.frob.com>
38899         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38900         intermediate file deletion.
38901         (generated): Add .symlist files.
38903 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
38905         [BZ #13775]
38906         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38907         Redirect under this condition.
38908         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38909         [__USE_GNU] (__dprintf_chk): Not under this condition.
38910         [__USE_GNU] (__vdprintf_chk): Likewise.
38911         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38912         under this condition.
38913         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38914         [__USE_XOPEN2K8] (dprintf): Define under this condition.
38915         [__USE_XOPEN2K8] (vdprintf): Likewise.
38916         [__USE_GNU] (__dprintf_chk): Not under this condition.
38917         [__USE_GNU] (__vdprintf_chk): Likewise.
38918         [__USE_GNU] (dprintf): Likewise.
38919         [__USE_GNU] (vdprintf): Likewise.
38921 2012-05-03  Roland McGrath  <roland@hack.frob.com>
38923         * elf/Makefile (common-generated): Set this instead of generated for
38924         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
38925         $(all-built-dso)-derived lists.
38927 2012-05-03  Andreas Jaeger  <aj@suse.de>
38929         * sysdeps/i386/fpu/libm-test-ulps: Update.
38931         * FAQ: Removed.
38932         * FAQ.in: Likewise.
38933         * scripts/gen-FAQ.pl: Likewise.
38934         * manual/install.texi (Installation): Point to online location of
38935         FAQ.
38936         * Makefile (files-for-dist): Remove FAQ.
38937         (FAQ): Remove.
38939 2012-05-02  Allan McRae  <allan@archlinux.org>
38941         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38942         (LDFLAGS-reldepmod5.so): Likewise.
38943         (LDFLAGS-reldep6mod1.so): Likewise.
38944         (LDFLAGS-reldep6mod4.so): Likewise.
38945         (LDFLAGS-reldep8mod3.so): Likewise.
38946         (LDFLAGS-unload4mod1.so): Likewise.
38947         (LDFLAGS-unload4mod2.so): Likewise.
38948         (LDFLAGS-tst-initorder): Likewise.
38949         (LDFLAGS-tst-initordera2.so): Likewise.
38950         (LDFLAGS-tst-initordera3.so): Likewise.
38951         (LDFLAGS-tst-initordera4.so): Likewise.
38952         (LDFLAGS-tst-initorderb2.so): Likewise.
38953         (LDFLAGS-noload): Likewise.
38954         (LDFLAGS-next): Likewise.
38955         (LDFLAGS-order2mod1.so): Likewise.
38956         (LDFLAGS-order2mod2.so): Likewise.
38957         (LDFLAGS-tst-initorder2): Likewise.
38958         (LDFLAGS-tst-initorder2a.so): Likewise.
38959         (LDFLAGS-tst-initorder2b.so): Likewise.
38960         (LDFLAGS-tst-initorder2c.so): Likewise.
38961         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38963 2012-05-02  David S. Miller  <davem@davemloft.net>
38965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38967 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38969         [BZ #14055]
38970         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38972 2012-05-02  Andreas Jaeger  <aj@suse.de>
38974         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38975         since we manipulate rounding mode.
38976         (CPPFLAGS-test-idouble.c): Likewise.
38977         (CPPFLAGS-test-ifloat.c): Likewise.
38978         (CFLAGS-test-ldouble.c): Likewise.
38979         (CFLAGS-test-double.c): Likewise.
38980         (CFLAGS-test-float.c): Likewise.
38981         (CFLAGS-test-misc.c): Likewise.
38982         (CFLAGS-test-test-fenv.c): Likewise.
38984 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38986         [BZ #2550]
38987         [BZ #2570]
38988         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38989         comparisons to determine direction to adjust input.
38991 2012-05-01  Roland McGrath  <roland@hack.frob.com>
38993         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38994         output to the target.
38996         * scripts/localplt.awk: New file.
38997         * elf/Makefile ($(objpfx)check-localplt): Target removed.
38998         (check-localplt-CFLAGS): Variable removed.
38999         ($(all-built-dso:=.jmprel)): New static pattern rule.
39000         (generated): Add those targets.
39001         (localplt-built-dso): New variable.
39002         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39004         * elf/check-localplt.c: File removed.
39006         * scripts/check-execstack.awk: New file.
39007         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39008         (check-execstack-CFLAGS): Variable removed.
39009         ($(objpfx)check-execstack.h): Target removed.
39010         ($(objpfx)execstack-default): New target.
39011         (generated): Add that instead of check-execstack.h.
39012         ($(all-built-dso:=.phdr)): New static pattern rule.
39013         (generated): Add those targets.
39014         * elf/check-execstack.c: File removed.
39016         * scripts/check-textrel.awk: New file.
39017         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39018         (check-textrel-CFLAGS): Variable removed.
39019         (all-built-dso): Use := to define.o
39020         ($(all-built-dso:=.dyn)): New static pattern rule.
39021         (generated): Add those targets.
39022         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39023         * config.make.in (READELF): New substituted variable.
39024         * elf/check-textrel.c: File removed.
39026 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39028         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39029         allow.
39030         * conform/data/ctype.h-data [C99-based standards] (isblank):
39031         Expect function.
39032         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39033         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39034         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39035         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39036         Specify type.  Require positive value.
39037         (EILSEQ): Likewise.
39038         (ERANGE): Likewise.
39039         [ISO || POSIX] (EILSEQ): Do not expect.
39040         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39041         Specify type.  Require positive value.
39042         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39043         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39044         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39045         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39046         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39047         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39048         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39049         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39050         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39051         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39052         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39053         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39054         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39055         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39056         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39057         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39058         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39059         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39060         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39061         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39062         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39063         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39064         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39065         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39066         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39067         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39068         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39069         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39070         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39071         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39072         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39073         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39074         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39075         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39076         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39077         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39078         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39079         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39080         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39081         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39082         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39083         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39084         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39085         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39086         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39087         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39088         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39089         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39090         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39091         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39092         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39093         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39094         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39095         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39096         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39097         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39098         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39099         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39100         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39101         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39102         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39103         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39104         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39105         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39106         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39107         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39108         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39109         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39110         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39111         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39112         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39113         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39114         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39115         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39116         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39117         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39118         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39119         Require >= 2.
39120         (FLT_ROUNDS): Expect as macro, not constant.
39121         (FLT_MANT_DIG): Use macro-int-constant.
39122         (DBL_MANT_DIG): Likewise.
39123         (LDBL_MANT_DIG): Likewise.
39124         (FLT_DIG): Likewise.
39125         (DBL_DIG): Likewise.
39126         (LDBL_DIG): Likewise.
39127         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39128         (DBL_MIN_EXP): Likewise.
39129         (LDBL_MIN_EXP): Likewise.
39130         (FLT_MAX_EXP): Use macro-int-constant.
39131         (DBL_MAX_EXP): Likewise.
39132         (LDBL_MAX_EXP): Likewise.
39133         (FLT_MAX_10_EXP): Likewise.
39134         (DBL_MAX_10_EXP): Likewise.
39135         (LDBL_MAX_10_EXP): Likewise.
39136         (FLT_MAX): Use macro-constant.
39137         (DBL_MAX): Likewise.
39138         (LDBL_MAX): Likewise.
39139         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39140         (DBL_EPSILON): Likewise.
39141         (LDBL_EPSILON): Likewise.
39142         (FLT_MIN): Likewise.
39143         (DBL_MIN): Likewise.
39144         (LDBL_MIN): Likewise.
39145         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39146         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39147         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39148         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39149         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39150         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39151         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39152         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39153         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39154         [ISO11] (FLT_TRUE_MIN): Likewise.
39155         [ISO11] (LDBL_TRUE_MIN): Likewise.
39156         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39157         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39158         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39159         (SCHAR_MAX): Likewise.
39160         (UCHAR_MAX): Likewise.
39161         (CHAR_MIN): Likewise.
39162         (CHAR_MAX): Likewise.
39163         (MB_LEN_MAX): Use macro-int-constant.
39164         (SHRT_MIN): Use macro-int-constant.  Specify type.
39165         (SHRT_MAX): Likewise.
39166         (USHRT_MAX): Likewise.
39167         (INT_MAX): Likewise.
39168         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39169         bound negative.
39170         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39171         bound with "U".
39172         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39173         bound with "L".
39174         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39175         bound negative.  Suffix upper bound with "L".
39176         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39177         bound with "UL".
39178         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39179         Specify type.
39180         [C99-based standards] (LLONG_MAX): Likewise.
39181         [C99-based standards] (ULLONG_MAX): Likewise.
39182         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39183         == 0.
39184         [ISO11] (max_align_t): Require type.
39185         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39187         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39188         from $CFLAGS, without defining away __attribute__ calls.
39189         (checknamespace): Use $CFLAGS_namespace.
39191         * conform/conformtest.pl (@keywords): Only include C99 keywords
39192         for standards based on C99 or C11.
39194         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39195         Disable tests.
39196         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39197         UNIX98]: Likewise.
39199         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39200         usability of symbols in #if.
39202         * conform/conformtest.pl: If macro or constant types start
39203         "promoted:", expect the symbol to be of the following type
39204         promoted by the integer promotions.
39206         * conform/conformtest.pl: Parse all "constant" and "macro" lines
39207         in one place.  Also handle "macro-constant".
39209         * conform/conformtest.pl: Only accept expected macro values with
39210         "==".  Parse all "macro" lines in one place.
39211         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39213         * conform/conformtest.pl: Handle braced types on "constant" lines
39214         instead of handling "typed-constant".
39215         * conform/data/signal.h-data: Use "constant" instead of
39216         "typed-constant".
39218         * conform/conformtest.pl: Handle "optional-" at start of lines in
39219         one place rather than duplicating several cases.  Handle each
39220         format of "macro" line with initial "optional-".
39222         * conform/conformtest.pl: Only accept expected constant or
39223         optional-constant values with "==".  Parse all "constant" lines in
39224         one place.  Parse all "optional-constant" lines in one place.
39225         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39226         * conform/data/fmtmsg.h-data: Likewise.
39227         * conform/data/netinet/in.h-data: Likewise.
39228         * conform/data/tar.h-data: Likewise.
39229         * conform/data/limits.h-data: Use "==" form on "constant" and
39230         "optional-constant" lines.
39232         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39233         Use -std=c99 for XOPEN2K.
39234         (@knownproblems): Remove.
39235         (newtoken): Don't check %isknown.
39237         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39238         Do not expect macro.
39239         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39240         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39241         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39242         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39243         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39244         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39245         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39246         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39247         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39248         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39249         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39250         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39251         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39252         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39253         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39254         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39255         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39256         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39257         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39258         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39259         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39260         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39261         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39262         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39263         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39264         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39265         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39266         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39267         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39268         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39269         [XPG3] (acosh): Likewise.
39270         [XPG3] (asinh): Likewise.
39271         [XPG3] (atanh): Likewise.
39272         [XPG3] (cbrt): Likewise.
39273         [XPG3] (expm1): Likewise.
39274         [XPG3] (ilogb): Likewise.
39275         [XPG3] (log1p): Likewise.
39276         [XPG3] (logb): Likewise.
39277         [XPG3] (nextafter): Likewise.
39278         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39279         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39280         [XPG3] (remainder): Likewise.
39281         [XPG3] (rint): Likewise.
39282         [XPG3 || XPG4 || UNIX98] (round): Likewise.
39283         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39284         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39285         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39286         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39287         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39288         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39289         [UNIX98 || XOPEN2K] (scalb): Expect.
39290         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39291         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39292         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39293         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39294         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39295         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39296         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39297         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39298         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39299         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39300         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39301         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39302         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39303         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39304         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39305         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39306         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39307         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39308         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39309         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39310         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39311         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39312         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39313         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39314         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39315         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39316         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39317         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39318         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39319         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39320         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39321         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39322         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39323         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39324         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39325         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39326         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39327         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39328         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39329         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39330         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39331         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39332         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39333         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39334         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39335         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39336         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39337         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39338         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39339         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39340         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39341         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39342         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39343         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39344         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39345         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39346         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39347         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39348         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39349         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39350         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39351         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39352         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39353         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39354         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39355         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39356         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39357         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39358         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39359         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39360         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39361         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39362         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39363         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39364         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39365         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39366         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39367         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39368         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39369         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39370         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39371         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39372         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39373         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39374         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39375         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39376         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39377         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39378         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39379         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39380         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39381         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39382         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39383         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39384         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39385         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39386         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39387         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39388         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39389         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39390         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39391         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39392         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39393         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39394         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39395         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39396         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39397         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39398         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39399         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39400         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39401         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39402         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39403         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39404         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39405         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39406         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39407         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39408         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39409         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39410         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39411         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39412         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39413         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39414         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39415         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39416         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39417         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39418         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39419         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39420         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39421         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39422         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39423         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39424         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39425         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39426         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39428         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39429         _XOPEN_SOURCE_EXTENDED for XPG4.
39431         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39433         * Makeconfig (localtime): Remove variable.
39434         (inst_localtime-file): Likewise.
39436 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39439         Update.
39440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39441         Update.
39442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39443         Update.
39444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39445         Update.
39446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39447         Update.
39448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39449         Update.
39450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39451         Update.
39452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39453         Update.
39454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39455         Update.
39457 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39459         [BZ #2550]
39460         [BZ #2570]
39461         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39462         comparisons to determine direction to adjust input.
39463         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39464         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39465         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39466         Likewise.
39467         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39468         Likewise.
39469         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39470         Likewise.
39471         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39472         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39473         Likewise.
39474         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39475         Likewise.
39476         * math/libm-test.inc (nexttoward_test): Add more tests.
39478 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39480         [BZ #14040]
39481         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39482         in version GLIBC_2.1, not GLIBC_2.0.
39483         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39484         Likewise.
39486 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
39488         [BZ #13942]
39489         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39490         (1 - x) * (1 + x).
39491         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39492         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39493         * math/libm-test.inc (acos_test): Add more tests.
39494         (asin_test): Likewise.
39495         * sysdeps/i386/fpu/libm-test-ulps: Update.
39496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39498         [BZ #14034]
39499         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39500         of square root.
39501         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39502         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39503         * math/libm-test.inc (acos_test_tonearest): New function.
39504         (acos_test_towardzero): Likewise.
39505         (acos_test_downward): Likewise.
39506         (acos_test_upward): Likewise.
39507         (asin_test_tonearest): Likewise.
39508         (asin_test_towardzero): Likewise.
39509         (asin_test_downward): Likewise.
39510         (asin_test_upward): Likewise.
39511         (main): Call the new functions.
39512         * sysdeps/i386/fpu/libm-test-ulps: Update.
39513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39515         [BZ #13884]
39516         [BZ #13924]
39517         * math/e_exp10.c: Include <float.h>.
39518         (__ieee754_exp10): Handle underflow here rather than multiplying
39519         large negative argument by M_LN10.
39520         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39521         of __ieee754_expf.
39522         * math/e_exp10l.c: Include <float.h>.
39523         (__ieee754_exp10l): Handle underflow here rather than multiplying
39524         large negative argument by M_LN10l.
39525         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
39526         spurious overflow exception on underflow.
39528 2012-04-29  Marek Polacek  <polacek@redhat.com>
39530         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39531         (__fortify_function): New macro.
39532         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39533         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39534         __extern_always_inline.
39535         * libio/bits/stdio2.h: Likewise.
39536         * libio/bits/stdio.h: Likewise.
39537         * string/string.h: Likewise.
39538         * string/bits/string3.h: Likewise.
39539         * include/stdio.h: Likewise.
39540         * stdlib/bits/stdlib.h: Likewise.
39541         * stdlib/stdlib.h: Likewise.
39542         * rt/bits/mqueue2.h: Likewise.
39543         * rt/mqueue.h: Likewise.
39544         * posix/bits/unistd.h: Likewise.
39545         * posix/unistd.h: Likewise.
39546         * io/bits/poll2.h: Likewise.
39547         * io/bits/fcntl2.h: Likewise.
39548         * io/fcntl.h: Likewise.
39549         * io/sys/poll.h: Likewise.
39550         * misc/bits/syslog.h: Likewise.
39551         * misc/bits/syslog-ldbl.h: Likewise.
39552         * misc/sys/syslog.h: Likewise.
39553         * socket/bits/socket2.h: Likewise.
39554         * socket/sys/socket.h: Likewise.
39555         * debug/tst-chk1.c: Likewise.
39556         * wcsmbs/bits/wchar2.h: Likewise.
39557         * wcsmbs/bits/wchar-ldbl.h: Likewise.
39558         * wcsmbs/wchar.h: Likewise.
39560 2012-04-29  Andreas Jaeger  <aj@suse.de>
39562         * Makerules (tests): Remove enable-check-abi protection.
39563         (check-abi-warn): Remove.
39564         (check-abi-%): Remove check-abi-warn usage.
39566         * configure.in: Remove check-abi configure option.
39567         * configure: Regenerated.
39568         * config.make.in (enable-check-abi): Remove.
39570 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
39572         [BZ #14033]
39573         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39574         double functions to double *_finite functions.
39576         [BZ #13941]
39577         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39578         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39579         LDBL_MIN_EXP.
39580         * stdio-common/Makefile (tests): Add tst-sprintf3.
39581         * stdio-common/tst-sprintf3.c: New file.
39583         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39584         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39586 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39588         * conform/conformtest.pl: Remove duplicate typed-constant
39589         handling.
39591 2012-04-28  David S. Miller  <davem@davemloft.net>
39593         * Makerules (%.abilist): Add vpath on sysdep_dirs.
39594         (check-abi-%): Remove AWK script prerequisite and explicit
39595         abilist directory.
39596         (check-abi): Rewrite to just diff the symlist with the abilist.
39597         (config-tls, config-abi-config): Delete, no longer used.
39598         (update-abi-%): Remove AWK script and explicit abilist directory.
39599         (update-abi): Rewrite to simply compare and conditionally copy the
39600         symlist and the sysdep abilist file.  Remove update-abi-config
39601         checks.
39602         * abilist/ld.abilist: Remove.
39603         * abilist/libBrokenLocale.abilist: Remove.
39604         * abilist/libanl.abilist: Remove.
39605         * abilist/libcrypt.abilist: Remove.
39606         * abilist/libdl.abilist: Remove.
39607         * abilist/librt.abilist: Remove.
39608         * abilist/libthread_db.abilist: Remove.
39609         * abilist/libutil.abilist: Remove.
39610         * scripts/extract-abilist.awk: Remove.
39611         * scripts/merge-abilist.awk: Remove.
39612         * sysdeps/generic/libcidn.abilist: New file.
39613         * sysdeps/generic/libnss_compat.abilist: New file.
39614         * sysdeps/generic/libnss_db.abilist: New file.
39615         * sysdeps/generic/libnss_dns.abilist: New file.
39616         * sysdeps/generic/libnss_files.abilist: New file.
39617         * sysdeps/generic/libnss_hesiod.abilist: New file.
39618         * sysdeps/generic/libnss_nis.abilist: New file.
39619         * sysdeps/generic/libnss_nisplus.abilist: New file.
39620         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39621         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39622         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39623         file.
39624         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39625         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39626         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39627         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39628         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39629         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39630         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39631         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39632         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39633         file.
39634         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39635         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39636         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39637         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39638         file.
39639         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39640         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39641         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39642         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39643         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39644         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39645         file.
39646         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39647         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39648         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39649         file.
39650         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39651         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39652         New file.
39653         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39654         New file.
39655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39656         New file.
39657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39658         New file.
39659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39660         New file.
39661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39662         New file.
39663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39664         New file.
39665         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39666         New file.
39667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39668         New file.
39669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39670         New file.
39671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39672         New file.
39673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39674         New file.
39675         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39676         New file.
39677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39678         file.
39679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39680         New file.
39681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39682         New file.
39683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39684         file.
39685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39686         New file.
39687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39688         New file.
39689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39690         file.
39691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39692         New file.
39693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39694         New file.
39695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39696         New file.
39697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39698         New file.
39699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39700         New file.
39701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39702         New file.
39703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39705         file.
39706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39707         New file.
39708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39709         file.
39710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39711         file.
39712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39713         file.
39714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39715         file.
39716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39717         file.
39718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39719         New file.
39720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39721         file.
39722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39723         file.
39724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39725         New file.
39726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39727         file.
39728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39730         file.
39731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39732         New file.
39733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39734         file.
39735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39736         file.
39737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39738         file.
39739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39740         file.
39741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39742         file.
39743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39744         New file.
39745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39746         file.
39747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39748         file.
39749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39750         New file.
39751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39752         file.
39753         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39754         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39755         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39756         file.
39757         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39758         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39759         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39760         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39761         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39762         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39763         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39764         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39765         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39766         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39769         file.
39770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39771         New file.
39772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39773         file.
39774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39775         file.
39776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39777         file.
39778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39779         file.
39780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39781         file.
39782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39783         New file.
39784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39785         New file.
39786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39787         file.
39788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39789         New file.
39790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39791         file.
39792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39794         file.
39795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39796         New file.
39797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39798         file.
39799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39800         file.
39801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39802         file.
39803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39804         file.
39805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39806         file.
39807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39808         New file.
39809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39810         New file.
39811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39812         file.
39813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39814         New file.
39815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39816         file.
39818 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39820         * conform/conformtest.pl: Fix typo in handling typed-constant from
39821         allow-header.
39823 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39825         * README: Cut down references to pre-2.6 Linux kernels and
39826         Linuxthreads.  Update lists of configurations in libc and ports
39827         and sort alphabetically.  Say "or newer" with Linux kernel version
39828         requirements.
39830         * config.h.in [IS_IN_build]: Allow compiling without optimization.
39832 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39834         [BZ #887]
39835         * math/libm-test.inc (logb_test_downward): New test to expose
39836         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39837         rounding mode.
39839 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39841         [BZ #14027]
39842         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39843         to be done.
39844         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39845         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39847 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
39849         * sysdeps/unix/i386/brk.S: Remove file.
39850         * sysdeps/unix/i386/dl-brk.S: Likewise.
39851         * sysdeps/unix/i386/pipe.S: Likewise.
39852         * sysdeps/unix/i386/sigreturn.S: Likewise.
39853         * sysdeps/unix/i386/syscall.S: Likewise.
39854         * sysdeps/unix/i386/vfork.S: Likewise.
39855         * sysdeps/unix/i386/wait.S: Likewise.
39857         * sysdeps/unix/common/tcsendbrk.c: Move to ...
39858         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39860         * configure.in (arm*-none*): Do not allow without
39861         --enable-hacker-mode.
39862         (netbsd*): Remove case setting base_os.
39863         (386bsd*): Likewise.
39864         (freebsd*): Likewise.
39865         (bsdi*): Likewise.
39866         (osf*): Likewise.
39867         (sunos*): Likewise.
39868         (ultrix*): Likewise.
39869         (newsos*): Likewise.
39870         (dynix*): Likewise.
39871         (*bsd*): Likewise.
39872         (sysv*): Likewise.
39873         (isc*): Likewise.
39874         (esix*): Likewise.
39875         (sco*): Likewise.
39876         (minix*): Likewise.
39877         (irix4*): Likewise.
39878         (irix6*): Likewise.
39879         (solaris[2-9]*): Likewise.
39880         (none): Likewise.
39881         * configure: Regenerated.
39883 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39885         [BZ #11521]
39886         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39887         overflow or cancellation in calculating denominator.
39888         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39889         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39890         down expression to avoid unexpected rounding in newer GCCs.
39891         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39893 2012-04-26  David S. Miller  <davem@davemloft.net>
39895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39896         long-double compat symbols.
39897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39911 2012-04-25  David S. Miller  <davem@davemloft.net>
39913         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39914         HWCAP_* values only after the memory barriers have been defined.
39915         (atomic_full_barrier): Define.
39916         (atomic_read_barrier): Define.
39917         (atomic_write_barrier): Define.
39919 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39921         * shlib-versions: Add libgcc_s version information.
39922         * sysdeps/generic/libgcc_s.h: Remove.
39923         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39924         libgcc_s.h.
39925         * sysdeps/gnu/unwind-resume.c: Likewise.
39926         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39928 2012-04-25  David S. Miller  <davem@davemloft.net>
39930         * sysdeps/unix/sparc/brk.S: Delete.
39931         * sysdeps/unix/sparc/dl-brk.S: Delete.
39932         * sysdeps/unix/sparc/pipe.S: Delete.
39933         * sysdeps/unix/sparc/sysdep.S: Delete.
39934         * sysdeps/unix/sparc/sysdep.h: Delete.
39935         * sysdeps/unix/sparc/vfork.S: Delete.
39936         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39937         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39938         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39939         (ret_ERRVAL, r0, r1, MOVE): Define.
39940         (JUMPTARGET): Remove.
39941         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39942         sysdeps/unix/sparc/sysdep.h
39943         (ENTRY, END): Remove.
39944         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39946 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
39948         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39949         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39950         -DIS_IN_build.
39952         * timezone/README: Update upstream location and email address for
39953         tzcode and tzdata.
39954         * timezone/zdump.c: Update from tzcode 2012b.
39955         * timezone/zic.c: Likewise.
39957         * configure.in (libc_cv_as_needed): Remove test.
39958         * configure: Regenerated.
39959         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39960         conditional definition.
39961         [$(have-as-needed) != yes] (no-as-needed): Likewise.
39962         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39963         * config.make.in (have-as-needed): Remove variable.
39965 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39966             Paul Pluzhnikov  <ppluzhnikov@google.com>
39968         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39969         strings correctly.
39971 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
39973         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39974         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39975         * sysdeps/sh/strlen.S: Likewise.
39977 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39979         * sysdeps/unix/fork.S: Remove file.
39980         * sysdeps/unix/i386/fork.S: Likewise.
39981         * sysdeps/unix/sparc/fork.S: Likewise.
39983         * sysdeps/unix/system.c: Remove file.
39984         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39986         * sysdeps/unix/getegid.S: Remove file.
39987         * sysdeps/unix/geteuid.S: Likewise.
39989 2012-04-24  Roland McGrath  <roland@hack.frob.com>
39991         * scripts/check-localplt.awk: New file.
39992         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39993         of diff.
39994         * scripts/data/localplt-generic.data: Add a comment.
39996         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39997         NODE when __dir_mkfile failed.
39998         * sysdeps/mach/hurd/symlinkat.c: Likewise.
39999         Reported by Ludovic Courtès <ludo@gnu.org>.
40001 2012-04-24  Andreas Jaeger  <aj@suse.de>
40003         * Makerules (common-clean): Also remove gen-as-const-headers
40004         files.
40006 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40008         * Makerules (native-compile): Do not change working directory for
40009         build.  Use $(OUTPUT_OPTION) in command.
40010         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40012 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40014         [BZ #13886]
40015         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40016         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40017         * math/libm-test.inc (floor_test): Add more tests.
40018         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40020 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40022         * sysdeps/unix/getdents.c: Remove file.
40023         * sysdeps/unix/sysv/getdents.c: Likewise.
40024         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40026         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40027         sysdeps/unix/mman/syscalls.list.
40028         (mmap): Likewise.
40029         (mprotect): Likewise.
40030         (msync): Likewise.
40031         (munmap): Likewise.
40032         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40033         * sysdeps/unix/mman/syscalls.list: Remove.
40034         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40036         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40037         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40038         * configure: Regenerated.
40039         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40040         $(libgcc_s_suffix).
40041         * config.make.in (libgcc_s_suffix): Remove variable.
40043 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40045         * sysdeps/unix/sysv/gethostname.c: Move to ...
40046         * sysdeps/posix/gethostname.c: ... here.
40048         * sysdeps/unix/execve.S: Remove file.
40050         * sysdeps/unix/_exit.S: Remove file.
40052 2012-04-23  Andreas Jaeger  <aj@suse.de>
40054         [BZ #13739]
40055         * manual/Makefile: Remove make dist support, there's no
40056         need for a stand-alone documentation tar ball.
40057         (TEXI2DVI): Define always, it's not in Makeconfig.
40058         (dist): Removed.
40059         (tar-it): Removed.
40060         (edition): Removed.
40061         (glibc-doc-$(edition).tar): Removed
40062         (%.Z): Removed.
40063         (%.gz): Removed.
40064         (%.uu): Removed.
40065         (ETAGS): Remove, it's in Makeconfig.
40066         (move-if-change): Remove, it's in Makeconfig.
40068 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40070         [BZ #13970]
40071         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40072         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40073         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40074         (strtod_l, strtof_l, strtold_l): Remove __wur.
40075         It is not necessarily an error to ignore strtol's return value.
40076         One can reliably look at the stored endptr to decide whether
40077         the number had valid syntax.
40079 2012-04-21  Andreas Jaeger  <aj@suse.de>
40081         [BZ #13739]
40082         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40084 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40086         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40087         * sysdeps/unix/sysv/Versions: Remove file.
40089 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40091         [BZ #13927]
40092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40094 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40096         [BZ #7064]
40097         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40098         version from __vm86.
40100 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40102         * sysdeps/unix/common/lxstat.c: Remove file.
40103         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40105         * sysdeps/unix/sysv/Makefile: Remove file.
40107         * sysdeps/unix/sysv/direct.h: Remove file.
40109         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40110         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40111         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40112         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40113         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40114         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40115         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40117         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40119         * sysdeps/unix/xmknod.c: Remove file.
40120         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40122         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40124         * sysdeps/unix/sysv/i386/time.S: Remove file.
40126         * sysdeps/unix/fxstat.c: Remove file.
40127         * sysdeps/unix/xstat.c: Likewise.
40128         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40130         * sysdeps/unix/sysv/sigaction.c: Remove file.
40132         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40133         (sysdep_headers): Remove variable.
40134         [termio.h not in sysdep_headers] (generated): Likewise.
40135         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40136         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40137         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40138         * sysdeps/unix/sysv/tcflow.c: Likewise.
40139         * sysdeps/unix/sysv/tcflush.c: Likewise.
40140         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40141         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40142         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40143         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40144         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40146         * sysdeps/unix/siglist.c: Remove file.
40148         * sysdeps/unix/getppid.S: Remove file.
40150         * sysdeps/unix/mkdir.c: Remove file.
40151         * sysdeps/unix/rmdir.c: Likewise.
40153 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40155         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40156         ERR_MAX value.
40157         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40158         errlist-compat value.
40160 2012-04-18  David S. Miller  <davem@davemloft.net>
40162         * sysdeps/generic/memcopy.h (reg_char): Delete.
40163         * debug/strcat_chk.c: Use char, not reg_char.
40164         * debug/strcpy_chk.c: Likewise.
40165         * debug/strncat_chk.c: Likewise.
40166         * debug/strncpy_chk.c: Likewise.
40167         * string/memchr.c: Likewise.
40168         * string/memrchr.c: Likewise.
40169         * string/rawmemchr.c: Likewise.
40170         * string/strcat.c: Likewise.
40171         * string/strchr.c: Likewise.
40172         * string/strchrnul.c: Likewise.
40173         * string/strcmp.c: Likewise.
40174         * string/strcpy.c: Likewise.
40175         * string/strncat.c: Likewise.
40176         * string/strncmp.c: Likewise.
40177         * string/strncpy.c: Likewise.
40179 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40181         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40182         __builtin_memcopy is called when src and dest ranges are known to not
40183         overlap.
40185 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40187         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40188         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40189         fwd_align_merge macro call.
40190         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40191         bwd_align_merge macro call.
40192         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40194 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40196         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40197         bwd_align_merge macros.
40198         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40199         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40200         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40202 2012-04-18  David S. Miller  <davem@davemloft.net>
40204         * sysdeps/sparc/sparc64/memcopy.h: Delete.
40206 2012-04-18  Andreas Jaeger  <aj@suse.de>
40208         [BZ# 6794]
40209         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40210         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40211         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40213         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40214         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40215         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40217         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40218         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40219         Adjust for changed ldbl-128 files.
40221         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40222         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40223         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40225 2012-04-17  David S. Miller  <davem@davemloft.net>
40227         * sysdeps/sparc/sparc32/memcopy.h: Delete.
40229 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
40231         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40232         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40233         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40234         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40235         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40236         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40238 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40240         [BZ #6794]
40241         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40242         * math/libm-test.inc: Add ilogb errno and exception tests.
40243         * math/w_ilogb.c: New file: ilogb wrapper.
40244         * math/w_ilogbf.c: New file: ilogbf wrapper.
40245         * math/w_ilogbl.c: New file: ilogbl wrapper.
40246         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40247         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40248         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40249         exception being thrown with 0.0 as argument.
40250         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40251         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40252         exception being thrown with 0.0 as argument.
40253         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40254         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40255         exception being thrown with 0.0 as argument.
40256         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40257         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40258         exception being thrown with 0.0 as argument.
40259         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40260         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40261         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40262         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40263         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40264         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40265         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40266         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40267         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40269 2012-04-17  Petr Baudis  <pasky@ucw.cz>
40271         * include/sys/uio.h: Change __vector to __iovec to avoid clash
40272         with altivec.
40274 2012-04-16  Marek Polacek  <polacek@redhat.com>
40276         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40278 2012-04-16  Marek Polacek  <polacek@redhat.com>
40280         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40281         operands of fdivp instruction.
40283 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40285         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40286         * elf/tst-auditmod3b.c: Likewise.
40287         * elf/tst-auditmod4b.c: Likewise.
40288         * elf/tst-auditmod5b.c: Likewise.
40289         * elf/tst-auditmod6b.c: Likewise.
40290         * elf/tst-auditmod6c.c: Likewise.
40291         * elf/tst-auditmod7b.c: Likewise.
40292         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40293         * sysdeps/x86_64/preconfigure.in: Likewise.
40294         * sysdeps/x86_64/preconfigure: Regenerated.
40296 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40298         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40299         __ILP32__.
40301 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
40303         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40304         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40306 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
40308         [BZ #13973]
40309         * locale/iso-639.def: Fix gl language name. Spotted by
40310         Yaron Shahrabani.
40312 2012-04-12  Roland McGrath  <roland@hack.frob.com>
40314         [BZ #2074]
40315         * libio/libio.h (__io_write_fn): Update comment.
40317 2012-04-12  Petr Baudis  <pasky@ucw.cz>
40319         [BZ #2074]
40320         * stdio.texi (Hook Functions): The user provided writer function
40321         is not allowed to return -1.
40323 2012-04-11  David S. Miller  <davem@davemloft.net>
40325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40327 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
40329         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40330         Add a leading slash to rtkaio.
40332 2012-04-11  Jim Meyering  <meyering@redhat.com>
40334         [BZ #11959]
40335         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40336         It is not necessarily an error to ignore fwrite's return
40337         value.  One can reliably use ferror to test for errors after
40338         the fact.
40340 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40342         * bits/types.h (__snseconds_t): New type.
40343         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40345         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40346         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40347         (__SNSECONDS_T_TYPE): Likewise.
40348         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40349         (__SNSECONDS_T_TYPE): Likewise.
40350         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40351         (__SNSECONDS_T_TYPE): Likewise.
40353 2012-04-10  Andreas Jaeger  <aj@suse.de>
40355         [BZ #2636]
40356         * manual/time.texi (Processor Time): Return type of times is
40357         elapsed real time since an arbitrary point in the past.
40358         (CPU Time): Move CLK_TCK from here...
40359         (Processor Time): ...to here.  Correct description.
40360         * manual/conf.texi (Constants for Sysconf): Correct description of
40361         _SC_CLK_TCK.
40363 2012-04-10  David S. Miller  <davem@davemloft.net>
40365         [BZ #13967]
40366         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40367         where the is a gap between DT_REL(A) and DT_JMPREL.
40369 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40371         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40372         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40373         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40375 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40377         * elf/dl-support.c (_dl_inhibit_cache): New variable.
40378         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40379         (dl_main): Handle --inhibit-cache.
40380         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40381         _dl_inhibit_cache.
40382         * elf/dl-load.c (_dl_map_object): Use it.
40383         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40385 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40387         [BZ #13872]
40388         * sysdeps/i386/fpu/e_powl.S (p78): New object.
40389         (__ieee754_powl): Saturate large exponents rather than testing for
40390         overflow of y*log2(x).
40391         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40392         * math/libm-test.inc (pow_test): Do not permit spurious overflow
40393         exceptions.
40395         [BZ #11521]
40396         * math/s_ctan.c: Include <float.h>.
40397         (__ctan): Avoid internal overflow or cancellation in calculating
40398         denominator.
40399         * math/s_ctanf.c: Likewise.
40400         * math/s_ctanl.c: Likewise.
40401         * math/s_ctanh.c: Likewise.
40402         * math/s_ctanhf.c: Likewise.
40403         * math/s_ctanhl.c: Likewise.
40404         * math/libm-test.inc (ctan_test): Add more tests.
40405         (ctanh_test): Likewise.
40406         * sysdeps/i386/fpu/libm-test-ulps: Update.
40407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40409 2012-04-09  Andreas Jaeger  <aj@suse.de>
40411         [BZ #6894]
40412         * manual/filesys.texi (Directory Entries): Mention that d_namlen
40413         is an optional BSD extension.
40415         [BZ #10254]
40416         * manual/stdio.texi (Opening Streams): Document additional fopen
40417         parameters.
40419 2012-04-09  Roland McGrath  <roland@hack.frob.com>
40421         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40422         %eax without telling the compiler.
40424 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
40426         [BZ # 13963]
40427         * manual/install.texi: Use sourceware.org.
40429 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40431         [BZ #13873]
40432         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40433         (__ieee754_pow): Generate overflow and underflow using huge*huge
40434         and tiny*tiny rather than just returning constant infinity or zero
40435         for large exponents.
40436         * math/libm-test.inc (pow_test): Require overflow exceptions for
40437         applicable cases of large exponents.
40439         [BZ #706]
40440         * sysdeps/i386/fpu/e_pow.S (p10): New object.
40441         (__ieee754_pow): Use iterative multiplication algorithm only for
40442         integer exponents with absolute value below 1024.  Check for odd
40443         integer exponents when using algorithm for real exponents.
40444         * math/libm-test.inc (pow_test): Add more tests.
40445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40447 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
40449         [BZ #13705]
40450         * math/libm-test.inc (exp_test): Do not allow overflow exception
40451         on underflow test.
40453 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
40455         [BZ #13705]
40456         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40457         instead of __kernel_standard_f.
40459 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
40461         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40462         * sysdeps/x86_64/memset_chk.S: Likewise.
40464 2012-04-08  Andreas Jaeger  <aj@suse.de>
40466         [BZ #10153]
40467         * manual/startup.texi (Environment Access): Describe return value
40468         for putenv and setenv.
40470         [BZ #6895]
40471         * manual/filesys.texi (Directory Entries): Add description for
40472         DT_LNK.
40474         [BZ #6890]
40475         * manual/filesys.texi (Directory Entries): Clarify that it's file
40476         system not operating system in the description of DT_UNKNOWN.
40478         [BZ #6578]
40479         * manual/syslog.texi (closelog): Fix reference, it's openlog.
40481 2012-04-08  Stephen Compall  <s11@member.fsf.org>
40483         [BZ #6649]
40484         * manual/llio.texi (Opening and Closing Files): Add cross
40485         reference to explain mode argument.
40487 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
40489         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40490         * sysdeps/x86_64/memset_chk.S: Likewise.
40492 2012-04-07  David S. Miller  <davem@davemloft.net>
40494         * elf/elf.h (R_SPARC_WDISP10): Define.
40495         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40496         R_SPARC_SIZE32.
40497         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40498         R_SPARC_SIZE64 and R_SPARC_H34.
40500 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
40502         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40503         conditions and remove no longer applicable assertion.
40505 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40507         * bits/byteswap.h: Include <features.h>.
40508         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40509         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40511 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40513         * bits/byteswap.h (__bswap_16): Removed.
40514         Include <bits/byteswap-16.h> to get __bswap_16.
40515         * sysdeps/i386/bits/byteswap.h: Likewise.
40516         * sysdeps/s390/bits/byteswap.h: Likewise.
40517         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40518         * bits/byteswap-16.h: New file.
40519         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40520         * sysdeps/s390/bits/byteswap-16.h: Likewise.
40521         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40522         * string/Makefile (headers): Add bits/byteswap-16.h.
40524 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40526         [BZ #13895]
40527         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40528         extra indirection.
40529         * nss/Makefile (tests-static, tests): Add tst-nss-static.
40530         * nss/tst-nss-static.c: New.
40532 2012-04-06  Robert Millan  <rmh@gnu.org>
40534         [BZ #6486]
40535         * manual/llio.texi (File Position Primitive): lseek
40536         refers to WHENCE when it really means OFFSET.
40538 2012-04-06  Andreas Jaeger  <aj@suse.de>
40540         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40541         strncmp declarations.
40543         * abilist/libc.abilist: Add __poll and __ppoll.
40545 2012-04-05  David S. Miller  <davem@davemloft.net>
40547         * scripts/check-local-headers.sh: Accept a host triplet in the
40548         path matched by the exclude regexp.
40550         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40551         definition.
40552         * sysdeps/powerpc/powerpc32/dl-machine.h
40553         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40554         * sysdeps/s390/s390-32/dl-machine.h
40555         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40556         * sysdeps/sparc/sparc32/dl-machine.h
40557         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40558         * sysdeps/sparc/sparc64/dl-machine.h
40559         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40561         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40562         lazy binding.
40563         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40564         undefined symbol errors.
40566         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40567         DT_NEEDED entries.
40569 2012-04-05  Michael Matz  <matz@suse.de>
40571         [BZ #13592]
40572         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40574 2012-04-05  Andreas Jaeger  <aj@suse.de>
40576         [BZ #13908]
40577         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40578         comment.
40580 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40582         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40583         which ROUND is no valid rounding mode.
40585 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40587         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40588         read again.
40589         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40591 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40593         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40594         an exception using FPU order intentionally.
40596 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40598         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40599         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40600         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40601         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40603 2012-04-05  Simon Josefsson  <simon@josefsson.org>
40605         [BZ #12340]
40606         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40607         EINVAL when BUFLEN is too smal.
40609 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40611         [BZ #13553]
40612         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40613         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40615 2012-04-03  Andreas Jaeger  <aj@suse.de>
40617         [BZ #13938]
40618         * manual/setjmp.texi (System V contexts): Fix sentence.
40620         [BZ #13926]
40621         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40622         New macro for this case.
40623         [!__GNUC__] (__bswap_64): New inline function for this case.
40624         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40625         * bits/byteswap.h: Likewise.
40626         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40627         ull, guard with __GLIBC_HAVE_LONG_LONG.
40629         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40630         __GLIBC_HAVE_LONG_LONG.
40632         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40633         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40635 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40637         [BZ #13691]
40638         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40639         inptr and inend, rather than using last_ch.
40641 2012-04-02  David S. Miller  <davem@davemloft.net>
40643         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40644         * stdio-common/printf-parse.h (read_int): Change return type to
40645         'int', return -1 on INT_MAX overflow.
40646         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40647         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
40648         overflows INT_MAX.  Check for overflow of in-format-string precision
40649         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
40650         SIZE_MAX not INT_MAX for integer overflow test.
40651         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40652         skip the construct in the format string but do not record anything.
40653         * stdio-common/bug22.c: Adjust to test both width/prevision
40654         INT_MAX overflow as well as total length INT_MAX overflow.  Check
40655         explicitly for proper errno values.
40657 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
40659         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40660         CHAR_MAX.
40661         * string/test-strcmp.c [! WIDE]: Likewise.
40662         * time/tst-mktime2.c: Likewise for INT_MAX.
40663         * string/test-string.h: #include <sys/param.h> for MIN.
40665         * csu/init-first.c (__libc_init_first): Call __ctype_init.
40666         * sysdeps/i386/init-first.c (init): Likewise.
40667         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40668         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40669         * sysdeps/sh/init-first.c (init): Likewise.
40671 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
40673         * po/ru.po: Update from translation team.
40674         * po/vi.po: Likewise.
40676 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40678         * resolv/nss_dns/dns-host.c: Merge copyright years.
40680 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40682         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40683         Optimize memcpy with prefetch if
40684         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
40685         src, dst pointers have unequal 16 byte alignments.
40687 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40689         [BZ #13928]
40690         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40691         from a CNAME entry and return the minimum ttl for the query.
40692         (gaih_getanswer_slice): Likewise.
40694 2012-03-30  Jeff Law  <law@redhat.com>
40696         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40697         due to long keys.
40698         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40699         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40701         * resolv/nss_dns/dns-host.c: Update copyright year.
40703 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
40705         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40706         requests to save a system call.  Fix check that all bytes are sent.
40708         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40709         comments for sendmmsg.
40711 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40713         [BZ #13691]
40714         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40715         with only 1 character between 0x0041 and 0x01b0.
40716         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40717         * wcsmbs/tst-mbsnrtowcs.c: New file.
40719 2012-03-29  David S. Miller  <davem@davemloft.net>
40721         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40722         small copies by hand.
40724 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40726         [BZ #13761]
40727         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40728         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40729         group memberships.
40731 2012-03-28  David S. Miller  <davem@davemloft.net>
40733         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40734         that branches into memcpy.
40735         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40736         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40737         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40738         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40739         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40740         bits.
40741         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40742         implementation too.
40743         * sysdeps/sparc/mempcpy.S: New file.
40745         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40746         the IFUNC routine in the libc case.
40747         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40749         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40750         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40751         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40752         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40753         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40754         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40755         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40756         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40758         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40759         loop to 256 bytes instead of 64 bytes and fix test signedness.
40761         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40762         * sysdeps/sparc/sparc32/Makefile: rather than here...
40763         * sysdeps/sparc/sparc64/Makefile: and here.
40765 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
40767         * malloc/mallocbug.c: Avoid warnings about unused variables.
40769 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40771         [BZ #13760]
40772         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40773         in the right place. Discard and retry query if response is
40774         larger than input buffer size.
40776 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
40778         [BZ #369]
40779         [BZ #2678]
40780         [BZ #3866]
40781         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40782         x for large integer exponent.
40783         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40784         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
40785         sign of result as needed afterwards.
40786         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40787         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40788         result for underflowing pow the same as for overflow.
40789         (__kernel_standard_l): Handle powl overflow and underflow here
40790         rather than calling __kernel_standard.
40791         * math/libm-test.inc (pow_test): Add more tests.
40793         [BZ #3868]
40794         [BZ #13879]
40795         [BZ #13910]
40796         [BZ #13911]
40797         [BZ #13912]
40798         [BZ #13913]
40799         [BZ #13915]
40800         [BZ #13916]
40801         [BZ #13917]
40802         [BZ #13918]
40803         [BZ #13919]
40804         [BZ #13920]
40805         [BZ #13921]
40806         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40807         * sysdeps/ieee754/k_standard.c: Include <float.h>.
40808         (__kernel_standard_l): New function.
40809         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40810         __kernel_standard.
40811         * math/w_acosl.c (__acosl): Likewise.
40812         * math/w_asinl.c (__asinl): Likewise.
40813         * math/w_atan2l.c (__atan2l): Likewise.
40814         * math/w_atanhl.c (__atanhl): Likewise.
40815         * math/w_coshl.c (__coshl): Likewise.
40816         * math/w_exp10l.c (__exp10l): Likewise.
40817         * math/w_exp2l.c (__exp2l): Likewise.
40818         * math/w_fmodl.c (__fmodl): Likewise.
40819         * math/w_hypotl.c (__hypotl): Likewise.
40820         * math/w_j0l.c (__j0l, __y0l): Likewise.
40821         * math/w_j1l.c (__j1l, __y1l): Likewise.
40822         * math/w_jnl.c (__jnl, __ynl): Likewise.
40823         * math/w_lgammal.c (__lgammal): Likewise.
40824         * math/w_log10l.c (__log10l): Likewise.
40825         * math/w_log2l.c (__log2l): Likewise.
40826         * math/w_logl.c (__logl): Likewise.
40827         * math/w_powl.c (__powl): Likewise.
40828         * math/w_remainderl.c (__remainderl): Likewise.
40829         * math/w_scalbl.c (sysv_scalbl): Likewise.
40830         * math/w_sinhl.c (__sinhl): Likewise.
40831         * math/w_sqrtl.c (__sqrtl): Likewise.
40832         * math/w_tgammal.c (__tgammal): Likewise.
40833         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40834         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40835         * math/libm-test.inc (acos_test): Add more tests.
40836         (acosh_test): Likewise.
40837         (asin_test): Likewise.
40838         (atanh_test): Likewise.
40839         (exp_test): Likewise.
40840         (exp10_test): Likewise.
40841         (exp2_test): Likewise.
40842         (expm1_test): Likewise.
40843         (lgamma_test): Likewise.
40844         (log_test): Likewise.
40845         (log10_test): Likewise.
40846         (log1p_test): Likewise.
40847         (log2_test): Likewise.
40848         (pow_test): Do not allow some spurious overflow exceptions.
40849         (sqrt_test): Add more tests.
40850         (tgamma_test): Likewise.
40851         (y0_test): Likewise.
40852         (y1_test): Likewise.
40853         (yn_test): Likewise.
40855 2012-03-27  Anton Blanchard  <anton@samba.org>
40857         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40858         MAP_HUGETLB.
40859         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40860         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40861         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40863 2012-03-27  David S. Miller  <davem@davemloft.net>
40865         * conform/Makefile: Run run-conformtest.sh using $(BASH).
40867         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40868         have-as-vis3 check.
40870 2012-03-27  Andreas Jaeger  <aj@suse.de>
40872         * sysdeps/x86_64/elf/configure.in: Moved to ...
40873         * sysdeps/x86_64/configure.in: ... here.
40874         * sysdeps/x86_64/elf/start.S: Moved to ...
40875         * sysdeps/x86_64/start.S: ... here.
40876         * sysdeps/x86_64/elf/configure: Delete.
40878         * sysdeps/x86_64/configure.in: Merge contents from
40879         sysdeps/i386/configure.in (without i686 check).
40881         * sysdeps/i386/elf/Versions: Merge into ...
40882         * sysdeps/i386/Versions: ... this.
40883         * sysdeps/i386/elf/Versions: Delete file.
40884         * sysdeps/i386/elf/start.S: Moved to ...
40885         * sysdeps/i386/start.S: ...here.
40886         * sysdeps/i386/elf/configure.in: Merge into...
40887         * sysdeps/i386/configure.in: ...here.
40888         * sysdeps/i386/elf/configure.in: Delete file.
40889         * sysdeps/i386/elf/configure: Delete file.
40891         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40892         * debug/backtracesyms.c: ... here.
40893         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40894         * debug/backtracesymsfd.c: ... here.
40895         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40896         * sysdeps/generic/ifunc-sel.h: ... here.
40898         * sysdeps/unix/i386/start.c: Delete file.
40899         * sysdeps/unix/sparc/start.c: Delete file.
40900         * sysdeps/unix/start.c: Delete file.
40902         * sysdeps/sh/elf/configure.in: Moved to ...
40903         * sysdeps/sh/configure.in: ... here.
40904         * sysdeps/sh/elf/start.S: Moved to ...
40905         * sysdeps/sh/start.S: ... here.
40906         * sysdeps/sh/elf/configure: Delete file.
40908         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40909         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40910         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40911         * sysdeps/powerpc/powerpc64/entry.h: ... here.
40912         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40913         * sysdeps/powerpc/powerpc64/start.S: here.
40914         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40915         * sysdeps/powerpc/powerpc64/Makefile: ... this.
40916         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40917         * sysdeps/powerpc/powerpc64/configure.in: ... this.
40918         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40920         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40921         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40922         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40923         * sysdeps/powerpc/powerpc32/start.S: ... here.
40924         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40925         * sysdeps/powerpc/powerpc32/configure.in: ... this.
40926         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40928         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40929         * sysdeps/powerpc/ifunc-sel.h: ... here.
40930         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40931         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40933         * sysdeps/sparc/elf/configure.in: Moved to ...
40934         * sysdeps/sparc/configure.in: ... here.
40935         * sysdeps/sparc/elf/configure: Delete file.
40936         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40937         * sysdeps/sparc/sparc32/start.S: ... here.
40938         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40939         * sysdeps/sparc/sparc64/start.S: ... here.
40940         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40941         * sysdeps/sparc/sparc32/Makefile: ... this.
40942         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40943         * sysdeps/sparc/sparc64/Makefile: ... this.
40945         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40946         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40947         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40948         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40949         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40950         * sysdeps/s390/s390-32/setjmp.S: ... here.
40951         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40952         * sysdeps/s390/s390-32/configure.in: ... here.
40953         * sysdeps/s390/s390-32/elf/configure: Delete file.
40954         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40955         * sysdeps/s390/s390-32/start.S: ... here.
40957         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40958         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40959         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40960         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40961         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40962         * sysdeps/s390/s390-64/setjmp.S: ... here.
40963         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40964         * sysdeps/s390/s390-64/configure.in: ... here
40965         * sysdeps/s390/s390-64/elf/configure: Delete file.
40966         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40967         * sysdeps/s390/s390-64/start.S: ... here.
40968         * sysdeps/s390/s390-64/elf/configure: Delete.
40970         * configure.in: Remove support for elf directories in sysdeps.
40972         * configure: Regenerated.
40973         * sysdeps/i386/configure: Regenerated.
40974         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40975         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40976         * sysdeps/s390/s390-32/configure: Regenerated.
40977         * sysdeps/s390/s390-64/configure: Regenerated.
40978         * sysdeps/sh/configure: Regenerated.
40979         * sysdeps/sparc/configure: Regenerated.
40980         * sysdeps/x86_64/configure: Regenerated.
40982 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
40984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40986         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40987         denormal result into account.
40989 2012-03-25  Roland McGrath  <roland@hack.frob.com>
40991         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40992         Reported by Allan McRae <allan@archlinux.org>.
40994 2012-03-23  Jeff Law  <law@redhat.com>
40996         * nss/getnssent.c (__nss_getent): Fix typo.
40998 2012-03-23  David S. Miller  <davem@davemloft.net>
41000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41002 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41004         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41005         to pad to uint64_t for each field.
41006         (dl_tls_index): Replace unsigned long with uint64_t.
41008 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41009         Paul Pluzhnikov  <ppluzhnikov@google.com>
41011         [BZ #6528]
41012         * grp/Makefile (otherlibs): Don't set it.
41013         * inet/Makefile (otherlibs): Likewise.
41014         * login/Makefile (otherlibs): Likewise.
41015         * nscd/Makefile (otherlibs): Likewise.
41016         * posix/Makefile (otherlibs): Likewise.
41017         * pwd/Makefile (otherlibs): Likewise.
41018         * rt/Makefile (otherlibs): Likewise.
41019         * sunrpc/Makefile (otherlibs): Likewise.
41020         * nss/Makefile (otherlibs): Likewise.
41021         Add libnss_files to routines and static-only-routines.
41022         ($(objpfx)getent): Remove rule.
41023         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41024         static-only-routines.
41026 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41028         [BZ #13892]
41029         * math/s_cexp.c: Include <float.h>.
41030         (__cexp): Handle exp result overflowing not necessarily
41031         overflowing both real and imaginary parts of result.
41032         * math/s_cexpf.c: Likewise.
41033         * math/s_cexpl.c: Likewise.
41034         * math/libm-test.inc (cexp_test): Add more tests.
41035         * sysdeps/i386/fpu/libm-test-ulps: Update.
41036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41038 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41040         * include/link.h (ELFW): New macro.
41041         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41042         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41044 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41046         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41047         with uint64_t.
41049 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41051         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41052         declaration.
41053         (struct La_x32_retval): Likewise.
41055 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41057         * sysdeps/x86_64/preconfigure.in: New file.
41058         * sysdeps/x86_64/preconfigure: New generated file.
41060 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41062         [BZ #13824]
41063         * math/e_exp2l.c: Include <float.h>.
41064         (__ieee754_exp2l): Handle overflow and underflow cases
41065         separately.  Only pass fractional part of argument to
41066         __ieee754_expl.
41067         * math/libm-test.inc (exp2_test): Add more tests.
41069         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41070         negating x to take absolute value.
41071         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41072         Likewise.
41073         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41074         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41075         Likewise.
41076         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41077         computing low part if x was negated.
41078         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41080 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41082         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41083         la_x32_gnu_pltexit.
41084         (pltexit): Cast int_retval to ptrdiff_t.
41085         * elf/tst-auditmod3b.c: Likewise.
41086         * elf/tst-auditmod4b.c: Likewise.
41087         * elf/tst-auditmod5b.c: Likewise.
41088         * elf/tst-auditmod6b.c: Likewise.
41089         * elf/tst-auditmod6c.c: Likewise.
41090         * elf/tst-auditmod7b.c: Likewise.
41092         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41093         and x32_gnu_pltexit.
41095         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41096         __ELF_NATIVE_CLASS.
41097         (La_x32_regs): New macro.
41098         (La_x32_retval): Likewise.
41099         (la_x32_gnu_pltenter): New function prototype.
41100         (la_x32_gnu_pltexit): Likewise.
41102 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41104         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41105         exponent.
41107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41109         * configure.in (libc_cv_cc_nofma): Check for option to disable
41110         generation of FMA instructions.
41111         * configure: Regenerate.
41112         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41113         * sysdeps/ieee754/dbl-64/Makefile: New file.
41114         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41115         Remove brandred-fma4.
41116         (CFLAGS-brandred-fma4.c): Remove.
41117         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41118         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41119         define.
41120         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41121         define.
41123 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41125         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41126         LLONG_MAX != LONG_MAX.
41127         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41128         (_fitoa_word): Likewise.
41129         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41130         LLONG_MAX != LONG_MAX.
41131         * stdio-common/_itowa.h: Include <_itoa.h>.
41132         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41133         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41134         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41135         only if not defined.
41136         (_ITOA_WORD_TYPE): Likewise.
41137         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41138         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41140 2012-03-21  David S. Miller  <davem@davemloft.net>
41142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41144 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41146         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41147         of x86_64 when setting libc_cv_slibdir, libdir and
41148         libc_cv_localedir.
41149         * sysdeps/unix/sysv/linux/configure: Regenerated.
41151 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41153         * manual/lang.texi (Old Varargs): Remove section.
41154         (How Variadic): Update menu.
41155         (va_start): Do not mention varargs.h.
41157 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41158             Joseph Myers  <joseph@codesourcery.com>
41160         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41161         link test.
41162         * configure: Regenerated.
41164 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41166         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41167         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41168         conformtest.pl
41170 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41172         * NOTES: Remove.
41173         * Makefile (files-for-dist): Remove NOTES.
41174         (NOTES): Remove rule.
41175         * README: Don't refer to NOTES.
41176         * manual/creature.texi: Don't include macros.texi.
41177         * manual/intro.texi (creature.texi): Remove comment referring to
41178         NOTES.
41180         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41181         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41182         * configure: Regenerated.
41183         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41184         LIBC_TRY_CC_OPTION.
41185         (libc_cv_as_i686): Likewise.
41186         (libc_cv_cc_avx): Likewise.
41187         (libc_cv_cc_sse2avx): Likewise.
41188         (libc_cv_cc_fma4): Likewise.
41189         (libc_cv_cc_novzeroupper): Likewise.
41190         * sysdeps/i386/configure: Regenerated.
41192         [BZ #13883]
41193         * sysdeps/i386/fpu/s_cexp.S: Remove.
41194         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41195         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41196         * math/libm-test.inc (cexp_test): Add more tests.
41197         * sysdeps/i386/fpu/libm-test-ulps: Update.
41198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41200 2012-03-21  Allan McRae  <allan@archlinux.org>
41202         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41204 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41206         [BZ #13871]
41207         * math/w_exp2.c: Do not include <float.h>.
41208         (o_threshold, u_threshold): Remove.
41209         (__exp2): Calculate result before checking finiteness and calling
41210         __kernel_standard.
41211         * math/w_exp2f.c: Likewise.
41212         * math/w_exp2l.c: Likewise.
41213         * math/libm-test.inc (exp2_test): Require overflow exception for
41214         1e6 input.
41216         [BZ #3866]
41217         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41218         range of signed 64-bit integers before using fistpll.  Remove
41219         checks for whether integers fit in mantissa bits.
41220         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41221         the range of signed 32-bit integers before using fistpl.  Remove
41222         checks for whether integers fit in mantissa bits.
41223         * sysdeps/i386/fpu/e_powl.S (p64): New object.
41224         (__ieee754_powl): Test for y outside the range of signed 64-bit
41225         integers before using fistpll.  Reduce 64-bit values to 63-bit
41226         ones as needed.
41227         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41228         divide-by-zero is raised for zero to large negative powers.
41229         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41230         (__ieee754_powl): Test for y outside the range of signed 64-bit
41231         integers before using fistpll.  Reduce 64-bit values to 63-bit
41232         ones as needed.
41233         * math/libm-test.inc (pow_test): Add more tests.
41235 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41237         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41238         <stdio-common/_itoa.h>.
41239         * debug/segfault.c: Likewise.
41240         * elf/dl-cache.c: Likewise.
41241         * elf/dl-minimal.c: Likewise.
41242         * elf/dl-misc.c: Likewise.
41243         * elf/dl-sysdep.c: Likewise.
41244         * elf/dl-version.c: Likewise.
41245         * elf/rtld.c: Likewise.
41246         * hurd/hurdsock.c: Likewise.
41247         * hurd/lookup-retry.c: Likewise.
41248         * malloc/malloc.c: Likewise.
41249         * malloc/mtrace.c: Likewise.
41250         * nscd/nscd_getgr_r.c: Likewise.
41251         * nscd/nscd_getpw_r.c: Likewise.
41252         * nscd/nscd_getserv_r.c: Likewise.
41253         * posix/getopt_init.c: Likewise.
41254         * posix/wordexp.c: Likewise.
41255         * stdio-common/_itoa.c: Likewise.
41256         * stdio-common/printf_fphex.c: Likewise.
41257         * stdio-common/vfprintf.c: Likewise.
41258         * string/_strerror.c: Likewise.
41259         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41260         * sysdeps/i386/i686/hp-timing.h: Likewise.
41261         * sysdeps/mach/_strerror.c: Likewise.
41262         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41263         * sysdeps/mach/hurd/sethostid.c: Likewise.
41264         * sysdeps/mach/hurd/xmknodat.c: Likewise.
41265         * sysdeps/mach/xpg-strerror.c: Likewise.
41266         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41267         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41268         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41269         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41270         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41271         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41272         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41273         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41274         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41275         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41276         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41277         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41278         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41279         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41280         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41281         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41282         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41283         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41284         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41285         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41286         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41288         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41290         * stdio-common/_itoa.h: Moved to ...
41291         * sysdeps/generic/_itoa.h: Here.
41293         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41295         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41296         instead of "_itoa.h" and "_itowa.h".
41297         * stdio-common/vfprintf.: Likewise.
41299 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41301         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41302         <bits/wordsize.h>.
41303         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41304         (__signbit): Likwise.
41305         (llrintf): Likwise.
41306         (llrint): Likwise.
41308 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41310         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41311         __WORDSIZE != 64.
41313 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
41315         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41316         OVERFLOW_EXCEPTION_OK.
41317         * math/libm-test.inc ("Philosophy"): Update comment about
41318         exception testing.
41319         (OVERFLOW_EXCEPTION): Define.
41320         (OVERFLOW_EXCEPTION_OK): Likewise.
41321         (INVALID_EXCEPTION_OK): Renumber.
41322         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41323         (IGNORE_ZERO_INF_SIGN): Likewise.
41324         (test_exceptions): Handle FE_OVERFLOW.
41325         (exp10_test): Expect overflow exceptions.
41326         (exp2_test): Likewise.
41327         (expm1_test): Likewise.
41328         (nextafter_test): Likewise.
41329         (pow_test): Likewise.
41330         (scalbn_test): Likewise.
41331         (scalbln_test): Likewise.
41333 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41335         * sysdeps/x86_64/bits/atomic.h
41336         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41337         64bit integer.
41338         (atomic_exchange_acq): Likewise.
41339         (__arch_exchange_and_add_body): Likewise.
41340         (__arch_add_body): Likewise.
41341         (atomic_add_negative): Likewise.
41342         (atomic_add_zero): Likewise.
41344 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41346         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41347         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41349 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41351         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41352         Check __x86_64__ instead of __WORDSIZE.
41354 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41356         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41358 2012-03-19  David S. Miller  <davem@davemloft.net>
41360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41362         * sysdeps/sparc/fpu/fenv_private.h: New file.
41363         * sysdeps/sparc/fpu/math_private.h: Use it.
41364         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41365         Remove.
41366         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41367         (libc_feholdexcept_setroundl): Remove.
41368         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41369         Remove.
41370         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41371         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41373 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41375         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41376         int64_t instead of long int.
41377         (INSERT_WORDS64): Likwise.
41379 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41381         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41382         _Unwind_GetCFA return to _Unwind_Ptr first.
41384 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
41386         [BZ #13629]
41387         * math/s_clog.c: Include <float.h>.
41388         (__clog): Scale large or subnormal inputs.
41389         * math/s_clogf.c: Likewise.
41390         * math/s_clogl.c: Likewise.
41391         * math/s_clog10.c: Include <float.h>.
41392         (M_LOG10_2): Define.
41393         (__clog10): Scale large or subnormal inputs.
41394         * math/s_clog10f.c: Likewise.
41395         * math/s_clog10l.c: Likewise.
41396         * math/libm-test.inc (clog_test): Add more tests.
41397         (clog10_test): Likewise.
41398         * sysdeps/i386/fpu/libm-test-ulps: Update.
41399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41401         [BZ #11451]
41402         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41403         x and y.
41404         * math/libm-test.inc (atan2_test): Add another test.
41406         * Makerules (common-objdir-compile): Remove.
41407         * sysdeps/unix/Makefile (config-generated): Do not add
41408         $(unix-generated) to variable.
41409         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41410         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41411         Remove rule.
41412         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41413         Likewise.
41414         [generic bits/local_lim.h] (before-compile): Do not append to
41415         variable.
41416         [generic bits/local_lim.h] (common-generated): Likewise.
41417         [generic sys/param.h] (before-compile): Do not append to variable.
41418         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41419         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41420         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41421         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41422         include.
41423         [generic sys/param.h] (sys/param.h-includes): Remove variable.
41424         [generic sys/param.h] (sys/param.h-includes): Remove rule.
41425         [generic sys/param.h] ($(addprefix
41426         $(common-objpfx),$(sys/param.h-includes))): Likewise.
41427         [generic sys/param.h] (common-generated): Do not append to
41428         variable.
41429         [generic sys/param.h] (sysdep_headers): Likewise.
41430         [generic bits/errno.h] (before-compile): Do not append to
41431         variable.
41432         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41433         rule.
41434         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41435         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41436         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41437         [generic bits/errno.h] (common-generated): Do not append to
41438         variable.
41439         [generic bits/ioctls.h] (before-compile): Do not append to
41440         variable.
41441         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41442         rule.
41443         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41444         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41445         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41446         rule.
41447         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41448         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41449         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41450         [generic bits/ioctls.h] (common-generated): Do not append to
41451         variable.
41452         [generic sys/syscall.h] (syscall.h): Remove variable.
41453         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41454         rule.
41455         [generic sys/syscall.h] (before-compile): Do not append to
41456         variable.
41457         [generic sys/syscall.h] (common-generated): Likewise.
41458         * sysdeps/unix/errnos-tmpl.c: Remove file.
41459         * sysdeps/unix/errnos.awk: Likewise.
41460         * sysdeps/unix/ioctls-tmpl.c: Likewise.
41461         * sysdeps/unix/ioctls.awk: Likewise.
41462         * sysdeps/unix/mk-local_lim.c: Likewise.
41463         * sysdeps/unix/snarf-ioctls: Likewise.
41465 2012-03-19  Richard Henderson  <rth@twiddle.net>
41467         * sysdeps/i386/fpu/fenv_private.h: New file.
41468         * sysdeps/i386/fpu/math_private.h: Use it.
41469         (math_opt_barrier, math_force_eval): Remove.
41470         (libc_feholdexcept_setround_53bit): Remove.
41471         (libc_feupdateenv_53bit): Remove.
41472         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41473         (math_opt_barrier, math_force_eval): Remove.
41474         (libc_feholdexcept): Remove.
41475         (libc_feholdexcept_setround): Remove.
41476         (libc_fetestexcept, libc_fesetenv): Remove.
41477         (libc_feupdateenv_test): Remove.
41478         (libc_feupdateenv, libc_feholdsetround): Remove.
41479         (libc_feresetround): Remove.
41481         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41482         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41484         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41485         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41486         (libc_feupdateenv_testl): New.
41487         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41488         (libc_feupdateenv_testf): New.
41489         (libc_feupdateenv): Use libc_feupdateenv_test.
41490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41491         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41493         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41494         (libc_feholdsetroundf, libc_feholdsetroundl): New.
41495         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41496         (libc_feresetround_noex): New.
41497         (libc_feresetround_noexf): New.
41498         (libc_feresetround_noexl): New.
41499         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41500         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41501         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41502         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41503         SET_RESTORE_ROUND.
41504         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41505         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41506         (__cos): Likewise.
41507         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41508         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41509         SET_RESTORE_ROUND_NOEX.
41510         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41511         SET_RESTORE_ROUND_NOEXF.
41512         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41513         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41514         (libc_feholdsetroundf): New.
41515         (libc_feresetround, libc_feresetroundf): New.
41517         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41518         (libc_feholdexcept_setround_53bit): Convert from macro to function.
41519         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
41521         * sysdeps/generic/math_private.h: Include <fenv.h>.
41522         (default_libc_feholdexcept): New.
41523         (default_libc_feholdexcept_setround): New.
41524         (default_libc_fesetenv, default_libc_feupdateenv): New.
41525         (libc_feholdexcept): Only define if undefined.
41526         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41527         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41528         (libc_feholdexcept_setroundl): Likewise.
41529         (libc_feholdexcept_setround_53bit): Likewise.
41530         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41531         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41532         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41533         (libc_feupdateenv_53bit): Likewise.
41534         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41535         (libc_feholdexcept): Convert from macro to inline function.
41536         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41537         (libc_fesetenv, libc_feupdateenv): Likewise.
41539         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41540         not previously defined.
41541         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41542         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41543         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41544         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41545         * sysdeps/ieee754/flt-32/math_private.h: New file.
41546         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41547         math_private.h below SET_FLOAT_WORD.
41548         (__isnan, __isinf_ns, __finite): Remove.
41549         (__isnanf, __isinf_nsf, __finitef): Remove.
41551 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
41553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41555 2012-03-17  David S. Miller  <davem@davemloft.net>
41557         [BZ #6471]
41558         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41559         for 2.16.
41561 2012-03-16  David S. Miller  <davem@davemloft.net>
41563         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41564         warnings.
41566         [BZ #6471]
41567         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41568         properly.
41569         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41570         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41571         sysdep_routines when subdir is sysvipc.
41572         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41573         __getshmlba helper.
41575         * sysdeps/sparc/fpu/libm-test/ulps: Update.
41577 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41579         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41580         [__LP64__].
41582 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41584         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41585         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41586         (__lround): Renamed to ...
41587         (__llround): This.  Replace long int with long long int.
41588         Define lround functions as aliases of llround functions.
41589         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41591 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41593         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41594         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
41595         adresses to uintptr_t.  Replace "long int" and "unsigned long
41596         int" with "greg_t" on va_arg.
41598 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41600         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41601         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41603         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41604         Move e_machine check before EI_CLASS check.  Handle x32
41605         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41606         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41607         SKIP_EM_IA_64 and include
41608         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41610         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41611         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41612         (add_system_dir): New macro.
41614         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41615         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41617 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41619         [BZ #2551]
41620         [BZ #2552]
41621         [BZ #2553]
41622         [BZ #2554]
41623         [BZ #2562]
41624         [BZ #2563]
41625         [BZ #2565]
41626         [BZ #2566]
41627         [BZ #2576]
41628         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41629         (y0): Likewise.
41630         * math/w_j0f.c (j0f): Likewise.
41631         (y0f): Likewise.
41632         * math/w_j0l.c (__j0l): Likewise.
41633         (__y0l): Likewise.
41634         * math/w_j1.c (j1): Likewise.
41635         (y1): Likewise.
41636         * math/w_j1f.c (j1f): Likewise.
41637         (y1f): Likewise.
41638         * math/w_j1l.c (__j1l): Likewise.
41639         (__y1l): Likewise.
41640         * math/w_jn.c (jn): Likewise.
41641         (yn): Likewise.
41642         * math/w_jnf.c (jnf): Likewise.
41643         (ynf): Likewise.
41644         * math/w_jnl.c (__jnl): Likewise.
41645         (__ynl): Likewise.
41646         * math/libm-test.inc (j0_test): Add more tests.
41647         (j1_test): Likewise.
41648         (jn_test): Likewise.  Add trailing semicolon to existing test.
41649         (y0_test): Likewise.
41650         (y1_test): Likewise.
41651         * sysdeps/i386/fpu/libm-test-ulps: Update.
41652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41654         [BZ #13851]
41655         [BZ #13854]
41656         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41657         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41658         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41659         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41660         (__tanl): Set errno for infinite argument.
41661         * sysdeps/i386/fpu/mptan.c: Remove.
41662         * sysdeps/i386/fpu/s_tan.S: Likewise.
41663         * sysdeps/i386/fpu/s_tanl.S: Likewise.
41664         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41665         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41666         * math/libm-test.inc (tan_test): Add more tests and enable more
41667         tests for double and long double.
41668         * sysdeps/i386/fpu/libm-test-ulps: Update.
41669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41671 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
41673         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41674         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41676 2012-03-16  Roland McGrath  <roland@hack.frob.com>
41678         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41679         * configure.in: Use it for both main tree and add-ons.
41680         * configure: Regenerated.
41682 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41684         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41686 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41688         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41689         in comment.
41691         [BZ #13851]
41692         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41693         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41694         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41695         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41696         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41697         infinite argument.
41698         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41699         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41700         != 0 for prec == 2.
41701         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41702         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41703         * sysdeps/i386/fpu/s_cosl.S: Likewise.
41704         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41705         * sysdeps/i386/fpu/s_sinl.S: Likewise.
41706         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41707         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41708         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41709         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41710         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41711         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41712         * math/libm-test.inc (cos_test): Add more tests and enable more
41713         tests for long double.
41714         (sin_test): Likewise.
41715         (sincos_test): Likewise.
41716         * sysdeps/i386/fpu/libm-test-ulps: Update.
41717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41719 2012-03-16  David S. Miller  <davem@davemloft.net>
41721         * sysdeps/sparc/fpu/math_private.h: New file.
41723 2012-03-15  David S. Miller  <davem@davemloft.net>
41725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41726         file.
41727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41729         file.
41730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41731         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41732         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41733         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41734         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41735         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41736         sysdep routines.
41737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41739         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41740         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41742         * sysdeps/sparc/sparc-ifunc.h: New file.
41743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41744         sparc-ifunc.h
41745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41747         Likewise.
41748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41749         Likewise.
41750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41754         Likewise.
41755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41760         Likewise.
41761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41762         Likewise.
41763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41769         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41781         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41782         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41783         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41784         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41785         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41786         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41788 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41790         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41791         scaling.
41792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41794 2012-03-15  Andreas Jaeger  <aj@suse.de>
41796         [BZ #13852]
41797         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41798         ieee754/flt-32 implementation for sin, cos and sincos.
41799         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41800         * sysdeps/i386/fpu/s_cosf.S: Likewise.
41801         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41802         * sysdeps/i386/fpu/s_sinf.S: Likewise.
41803         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41804         ieee754/flt-32 implementation for tan.
41806         * math/libm-test.inc (cos_test): Enable some large input tests for
41807         float as well
41808         (sin_test): Likewise.
41809         (sincos_test): Likewise.
41810         (tan_test): Add tests for large input.
41812         * sysdeps/i386/fpu/libm-test-ulps: Update.
41814 2012-03-15  Andreas Jaeger  <aj@suse.de>
41816         [BZ #13658]
41817         * math/libm-test.inc (cos_test): Add more test cases.
41818         (sin_test): Likewise.
41819         (sincos_test): Likewise.
41821 2012-03-15  Andreas Jaeger  <aj@suse.de>
41823         [BZ #13837]
41824         * math/libm-test.inc (cos_test): Add a test case for large input
41825         value.
41826         (sin_test): Likewise.
41827         (sincos_test): Likewise.
41829 2012-03-15  Andreas Jaeger  <aj@suse.de>
41830             Joseph Myers  <joseph@codesourcery.com>
41832         [BZ #13658]
41833         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41834         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41835         * sysdeps/i386/fpu/branred.c: Likewise.
41836         * sysdeps/i386/fpu/dosincos.c: Likewise.
41837         * sysdeps/i386/fpu/mpa.c: Likewise.
41838         * sysdeps/i386/fpu/s_cos.S: Likewise.
41839         * sysdeps/i386/fpu/s_sin.S: Likewise.
41840         * sysdeps/i386/fpu/s_sincos.S: Likewise.
41841         * sysdeps/i386/fpu/sincos32.c: Likewise.
41843         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41844         Define.
41845         (libc_feupdateenv_53bit): Define.
41846         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41847         Define.
41848         (libc_feupdateenv_53bit): Define.
41850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41851         53 bit (without extend i386 double precision).
41853         * math/libm-test.inc (sincos_test): Add tests for large input.
41854         (sin): Likewise.
41855         (cos): Likewise.
41857         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41859 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41863 2012-03-15  David S. Miller  <davem@davemloft.net>
41865         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41866         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41867         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41868         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41881         file.
41882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41884         file.
41885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41887         file.
41888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41890         file.
41891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41892         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41893         fmin/fmax sysdep routines.
41894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41896 2012-03-14  David S. Miller  <davem@davemloft.net>
41898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41901         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41902         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41903         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41904         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41905         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41909         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41916         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41917         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41918         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41919         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41920         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41921         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41922         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41923         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41924         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41925         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41926         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41927         routines.
41928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41929         file.
41930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41932         file.
41933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41935         file.
41936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41938         file.
41939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41941         file.
41942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41944         file.
41945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41946         file.
41947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41948         file.
41949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41950         file.
41951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41952         New file.
41953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41954         file.
41955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41956         file.
41957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41959         file.
41960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41962         file.
41963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41965         file.
41966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41968         VIS3 routines.
41970         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41971         New file.
41973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41975         * sysdeps/sparc/configure.in: New file.
41976         * sysdeps/sparc/configure: Generate.
41977         * configure.in (libc_cv_sparc_as_vis3): Substitute.
41978         * configure: Regenerate.
41979         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41980         * config.make.in (have-as-vis3): New.
41981         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41982         available use -Av9d instead of -Av9a.
41983         * sysdeps/sparc/sparc64/Makefile: Likewise.
41984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41986         New file.
41987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41988         file.
41989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41990         New file.
41991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41992         file.
41993         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41994         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41995         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41996         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41997         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41999         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42000         fzeros/fnegs to load 0x80000000 into a float register instead of
42001         using the stack.
42002         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42004 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42007         bits/syscall.h.
42008         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42009         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42010         ($(inst_includedir)/bits/syscall.h): Remove rule.
42011         ($(objpfx)bits/syscall.d): Include instead of
42012         $(objpfx)syscall-list.d.
42013         (generated): Change syscall-list.h and syscall-list.d to
42014         bits/syscall.h and bits/syscall.d.
42016 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42018         [BZ #13846]
42019         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42021 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42023         [BZ #13841]
42024         * math/s_csqrt.c: Include <float.h>.
42025         (__csqrt): Scale large or subnormal inputs.
42026         * math/s_csqrtf.c: Likewise.
42027         * math/s_csqrtl.c: Likewise.
42028         * math/libm-test.inc (csqrt_test): Add more tests.
42029         * sysdeps/i386/fpu/libm-test-ulps: Update.
42030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42032         [BZ #13840]
42033         * math/libm-test.inc (hypot_test): Add more tests.
42035 2012-03-13  David S. Miller  <davem@davemloft.net>
42037         [BZ #13840]
42038         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42039         double-precision for the calculation instead of scaling.
42041 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42043         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42044         manipulate bits before adding and subtracting TWO52[sx].
42045         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42046         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42047         Likewise.
42048         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42050 2012-03-13  David S. Miller  <davem@davemloft.net>
42052         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42053         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42054         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42055         rtld-global-offsets.h
42056         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42058         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42059         large parameters.
42061         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42063         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42064         'err' in the ifdef scope in which it is actually used.
42066         * nss/nss_db/db-init.c: Include string.h
42068 2012-03-12  David S. Miller  <davem@davemloft.net>
42070         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42071         masking out of the most significant byte of random value used.
42072         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42073         Fix coding style in previous change.
42075         * sysdeps/unix/sysv/linux/kernel-features.h
42076         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42077         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42078         expression.
42079         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42080         later.
42082 2012-03-11  David S. Miller  <davem@davemloft.net>
42084         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42085         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42086         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42087         for 'resultvar' otherwise things get truncated on 64-bit.
42089         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42090         Fix masking out of the most significant byte of random value used.
42092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42094 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42098 2012-03-09  David S. Miller  <davem@davemloft.net>
42100         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42101         variables with appropriate CPP guards.
42102         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42103         from the frame pointer, not the stack pointer.  Correct layout
42104         comments.  Fix test on resulting framesize and the management of
42105         the outregs buffer for pltexit.  Preserve floating point return
42106         values across _dl_call_pltexit call.
42107         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42108         framesize and the management of the outregs buffer for pltexit.
42109         Preserve floating point return values across _dl_call_pltexit
42110         call.
42111         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42112         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42113         (la_sparc64_gnu_pltexit): New functions.
42114         (print_exit): Fix format string for return register value.
42116 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42118         * sunrpc/Makefile (others): Add rpcgen.
42119         ($(objpfx)rpcgen): Remove special build rule and dependency on
42120         libc.
42121         * sunrpc/rpcgen.c: New file.
42123 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42125         [BZ #13673]
42126         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42127         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42128         * sysdeps/i386/crti.S: Likewise.
42129         * sysdeps/i386/crtn.S: Likewise.
42130         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42131         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42132         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42133         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42134         * sysdeps/sh/crti.S: Likewise.
42135         * sysdeps/sh/crtn.S: Likewise.
42136         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42138         [BZ #13673]
42139         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42140         with URL.
42141         * locale/programs/locfile-kw.gperf: Likewise.
42142         * locale/programs/charmap-kw.h: Regenerated.
42143         * locale/programs/locfile-kw.h: Likewise.
42145         [BZ #13673]
42146         * intl/plural.y: Replace FSF snail mail address with URL.
42147         * intl/plural.c: Regenerated.
42149 2012-03-09  Richard Henderson  <rth@twiddle.net>
42151         * include/math_private.h: Remove file.
42152         * math/math_private.h: Move file ...
42153         * sysdeps/generic/math_private.h: ... here.
42155         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42156         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42157         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42159         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42160         and <math_private.h>.
42161         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42162         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42163         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42164         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42165         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42166         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42167         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42168         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42169         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42172         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42173         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42174         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42175         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42176         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42177         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42178         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42179         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42180         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42181         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42182         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42183         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42185         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42186         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42187         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42188         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42189         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42190         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42191         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42192         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42193         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42194         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42195         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42196         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42197         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42198         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42199         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42200         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42201         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42202         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42203         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42204         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42205         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42206         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42207         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42208         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42209         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42210         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42211         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42212         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42213         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42214         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42215         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42216         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42217         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42218         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42219         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42220         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42221         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42222         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42223         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42224         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42225         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42226         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42227         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42228         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42229         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42230         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42231         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42232         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42233         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42234         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42235         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42236         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42237         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42238         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42239         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42240         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42241         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42242         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42243         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42244         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42245         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42246         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42247         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42248         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42249         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42250         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42251         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42252         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42253         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42254         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42255         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42256         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42257         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42258         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42259         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42260         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42261         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42262         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42263         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42264         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42265         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42266         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42267         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42268         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42269         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42270         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42271         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42272         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42273         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42274         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42275         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42276         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42277         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42278         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42279         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42280         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42281         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42282         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42283         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42284         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42285         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42286         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42287         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42288         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42289         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42290         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42291         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42292         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42293         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42294         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42295         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42296         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42297         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42298         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42299         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42300         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42301         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42302         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42303         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42304         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42305         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42306         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42307         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42308         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42309         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42310         * sysdeps/ieee754/k_standard.c: Likewise.
42311         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42312         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42313         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42314         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42315         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42316         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42317         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42318         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42319         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42320         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42321         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42322         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42323         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42324         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42325         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42326         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42327         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42328         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42329         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42330         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42331         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42332         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42333         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42334         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42335         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42336         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42337         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42338         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42339         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42340         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42341         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42342         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42343         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42344         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42345         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42346         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42347         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42348         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42349         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42350         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42351         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42352         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42353         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42354         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42355         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42356         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42357         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42358         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42359         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42360         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42361         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42362         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42363         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42364         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42365         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42366         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42367         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42368         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42369         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42370         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42371         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42372         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42373         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42374         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42375         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42376         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42377         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42378         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42379         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42380         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42381         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42383         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42384         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42385         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42386         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42387         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42388         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42389         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42390         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42391         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42392         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42393         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42394         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42395         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42396         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42397         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42398         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42399         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42400         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42401         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42402         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42403         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42404         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42405         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42406         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42407         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42408         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42409         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42410         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42412         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42413         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42414         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42415         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42416         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42417         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42418         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42419         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42420         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42421         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42422         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42423         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42424         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42425         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42426         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42427         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42428         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42429         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42430         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42431         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42432         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42433         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42434         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42435         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42436         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42437         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42438         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42439         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42440         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42441         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42442         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42443         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42444         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42445         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42446         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42447         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42448         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42449         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42450         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42451         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42452         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42454         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42455         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42456         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42457         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42458         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42459         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42460         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42461         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42462         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42463         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42464         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42465         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42466         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42467         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42468         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42469         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42470         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42471         * sysdeps/ieee754/s_lib_version.c: Likewise.
42472         * sysdeps/ieee754/s_matherr.c: Likewise.
42473         * sysdeps/ieee754/s_signgam.c: Likewise.
42474         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42475         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42476         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42477         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42478         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42479         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42480         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42481         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42482         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42483         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42484         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42485         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42486         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42487         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42488         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42489         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42490         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42491         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42492         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42493         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42494         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42496 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42498         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42499         * sunrpc/rpc_main.c: Likewise.
42500         * sunrpc/rpc_svcout.c: Likewise.
42502 2012-03-09  David S. Miller  <davem@davemloft.net>
42504         * include/math_private.h: New file.
42506 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42508         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42509         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42510         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42511         from <bits/socket_type.h>.
42512         (enum __socket_type): Don't define here.
42513         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42515         bits/socket_type.h.
42517         [BZ #13566]
42518         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42519         checking __USE_GNU.
42521         * Makerules ($(inst_includedir)/%.h): New rule.
42522         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42523         (install-others): Remove variable setting.
42524         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42526 2012-03-08  Richard Henderson  <rth@twiddle.net>
42528         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42529         from macro to inline function; merge with the
42530         !__LIBC_INTERNAL_MATH_INLINES version.
42531         (__ieee754_sqrtf): Likewise.
42533         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42534         to inline function.
42535         (__rintf, __floor, __floorf): Likewise.
42537         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42538         macro to inline function.
42539         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42541         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42542         not <math/math_private.h>.
42544 2012-03-08  David S. Miller  <davem@davemloft.net>
42546         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42547         copyright year.
42548         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42550 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
42552         * resolv/gai_misc.c (handle_requests): Fix struct timespec
42553         normalization.
42554         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42555         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42557 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
42559         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
42560         be defined individually, they must be defined as a block.  Define
42561         S for printing a string instead of hidint the different by using a
42562         macro for adding the 'l'.
42563         * stdio-common/tst-fphex-wide.c: Adjust.
42565 2012-03-07  Marek Polacek  <polacek@redhat.com>
42567         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42569 2012-03-08  Marek Polacek  <polacek@redhat.com>
42571         [BZ #13806]
42572         * stdio-common/Makefile (tests): Add tst-fphex-wide.
42573         * stdio-common/tst-fphex.c: Define a few macros to make the
42574         test reusable.  Use them.
42575         * stdio-common/tst-fphex-wide.c: New file.
42577 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
42579         [BZ #6911]
42580         * manual/macros.texi (gnusystems): New macro.
42581         (nongnusystems): Likewise.
42582         (gnulinuxhurdsystems): Likewise.
42583         (gnuhurdsystems): Likewise..
42584         (gnulinuxsystems): Likewise.
42585         * manual/charset.texi: Use new macros or @theglibc{} to refer to
42586         variants of the GNU system, not "GNU system".
42587         * manual/conf.texi: Likewise.
42588         * manual/errno.texi: Likewise.  Update example of errno macro
42589         expansion.
42590         * manual/filesys.texi: Likewise.
42591         (getumask): Document as specific to GNU/Hurd.
42592         * manual/install.texi: Likewise.  Reword some references to
42593         GNU/Linux.
42594         * manual/intro.texi: Likewise.
42595         * manual/io.texi: Likewise.
42596         (File Name Portability): Detail which constraints are inapplicable
42597         to all GNU systems and which are only inapplicable to GNU/Hurd.
42598         * manual/job.texi: Likewise.
42599         * manual/llio.texi: Likewise.
42600         (O_NOCTTY): Document as present on GNU/Linux.
42601         * manual/maint.texi: Likewise.
42602         * manual/memory.texi: Likewise.
42603         * manual/pattern.texi: Likewise.
42604         * manual/pipe.texi: Likewise.
42605         * manual/process.texi: Likewise.
42606         * manual/resource.texi: Likewise.
42607         (RUSAGE_CHILDREN): Remove statement about specifying a particular
42608         child on GNU/Hurd.
42609         * manual/setjmp.texi: Likewise.
42610         * manual/signal.texi: Likewise.
42611         * manual/startup.texi: Likewise.
42612         * manual/stdio.texi: Likewise.
42613         * manual/terminal.texi: Likewise.
42614         (ONLCR): Document as POSIX.
42615         (OXTABS): Document availability on GNU/Linux as XTABS.
42616         (ONOEOT): Document availability separately from other bits.
42617         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42618         * manual/time.texi: Likewise.
42619         * manual/users.texi: Likewise.
42620         * INSTALL: Regenerated.
42621         * sysdeps/gnu/errlist.c: Regenerated.
42623         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42624         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42625         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
42626         puts.
42627         * configure: Regenerated.
42629 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
42631         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42632         default includes instead of AC_HEADER_CHECK.
42633         * sysdeps/i386/configure: Regenerated.
42635         [BZ #10716]
42636         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42637         * math/s_cacoshf.c (__cacoshf): Likewise.
42638         * math/s_cacoshl.c (__cacoshl): Likewise.
42639         * math/s_casinh.c (__casinh): Set signs of result from argument.
42640         * math/s_casinhf.c (__casinhf): Likewise.
42641         * math/s_casinhl.c (__casinhl): Likewise.
42642         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42643         (casinh_test): Add more tests.
42644         * sysdeps/i386/fpu/libm-test-ulps: Update.
42645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42647 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
42649         * po/zh_TW.po: Update from translation team.
42651         * login/Makefile (distribute): Remove variable.
42652         * catgets/Makefile: Likewise.
42653         * mach/Makefile: Likewise.
42654         * malloc/Makefile: Likewise.
42655         * misc/Makefile: Likewise.
42656         * iconv/Makefile: Likewise.
42657         * nscd/Makefile: Likewise.
42658         * hurd/Makefile: Likewise.
42659         * manual/Makefile: Likewise.
42660         * locale/Makefile: Likewise.
42661         * intl/Makefile: Likewise.
42662         * conform/Makefile: Likewise.
42663         * nss/Makefile: Likewise.
42664         * time/Makefile: Likewise.
42665         * soft-fp/Makefile: Likewise.
42666         * dirent/Makefile: Likewise.
42667         * gmon/Makefile: Likewise.
42668         * po/Makefile: Likewise.
42669         * rt/Makefile: Likewise.
42670         * socket/Makefile: Likewise.
42671         * math/Makefile: Likewise.
42672         * signal/Makefile: Likewise.
42673         * debug/Makefile: Likewise.
42674         * elf/Makefile: Likewise.
42675         * timezone/Makefile: Likewise.
42676         * stdlib/Makefile: Likewise.
42677         * iconvdata/Makefile: Likewise.
42678         * sunrpc/Makefile: Likewise.
42679         * io/Makefile: Likewise.
42680         * argp/Makefile: Likewise.
42681         * inet/Makefile: Likewise.
42682         * hesiod/Makefile: Likewise.
42683         * grp/Makefile: Likewise.
42684         * csu/Makefile: Likewise.
42685         * wctype/Makefile: Likewise.
42686         * crypt/Makefile: Likewise.
42687         * libio/Makefile: Likewise.
42688         * string/Makefile: Likewise.
42689         * nis/Makefile: Likewise.
42690         * resolv/Makefile: Likewise.
42691         * stdio-common/Makefile: Likewise.
42692         * wcsmbs/Makefile: Likewise.
42693         * dlfcn/Makefile: Likewise.
42694         * posix/Makefile: Likewise.
42696         [BZ #6959]
42697         * timezone/Makefile: Don't install timezone files, just the programs
42698         and scripts.
42700 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
42702         * nss/databases.def: Add missing gshadow entry.
42704         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
42706 2012-03-06  Marek Polacek  <polacek@redhat.com>
42708         [BZ #13726]
42709         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42710         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42711         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42712         * stdio-common/tst-long-dbl-fphex.c: New file.
42714 2012-03-06  David S. Miller  <davem@davemloft.net>
42716         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42717         (set_obp_int): New function.
42718         (get_obp_int): New function.
42719         (__get_clockfreq_via_dev_openprom): Likewise.
42720         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42721         Avoid unused variable warnings on 'val' and use builtin_expect.
42722         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42723         __builtin_expect.
42724         (INLINE_CLONE_SYSCALL): Likewise.
42726 2012-03-05  David S. Miller  <davem@davemloft.net>
42728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42730 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
42732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42734         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42735         only for |x| >= 40.
42736         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42738 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
42740         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42741         Replace gettimeofday with __vdso_gettimeofday.
42743         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42744         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42745         __vdso_clock_gettime and __vdso_getcpu.
42747         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42748         time with __vdso_time.
42750 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42752         * manual/lang.texi (size_t): Note types to which size_t may be
42753         equivalent with the GNU C Library, but do not describe when
42754         differences between them are significant.
42756 2012-03-05  Andreas Jaeger  <aj@suse.de>
42758         * sysdeps/i386/fpu/libm-test-ulps: Update.
42760 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42762         [BZ #3976]
42763         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42764         (__ieee754_pow): Save and restore rounding mode and use
42765         round-to-nearest for main computations.
42766         * math/libm-test.inc (pow_test_tonearest): New function.
42767         (pow_test_towardzero): Likewise.
42768         (pow_test_downward): Likewise.
42769         (pow_test_upward): Likewise.
42770         (main): Call the new functions.
42771         * sysdeps/i386/fpu/libm-test-ulps: Update.
42772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42774         [BZ #3976]
42775         * math/libm-test.inc (cosh_test_tonearest): New function.
42776         (cosh_test_towardzero): Likewise.
42777         (cosh_test_downward): Likewise.
42778         (cosh_test_upward): Likewise.
42779         (sinh_test_tonearest): Likewise.
42780         (sinh_test_towardzero): Likewise.
42781         (sinh_test_downward): Likewise.
42782         (sinh_test_upward): Likewise.
42783         (main): Call the new functions.
42784         * sysdeps/i386/fpu/libm-test-ulps: Update.
42785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42787 2012-03-05  Tom de Vries  <tom@codesourcery.com>
42789         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42790         default stack guard is set in last bytes.
42791         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42793 2012-03-05  Kees Cook  <keescook@chromium.org>
42795         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42797         [BZ #13656]
42798         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42799         possibly allocate from heap instead of stack.
42800         * stdio-common/bug-vfprintf-nargs.c: New file.
42801         * stdio-common/Makefile (tests): Add nargs overflow test.
42803 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
42805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42807 2012-03-03  Marek Polacek  <polacek@redhat.com>
42809         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42810         * math/math_private.h: Likewise.
42811         * stdlib/tst-strtod.c: Likewise.
42812         * sysdeps/i386/i486/bits/atomic.h: Likewise.
42813         * sysdeps/x86_64/bits/atomic.h: Likewise.
42815 2012-03-02  David S. Miller  <davem@davemloft.net>
42817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42821         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42822         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42823         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42824         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42826 2012-03-02  Roland McGrath  <roland@hack.frob.com>
42828         [BZ #13792]
42829         * manual/examples/README: New file, says the example source files
42830         can be used under GPL>=2.
42831         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42832         line containing just "*/".
42833         * manual/examples/add.c: Add copyright header (GPL>=2).
42834         * manual/examples/argp-ex1.c: Likewise.
42835         * manual/examples/argp-ex2.c: Likewise.
42836         * manual/examples/argp-ex3.c: Likewise.
42837         * manual/examples/argp-ex4.c: Likewise.
42838         * manual/examples/atexit.c: Likewise.
42839         * manual/examples/db.c: Likewise.
42840         * manual/examples/dir.c: Likewise.
42841         * manual/examples/dir2.c: Likewise.
42842         * manual/examples/execinfo.c: Likewise.
42843         * manual/examples/filecli.c: Likewise.
42844         * manual/examples/filesrv.c: Likewise.
42845         * manual/examples/fmtmsgexpl.c: Likewise.
42846         * manual/examples/genpass.c: Likewise.
42847         * manual/examples/inetcli.c: Likewise.
42848         * manual/examples/inetsrv.c: Likewise.
42849         * manual/examples/isockad.c: Likewise.
42850         * manual/examples/longopt.c: Likewise.
42851         * manual/examples/memopen.c: Likewise.
42852         * manual/examples/memstrm.c: Likewise.
42853         * manual/examples/mkfsock.c: Likewise.
42854         * manual/examples/mkisock.c: Likewise.
42855         * manual/examples/mygetpass.c: Likewise.
42856         * manual/examples/pipe.c: Likewise.
42857         * manual/examples/popen.c: Likewise.
42858         * manual/examples/rprintf.c: Likewise.
42859         * manual/examples/search.c: Likewise.
42860         * manual/examples/select.c: Likewise.
42861         * manual/examples/setjmp.c: Likewise.
42862         * manual/examples/sigh1.c: Likewise.
42863         * manual/examples/sigusr.c: Likewise.
42864         * manual/examples/stpcpy.c: Likewise.
42865         * manual/examples/strdupa.c: Likewise.
42866         * manual/examples/strftim.c: Likewise.
42867         * manual/examples/strncat.c: Likewise.
42868         * manual/examples/subopt.c: Likewise.
42869         * manual/examples/swapcontext.c: Likewise.
42870         * manual/examples/termios.c: Likewise.
42871         * manual/examples/testopt.c: Likewise.
42872         * manual/examples/testpass.c: Likewise.
42873         * manual/examples/timeval_subtract.c: Likewise.
42875         [BZ #13792]
42876         * manual/time.texi (Elapsed Time): Move timeval_subtract example
42877         function to ...
42878         * manual/timeval_subtract.c.texi: ... here, new file.
42880 2012-03-02  David S. Miller  <davem@davemloft.net>
42882         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42884 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
42886         [BZ #3976]
42887         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42888         (__sin): Save and restore rounding mode and use round-to-nearest
42889         for all computations.
42890         (__cos): Save and restore rounding mode and use round-to-nearest
42891         for all computations.
42892         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42893         <fenv.h>.
42894         (tan): Save and restore rounding mode and use round-to-nearest for
42895         all computations.
42896         * math/libm-test.inc (cos_test_tonearest): New function.
42897         (cos_test_towardzero): Likewise.
42898         (cos_test_downward): Likewise.
42899         (cos_test_upward): Likewise.
42900         (sin_test_tonearest): Likewise.
42901         (sin_test_towardzero): Likewise.
42902         (sin_test_downward): Likewise.
42903         (sin_test_upward): Likewise.
42904         (tan_test_tonearest): Likewise.
42905         (tan_test_towardzero): Likewise.
42906         (tan_test_downward): Likewise.
42907         (tan_test_upward): Likewise.
42908         (main): Call the new functions.
42909         * sysdeps/i386/fpu/libm-test-ulps: Update.
42910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42912         [BZ #10135]
42913         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42914         small n, then large n, before computing and testing k+n.
42915         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42916         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42917         Likewise.
42918         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42919         Likewise.
42920         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42921         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42922         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42923         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42924         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42925         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42926         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42927         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42928         * math/libm-test.inc (scalbn_test): Add more tests.
42929         (scalbln_test): Likewise.
42931         * manual/filesys.texi (mode_t): Describe constraints on size and
42932         signedness, not exact equivalence to a particular type.
42933         (ino_t): Likewise.
42934         (ino64_t): Likewise.
42935         (dev_t): Likewise.
42936         (nlink_t): Likewise.
42937         (blkcnt_t): Likewise.
42938         (blkcnt64_t): Likewise.
42939         * manual/llio.texi (off_t): Likewise.
42941         [BZ #3976]
42942         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42943         (__ieee754_exp): Save and restore rounding mode and use
42944         round-to-nearest for all computations.
42945         * math/libm-test.inc (exp_test_tonearest): New function.
42946         (exp_test_towardzero): Likewise.
42947         (exp_test_downward): Likewise.
42948         (exp_test_upward): Likewise.
42949         (main): Call the new functions.
42950         * sysdeps/i386/fpu/libm-test-ulps: Update.
42951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42953 2012-03-01  Chris Demetriou  <cgd@google.com>
42955         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42956         have predictable order.
42958 2012-03-01  David S. Miller  <davem@davemloft.net>
42960         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42962         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42963         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42964         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42965         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42967         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42968         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42969         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42971         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42972         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42973         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42974         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42975         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42979         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42980         * sysdeps/sparc/fpu/libm-test-ulps: to here.
42981         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42983         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42984         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42985         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42986         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42987         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42988         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42989         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42990         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42991         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42992         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42993         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42994         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42995         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42996         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42997         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42998         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42999         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43000         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43001         * sysdeps/sparc/elf/configure: Regenerated.
43003 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43005         * configure.in (AS, LD): Require binutils 2.20 or later.
43006         * configure: Regenerated.
43007         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43008         as required minimum version.
43009         * INSTALL: Regenerated.
43011         [BZ #2541]
43012         [BZ #4108]
43013         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43014         before squaring exponent.
43015         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43016         bottom long double and 27 bits of top long double before squaring
43017         exponent.
43018         * math/libm-test.inc (erfc_test): Add more tests.
43019         * sysdeps/i386/fpu/libm-test-ulps: Update.
43020         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43023 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43025         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43026         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43027         containing bit-fields.
43028         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43029         * soft-fp/single.h (_FP_UNION_S): Likewise.
43030         * soft-fp/double.h (_FP_UNION_D): Likewise.
43032 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43034         [BZ #13786]
43035         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43036         not include ../strcmp.S.
43037         [USE_AS_STRNCASECMP_L]: Likewise.
43038         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43039         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43040         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43041         (__strncasecmp_l_ia32): Define as alias to
43042         __strncasecmp_l_nonascii.
43044         [BZ #5794]
43045         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43046         * sysdeps/i386/fpu/libm-test-ulps: Update.
43047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43049         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43052 2012-02-29  Jeff Law  <law@redhat.com>
43054         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43055         out of bounds read.
43057 2012-02-29  Marek Polacek  <polacek@redhat.com>
43059         [BZ #13706]
43060         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43061         * elf/Makefile: Add rules to run tst-unused-dep.out.
43063 2012-02-28  David S. Miller  <davem@davemloft.net>
43065         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43066         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43067         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43068         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43069         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43070         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43072 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43074         * math/libm-test.inc (llround_test): Move one test from
43075         lround_test.  Use TEST_f_L in moved test.
43076         (lround_test): Move misplaced test to llround_test.  Add testcase
43077         from bug 2561.
43079 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43081         * sysdeps/x86_64/fpu/e_expf.S: New file.
43082         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43084 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43086         [BZ #13637]
43087         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43088         of remain_len that may cause incomplete multi-byte character and
43089         false match.
43090         * posix/bug-regex33.c: New file.
43091         * posix/Makefile (tests): Add bug-regex33.
43093 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43095         * manual/macros.texi: New file.
43096         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43097         * manual/libc.texinfo: Include macros.texi.
43098         * manual/creatute.texi: Likewise.
43099         * manual/install.texi: Likewise.
43100         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43101         @glibcadj{} in references to the GNU C Library.
43102         * manual/charset.texi: Likewise.
43103         * manual/conf.texi: Likewise.
43104         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43105         when not using those macros.
43106         * manual/creature.texi: Likewise.
43107         * manual/crypt.texi: Likewise.
43108         * manual/errno.texi: Likewise.
43109         * manual/filesys.texi: Likewise.
43110         * manual/header.texi: Likewise.
43111         * manual/install.texi: Likewise.
43112         * manual/intro.texi: Likewise.
43113         * manual/io.texi: Likewise.
43114         * manual/job.texi: Likewise.
43115         * manual/lang.texi: Likewise.
43116         * manual/libc.texiinfo: Likewise.
43117         * manual/llio.texi: Likewise.
43118         * manual/locale.texi: Likewise.
43119         * manual/maint.texi: Likewise.
43120         * manual/math.texi: Likewise.
43121         * manual/memory.texi: Likewise.
43122         * manual/message.texi: Likewise.
43123         * manual/nss.texi: Likewise.
43124         * manual/pattern.texi: Likewise.
43125         * manual/process.texi: Likewise.
43126         * manual/resource.texi: Likewise.
43127         * manual/search.texi: Likewise.
43128         * manual/setjmp.texi: Likewise.
43129         * manual/signal.texi: Likewise.
43130         * manual/socket.texi: Likewise.
43131         * manual/startup.texi: Likewise.
43132         * manual/stdio.texi: Likewise.
43133         * manual/string.texi: Likewise.
43134         * manual/sysinfo.texi: Likewise.
43135         * manual/syslog.texi: Likewise.
43136         * manual/terminal.texi: Likewise.
43137         * manual/time.texi: Likewise.
43138         * manual/users.texi: Likewise.
43139         * INSTALL: Regenerated.
43140         * NOTES: Regenerated.
43141         * sysdeps/gnu/errlist.c: Regenerated.
43143 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43145         * include/dirent.h: Include <dirstream.h> before
43146         <dirent/dirent.h>.
43148 2012-02-28  David S. Miller  <davem@davemloft.net>
43150         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43151         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43152         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43153         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43155 2012-02-27  David S. Miller  <davem@davemloft.net>
43157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43159         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43160         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43163         frame pointer instead of stack pointer relative arg slot.
43164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43165         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43166         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43168 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43170         [BZ #3992]
43171         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43173 2012-02-27  David S. Miller  <davem@davemloft.net>
43175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43179         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43180         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43181         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43182         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43184 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43186         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43187         later.  Allow versions 5-9.
43188         * configure: Regenerated.
43189         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43190         required minimum version and 4.6 as recommended version.  Do not
43191         mention bugs in GCC 2.7 and 2.8.
43192         * INSTALL: Regenerated.
43194 2012-02-27  David S. Miller  <davem@davemloft.net>
43196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43200         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43201         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43202         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43203         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43205         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43206         manipulate bits before adding and subtracting TWO112[sx].
43207         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43209 2012-02-27  Roland McGrath  <roland@hack.frob.com>
43211         [BZ #13775]
43212         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43213         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43214         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43215         being in POSIX, because they are in 1003.1-2008.
43217         * rt/tst-aio.c: Include <fcntl.h>.
43218         * rt/tst-aio7.c: Likewise.
43219         * rt/tst-aio64.c: Likewise.
43221         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43223 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43225         * manual/install.texi (--with-headers): Describe headers as
43226         interface headers, not private headers.
43227         (Specific advice for GNU/Linux systems): Describe use of headers
43228         from "make headers_install", not private headers from older
43229         kernels.
43230         * INSTALL: Regenerated.
43231         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43232         Change to 2.6.19.
43233         * sysdeps/unix/sysv/linux/configure: Regenerated.
43235         * manual/llio.texi (fclean): Remove documentation.
43237         * manual/Makefile (libc-texi-generated): New variable.  Include
43238         version.texi.
43239         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43240         $(libc-texi-generated), not duplicated list of files.
43241         (version.texi, stamp-version): New rules.
43242         (realclean): Remove $(libc-texi-generated), not individual files
43243         from that list.  Do not remove dir-add.texinfo.
43244         * manual/libc.texinfo: Comment out uses of edition numbers and
43245         references to printed manual.  Remove last-updated dates.
43246         (EDITION): Comment out.
43247         (ISBN): Likewise.
43248         (VERSION, UPDATED): Remove.
43249         (version.texi): Include.
43251 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
43253         * sysdeps/posix/spawni.c: Include <signal.h>.
43254         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43255         * sysdeps/pthread/aio_fsync.c: Likewise.
43257 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
43259         * conform/Makefile (tests): Run only when not cross-compiling and
43260         when fast-check is not defined.
43262         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43263         * conform/data/limits.h-data: Fixes for POSIX2008.
43264         * conform/run-conformtest.sh: Run all tests.
43265         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43266         headers.
43267         * include/bits/dlfcn.h: Likewise.
43268         * include/langinfo.h: Likewise.
43269         * include/monetary.h: Likewise.
43270         * include/sys/poll.h: Likewise.
43272         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43273         for __USE_GNU.
43274         * posix/spawn.h: Define __need_sigset_t.
43275         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43276         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43277         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
43278         to get sigevent_t only.
43279         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43280         only for __USE_GNU.
43281         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43282         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43283         process_vm_writev only for __USE_GNU.
43284         * termios/termios.h: Declare tcgetsid also for POSIX2008.
43286         * conform/Makefile: For now ignore errors from run-conformtest.
43287         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
43288         POSIX to avoid namespace pollution.  Don't prepend headers.
43289         * conform/data/aio.h-data: Fixes for POSIX testing.
43290         * conform/data/fcntl.h-data: Likewise.
43291         * conform/data/glob.h-data: Likewise.
43292         * conform/data/grp.h-data: Likewise.
43293         * conform/data/pthread.h-data: Likewise.
43294         * conform/data/pwd.h-data: Likewise.
43295         * conform/data/signal.h-data: Likewise.
43296         * conform/data/spawn.h-data: Likewise.
43297         * conform/data/stdio.h-data: Likewise.
43298         * conform/data/stdlib.h-data: Likewise.
43299         * conform/data/stropts.h-data: Likewise.
43300         * conform/data/sys/mman.h-data: Likewise.
43301         * conform/data/sys/stat.h-data: Likewise.
43302         * conform/data/sys/types.h-data: Likewise.
43303         * conform/data/sys/wait.h-data: Likewise.
43304         * conform/data/time.h-data: Likewise.
43305         * conform/data/unistd.h-data: Likewise.
43306         * conform/data/utime.h-data: Likewise.
43308         * io/sys/stat.h: fchmod was always in POSIX.
43309         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43310         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43311         * rt/aio.h: Define __need_timespec before including <time.h>.
43312         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43313         struct.  Add forward declaration of pthread_attr_t and use it in
43314         sigevent.
43315         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43316         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43317         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43318         always remove CLK_TCK definition.
43320 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
43322         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43324 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
43326         * conform/run-conformtest.sh: New file.
43327         * conform/Makefile: Run run-conformtest for tests.
43328         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
43329         support.
43331         * conform/data/uchar.h-data: New file.
43332         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43333         * conform/data/arpa/inet.h-data: Likewise.
43334         * conform/data/assert.h-data: Likewise.
43335         * conform/data/complex.h-data: Likewise.
43336         * conform/data/cpio.h-data: Likewise.
43337         * conform/data/ctype.h-data: Likewise.
43338         * conform/data/dirent.h-data: Likewise.
43339         * conform/data/dlfcn.h-data: Likewise.
43340         * conform/data/errno.h-data: Likewise.
43341         * conform/data/fcntl.h-data: Likewise.
43342         * conform/data/float.h-data: Likewise.
43343         * conform/data/fmtmsg.h-data: Likewise.
43344         * conform/data/fnmatch.h-data: Likewise.
43345         * conform/data/ftw.h-data: Likewise.
43346         * conform/data/glob.h-data: Likewise.
43347         * conform/data/grp.h-data: Likewise.
43348         * conform/data/iconv.h-data: Likewise.
43349         * conform/data/inttypes.h-data: Likewise.
43350         * conform/data/langinfo.h-data: Likewise.
43351         * conform/data/libgen.h-data: Likewise.
43352         * conform/data/limits.h-data: Likewise.
43353         * conform/data/locale.h-data: Likewise.
43354         * conform/data/math.h-data: Likewise.
43355         * conform/data/monetary.h-data: Likewise.
43356         * conform/data/mqueue.h-data: Likewise.
43357         * conform/data/ndbm.h-data: Likewise.
43358         * conform/data/net/if.h-data: Likewise.
43359         * conform/data/netdb.h-data: Likewise.
43360         * conform/data/netinet/in.h-data: Likewise.
43361         * conform/data/nl_types.h-data: Likewise.
43362         * conform/data/poll.h-data: Likewise.
43363         * conform/data/pthread.h-data: Likewise.
43364         * conform/data/pwd.h-data: Likewise.
43365         * conform/data/regex.h-data: Likewise.
43366         * conform/data/sched.h-data: Likewise.
43367         * conform/data/search.h-data: Likewise.
43368         * conform/data/semaphore.h-data: Likewise.
43369         * conform/data/setjmp.h-data: Likewise.
43370         * conform/data/signal.h-data: Likewise.
43371         * conform/data/spawn.h-data: Likewise.
43372         * conform/data/stdarg.h-data: Likewise.
43373         * conform/data/stdio.h-data: Likewise.
43374         * conform/data/stdlib.h-data: Likewise.
43375         * conform/data/string.h-data: Likewise.
43376         * conform/data/strings.h-data: Likewise.
43377         * conform/data/stropts.h-data: Likewise.
43378         * conform/data/sys/ipc.h-data: Likewise.
43379         * conform/data/sys/mman.h-data: Likewise.
43380         * conform/data/sys/msg.h-data: Likewise.
43381         * conform/data/sys/resource.h-data: Likewise.
43382         * conform/data/sys/select.h-data: Likewise.
43383         * conform/data/sys/sem.h-data: Likewise.
43384         * conform/data/sys/shm.h-data: Likewise.
43385         * conform/data/sys/socket.h-data: Likewise.
43386         * conform/data/sys/stat.h-data: Likewise.
43387         * conform/data/sys/statvfs.h-data: Likewise.
43388         * conform/data/sys/time.h-data: Likewise.
43389         * conform/data/sys/timeb.h-data: Likewise.
43390         * conform/data/sys/times.h-data: Likewise.
43391         * conform/data/sys/types.h-data: Likewise.
43392         * conform/data/sys/uio.h-data: Likewise.
43393         * conform/data/sys/un.h-data: Likewise.
43394         * conform/data/sys/utsname.h-data: Likewise.
43395         * conform/data/sys/wait.h-data: Likewise.
43396         * conform/data/syslog.h-data: Likewise.
43397         * conform/data/tar.h-data: Likewise.
43398         * conform/data/termios.h-data: Likewise.
43399         * conform/data/utime.h-data: Likewise.
43400         * conform/data/utmpx.h-data: Likewise.
43401         * conform/data/varargs.h-data: Likewise.
43402         * conform/data/wchar.h-data: Likewise.
43403         * conform/data/wctype.h-data: Likewise.
43404         * conform/data/wordexp.h-data: Likewise.
43406         * include/stropts.h: New file.
43407         * include/uchar.h: New file.
43408         * include/aio.h: Changes to allow conformtest.pl to use the headers.
43409         * include/assert.h: Likewise.
43410         * include/ctype.h: Likewise.
43411         * include/dirent.h: Likewise.
43412         * include/dlfcn.h: Likewise.
43413         * include/fcntl.h: Likewise.
43414         * include/fnmatch.h: Likewise.
43415         * include/glob.h: Likewise.
43416         * include/grp.h: Likewise.
43417         * include/libio.h: Likewise.
43418         * include/locale.h: Likewise.
43419         * include/math.h: Likewise.
43420         * include/net/if.h: Likewise.
43421         * include/netdb.h: Likewise.
43422         * include/netinet/in.h: Likewise.
43423         * include/pthread.h: Likewise.
43424         * include/pwd.h: Likewise.
43425         * include/regex.h: Likewise.
43426         * include/sched.h: Likewise.
43427         * include/search.h: Likewise.
43428         * include/setjmp.h: Likewise.
43429         * include/signal.h: Likewise.
43430         * include/stdio.h: Likewise.
43431         * include/stdlib.h: Likewise.
43432         * include/string.h: Likewise.
43433         * include/sys/cdefs.h: Likewise.
43434         * include/sys/mman.h: Likewise.
43435         * include/sys/msg.h: Likewise.
43436         * include/sys/resource.h: Likewise.
43437         * include/sys/select.h: Likewise.
43438         * include/sys/socket.h: Likewise.
43439         * include/sys/stat.h: Likewise.
43440         * include/sys/statvfs.h: Likewise.
43441         * include/sys/time.h: Likewise.
43442         * include/sys/times.h: Likewise.
43443         * include/sys/uio.h: Likewise.
43444         * include/sys/utsname.h: Likewise.
43445         * include/sys/wait.h: Likewise.
43446         * include/termios.h: Likewise.
43447         * include/time.h: Likewise.
43448         * include/ulimit.h: Likewise.
43449         * include/unistd.h: Likewise.
43450         * include/utime.h: Likewise.
43451         * include/wchar.h: Likewise.
43452         * include/wctype.h: Likewise.
43453         * include/wordexp.h: Likewise.
43455         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43457         * time/time.h: TIME_UTC must be a macro.
43458         Make timespec_get available for ISO C11 only as well.
43460 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
43462         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43463         Reported by Peng Haitao <penght@cn.fujitsu.com>.
43465 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43467         * configure.in: Use -o not -a in test for unsupported multi-arch.
43469 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43471         * manual/texinfo.tex: Update to version 2012-01-19.16.
43473 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43475         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43477 2012-02-24  Roland McGrath  <roland@hack.frob.com>
43479         [BZ #13738]
43480         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43481         * manual/fdl-1.3.texi: New file.
43482         * manual/fdl-1.1.texi: File removed.
43484         [BZ #13738]
43485         * manual/libc.texinfo (FDL_VERSION): New @set.
43486         Use it for mention of FDL in cover text.
43487         (Documentation License): Use it in @include file name.
43489 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43490             Roland McGrath  <roland@hack.frob.com>
43492         [BZ #5461]
43493         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43494         (not LONG_LONG_MAX and LONG_LONG_MIN.
43495         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43496         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
43497         name.
43498         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43500 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43502         [BZ #2547]
43503         [BZ #11365]
43504         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43505         manipulate bits before adding and subtracting TWO23[sx].
43506         * math/libm-test.inc (nearbyint_test): Add more tests.
43508 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43510         [BZ #2548]
43511         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43512         bits before adding and subtracting TWO23[sx].
43513         * math/libm-test.inc (rint_test): Add more tests.
43514         (rint_test_tonearest): Likewise.
43515         (rint_test_towardzero): Likewise.
43516         (rint_test_downward): Likewise.
43517         (rint_test_upward: Likewise.
43519 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43521         [BZ #10110]
43522         * include/stdc-predef.h: New file.  Extracted from features.h.
43523         * include/features.h: Include stdc-predef.h.
43524         * Makefile (headers): Add stdc-predef.h.
43525         * CONFORMANCE (Compiler limitations): Update.
43527 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43529         * manual/libc.texinfo (VERSION, UPDATED): Revert.
43531 2012-02-21  David S. Miller  <davem@davemloft.net>
43533         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43534         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43536 2012-02-20  David S. Miller  <davem@davemloft.net>
43538         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43539         using a normal save/restore sequence, rather than allocating a
43540         dummy stack frame just to store a frame pointer and restore.
43541         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43543 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43545         * manual/install.texi: Fix stray word in line-wrapped comment.
43547 2012-02-20  David S. Miller  <davem@davemloft.net>
43549         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43550         both binutils and gcc support GOTDATA.
43552         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43553         "rd %pc" in the PIC register setup sequences.
43555         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43556         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43557         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43558         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43559         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43560         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43561         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43562         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43563         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43564         (SYSCALL_ERROR_HANDLER): Likewise.
43565         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43566         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43567         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43568         (SYSCALL_ERROR_HANDLER): Likewise.
43570         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43571         (HAVE_GCC_GOTDATA): New.
43572         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43573         relocation support in both binutils and gcc.
43574         * sysdeps/sparc/elf/configure: Regenerate.
43576         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43577         * sysdeps/sparc/sparc32/elf/configure: Delete.
43578         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43579         * sysdeps/sparc/sparc64/elf/configure: Delete.
43580         * sysdeps/sparc/elf/configure.in: New file.
43581         * sysdeps/sparc/elf/configure: Generate.
43583         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43584         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43585         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43586         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43587         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43589 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43591         * manual/install.texi: Do not mention specific glibc version
43592         numbers.
43593         * manual/libc.texinfo (VERSION, UPDATED): Update.
43594         (@copying): Use @copyright{} and range of years.
43596 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43598         [BZ #13695]
43599         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43600         [crti.S not in sysdirs] (generated): Do not append.
43601         [crti.S not in sysdirs] (omit-deps): Likewise.
43602         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43603         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43604         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43605         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43606         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43607         Likewise.
43608         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43609         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43610         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43611         * csu/defs.awk: Remove file.
43612         * sysdeps/generic/initfini.c: Likewise.
43613         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43614         variable.
43615         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43616         Likewise.
43618 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43620         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43621         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43622         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43623         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43624         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43625         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43626         <bits/epoll.h>.
43627         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43628         (__EPOLL_PACKED): Define to empty if not defined by
43629         <bits/epoll.h>.
43630         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43632         bits/epoll.h.
43634 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43636         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43637         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43638         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43639         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43640         <bits/timerfd.h>.
43641         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43643         bits/timerfd.h.
43645 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43647         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43648         in C locale.
43649         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43650         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43651         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43654 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
43656         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43657         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43659 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
43661         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43662         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43663         defined.
43664         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43665         Likewise.
43666         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43667         entry for 2.16.
43669 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
43671         * math/w_acos.c: Use non-signaling floating-point comparisons.
43672         * math/w_acosf.c: Likewise.
43673         * math/w_acosh.c: Likewise.
43674         * math/w_acoshf.c: Likewise.
43675         * math/w_acoshl.c: Likewise.
43676         * math/w_acosl.c: Likewise.
43677         * math/w_asin.c: Likewise.
43678         * math/w_asinf.c: Likewise.
43679         * math/w_asinl.c: Likewise.
43680         * math/w_atanh.c: Likewise.
43681         * math/w_atanhf.c: Likewise.
43682         * math/w_atanhl.c: Likewise.
43683         * math/w_exp2.c: Likewise.
43684         * math/w_exp2f.c: Likewise.
43685         * math/w_exp2l.c: Likewise.
43686         * math/w_j0.c: Likewise.
43687         * math/w_j0f.c: Likewise.
43688         * math/w_j0l.c: Likewise.
43689         * math/w_j1.c: Likewise.
43690         * math/w_j1f.c: Likewise.
43691         * math/w_j1l.c: Likewise.
43692         * math/w_jn.c: Likewise.
43693         * math/w_jnf.c: Likewise.
43694         * math/w_log.c: Likewise.
43695         * math/w_log10.c: Likewise.
43696         * math/w_log10f.c: Likewise.
43697         * math/w_log10l.c: Likewise.
43698         * math/w_log2.c: Likewise.
43699         * math/w_log2f.c: Likewise.
43700         * math/w_log2l.c: Likewise.
43701         * math/w_logf.c: Likewise.
43702         * math/w_logl.c: Likewise.
43703         * math/w_sqrt.c: Likewise.
43704         * math/w_sqrtf.c: Likewise.
43705         * math/w_sqrtl.c: Likewise.
43706         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43707         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43708         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43709         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43710         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43712 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43714         [BZ #9739]
43715         * manual/string.texi (strnlen): Use correct parameter name in
43716         equivalent expression.
43718 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43720         [BZ #11174]
43721         * manual/users.texi (seteuid): Consistently use neweuid for
43722         argument name.
43724 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43726         [BZ #13704]
43727         * manual/nss.texi (Services in the NSS configuration): Correct
43728         list of services in example configuration file.
43730 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
43732         [BZ #11322]
43733         * manual/arith.texi: Remove statements about negative zero
43734         behaving identically to zero.
43736 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43738         [BZ #5993]
43739         * manual/install.texi: Do not document upgrading from libc5.
43741 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43743         [BZ #4596]
43744         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43746 2012-02-18  David S. Miller  <davem@davemloft.net>
43748         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43749         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43750         %o7 across the call.
43751         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43752         instead.
43753         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43754         SETUP_PIC_REG_LEAF.
43755         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43756         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43757         * sysdeps/sparc/crtn.S: Likewise.
43759 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
43761         * aout/Makefile: Remove.
43763 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
43765         [BZ #13058]
43766         * manual/examples/argp-ex1.c (main): Format definition in GNU
43767         style.
43768         * manual/examples/argp-ex2.c (main): Likewise.
43769         * manual/examples/argp-ex3.c (main): Likewise.
43770         * manual/examples/argp-ex4.c (main): Likewise.
43771         * manual/examples/longopt.c (main): Use new-style prototype
43772         definition.
43773         * manual/examples/strncat.c (main): Specify return type and use
43774         (void) for arguments.
43775         * manual/examples/subopt.c (main): Use char **argv argument.
43777 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43779         [BZ #5077]
43780         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43781         rounding modes.
43783 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
43785         [BZ #6907]
43786         * manual/string.texi (strchr): Change when strchrnul is
43787         recommended.
43789 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
43791         [BZ #174]
43792         * manual/locale.texi (setlocale): Document LOCPATH.
43794 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43796         [BZ #10210]
43797         * manual/process.texi (execle): Move @dots{} before last argument.
43799 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
43801         [BZ #12047]
43802         * manual/charset.texi (Generic Charset Conversion): Fix typo
43803         (LC_TYPE -> LC_CTYPE).
43805 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
43807         [BZ #5805]
43808         * manual/arith.texi (scalbn): Use @var{} on parameter names.
43809         (scalbnf): Likewise.
43810         (scalbnl): Likewise.
43811         (scalbln): Likewise.
43812         (scalblnf): Likewise.
43813         (scalblnl): Likewise.
43814         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43815         (vwarnx): Likewise.
43816         (verr): Likewise.
43817         (verrx): Likewise.
43818         * manual/filesys.texi (telldir): Use braces around return type.
43819         * manual/llio.texi (mmap): Add space after comma.
43820         (mmap64): Likewise.
43821         * manual/math.texi (jn): Use @var{} on parameter names.
43822         (jnf): Likewise.
43823         (jnl): Likewise.
43824         (yn): Likewise.
43825         (ynf): Likewise.
43826         (ynl): Likewise.
43827         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43828         line.
43829         * manual/resource.texi (ulimit): Use @dots{} instead of literal
43830         "...".
43831         (sched_get_priority_min): Remove semicolon on @deftypefun line.
43832         (sched_get_priority_max): Likewise.
43833         * manual/signal.texi (sigvec): Add space after comma.
43834         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43835         names.
43836         (if_indextoname): Likewise.
43837         (if_freenameindex): Likewise.
43838         (sendto): Use ',' instead of '.' in prototype.
43839         * manual/startup.texi (syscall): Use @dots{} instead of literal
43840         "...".
43841         * manual/stdio.texi (__fpending): Separate initial words of
43842         paragraph from @deftypefun line.
43843         * manual/syslog.texi (syslog): Use @dots{} instead of literal
43844         "...".
43845         (vsyslog): Use @var{} on parameter names.
43846         * manual/terminal.texi (stty): Use @var{} on parameter names.
43847         * manual/users.texi (getutmp): Use @var{} on parameter names.
43848         (getutmpx): Likewise.
43850 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43852         [BZ #6884]
43853         * manual/stdio.texi (fopen): Fix typos in description of
43854         ",ccs=STRING".
43856 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
43858         [BZ #4026]
43859         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43860         get clock_id definition.
43862 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
43864         [BZ #4822]
43865         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43866         (madvise): Cast every argument to void on its own.
43868 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43870         [BZ #9902]
43871         * manual/startup.texi (Exit Status): Fix typo.
43873 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43875         [BZ #10140]
43876         * manual/examples/argp-ex1.c: Include <stdlib.h>.
43877         * manual/examples/argp-ex2.c: Likewise.
43878         * manual/examples/argp-ex3.c: Likewise.
43880 2012-02-16  Richard Henderson  <rth@redhat.com>
43882         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43883         * sysdeps/s390/s390-32/initfini.c: Remove.
43884         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43885         * sysdeps/s390/s390-64/initfini.c: Remove.
43887 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43889         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43890         compiler output for sysdeps/generic/initfini.c.
43891         * sysdeps/sh/elf/initfini.c: Remove file.
43893 2012-02-16  David S. Miller  <davem@davemloft.net>
43895         [BZ #11494]
43896         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43898         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43899         * sysdeps/sparc/crti.S: New file.
43900         * sysdeps/sparc/crtn.S: New file.
43901         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43902         * sysdeps/sparc/sparc64/Makefile: Likewise.
43904 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
43906         [BZ #3335]
43907         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43909 2012-02-15  Roland McGrath  <roland@hack.frob.com>
43911         [BZ #4822]
43912         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43914         * mach/devstream.c (cookie_io_functions_t): Macro removed.
43915         (write, read, close): Likewise.
43916         Patch by Aurelien Jarno <aurelien@aurel32.net>.
43918 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
43920         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43921         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43922         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43923         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43924         <bits/signalfd.h>.
43925         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43927         bits/signalfd.h.
43929 2012-02-14  Marek Polacek  <polacek@redhat.com>
43931         * sysdeps/x86_64/crti.S: New file.
43932         * sysdeps/x86_64/crtn.S: New file.
43933         * sysdeps/x86_64/elf/initfini.c: Remove file.
43935 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43937         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43938         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43939         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43940         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43941         <bits/inotify.h>.
43942         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43943         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43944         bits/inotify.h.
43946 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43948         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43949         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43950         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43951         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43952         <bits/eventfd.h>.
43953         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43955         bits/eventfd.h.
43957 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
43959         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43960         __feraiseexcept instead of feraiseexcept.
43962         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43963         nanosleep invocations.
43964         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43965         strings, and add error checking for a nanosleep invocations.
43967 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
43969         Replace FSF snail mail address with URLs, as per GNU coding standards.
43970         Most of the snail mail addresses were wrong anyway, and omitting
43971         them makes the source code easier to maintain.  Almost all of the
43972         changes are to license notices and to locale LC_IDENTIFICATION
43973         addresses, except for this one:
43974         * manual/libc.texinfo: In "Published by", give the FSF's URL,
43975         not its snail mail address.
43977 2012-02-09  Richard Henderson  <rth@twiddle.net>
43979         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43980         of kernel-features.h.
43982         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43984 2012-02-08  Marek Polacek  <polacek@redhat.com>
43986         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43987         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43988         * sysdeps/gnu/_G_config.h: Likewise.
43989         * sysdeps/generic/_G_config.h: Likewise.
43991 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
43993         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43994         tests.
43995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43997         * sysdeps/powerpc/powerpc32/crti.S: New file.
43998         * sysdeps/powerpc/powerpc32/crtn.S: New file.
43999         * sysdeps/powerpc/powerpc64/crti.S: New file.
44000         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44002         * Makeconfig (have-initfini): Don't set.
44003         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44004         * configure.in (nopic_initfini): Don't substitute.
44005         * config.h.in (HAVE_INITFINI): Don't #undef.
44006         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44007         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44009 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44011         Support crti.S and crtn.S provided directly by architectures.
44012         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44013         [crti.S in sysdirs] (omit-deps): Likewise.
44014         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44015         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44016         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44017         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44018         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44019         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44020         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44021         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44022         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44023         compiler output for sysdeps/generic/initfini.c.
44024         * sysdeps/i386/elf/Makefile: Remove file.
44025         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44027 2012-02-07  Marek Polacek  <polacek@redhat.com>
44029         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44030         * sysdeps/gnu/_G_config.h: Likewise.
44031         * sysdeps/mach/hurd/_G_config.h: Likewise.
44033 2012-02-07  Marek Polacek  <polacek@redhat.com>
44035         * math/Makefile (tests): Add tst-CMPLX2.
44036         * math/tst-CMPLX2.c: New file.
44038 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44040         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44042         * math/libm-test.inc (jn_test): Add missing L suffix.
44044 2012-02-06  Marek Polacek  <polacek@redhat.com>
44046         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44047         * sysdeps/i386/fpu/e_powf.S: Likewise.
44048         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44049         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44050         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44051         * sysdeps/i386/fpu/e_pow.S: Likewise.
44052         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44053         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44054         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44055         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44056         * sysdeps/i386/fpu/e_log2.S: Likewise.
44057         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44058         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44059         * sysdeps/i386/fpu/e_powl.S: Likewise.
44060         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44061         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44062         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44063         * sysdeps/i386/fpu/e_logl.S: Likewise.
44064         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44065         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44066         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44067         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44068         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44069         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44070         * sysdeps/i386/fpu/e_log.S: Likewise.
44071         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44072         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44073         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44074         * sysdeps/i386/fpu/e_logf.S: Likewise.
44075         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44076         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44077         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44078         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44079         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44080         * sysdeps/i386/fpu/e_log10.S: Likewise.
44081         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44082         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44083         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44084         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44085         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44086         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44087         * sysdeps/i386/asm-syntax.h: Likewise.
44088         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44089         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44090         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44091         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44092         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44093         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44094         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44095         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44096         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44097         * sysdeps/powerpc/sysdep.h: Likewise.
44098         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44099         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44101 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44103         [BZ #411]
44104         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44106 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44108         * sysdeps/i386/sysdep.h: Include <features.h>.
44109         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44110         version.
44112 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44114         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44115         Define.
44116         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44117         LOAD_PIC_REG_STR.
44119 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44121         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44122         (SETUP_PIC_REG): Use GET_PC_THUNK.
44123         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44124         macro.
44126 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44128         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44129         for non-PIC compilation.
44130         (SETUP_PIC_REG): Add .p2align directive.
44131         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44132         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44133         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44134         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44135         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44136         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44137         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44138         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44139         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44140         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44141         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44142         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44143         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44144         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44145         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44146         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44147         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44148         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44149         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44150         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44151         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44152         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44153         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44154         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44155         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44156         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44157         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44158         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44159         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44160         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44161         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44162         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44163         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44164         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44165         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44166         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44167         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44168         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44169         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44170         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44171         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44173 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44175         * math/tst-CMPLX.c: Include <stdio.h>.
44177 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44179         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44180         float.
44181         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44182         * sysdeps/sparc/bits/mathdef.h: Likewise.
44184 2012-01-31  Marek Polacek  <polacek@redhat.com>
44186         * libio/libio.h: Don't define _PARAMS.
44187         * locale/programs/config.h: Don't define PARAMS.
44188         * stdlib/strtol_l.c: Likewise.
44189         (__strtol_l): Remove PARAMS from the prototype.
44191 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44193         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44194         names.  Just use the correct names.  Remove unnecessary wrapper
44195         functions.
44196         * malloc/arena.c: Likewise.
44197         * malloc/hooks.c: Likewise.
44199         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44200         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44201         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44203 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44205         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44206         into tail calls.
44207         (update_get_addr): New function.
44208         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44209         GET_ADDR_MODULE parameter.
44211 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44213         * crypt/cert.c: Remove __STDC__ conditionals.
44214         * crypt/crypt-entry.c: Likewise.
44215         * crypt/crypt_util.c: Likewise.
44216         * libio/filedoalloc.c: Likewise.
44217         * libio/fileops.c: Likewise.
44218         * libio/genops.c: Likewise.
44219         * libio/iofclose.c: Likewise.
44220         * libio/iofdopen.c: Likewise.
44221         * libio/iofopen.c: Likewise.
44222         * libio/iofopen64.c: Likewise.
44223         * libio/iogetdelim.c: Likewise.
44224         * libio/iopopen.c: Likewise.
44225         * libio/obprintf.c: Likewise.
44226         * libio/oldfileops.c: Likewise.
44227         * libio/oldiofclose.c: Likewise.
44228         * libio/oldiofdopen.c: Likewise.
44229         * libio/oldiofopen.c: Likewise.
44230         * libio/oldiopopen.c: Likewise.
44231         * libio/wfiledoalloc.c: Likewise.
44232         * libio/wgenops.c: Likewise.
44233         * locale/programs/xmalloc.c: Likewise.
44234         * misc/syslog.c: Likewise.
44235         * stdio-common/xbug.c: Likewise.
44236         * string/memchr.c: Likewise.
44237         * string/memcmp.c: Likewise.
44238         * string/memrchr.c: Likewise.
44239         * string/rawmemchr.c: Likewise.
44240         * sysdeps/posix/getcwd.c: Likewise.
44241         * time/strftime_l.c: Likewise.
44243 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44245         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44246         * config.make.in (config-cflags-sse2avx): Define.
44247         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44248         Fix typo.
44250 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
44252         * scripts/config.guess: Update from upstream config git repository.
44253         * scripts/config.sub: Likewise.
44255 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
44257         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44258         (EM_NUM): Update.
44259         (R_TILEPRO_*, R_TILEGX_*): New macros.
44261         * scripts/firstversions.awk: Fix bug in version range handling.
44263         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44265         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44267         * include/sys/epoll.h: New file.
44268         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44269         libc_hidden_def.
44271 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
44273         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44274         Avoid unnecessary __WORDSIZE == 64 test.
44275         (fmaxf): Use VEX format if possible.
44276         (fmax): Likewise.
44277         (fminf): Likewise.
44278         (fmin): Likewise.
44280         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44281         * math/math_private.h: Remove libc_fegetround* and
44282         libc_fesetround*.
44283         * sysdeps/i386/configure.in: Check for -msse2avx.
44284         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44285         also if SSE2AVX is defined.
44286         Remove libc_fegetround* and libc_fesetround*.
44287         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44288         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
44289         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44290         of HAS_YMM_USABLE.
44291         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44292         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44293         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44294         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44295         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44297         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44299 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44301         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44302         size is not set.
44303         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44305 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
44307         [BZ #13618]
44308         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44309         relocation.
44310         * Makeconfig (libm): Define.
44311         * elf/Makefile: Add rules to build and run tst-relsort1.
44312         * elf/tst-relsort1.c: New file.
44313         * elf/tst-relsort1mod1.c: New file.
44314         * elf/tst-relsort1mod2.c: New file.
44316 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
44318         * math/s_ldexp.c: Remove __STDC__ conditionals.
44319         * math/s_ldexpf.c: Likewise.
44320         * math/s_ldexpl.c: Likewise.
44321         * math/s_nextafter.c: Likewise.
44322         * math/s_nexttowardf.c: Likewise.
44323         * math/s_significand.c: Likewise.
44324         * math/s_significandf.c: Likewise.
44325         * math/s_significandl.c: Likewise.
44326         * math/w_jnl.c: Likewise.
44327         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44328         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44329         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44330         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44331         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44332         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44333         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44334         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44335         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44336         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44337         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44338         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44339         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44340         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44341         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44342         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44343         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44344         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44345         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44346         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44347         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44348         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44349         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44350         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44351         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44352         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44353         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44354         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44355         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44356         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44357         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44358         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44359         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44360         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44361         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44362         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44363         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44364         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44365         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44366         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44367         * sysdeps/ieee754/k_standard.c: Likewise.
44368         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44369         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44370         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44371         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44372         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44373         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44374         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44375         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44376         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44377         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44378         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44379         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44380         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44381         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44382         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44383         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44384         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44385         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44386         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44387         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44388         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44389         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44390         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44391         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44392         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44393         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44394         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44395         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44396         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44397         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44398         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44399         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44400         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44401         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44402         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44403         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44404         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44405         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44406         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44407         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44408         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44410         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44411         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44412         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44413         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44414         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44415         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44416         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44417         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44418         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44419         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44420         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44421         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44422         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44423         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44424         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44425         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44426         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44427         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44428         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44429         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44430         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44431         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44432         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44433         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44434         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44435         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44436         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44437         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44438         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44439         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44440         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44441         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44442         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44443         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44444         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44445         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44446         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44447         * sysdeps/ieee754/s_matherr.c: Likewise.
44448         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44449         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44450         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44451         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44453 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44455         * crypt/md5.h: Remove __STDC__ conditionals.
44456         * libio/libioP.h: Likewise.
44457         * locale/programs/config.h: Likewise.
44458         * sysdeps/generic/sysdep.h: Likewise.
44459         * sysdeps/i386/asm-syntax.h: Likewise.
44460         * sysdeps/s390/asm-syntax.h: Likewise.
44461         * sysdeps/unix/sysdep.h: Likewise.
44462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44465 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44467         * libio/libio.h: Remove __STDC__ conditionals.
44468         * malloc/obstack.h: Likewise.
44469         * math/complex.h: Likewise.
44470         * math/math.h: Likewise.
44471         * sysdeps/generic/_G_config.h: Likewise.
44472         * sysdeps/gnu/_G_config.h: Likewise.
44473         * sysdeps/mach/hurd/_G_config.h: Likewise.
44474         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44475         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44476         * sysdeps/sparc/bits/mathdef.h: Likewise.
44478 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
44480         [BZ #13583]
44481         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44482         Clean up HAS_* macros.
44483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44484         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44485         possible.
44486         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44487         HAS_AVX.
44488         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44489         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44490         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44491         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44492         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44494 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
44496         * elf/tst-unique3.cc (gets): Remove declaration.
44497         * elf/tst-unique3lib.cc (gets): Likewise.
44498         * elf/tst-unique3lib2.cc (gets): Likewise.
44499         * elf/tst-unique4.cc (gets): Likewise.
44501 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
44503         * include/stdio.h: Add C++ protection.  Add gets declarations and
44504         definitions.
44505         * debug/tst-chk1.c: Don't declare gets here.
44506         * stdio-common/tst-gets.c: Likewise.
44508 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44510         * posix/glob: Remove directory.
44512 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44514         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44516 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
44518         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44519         of the non-standard EPFNOSUPPORT.
44521 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44523         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44524         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44525         ANYWHERE set to 1 only on KERN_NO_SPACE error.
44527 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
44529         * wcsmbs/uchar.h: Test __STDC_VERSION__.
44531 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
44533         * nscd/aicache.c (addhstaiX): Do not cache negative results of
44534         transient errors.
44535         * nscd/grpcache.c (cache_addgr): Likewise.
44536         * nscd/hstcache.c (cache_addhst): Likewise.
44537         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44538         * nscd/pwdcache.c (cache_addpw): Likewise.
44539         * nscd/servicescache.c (cache_addserv): Likewise.
44541 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
44543         * malloc/malloc.c: Various cleanups.
44544         * malloc/hooks.c: Likewise.
44546         * stdlib/Makefile (tests): Add bug-fmtmsg1.
44547         * stdlib/bug-fmtmsg1.c: New file.
44549         * stdlib/fmtmsg.c (init): Add missing unlock.
44550         Patch by Peng Haitao <penght@cn.fujitsu.com>.
44552 2012-01-12  Marek Polacek  <polacek@redhat.com>
44554         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44555         and _GNU_SOURCE.
44557 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44559         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44560         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44561         macro to ensure uniqueness of label name.
44562         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44563         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44565 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
44567         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44569         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44570         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44571         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44572         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44574 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
44576         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44578         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44579         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44580         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44582         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44584         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44585         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44586         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44587         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44589         * math/bits/math-finite.h: Add ldexp support.
44591 2012-01-10  Marek Polacek  <polacek@redhat.com>
44593         * locale/programs/localedef.h (show_archive_content): Add noreturn
44594         attribute.
44596 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
44598         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44600 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44602         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44604         * io/Makefile (headers): Add bits/poll2.h.
44606 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
44608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44609         typo #include statement.
44611 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44613         * include/sys/cdefs.h: Define __attribute_alloc_size.
44614         * catgets/gencat.c: Add alloc_size attribute and apply consistently
44615         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44616         * elf/pldd.c: Likewise.
44617         * iconv/iconv_charmap.c: Likewise.
44618         * iconv/iconvconfig.c: Likewise.
44619         * iconv/strtab.c: Likewise.
44620         * locale/programs/locale.c: Likewise.
44621         * locale/programs/localedef.h: Likewise.
44622         * locale/programs/simple-hash.c: Likewise.
44623         * nscd/nscd.h: Likewise.
44624         * nss/makedb.c: Likewise.
44625         * sysdeps/generic/ldconfig.h: Likewise.
44626         * locale/programs/localedef.c: Remove xmalloc prototype.
44627         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44629 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44631         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44632         appropriate.
44634 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44636         * math/Makefile (tests): Add tst-CMPLX.
44637         * math/tst-CMPLX.c: New file.
44639         * math/complex.h (CMPLXL): Fix typo.
44641         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44642         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44643         GLIBC_2.16.
44644         * debug/tst-chk1.c: Add poll and ppoll tests.
44645         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44646         * include/sys/poll.h: Add hidden proto for ppoll.
44647         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44648         * sysdeps/mach/hurd/ppoll.c: Likewise.
44649         * io/ppoll.c: Likewise.
44650         * debug/poll_chk.c: New file.
44651         * debug/ppoll_chk.c: New file.
44652         * include/bits/poll2.h: New file.
44653         * io/bits/poll2.h: New file.
44655         [BZ #1350]
44656         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44658         * configure.in: static is always set to yes.  Remove.
44659         * config.make.in: Don't set build-static.
44660         * Makeconfig: Remove use of build-static.
44661         * dlfcn/Makefile: Likewise.
44662         * elf/Makefile: Likewise.
44663         * math/Makefile: Likewise.
44664         * misc/Makefile: Likewise.
44665         * nptl/Makefile: Likewise.
44666         * sysdeps/mach/hurd/Makefile: Likewise.
44668         * configure.in: PWD_P is not used anymore.
44669         * config.make.in: Remove PWD_P entry.
44671         * configure.in: Remove last remnants of RANLIB.
44672         No need to check for signed size_t anymore.
44673         Don't set libc_commonpagesize and libc_relro_required here for Alpha
44674         and IA-64.
44675         Remove __builtin_expect test because we require at least gcc 3.4.
44676         * aclocal.m4: Likewise.
44678         * wcsmbs/mbrtoc16.c: Implement using towc function.
44679         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44680         * wcsmbs/wcsmbsload.c: Likewise.
44681         * iconv/gconv_simple.c: Likewise.
44682         * iconv/gconv_int.h: Likewise.
44683         * iconv/gconv_builtin.h: Likewise.
44684         * iconv/iconv_prog.c: Remove CHAR16 handling.
44686         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44688         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44690         * configure.in: Remove --with-elf and --enable-bounded options.
44691         Dont set base_machine for ia64.  More non-ELF conditions removed.
44692         Remove testing and setting of leading underscore information.
44693         * config.make.in (build-bounded): Set to no.
44694         * config.h.in: Remove NO_UNDERSCORES entry.
44695         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
44696         them.
44697         * csu/start.c: Remove !NO_UNDERSCORE code.
44698         * locale/localeinfo.h: Likewise.
44699         * sysdeps/generic/machine-gmon.h: Likewise.
44700         * sysdeps/generic/sysdep.h: Likewise.
44701         * sysdeps/i386/sysdep.h: Likewise.
44702         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44703         * sysdeps/mach/sysdep.h: Likewise.
44704         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44705         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44706         * sysdeps/sh/sysdep.h: Likewise.
44707         * sysdeps/sparc/sparc32/alloca.S: Likewise.
44708         * sysdeps/unix/i386/sysdep.S: Likewise.
44709         * sysdeps/unix/sparc/start.c: Likewise.
44710         * sysdeps/unix/sparc/sysdep.S: Likewise.
44711         * sysdeps/unix/sparc/sysdep.h: Likewise.
44712         * sysdeps/unix/start.c: Likewise.
44713         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44714         * sysdeps/x86_64/sysdep.h: Likewise.
44716 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
44718         [BZ #13553]
44719         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44720         for non-gcc.
44721         * argp/argp-fmtstream.h: Use const instead __const.
44722         * argp/argp.h: Likewise.
44723         * assert/assert.h: Likewise.
44724         * bits/fenv.h: Likewise.
44725         * bits/sched.h: Likewise.
44726         * bits/sigset.h: Likewise.
44727         * bits/sigthread.h: Likewise.
44728         * catgets/nl_types.h: Likewise.
44729         * conform/data/pthread.h-data: Likewise.
44730         * crypt/crypt-private.h: Likewise.
44731         * crypt/crypt.h: Likewise.
44732         * crypt/crypt_util.c: Likewise.
44733         * ctype/ctype.h: Likewise.
44734         * debug/execinfo.h: Likewise.
44735         * debug/mbsnrtowcs_chk.c: Likewise.
44736         * debug/mbsrtowcs_chk.c: Likewise.
44737         * debug/wcsnrtombs_chk.c: Likewise.
44738         * debug/wcsrtombs_chk.c: Likewise.
44739         * debug/wcstombs_chk.c: Likewise.
44740         * dirent/dirent.h: Likewise.
44741         * dlfcn/dlfcn.h: Likewise.
44742         * elf/neededtest4.c: Likewise.
44743         * grp/grp.h: Likewise.
44744         * gshadow/gshadow.h: Likewise.
44745         * iconv/gconv.h: Likewise.
44746         * iconv/gconv_int.h: Likewise.
44747         * iconv/gconv_simple.c: Likewise.
44748         * iconv/iconv.h: Likewise.
44749         * iconv/loop.c: Likewise.
44750         * iconv/skeleton.c: Likewise.
44751         * include/aio.h: Likewise.
44752         * include/aliases.h: Likewise.
44753         * include/argz.h: Likewise.
44754         * include/arpa/inet.h: Likewise.
44755         * include/assert.h: Likewise.
44756         * include/dirent.h: Likewise.
44757         * include/dlfcn.h: Likewise.
44758         * include/execinfo.h: Likewise.
44759         * include/fcntl.h: Likewise.
44760         * include/fenv.h: Likewise.
44761         * include/glob.h: Likewise.
44762         * include/grp.h: Likewise.
44763         * include/libintl.h: Likewise.
44764         * include/mntent.h: Likewise.
44765         * include/netdb.h: Likewise.
44766         * include/pwd.h: Likewise.
44767         * include/rpc/netdb.h: Likewise.
44768         * include/sched.h: Likewise.
44769         * include/search.h: Likewise.
44770         * include/shadow.h: Likewise.
44771         * include/signal.h: Likewise.
44772         * include/stdio.h: Likewise.
44773         * include/stdlib.h: Likewise.
44774         * include/string.h: Likewise.
44775         * include/sys/socket.h: Likewise.
44776         * include/sys/stat.h: Likewise.
44777         * include/sys/statfs.h: Likewise.
44778         * include/sys/statvfs.h: Likewise.
44779         * include/sys/syslog.h: Likewise.
44780         * include/sys/time.h: Likewise.
44781         * include/sys/uio.h: Likewise.
44782         * include/time.h: Likewise.
44783         * include/unistd.h: Likewise.
44784         * include/utmp.h: Likewise.
44785         * include/wchar.h: Likewise.
44786         * include/wctype.h: Likewise.
44787         * inet/aliases.h: Likewise.
44788         * inet/arpa/inet.h: Likewise.
44789         * inet/netinet/ether.h: Likewise.
44790         * inet/netinet/in.h: Likewise.
44791         * intl/libintl.h: Likewise.
44792         * io/bits/fcntl2.h: Likewise.
44793         * io/fcntl.h: Likewise.
44794         * io/ftw.h: Likewise.
44795         * io/sys/poll.h: Likewise.
44796         * io/sys/stat.h: Likewise.
44797         * io/sys/statfs.h: Likewise.
44798         * io/sys/statvfs.h: Likewise.
44799         * io/utime.h: Likewise.
44800         * libio/bits/stdio.h: Likewise.
44801         * libio/bits/stdio2.h: Likewise.
44802         * libio/libio.h: Likewise.
44803         * libio/libioP.h: Likewise.
44804         * libio/stdio.h: Likewise.
44805         * locale/lc-ctype.c: Likewise.
44806         * locale/locale.h: Likewise.
44807         * login/utmp.h: Likewise.
44808         * malloc/arena.c: Likewise.
44809         * malloc/malloc.c: Likewise.
44810         * malloc/malloc.h: Likewise.
44811         * malloc/mcheck.c: Likewise.
44812         * malloc/mtrace.c: Likewise.
44813         * math/bits/mathcalls.h: Likewise.
44814         * math/fenv.h: Likewise.
44815         * math/math_private.h: Likewise.
44816         * misc/bits/error.h: Likewise.
44817         * misc/bits/syslog.h: Likewise.
44818         * misc/err.h: Likewise.
44819         * misc/error.h: Likewise.
44820         * misc/fstab.h: Likewise.
44821         * misc/mntent.h: Likewise.
44822         * misc/regexp.h: Likewise.
44823         * misc/search.h: Likewise.
44824         * misc/sgtty.h: Likewise.
44825         * misc/sys/mman.h: Likewise.
44826         * misc/sys/syslog.h: Likewise.
44827         * misc/sys/uio.h: Likewise.
44828         * misc/sys/xattr.h: Likewise.
44829         * misc/ttyent.h: Likewise.
44830         * nis/rpcsvc/ypclnt.h: Likewise.
44831         * nss/nss.h: Likewise.
44832         * posix/bits/unistd.h: Likewise.
44833         * posix/fnmatch.h: Likewise.
44834         * posix/glob.h: Likewise.
44835         * posix/sched.h: Likewise.
44836         * posix/spawn.h: Likewise.
44837         * posix/sys/wait.h: Likewise.
44838         * posix/unistd.h: Likewise.
44839         * posix/wordexp.h: Likewise.
44840         * pwd/pwd.h: Likewise.
44841         * resolv/netdb.h: Likewise.
44842         * resource/sys/resource.h: Likewise.
44843         * rt/aio.h: Likewise.
44844         * rt/bits/mqueue2.h: Likewise.
44845         * rt/mqueue.h: Likewise.
44846         * shadow/shadow.h: Likewise.
44847         * signal/signal.h: Likewise.
44848         * socket/send.c: Likewise.
44849         * socket/sendto.c: Likewise.
44850         * socket/sys/socket.h: Likewise.
44851         * stdio-common/printf.h: Likewise.
44852         * stdlib/bits/stdlib.h: Likewise.
44853         * stdlib/fmtmsg.h: Likewise.
44854         * stdlib/monetary.h: Likewise.
44855         * stdlib/stdlib.h: Likewise.
44856         * stdlib/ucontext.h: Likewise.
44857         * streams/stropts.h: Likewise.
44858         * string/argz.h: Likewise.
44859         * string/bits/string2.h: Likewise.
44860         * string/string.h: Likewise.
44861         * string/strings.h: Likewise.
44862         * sunrpc/rpc/auth.h: Likewise.
44863         * sunrpc/rpc/auth_des.h: Likewise.
44864         * sunrpc/rpc/clnt.h: Likewise.
44865         * sunrpc/rpc/netdb.h: Likewise.
44866         * sunrpc/rpc/pmap_clnt.h: Likewise.
44867         * sunrpc/rpc/xdr.h: Likewise.
44868         * sysdeps/generic/inttypes.h: Likewise.
44869         * sysdeps/generic/net/if.h: Likewise.
44870         * sysdeps/generic/sys/swap.h: Likewise.
44871         * sysdeps/gnu/net/if.h: Likewise.
44872         * sysdeps/gnu/utmpx.h: Likewise.
44873         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44874         * sysdeps/i386/i486/bits/string.h: Likewise.
44875         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44876         * sysdeps/s390/bits/string.h: Likewise.
44877         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44878         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44879         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44880         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44881         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44882         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44883         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44884         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44885         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44886         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44887         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44888         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44889         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44890         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44891         * sysdeps/unix/sysv/linux/readv.c: Likewise.
44892         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44893         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44895         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44896         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44897         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44898         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44899         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44900         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44901         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44902         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44903         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44904         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44905         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44906         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44907         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44908         * sysvipc/sys/ipc.h: Likewise.
44909         * sysvipc/sys/msg.h: Likewise.
44910         * sysvipc/sys/sem.h: Likewise.
44911         * sysvipc/sys/shm.h: Likewise.
44912         * termios/termios.h: Likewise.
44913         * time/sys/time.h: Likewise.
44914         * time/time.h: Likewise.
44915         * wcsmbs/bits/wchar2.h: Likewise.
44916         * wcsmbs/uchar.h: Likewise.
44917         * wcsmbs/wchar.h: Likewise.
44918         * wctype/wctype.h: Likewise.
44920         [BZ #13551]
44921         * Makeconfig: Remove all but ELF support including AIX support.
44922         * Makerules: Likewise.
44923         * config.h.in: Likewise.
44924         * config.make.in: Likewise.
44925         * configure: Likewise.
44926         * configure.in: Likewise.
44927         * csu/Makefile: Likewise.
44928         * csu/version.c: Likewise.
44929         * debug/Makefile: Likewise.
44930         * dlfcn/Makefile: Likewise.
44931         * elf/Makefile: Likewise.
44932         * extra-lib.mk: Likewise.
44933         * iconv/Makefile: Likewise.
44934         * include/libc-symbols.h: Likewise.
44935         * include/shlib-compat.h: Likewise.
44936         * resolv/Makefile: Likewise.
44937         * resolv/res_libc.c: Likewise.
44938         * rt/Makefile: Likewise.
44939         * sysdeps/i386/asm-syntax.h: Likewise.
44940         * sysdeps/i386/sysdep.h: Likewise.
44941         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44942         * sysdeps/mach/sysdep.h: Likewise.
44943         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44944         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44945         * sysdeps/s390/asm-syntax.h: Likewise.
44946         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44947         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44948         * sysdeps/sh/sysdep.h: Likewise.
44949         * sysdeps/unix/sparc/sysdep.h: Likewise.
44950         * sysdeps/wordsize-32/divdi3.c: Likewise.
44951         * sysdeps/x86_64/sysdep.h: Likewise.
44953         * argp/Versions: Remove _argp_unlock_xxx.
44955         [BZ #13559]
44956         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
44957         * abilist/libBrokenLocale.abilist: Likewise.
44958         * abilist/libanl.abilist: Likewise.
44959         * abilist/libc.abilist: Likewise.
44960         * abilist/libcrypt.abilist: Likewise.
44961         * abilist/libdl.abilist: Likewise.
44962         * abilist/libm.abilist: Likewise.
44963         * abilist/libnsl.abilist: Likewise.
44964         * abilist/libpthread.abilist: Likewise.
44965         * abilist/libresolv.abilist: Likewise.
44966         * abilist/librt.abilist: Likewise.
44967         * abilist/libthread_db.abilist: Likewise.
44968         * abilist/libutil.abilist: Likewise.
44969         * abilist/libnss_db.abilist: New file.
44971         * scripts/abilist.awk: Add support for indirect functions.
44973         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44975         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44977         * shlib-versions: Remove entries for ports architectures.
44979         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
44980         files in ports.
44981         * elf/stackguard-macros.h: Remove support for IA-64.
44982         * elf/tst-auditmod1.c: Likewise.
44983         * sysdeps/generic/ldsodefs.h: Likewise.
44985         * sysdeps/unix/sysv/linux/configure.in: Ports should define
44986         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44987         configure files.
44989         [BZ #13552]
44990         * configure.in: Remove --enable-omitfp support.
44991         * FAQ.in: Adjust.
44992         * config.make.in: Likewise.
44993         * Makeconfig: Likewise.
44994         * manual/install.texi: Likewise.
44996         In case anyone cares, the IA-64 architecture could move to ports.
44997         * sysdeps/ia64/*: Removed.
44998         * sysdeps/unix/sysv/linux/ia64/*: Removed.
44999         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45001         [BZ #13555]
45002         * configure.in: Remove entries for unsupported architectures.
45004         [BZ #13533]
45005         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45006         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45007         routines.
45008         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45009         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45010         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45011         fall back to using wcrtomb.
45012         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45013         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45014         renaming.
45015         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45016         * wcsmbs/tst-c16c32-1.c: New file.
45018         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45019         local variable.
45021         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45023         * elf/tst-unique3.cc: Add explicit declaration of gets.
45024         * elf/tst-unique3lib.cc: Likewise.
45025         * elf/tst-unique3lib2.cc: Likewise.
45026         * elf/tst-unique4.cc: Likewise.
45028         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45030 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45032         [BZ #13566]
45033         * assert/assert.h (static_assert): Don't define for C++.
45034         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45035         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45037 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45039         * iconv/loop.c (single loop): Fix assertion in storing of
45040         remaining bytes.
45042         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45044 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45046         * posix/getconf.c: Update copyright year.
45047         * nss/getent.c: Likewise.
45048         * nss/makedb.c: Likewise.
45049         * iconv/iconvconfig.c: Likewise.
45050         * iconv/iconv_prog.c: Likewise.
45051         * elf/ldconfig.c: Likewise.
45052         * elf/pldd.c: Likewise.
45053         * elf/sotruss.ksh: Likewise.
45054         * catgets/gencat.c: Likewise.
45055         * csu/version.c: Likewise.
45056         * elf/ldd.bash.in: Likewise.
45057         * elf/sprof.c (print_version): Likewise.
45058         * locale/programs/locale.c: Likewise.
45059         * locale/programs/localedef.c: Likewise.
45060         * login/programs/pt_chown.c: Likewise.
45061         * nscd/nscd.c (print_version): Likewise.
45062         * debug/xtrace.sh: Likewise.
45063         * malloc/memusage.sh: Likewise.
45064         * malloc/mtrace.pl: Likewise.
45065         * debug/catchsegv.sh: Likewise.
45067 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45069         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45070         pure attribute.
45072 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45074         [BZ #13533]
45075         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45076         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45077         transformations.
45078         * iconv/gconv_int.h: Likewise.
45079         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45080         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45081         from libc for GLIBC_2.16.
45082         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45083         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45084         * wcsmbs/uchar.h: Really define mbstate_t.
45085         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45086         * wcsmbs/c16rtomb.c: New file.
45087         * wcsmbs/mbrtoc16.c: New file.
45088         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45089         for C/POSIX locale.
45090         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45091         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45093         * wcsmbs/wchar.h: Add missing __restrict.
45095 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45097         [BZ #13532]
45098         * time/Makefile (routines): Add timespec_get.
45099         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45100         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45101         timespec for ISO C11.
45102         * time/timespec_get.c: New file.
45103         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45104         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45106         [BZ #13531]
45107         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45108         * stdlib/stdlib.h: Declare aligned_alloc.
45109         * Versions.def: Add GLIBC_2.16 for libc.
45110         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45112         [BZ 13527]
45113         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45114         ISO C11.
45116         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45117         code.
45119         [BZ #13528]
45120         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45122         [BZ #13529]
45123         * assert/assert.h (static_assert): Define.
45125         * version.h: Update for 2.16 development version.
45127         [BZ #13526]
45128         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45129         _ISOC11_SOURCE.
45131         * version.h (RELEASE): Bump for 2.15 release.
45132         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45134         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45135         Patch by Marek Polacek <mpolacek@redhat.com>.
45137         * bits/byteswap.h: Protect long long constants with __extension__.
45138         * sysdeps/i386/bits/byteswap.h: Likewise.
45139         * sysdeps/ia64/bits/byteswap.h: Likewise.
45140         * sysdeps/s390/bits/byteswap.h: Likewise.
45141         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45143 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45145         [BZ #13540]
45146         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45147         destination buffer.
45148         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45150 2011-12-23  Marek Polacek  <polacek@redhat.com>
45152         * elf/dl-addr.c (determine_info): Add inline keyword.
45153         * elf/tst-auditmod4b.c (check_avx): Likewise.
45154         * elf/tst-auditmod6b.c (check_avx): Likewise.
45155         * elf/tst-auditmod6c.c (check_avx): Likewise.
45156         * elf/tst-auditmod7b.c (check_avx): Likewise.
45158 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45160         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45161         !__SSE_MATH__.
45163 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45165         [BZ #13540]
45166         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45167         processing for last bytes.
45169 2011-08-06  Bruno Haible  <bruno@clisp.org>
45171         [BZ #13061]
45172         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45173         U+0385, not to U+1FEE.
45175         [BZ #13062]
45176         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45177         entry for U+00A5 U+0301.
45179 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45181         [BZ #13166]
45182         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45183         buffer for the output is too small.
45185         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45186         optimization.
45188         [BZ #13185]
45189         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45190         SSE flags if possible.
45192 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45194         [BZ #13540]
45195         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45196         processing for last bytes.
45198 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45200         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45201         (syscall-list-default-options, syscall-list-default-condition)
45202         (syscall-list-includes): Define.
45203         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45204         list of ABIs and options and #if conditions for each ABI.  Do not
45205         handle common syscalls between ABIs specially.
45206         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45207         Remove.
45208         (syscall-list-variants, syscall-list-32bit-options)
45209         (syscall-list-32bit-condition, syscall-list-64bit-options)
45210         (syscall-list-64bit-condition): Define.
45211         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45212         (syscall-list-variants, syscall-list-32bit-options)
45213         (syscall-list-32bit-condition, syscall-list-64bit-options)
45214         (syscall-list-64bit-condition): Define.
45215         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45216         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/x86_64/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.
45226 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45228         * locale/iso-639.def: Add brx entry.
45230         [BZ #13328]
45231         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45232         Proposed by Mariusz_Cukr <marcukr@op.pl>.
45234         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45235         __feraiseexcept_renamed.
45237 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45239         [BZ #13538]
45240         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45241         EPOLLET with unsigned values.
45242         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45243         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45245         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45246         to large cancellation.
45247         * math/s_cacoshf.c: Likewise.
45248         * math/s_cacoshl.c: Likewise.
45250 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
45252         [BZ #13305]
45253         [BZ #12786]
45254         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45255         * math/s_cacoshf.c: Likewise.
45256         * math/s_cacoshl.c: Likewise.
45258 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45260         [BZ #13439]
45261         * iconv/gconv.h: Define __GCONV_SWAP.
45262         * iconvdata/unicode.c: The swap bit must be stored in __flags.
45263         * iconvdata/utf-16.c: Likewise.
45264         * iconvdata/utf-32.c: Likewise.
45266 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
45268         [BZ #13524]
45269         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45270         numerator after shifting it by one limb.
45272 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
45274         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45275         under [__USE_EXTERN_INLINES].
45277 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45279         [BZ #13446]
45280         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45282 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45284         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45285         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45286         optimized code.
45287         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45288         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45289         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45290         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45291         for strncasecmp/strncasecmp_l compilation.
45292         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45293         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45295 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
45297         [BZ #13484]
45298         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45299         of __asm__.
45301 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45303         [BZ #13506]
45304         * time/tzfile.c (__tzfile_read): Check values from file header.
45306 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45308         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45309         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45310         * powerpc/powerpc32/dl-start.S: Likewise.
45311         * powerpc/powerpc32/elf/start.S: Likewise.
45312         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45313         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45314         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45315         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45316         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45317         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45318         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45319         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45320         * powerpc/powerpc32/fpu/s_round.S: Likewise.
45321         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45322         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45323         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45324         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45325         * powerpc/powerpc32/memset.S: Likewise.
45326         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45327         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45328         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45329         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45330         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45331         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45332         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45333         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45334         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45335         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45336         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45337         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45338         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45340 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45342         * math/libm-test.inc: Added more nearbyint tests.
45343         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45344         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45345         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45346         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45348 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
45350         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45351         FD_CLOEXEC.
45353 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45355         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45356         Add wcscpy-ssse3 wcscpy-c.
45357         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45358         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45359         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45360         * sysdeps/x86_64/wcschr.S: New file.
45361         * sysdeps/x86_64/wcsrchr.S: New file.
45362         * string/test-strcmp.c: Remove checking of wcscmp function for
45363         wrong alignments.
45364         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45365         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45366         wcsrchr-sse2 wcsrchr-c.
45367         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45368         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45369         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45370         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45371         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45372         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45373         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45374         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45375         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45376         * wcsmbc/wcschr.c (WCSCHR): New macro.
45378 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45380         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45381         * wcsmbs/test-wcsrchr.c: New file.
45382         * string/test-strrchr.c: Add wcsrchr support.
45383         (WIDE): New macro.
45384         * wcsmbs/test-wcscpy.c: New file.
45385         * string/test-strcpy.c: Add wcscpy support.
45386         (WIDE): New macro.
45388 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
45390         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45391         the inner loop.
45393 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
45395         [BZ #13472]
45396         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45398 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
45400         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45401         Minor optimizations.
45403         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45404         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45405         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45407 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
45409         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45410         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45411         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45412         for gcc to avoid warnings.
45413         * inet/Makefile (tests): Add tst-checks.
45414         * inet/tst-checks.c: New file.
45416         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45417         warning.
45419         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45420         __wmemcmp_sse2.
45422         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45423         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45425         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45427 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
45429         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45430         problem.
45432         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45434 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
45436         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45437         conditional on GCC version.
45438         (__arch_compare_and_exchange_val_8_acq)
45439         (__arch_compare_and_exchange_val_16_acq)
45440         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45441         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45442         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45444 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
45446         * sysdeps/sh/backtrace.c: New file.
45448 2011-12-02  Andreas Schwab  <schwab@redhat.com>
45450         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
45451         parenthesis.
45453 2011-12-01  Andreas Schwab  <schwab@redhat.com>
45455         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45456         falling back to utime.
45458 2011-11-30  Andreas Schwab  <schwab@redhat.com>
45460         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45461         expectations for float.
45463 2011-11-29  Andreas Schwab  <schwab@redhat.com>
45465         * locale/weight.h (findidx): Add parameter len.
45466         * locale/weightwc.h (findidx): Likewise.
45467         * posix/fnmatch_loop.c (FCT): Adjust caller.
45468         * posix/regcomp.c (build_equiv_class): Likewise.
45469         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45470         * posix/regexec.c (check_node_accept_bytes): Likewise.
45471         * string/strcoll_l.c (STRCOLL): Likewise.
45472         * string/strxfrm_l.c (STRXFRM): Likewise.
45474 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
45476         * Makefile.in: Remove CVSOPT handling.
45477         * configure.in: Remove use of AC_REVISION.
45478         * iconvdata/Makefile (distribute): No need to filter out CVS.
45479         * scripts/list-sources.sh: Remove CVS, subversion and monotone
45480         handling.
45482 2011-11-16  Andreas Schwab  <schwab@redhat.com>
45484         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45485         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45486         [USE_AS_STRNCASECMP_L]: Likewise.
45487         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45488         NO_TLS_DIRECT_SEG_REFS.
45489         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45490         Fix argument offsets for non-PIC.
45491         [USE_AS_STRNCASECMP_L]: Likewise.
45492         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45493         NO_TLS_DIRECT_SEG_REFS.
45495 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45497         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45498         O_CLOEXEC.
45499         * locale/loadlocale.c (_nl_load_locale): Likewise.
45501 2011-11-15  Andreas Schwab  <schwab@redhat.com>
45503         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45504         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45505         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45506         (SYSCALL_GETTIME): Set errno on error.
45508         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45509         count references to noai6ai_cached.
45511 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45513         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45515         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45516         FD_CLOEXEC for /proc/self/maps.
45518         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45519         FD_CLOEXEC for /proc/meminfo.
45521         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45522         gai.conf.
45524         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
45525         FD_CLOEXEC for given file.
45527         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45529         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45530         FD_CLOEXEC for /etc/hosts.
45531         (_gethtent): Likewise.
45533         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45535         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45536         cancellation and set FD_CLOEXEC for /etc/netgroup.
45538         * nss/nss_files/files-key.c (search): Don't allow cancellation when
45539         reading /etc/publickey.
45541         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45542         allow cancellation when reading /etc/group.
45544         * nss/nss_files/files-alias.c (internal_setent): Don't allow
45545         cancellation.
45546         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
45548         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45549         when using data file.
45551         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45553         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45554         (write_nis_obj): Use "c" and "e" in fopen.
45556         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45558         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45560         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45562         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45564         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45565         locale.alias.
45567         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45569         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45571         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45573         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45574         file parsing and set FD_CLOEXEC.
45576 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45578         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45580 2011-11-14  Andreas Schwab  <schwab@redhat.com>
45582         * malloc/arena.c (arena_get2): Don't call reused_arena when
45583         _int_new_arena failed.
45585 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45587         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45588         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45589         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45590         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45591         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45592         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45593         to compile strcasecmp and strncasecmp.
45594         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45595         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45597         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45599 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
45601         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45602         locale-defines.sym to gen-as-const-headers.
45603         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45604         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45605         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45606         to compile strcasecmp and strncasecmp.
45607         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45608         strcasecmp_l and strncasecmp_l.
45609         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45610         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45611         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45612         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45613         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45614         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45615         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45616         * sysdeps/i386/i686/multiarch/strncase.S: New file.
45617         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45618         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45619         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45621 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
45623         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45624         result of SYSDEP_GETTIME_CPU to retval.
45625         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45626         parameter list to macro.  Remove trailing semicolon.  Adjust users.
45628         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45629         variable.
45631         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45632         mantissa words.
45633         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45635         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45636         from unused variable.
45638         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45639         DWARF definitions.
45640         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45641         for assembling.
45643         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45644         over namespaces.
45646         * sunrpc/rpc_prot.c (rejected): Fix case value.
45648         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45649         unsigned long long int to avoid warnings in shift.
45651         * posix/regex_internal.c (re_string_reconstruct): Actually use result
45652         of use of trans.
45653         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45654         variable tmp.
45656         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45657         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45658         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45660         * nis/nis_table.c (nis_list): Use variable of correct type for
45661         result of __follow_path call.
45663 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45665         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45666         of math functions ceil, trunc, floor, round, and sqrt, when
45667         avaliable on the platform.
45668         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45669         name clash.
45670         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45671         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45672         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45674 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
45676         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45677         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45679 2011-11-11  Roland McGrath  <roland@hack.frob.com>
45681         * include/unistd.h: Fix __readlink return type.
45682         Reported by Chris Metcalf <cmetcalf@tilera.com>.
45684 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
45686         * stdlib/ucontext.h: Undo last change for makecontext.
45688 2011-11-11  Andreas Schwab  <schwab@redhat.com>
45690         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45692         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45693         * setjmp/setjmp.h: Mark functions as non-leaf.
45694         * setjmp/bits/setjmp2.h: Likewise.
45695         * stdlib/ucontext.h: Likewise.
45697 2011-11-10  Andreas Schwab  <schwab@redhat.com>
45699         * malloc/arena.c (_int_new_arena): Don't increment narenas.
45700         (reused_arena): Don't check arena limit.
45701         (arena_get2): Atomically check arena limit.
45703 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
45705         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45706         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45709         instructions.
45711 2011-11-07  Andreas Schwab  <schwab@redhat.com>
45713         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45714         handler when locking.
45716         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45717         Fix size of allocated buffer.
45719 2011-11-04  Andreas Schwab  <schwab@redhat.com>
45721         [BZ #10103]
45722         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45723         declarations for long double functions.
45724         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45726         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45728 2011-11-03  Andreas Schwab  <schwab@redhat.com>
45730         * nscd/nscd.c (main): Don't start AVC thread until credentials are
45731         installed.
45733         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45734         is disabled.
45736 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45738         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45740 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45742         * include/alloca.h (stackinfo_alloca_round): Define.
45743         (extend_alloca): Use it.
45744         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45745         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45746         here.
45748         * scripts/check-local-headers.sh: Ignore libaudit.h.
45750         * nscd/Makefile (extra-objs): Make recursively expanded.
45752 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
45754         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45755         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45757         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45758         * posix/tst-rfc3484-2.c: Likewise.
45759         * posix/tst-rfc3484-3.c: Likewise.
45761         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45762         process_vm_writev.
45763         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45764         process_vm_writev.
45765         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45766         process_vm_writev from libc using GLIBC_2.15 version.
45768         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45770 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
45772         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45773         stack usage.
45775 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
45777         [BZ #13367]
45778         * nss/getent.c (initgroups_keys): Show error message in case no group
45779         names are given.
45781         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45782         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45783         __bump_nl_timestamp.
45784         * nscd/connections (nscd_init): When host database is served open
45785         netlink socket and request notification about configuration changes.
45786         (main_loop_poll): Track netlink file descriptor and bump timestamp
45787         in case data becomes available.
45788         (main_loop_epoll): Likewise.
45789         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45790         (database_pers_head): Add extra_data fileds.
45791         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45792         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45793         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45794         Adjust caller.
45795         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45796         in6ai data, call __free_in6ai.
45797         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45798         Add -DHAVE_NETLINK.
45799         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
45800         interface information.  Reuse previous data if netlink timestamp
45801         is not changed.
45802         (__bump_nl_timestamp): New function.
45803         (__free_in6ai): New function.
45805 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
45807         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45808         close_not_cancel_no_status here.
45809         (__check_pf): Reorganize code a bit to not call close twice if OOM.
45811 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45813         [BZ #13276]
45814         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45815         return value.
45817         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45818         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45819         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45821 2011-07-03  Andreas Jaeger  <aj@suse.de>
45823         [BZ #10709]
45824         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45825         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45826         * math/libm-test.inc (sin_test): Add test case.
45828 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45830         [BZ #13337]
45831         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45832         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45834         * elf/chroot_canon.c (chroot_canon): Cleanups.
45836         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45838         [BZ #13335]
45839         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45840         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45842         * string/test-strchr.c: Make usable for strchrnul testing.
45843         * string/test-strchrnul.c: New file.
45844         * string/Makefile (strop-tests): Add strchrnul.
45846         * po/it.po: Update from translation team.
45847         * po/es.po: Likewise.
45849 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
45851         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45852         the three constants needed as parameters.  Drop the others.
45853         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45854         __m128i_strloadu_tolower.
45855         Create and initialize variable zero and use it in all the places
45856         where _mm_setzero_si128 was used.
45858         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45859         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45860         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45861         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45862         anymore.
45863         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45864         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45865         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45866         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45867         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45868         __mpranred, __mptan.
45869         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45870         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45871         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45872         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45873         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45874         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45875         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45876         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45877         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45879 2011-10-28  Andreas Schwab  <schwab@redhat.com>
45881         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45882         redefine if SHARED.
45883         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45885         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45886         wide char related routines to wcsmbs subdir.
45888 2011-10-27  Andreas Schwab  <schwab@redhat.com>
45890         [BZ #13344]
45891         * misc/sys/cdefs.h (__THROWNL): Define.
45892         * posix/unistd.h: Use __THREADNL instead of __THREAD
45893         for memory synchronization functions.
45895 2011-10-26  Roland McGrath  <roland@hack.frob.com>
45897         [BZ #13349]
45898         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45899         doesn't exist.
45900         * manual/stdio.texi (Obstack Streams): Node removed.
45902 2011-10-26  Andreas Schwab  <schwab@redhat.com>
45904         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45905         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45906         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45908         * math/math_private.h (math_force_eval): Allow non-addressable
45909         arguments.
45910         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45912 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45914         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45915         file is not needed.
45917         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45918         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45919         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45920         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45921         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45922         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45923         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45924         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45925         Add AVX variants.
45926         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45927         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45928         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45929         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45930         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45931         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45932         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45933         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45934         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45935         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45936         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45937         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45938         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45939         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45940         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45941         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45942         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45943         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45944         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45946         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45947         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
45949         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45950         place.  Use VEX encoding when compiling for AVX.
45952 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45954         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45955         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45957         * string/test-strchr.c (do_test): Don't generate NUL bytes.
45959 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45961         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45962         useless if() expression.
45963         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45964         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45965         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45966         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45967         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45968         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45969         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45970         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45971         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45972         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45973         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45974         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45975         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45976         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45977         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45978         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45979         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45980         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45981         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45983         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45985 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45987         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45988         condition.
45989         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45991 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45993         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45994         .text section.  Avoid duplicate constants.
45995         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45996         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45997         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45998         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45999         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46001         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46002         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46003         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46004         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46005         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46006         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46007         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46008         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46009         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46010         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46011         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46012         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46013         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46014         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46015         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46016         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46017         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46018         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46019         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46020         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46021         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46022         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46023         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46024         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46025         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46026         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46027         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46028         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46029         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46030         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46031         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46032         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46033         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46034         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46035         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46036         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46037         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46038         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46039         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46041 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46043         * sysdeps/x86_64/dla.h: Move to ...
46044         * sysdeps/x86_64/fpu/dla.h: ...here.
46045         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46046         situations.  Use __builtin_fma only for gcc 4.6 and up.
46048         * config.make.in: Add have-mfma4 entry.
46049         * configure.in: Substitute libc_cv_cc_fma4.
46050         * math/Makefile (dbl-only-routines): Add sincostab.
46051         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46052         Use __sincostab not sincos.
46053         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46054         name is a macro.
46055         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46056         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46057         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46058         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46059         using __copysign.
46060         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46061         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46062         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46063         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46064         and __inv.
46065         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46066         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46067         __copysign.
46068         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46069         define aliases when function name is a macro.
46070         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46071         sysdeps/ieee754/dbl-64/sincos.tbl.
46072         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46073         fma4-enabled routines.
46074         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46075         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46076         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46077         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46078         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46079         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46080         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46081         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46082         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46083         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46084         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46085         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46086         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46087         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46088         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46089         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46090         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46091         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46092         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46093         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46094         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46095         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46096         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46097         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46098         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46099         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46100         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46101         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46102         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46103         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46105         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46106         rename.
46107         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46108         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46109         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46110         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46111         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46112         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46113         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46114         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46116 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46118         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46120 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46122         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46124         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46125         prediction.
46126         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46128         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46129         Remove unused variable magic_bits.
46130         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46132         * string/strnlen.c: Define and use STRNLEN macro.
46133         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46134         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46135         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46136         * wcsmbs/wcslen.c: Define and use WCSLEN.
46137         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46138         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46139         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46140         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46141         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46142         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46143         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46145 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46148         strnlen-sse2-no-bsf.
46149         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46150         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46151         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46152         Add strnlen support.
46153         (USE_AS_STRNLEN): New macro.
46154         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46155         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46156         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46157         * sysdeps/x86_64/wcslen.S: New file.
46159 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46161         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46162         XMM-moves are used for copying on small sizes.
46164 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46166         * wcsmbs/Makefile (strop-tests): Add wcschr.
46167         * wcsmbs/test-wcschr.c: New file.
46168         * string/test-strchr.c: Update.
46169         Add wcschr support.
46170         (WIDE): New macro.
46172 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46174         * wcsmbs/Makefile (strop-tests): Add wcslen.
46175         * wcsmbs/test-wcslen.c: New file.
46176         * string/test-strlen.c: Update.
46177         Add wcslen support.
46178         (WIDE): New macro.
46180 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46182         * po/it.po: Update from translation team.
46184 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46186         * sysdeps/x86_64/wcscmp.S: Update.
46187         Fix wrong comparison semantics.
46188         wcscmp shall use signed comparison not unsigned.
46189         Don't use substraction to avoid overflow bug.
46190         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46191         * wcsmbc/wcscmp.c: Likewise.
46192         * string/test-strcmp.c: Likewise.
46193         Add new tests to check cases with negative values.
46195 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46197         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46198         * sysdeps/x86_64/dla.h: ...here.  New file.
46199         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46200         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46201         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46202         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46203         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46204         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46205         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46206         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46207         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46209 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
46211         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46212         __ynl_finite aliases.
46214 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46218         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46219         define DLA_FMA.
46220         [DLA_FMA] (EMULV): Use DLA_FMA.
46221         [DLA_FMA] (MUL12): Use EMULV.
46222         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46223         that are not needed.
46224         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46225         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46226         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46227         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46229         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46230         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46232 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
46234         * math/s_nan.c: Undef __nan.
46235         * math/s_nanf.c: Undef __nanf.
46236         * math/s_nanl.c: Undef __nanl.
46237         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46238         "math_private.h".
46240 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46242         * math/s_catan.c: Add branch predictions.
46243         * math/s_catanf.c: Likewise.
46244         * math/s_catanh.c: Likewise.
46245         * math/s_catanhf.c: Likewise.
46246         * math/s_catanhl.c: Likewise.
46247         * math/s_catanl.c: Likewise.
46248         * math/s_cexp.c: Likewise.
46249         * math/s_cexpf.c: Likewise.
46250         * math/s_cexpl.c: Likewise.
46251         * math/s_clog.c: Likewise.
46252         * math/s_clog10.c: Likewise.
46253         * math/s_clog10f.c: Likewise.
46254         * math/s_clog10l.c: Likewise.
46255         * math/s_clogf.c: Likewise.
46256         * math/s_clogl.c: Likewise.
46257         * math/s_csqrt.c: Likewise.
46258         * math/s_csqrtf.c: Likewise.
46259         * math/s_csqrtl.c: Likewise.
46260         * math/s_ctanf.c: Likewise.
46261         * math/s_ctanh.c: Likewise.
46262         * math/s_ctanhf.c: Likewise.
46263         * math/s_ctanhl.c: Likewise.
46264         * math/s_ctanl.c: Likewise.
46266         * math/math_private.h: Define __nan, __nanf, __nanl.
46267         * math/s_cacosh.c: Include <math_private.h>.
46268         * math/s_cacoshl.c: Likewise.
46269         * math/s_casinh.c: Likewise.
46270         * math/s_casinhf.c: Likewise.
46271         * math/s_casinhl.c: Likewise.
46272         * math/s_ccos.c: Rely entire on ccosh.
46273         * math/s_ccosf.c: Rely entire on ccoshf.
46274         * math/s_ccosl.c: Rely entirely on ccoshl.
46275         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
46276         Remove tests for FE_INVALID.
46277         * math/s_ccoshf.c: Likewise.
46278         * math/s_ccoshl.c: Likewise.
46279         * math/s_csin.c: Likewise.
46280         * math/s_csinf.c: Likewise.
46281         * math/s_csinh.c Likewise.
46282         * math/s_csinhf.c: Likewise.
46283         * math/s_csinhl.c: Likewise.
46284         * math/s_csinl.c: Likewise.
46285         * math/s_ctan.c: Likewise.
46286         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46287         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46288         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46290 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
46292         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46293         compilation problems.
46295         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46296         __builtin_expect.
46298 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
46300         * sysdeps/i386/configure.in: Test for -mfma4 option.
46301         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46302         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46303         COMMON_CPUID_INDEX_80000001.
46304         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46305         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46306         use it if FMA3 is not supported.
46307         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46309         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46310         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46312 2011-10-20  Andreas Schwab  <schwab@redhat.com>
46314         [BZ #12892]
46315         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46316         it would create a cycle with a link time dependency.
46318 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
46320         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46321         instruction.
46322         * string/Makefile (strop-tests): Add rawmemchr.
46323         * string/test-rawmemchr.c: New file.
46325         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46326         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
46327         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
46328         when compiling str{,n}casecmp and when AVX is available.  Hook up
46329         new optimized code in initializers.
46331 2011-10-19  Andreas Schwab  <schwab@redhat.com>
46333         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46334         __feraiseexcept instead of feraiseexcept.
46336 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
46338         * math/math_private.h: Define defaults for libc_fetestexcept and
46339         libc_feupdateenv.
46340         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46341         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46342         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46343         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46344         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46345         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46346         libc_fetestexcept and libc_feupdateenv.
46348         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46349         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46350         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46351         * sysdeps/x86_64/fpu/math_private.h: Define special version of
46352         libc_feholdexcept_setround.
46354         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46355         Add s_nearbyint-c and s_nearbyintf-c.
46356         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46357         nearbyintf inlines.
46358         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46359         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46360         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46361         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46363         * math/math_private.h: Define defaults for libc_fegetround,
46364         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46365         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46366         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46367         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46368         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46369         standard functions.
46370         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46371         Remove comments and hacks for old compiler versions.
46372         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46373         libc_fegetround, libc_fesetround, libc_feholdexcept, and
46374         libc_feholdexceptl.
46376 2011-10-18  Andreas Schwab  <schwab@redhat.com>
46378         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46379         (__feraiseexcept_renamed): Add __NTH.
46380         (feraiseexcept): Add __NTH.  Rename local variables to fix
46381         namespace violations.
46383 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
46385         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46387         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46389         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46390         recently added interfaces.
46391         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46393         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46394         about macro parameter expansion.
46396         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46397         __NO_MATH_INLINES is defined.  Cleanups.
46399         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46400         and __floorf is target has SSE4.1.
46401         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46402         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46403         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46404         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46406         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46407         name.
46408         (floorf): Likewise.
46410         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46412 2011-10-17  Andreas Schwab  <schwab@redhat.com>
46414         * misc/sys/cdefs.h: Fix last change.
46416         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46417         database lookup.
46419 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
46421         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46423         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46424         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46425         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46426         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46427         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46428         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46429         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46430         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46431         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46432         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46433         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46434         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46435         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46436         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46437         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46438         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46439         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46440         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46441         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46442         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46443         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46444         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46446         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46447         ceil, ceilf, floor, floorf.
46449         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46450         Perform IRELATIVE relocations last.
46452         * elf/do-rel.h: Add another parameter nrelative, replacing the
46453         local variable with the same name.  Change name of the function
46454         to end in Rel or Rela (uppercase).
46455         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46456         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
46457         elf_dynamic_do_##reloc function.
46459 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46461         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46462         is sufficient, at least on modern CPUs.
46464         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46466         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46467         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46469         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46470         __expl_finite.
46471         * math/bits/math-finite.h: Add entries for exp.
46472         * math/e_expl.c: Add __*_finite alias.
46473         * sysdeps/i386/fpu/e_exp.S: Likewise.
46474         * sysdeps/i386/fpu/e_expf.S: Likewise.
46475         * sysdeps/i386/fpu/e_expl.c: Likewise.
46476         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46477         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46478         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46480         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46481         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46482         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46484         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46485         is sufficient, at least on modern CPUs.
46487         * ctype/ctype-info.c (__ctype_init): Define.
46488         * include/ctype.h (__ctype_init): Declare.
46489         (__ctype_b_loc): The variable is always initialized.
46490         (__ctype_toupper_loc): Likewise.
46491         (__ctype_tolower_loc): Likewise.
46492         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46493         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46495 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
46497         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46499         * configure.in: Also look in $cxxmachine/include for C++ system
46500         headers.
46502 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46504         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46505         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46506         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46507         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
46508         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46509         (USE_AS_WMEMCMP): New macro.
46510         Fixing indents.
46511         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46512         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46513         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46514         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46515         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46516         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46517         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46518         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46519         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46520         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46521         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46522         (USE_AS_WMEMCMP): New macro.
46523         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46524         * sysdeps/string/test-memcmp.c: Update.
46525         Fix simple_wmemcmp.
46526         Add new tests.
46527         * wcsmbs/wmemcmp.c: Update.
46528         (WMEMCMP): New macro.
46529         Fix overflow bug.
46531 2011-10-12  Andreas Jaeger  <aj@suse.de>
46533         [BZ #13268]
46534         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46536 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46538         * libio/iofwide.c (do_length): Avoid warning.
46540         * ctype/ctype.h (__isctype_f): Add missing __THROW.
46542 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
46544         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46546         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46547         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46548         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46549         * sysdeps/i386/i686/fpu/e_log.S: New file.
46550         * sysdeps/i386/i686/fpu/e_logf.S: New file.
46551         * sysdeps/i386/i686/fpu/e_logl.S: New file.
46553         * ctype/ctype.h: Add support for inlined isXXX functions when
46554         compiling C++ code.
46556 2011-10-14  Andreas Schwab  <schwab@redhat.com>
46558         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46560         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46562 2011-10-13  Roland McGrath  <roland@hack.frob.com>
46564         [BZ #13291]
46565         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46567 2011-10-13  Andreas Schwab  <schwab@redhat.com>
46569         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46570         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46571         feraiseexcept.
46573         * sysdeps/x86_64/memrchr.S: Check for zero size.
46575         * string/stratcliff.c: Add memrchr tests.
46577 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46580         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46581         rawmemchr-sse2 rawmemchr-sse2-bsf.
46582         * sysdeps/i386/i686/multiarch/memchr.S: New file.
46583         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46584         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46585         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46586         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46587         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46588         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46589         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46590         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46591         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46592         * string/memrchr.c (MEMRCHR): New macro.
46594 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
46596         Add integration with gcc's -ffinite-math-only and optimize wrapper
46597         functions in libm.
46598         * Versions.def: Define GLIBC_2.15 version for libm.
46599         * math/Makefile (headers): Add bits/math-finite.h.
46600         * math/bits/math-finite.h: New file.
46601         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46602         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46603         * math/e_acoshl.c: Add __*_finite alias.
46604         * math/e_acosl.c: Likewise.
46605         * math/e_asinl.c: Likewise.
46606         * math/e_atan2l.c: Likewise.
46607         * math/e_atanhl.c: Likewise.
46608         * math/e_coshl.c: Likewise.
46609         * math/e_exp10.c: Likewise.
46610         * math/e_exp10f.c: Likewise.
46611         * math/e_exp10l.c: Likewise.
46612         * math/e_exp2l.c: Likewise.
46613         * math/e_fmodl.c: Likewise.
46614         * math/e_gammal_r.c: Likewise.
46615         * math/e_hypotl.c: Likewise.
46616         * math/e_j0l.c: Likewise.
46617         * math/e_j1l.c: Likewise.
46618         * math/e_jnl.c: Likewise.
46619         * math/e_lgammal_r.c: Likewise.
46620         * math/e_log10l.c: Likewise.
46621         * math/e_log2l.c: Likewise.
46622         * math/e_logl.c: Likewise.
46623         * math/e_powl.c: Likewise.
46624         * math/e_sinhl.c: Likewise.
46625         * math/e_sqrtl.c: Likewise.
46626         * math/e_scalb.c: Completely rewritten and optimized.
46627         * math/e_scalbf.c: Likewise.
46628         * math/e_scalbl.c: Likewise.
46629         * math/w_acos.c: Likewise.
46630         * math/w_acosf.c: Likewise.
46631         * math/w_acosl.c: Likewise.
46632         * math/w_acosh.c: Likewise.
46633         * math/w_acoshf.c: Likewise.
46634         * math/w_acoshl.c: Likewise.
46635         * math/w_asin.c: Likewise.
46636         * math/w_asinf.c: Likewise.
46637         * math/w_asinl.c: Likewise.
46638         * math/w_atan2.c: Likewise.
46639         * math/w_atan2f.c: Likewise.
46640         * math/w_atan2l.c: Likewise.
46641         * math/w_atanh.c: Likewise.
46642         * math/w_atanhf.c: Likewise.
46643         * math/w_atanhl.c: Likewise.
46644         * math/w_exp10.c: Likewise.
46645         * math/w_exp10f.c: Likewise.
46646         * math/w_exp10l.c: Likewise.
46647         * math/w_fmod.c: Likewise.
46648         * math/w_fmodf.c: Likewise.
46649         * math/w_fmodl.c: Likewise.
46650         * math/w_j0.c: Likewise.
46651         * math/w_j0f.c: Likewise.
46652         * math/w_j0l.c: Likewise.
46653         * math/w_j1.c: Likewise.
46654         * math/w_j1f.c: Likewise.
46655         * math/w_j1l.c: Likewise.
46656         * math/w_jn.c: Likewise.
46657         * math/w_jnf.c: Likewise.
46658         * math/w_log.c: Likewise.
46659         * math/w_logf.c: Likewise.
46660         * math/w_logl.c: Likewise.
46661         * math/w_log10.c: Likewise.
46662         * math/w_log10f.c: Likewise.
46663         * math/w_log10l.c: Likewise.
46664         * math/w_log2.c: Likewise.
46665         * math/w_log2f.c: Likewise.
46666         * math/w_log2l.c: Likewise.
46667         * math/w_pow.c: Likewise.
46668         * math/w_powf.c: Likewise.
46669         * math/w_powl.c: Likewise.
46670         * math/w_remainder.c: Likewise.
46671         * math/w_remainderf.c: Likewise.
46672         * math/w_remainderl.c: Likewise.
46673         * math/w_scalb.c: Likewise.
46674         * math/w_scalbf.c: Likewise.
46675         * math/w_scalbl.c: Likewise.
46676         * math/w_sqrt.c: Likewise.
46677         * math/w_sqrtf.c: Likewise.
46678         * math/w_sqrtl.c: Likewise.
46679         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46680         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
46681         used.
46682         * math/math_private.h: Declare __kernel_standard_f.
46683         * math/w_cosh.c: Remove cruft and optimize a bit.
46684         * math/w_coshf.c: Likewise.
46685         * math/w_coshl.c: Likewise.
46686         * math/w_exp2.c: Likewise.
46687         * math/w_exp2f.c: Likewise.
46688         * math/w_exp2l.c: Likewise.
46689         * math/w_hypot.c: Likewise.
46690         * math/w_hypotf.c: Likewise.
46691         * math/w_hypotl.c: Likewise.
46692         * math/w_lgamma.c: Likewise.
46693         * math/w_lgamma_r.c: Likewise.
46694         * math/w_lgammaf.c: Likewise.
46695         * math/w_lgammaf_r.c: Likewise.
46696         * math/w_lgammal.c: Likewise.
46697         * math/w_lgammal_r.c: Likewise.
46698         * math/w_sinh.c: Likewise.
46699         * math/w_sinhf.c: Likewise.
46700         * math/w_sinhl.c: Likewise.
46701         * math/w_tgamma.c: Likewise.
46702         * math/w_tgammaf.c: Likewise.
46703         * math/w_tgammal.c: Likewise.
46704         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46705         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46706         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46707         Minor optimizations.  Pretty printing.  Remove cruft.
46708         * sysdeps/i386/fpu/e_acosf.S: Likewise.
46709         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46710         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46711         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46712         * sysdeps/i386/fpu/e_acosl.c: Likewise.
46713         * sysdeps/i386/fpu/e_asin.S: Likewise.
46714         * sysdeps/i386/fpu/e_asinf.S: Likewise.
46715         * sysdeps/i386/fpu/e_atan2.S: Likewise.
46716         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46717         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46718         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46719         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46720         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46721         * sysdeps/i386/fpu/e_exp10.S: Likewise.
46722         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46723         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46724         * sysdeps/i386/fpu/e_exp2.S: Likewise.
46725         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46726         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46727         * sysdeps/i386/fpu/e_fmod.S: Likewise.
46728         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46729         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46730         * sysdeps/i386/fpu/e_hypot.S: Likewise.
46731         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46732         * sysdeps/i386/fpu/e_log.S: Likewise.
46733         * sysdeps/i386/fpu/e_log10.S: Likewise.
46734         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46735         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46736         * sysdeps/i386/fpu/e_log2.S: Likewise.
46737         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46738         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46739         * sysdeps/i386/fpu/e_logf.S: Likewise.
46740         * sysdeps/i386/fpu/e_logl.S: Likewise.
46741         * sysdeps/i386/fpu/e_pow.S: Likewise.
46742         * sysdeps/i386/fpu/e_powf.S: Likewise.
46743         * sysdeps/i386/fpu/e_powl.S: Likewise.
46744         * sysdeps/i386/fpu/e_remainder.S: Likewise.
46745         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46746         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46747         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46748         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46749         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46750         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46751         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46752         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46753         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46754         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46756         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46757         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46758         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46759         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46760         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46761         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46762         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46763         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46766         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46767         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46768         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46769         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46770         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46771         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46772         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46773         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46774         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46775         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46776         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46777         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46778         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46779         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46780         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46781         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46782         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46783         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46784         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46785         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46786         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46787         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46788         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46789         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46790         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46791         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46792         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46793         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46794         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46795         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46796         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46797         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46798         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46799         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46800         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46801         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46802         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46803         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46804         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46805         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46806         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46807         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46808         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46809         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46810         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46811         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46812         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46813         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46814         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46815         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46816         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46817         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46818         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46819         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46820         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46821         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46822         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46823         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46824         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46825         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46826         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46827         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46828         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46829         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46830         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46831         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46832         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46833         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46834         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46835         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46836         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46837         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46838         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46839         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46840         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46841         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46842         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46843         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46844         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46845         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46846         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46847         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46848         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46849         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46850         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46851         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46852         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46853         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46854         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46855         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46856         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46857         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46858         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46859         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46860         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46861         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46862         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46863         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
46864         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46865         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46866         (__isnanf): Likewise.
46867         (__isinf_ns): Likewise.
46868         (__isinf_nsf): Likewise.
46869         (__finite): Likewise.
46870         (__finitef): Likewise.
46871         (__ieee754_sqrt): Define as macro.
46872         (__ieee754_sqrtf): Define as macro.
46873         (__ieee754_sqrtl): Define as macro.
46874         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46875         inlined copy.
46876         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46877         __FINITE_MATH_ONLY__ consistent.
46878         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46880 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
46882         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46883         of rawmemchr.
46885         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46887 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
46889         * po/ja.po: Update from translation team.
46891 2011-10-08  Roland McGrath  <roland@hack.frob.com>
46893         * locale/programs/locarchive.c (prepare_address_space): New function.
46894         (create_archive, enlarge_archive, open_archive): Use it.
46896         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46897         inside [SHARED], where it is used.
46899         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46901         * nss/getent.c (netgroup_keys): Remove unused variable.
46902         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46904 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
46906         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46907         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46908         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46909         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46910         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46911         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46912         * math/Makefile (libm-calls): Add s_isinf_ns.
46913         * math/divtc3.c: Use __isinf_nsl instead of isinf.
46914         * math/multc3.c: Likewise.
46915         * math/s_casin.c: Likewise.
46916         * math/s_casinf.c: Likewise.
46917         * math/s_casinl.c: Likewise.
46918         * math/s_ccos.c: Likewise.
46919         * math/s_ccosf.c: Likewise.
46920         * math/s_ccosl.c: Likewise.
46921         * math/s_ctan.c: Likewise.
46922         * math/s_ctanf.c: Likewise.
46923         * math/s_ctanh.c: Likewise.
46924         * math/s_ctanhf.c: Likewise.
46925         * math/s_ctanhl.c: Likewise.
46926         * math/s_ctanl.c: Likewise.
46927         * math/w_fmod.c: Likewise.
46928         * math/w_fmodf.c: Likewise.
46929         * math/w_fmodl.c: Likewise.
46930         * math/w_remainder.c: Likewise.
46931         * math/w_remainderf.c: Likewise.
46932         * math/w_remainderl.c: Likewise.
46933         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46934         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46935         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46936         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46937         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46938         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46939         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46940         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46942         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46943         of the number.
46944         * stdio-common/printf_fphex.c: Likewise.
46945         * stdio-common/printf_size.c: Likewise.
46947         * math/e_exp10.c: Include math_private.h using <...> not "...".
46948         * math/e_exp10f.c: Likewise.
46949         * math/e_exp10l.c: Likewise.
46950         * math/e_exp2l.c: Likewise.
46951         * math/e_j0l.c: Likewise.
46952         * math/e_j1l.c: Likewise.
46953         * math/e_jnl.c: Likewise.
46954         * math/e_lgammal_r.c: Likewise.
46955         * math/e_rem_pio2l.c: Likewise.
46956         * math/e_scalb.c: Likewise.
46957         * math/e_scalbf.c: Likewise.
46958         * math/e_scalbl.c: Likewise.
46959         * math/k_cosl.c: Likewise.
46960         * math/k_sinl.c: Likewise.
46961         * math/k_tanl.c: Likewise.
46962         * math/s_cacoshf.c: Likewise.
46963         * math/s_catan.c: Likewise.
46964         * math/s_catanf.c: Likewise.
46965         * math/s_catanh.c: Likewise.
46966         * math/s_catanhf.c: Likewise.
46967         * math/s_catanhl.c: Likewise.
46968         * math/s_catanl.c: Likewise.
46969         * math/s_ccosh.c: Likewise.
46970         * math/s_ccoshf.c: Likewise.
46971         * math/s_ccoshl.c: Likewise.
46972         * math/s_cexp.c: Likewise.
46973         * math/s_cexpf.c: Likewise.
46974         * math/s_cexpl.c: Likewise.
46975         * math/s_clog.c: Likewise.
46976         * math/s_clog10.c: Likewise.
46977         * math/s_clog10f.c: Likewise.
46978         * math/s_clog10l.c: Likewise.
46979         * math/s_clogf.c: Likewise.
46980         * math/s_clogl.c: Likewise.
46981         * math/s_csin.c: Likewise.
46982         * math/s_csinf.c: Likewise.
46983         * math/s_csinh.c: Likewise.
46984         * math/s_csinhf.c: Likewise.
46985         * math/s_csinhl.c: Likewise.
46986         * math/s_csinl.c: Likewise.
46987         * math/s_csqrt.c: Likewise.
46988         * math/s_csqrtf.c: Likewise.
46989         * math/s_csqrtl.c: Likewise.
46990         * math/s_ctan.c: Likewise.
46991         * math/s_ctanf.c: Likewise.
46992         * math/s_ctanh.c: Likewise.
46993         * math/s_ctanhf.c: Likewise.
46994         * math/s_ctanhl.c: Likewise.
46995         * math/s_ctanl.c: Likewise.
46996         * math/s_ldexp.c: Likewise.
46997         * math/s_ldexpf.c: Likewise.
46998         * math/s_ldexpl.c: Likewise.
46999         * math/s_significand.c: Likewise.
47000         * math/s_significandf.c: Likewise.
47001         * math/s_significandl.c: Likewise.
47002         * math/w_acos.c: Likewise.
47003         * math/w_acosf.c: Likewise.
47004         * math/w_acosh.c: Likewise.
47005         * math/w_acoshf.c: Likewise.
47006         * math/w_acoshl.c: Likewise.
47007         * math/w_acosl.c: Likewise.
47008         * math/w_asin.c: Likewise.
47009         * math/w_asinf.c: Likewise.
47010         * math/w_asinl.c: Likewise.
47011         * math/w_atan2.c: Likewise.
47012         * math/w_atan2f.c: Likewise.
47013         * math/w_atan2l.c: Likewise.
47014         * math/w_atanh.c: Likewise.
47015         * math/w_atanhf.c: Likewise.
47016         * math/w_atanhl.c: Likewise.
47017         * math/w_cosh.c: Likewise.
47018         * math/w_coshf.c: Likewise.
47019         * math/w_coshl.c: Likewise.
47020         * math/w_dremf.c: Likewise.
47021         * math/w_exp10.c: Likewise.
47022         * math/w_exp10f.c: Likewise.
47023         * math/w_exp10l.c: Likewise.
47024         * math/w_exp2.c: Likewise.
47025         * math/w_exp2f.c: Likewise.
47026         * math/w_fmod.c: Likewise.
47027         * math/w_fmodf.c: Likewise.
47028         * math/w_fmodl.c: Likewise.
47029         * math/w_hypot.c: Likewise.
47030         * math/w_hypotf.c: Likewise.
47031         * math/w_hypotl.c: Likewise.
47032         * math/w_j0.c: Likewise.
47033         * math/w_j0f.c: Likewise.
47034         * math/w_j0l.c: Likewise.
47035         * math/w_j1.c: Likewise.
47036         * math/w_j1f.c: Likewise.
47037         * math/w_j1l.c: Likewise.
47038         * math/w_jn.c: Likewise.
47039         * math/w_jnf.c: Likewise.
47040         * math/w_jnl.c: Likewise.
47041         * math/w_lgamma.c: Likewise.
47042         * math/w_lgamma_r.c: Likewise.
47043         * math/w_lgammaf.c: Likewise.
47044         * math/w_lgammaf_r.c: Likewise.
47045         * math/w_lgammal.c: Likewise.
47046         * math/w_lgammal_r.c: Likewise.
47047         * math/w_log.c: Likewise.
47048         * math/w_log10.c: Likewise.
47049         * math/w_log10f.c: Likewise.
47050         * math/w_log10l.c: Likewise.
47051         * math/w_log2.c: Likewise.
47052         * math/w_log2f.c: Likewise.
47053         * math/w_log2l.c: Likewise.
47054         * math/w_logf.c: Likewise.
47055         * math/w_logl.c: Likewise.
47056         * math/w_pow.c: Likewise.
47057         * math/w_powf.c: Likewise.
47058         * math/w_powl.c: Likewise.
47059         * math/w_remainder.c: Likewise.
47060         * math/w_remainderf.c: Likewise.
47061         * math/w_remainderl.c: Likewise.
47062         * math/w_scalb.c: Likewise.
47063         * math/w_scalbf.c: Likewise.
47064         * math/w_scalbl.c: Likewise.
47065         * math/w_sinh.c: Likewise.
47066         * math/w_sinhf.c: Likewise.
47067         * math/w_sinhl.c: Likewise.
47068         * math/w_sqrt.c: Likewise.
47069         * math/w_sqrtf.c: Likewise.
47070         * math/w_sqrtl.c: Likewise.
47071         * math/w_tgamma.c: Likewise.
47072         * math/w_tgammaf.c: Likewise.
47073         * math/w_tgammal.c: Likewise.
47075         * po/ja.po: Update from translation team.
47077 2011-09-29  Andreas Jaeger  <aj@suse.de>
47079         [BZ #13179]
47080         * sunrpc/netname.c (netname2host): Fix logic.
47082         [BZ #6779]
47083         [BZ #6783]
47084         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47085         correctly.
47086         * math/w_remainder.c (__remainder): Likewise.
47087         * math/w_remainderf.c (__remainderf): Likewise.
47088         * math/libm-test.inc (remainder_test): Add test cases.
47090 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47092         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47093         sdiv_qrnnd.
47095 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47097         * string/test-memcmp.c: Avoid unncessary #defines.
47098         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47100 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47102         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47103         Use new sse2 version for core i3 - i7 as it's faster
47104         than sse42 version.
47105         (bit_Prefer_PMINUB_for_stringop): New.
47106         * sysdeps/x86_64/rawmemchr.S: Update.
47107         Replace with faster SSE2 version.
47108         * sysdeps/x86_64/memrchr.S: New file.
47109         * sysdeps/x86_64/memchr.S: Update.
47110         Replace with faster SSE2 version.
47112 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47114         * elf/dl-load.c (lose): Add cast to avoid warning.
47116 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47118         * po/ca.po: Update from translation team.
47120         * inet/getnetgrent_r.c: Hook up nscd.
47121         * nscd/Makefile (routines): Add nscd_netgroup.
47122         (nscd-modules): Add netgroupcache.
47123         (CFLAGS-netgroupcache.c): Define.
47124         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47125         (cache_search): Add const to second parameter.
47126         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47127         INNETGR.
47128         (dbs): Add netgrdb entry.
47129         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47130         (verify_persistent_db): Handle netgrdb.
47131         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47132         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47133         GETFDNETGR.
47134         (netgroup_response_header): Define.
47135         (innetgroup_response_header): Define.
47136         (datahead): Add netgroup_response_header and innetgroup_response_header
47137         elements.
47138         * nscd/nscd.conf: Add entries for netgroup cache.
47139         * nscd/nscd.h (dbtype): Add netgrdb.
47140         (_PATH_NSCD_NETGROUP_DB): Define.
47141         (netgroup_iov_disabled): Declare.
47142         (xmalloc, xcalloc, xrealloc): Move declarations here.
47143         (cache_search): Adjust prototype.
47144         Add netgroup-related prototypes.
47145         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47146         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47147         (__nscd_innetgr): Declare.
47148         * nscd/selinux.c (perms): Use access_vector_t as element type and
47149         add netgroup-related initializers.
47150         * nscd/netgroupcache.c: New file.
47151         * nscd/nscd_netgroup.c: New file.
47152         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47153         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47154         For four parameters use innetgr.
47155         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47156         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47157         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47158         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47160         * nscd/connections.c (register_traced_file): Don't register file
47161         for disabled databases.
47163 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47165         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47167         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47168         from tree and freeing node.
47170 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47172         * nss/nsswitch.c (__nss_database_lookup): Handle
47173         nss_parse_service_list out of memory case.
47175 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47177         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47178         out of memory case.
47180 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47182         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47183         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47184         pass it down.
47185         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47186         elf_machine_rela, elf_machine_lazy_rel.
47187         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47188         (ELF_DYNAMIC_DO_REL): Likewise.
47189         (ELF_DYNAMIC_DO_RELA): Likewise.
47190         (ELF_DYNAMIC_RELOCATE): Likewise.
47191         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47192         to ELF_DYNAMIC_DO_REL.
47193         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47194         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47195         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47196         elf_machine_rela.
47197         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47198         skip_ifunc, don't call ifunc function if non-zero.
47199         (elf_machine_rela): Likewise.
47200         (elf_machine_lazy_rel): Likewise.
47201         (elf_machine_lazy_rela): Likewise.
47202         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47203         (elf_machine_lazy_rel): Likewise.
47204         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47205         Likewise.
47206         (elf_machine_lazy_rel): Likewise.
47207         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47208         Likewise.
47209         (elf_machine_lazy_rel): Likewise.
47210         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47211         (elf_machine_lazy_rel): Likewise.
47212         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47213         (elf_machine_lazy_rel): Likewise.
47214         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47215         (elf_machine_lazy_rel): Likewise.
47216         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47217         (elf_machine_lazy_rel): Likewise.
47218         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47219         (elf_machine_lazy_rel): Likewise.
47220         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47221         (elf_machine_lazy_rel): Likewise.
47223 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
47225         * nss/nss_files/files-init.c (_nss_files_init): Use static
47226         initialization for all the *_traced_file variables.
47228 2011-09-28  Andreas Schwab  <schwab@redhat.com>
47230         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47232 2011-09-27  Roland McGrath  <roland@hack.frob.com>
47234         [BZ #13226]
47235         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47237 2011-09-27  Andreas Schwab  <schwab@redhat.com>
47239         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47240         Reread the line before reparsing it.
47242 2011-09-26  Andreas Schwab  <schwab@redhat.com>
47244         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47246 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
47247             Maxim Kuvyrkov  <maxim@codesourcery.com>
47248             Joseph Myers  <joseph@codesourcery.com>
47250         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47251         if needed for __stack_chk_guard.
47253 2011-09-19  Roland McGrath  <roland@hack.frob.com>
47255         * sysdeps/posix/spawni.c (script_execute): Always define it.
47256         It will be optimized away if unused.
47257         (maybe_script_execute): New function.
47258         (__spawni): Call it.
47260         * Makerules: Don't include tls.make.
47261         (config-tls): Always set to thread.
47262         * tls.make.c: File removed.
47264 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
47266         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47267         * config.make.in (CPPFLAGS-config): New substituted variable.
47269 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47271         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47273         [BZ #13192]
47274         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47275         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47277 2011-09-15  Roland McGrath  <roland@hack.frob.com>
47279         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47280         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47281         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47282         (CALL_FAIL): Likewise.
47283         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47284         (CALL_FAIL): Macro removed.
47285         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47287 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47289         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47290         for __FINITE_MATH_ONLY__ == 1.
47292 2011-09-15  Andreas Schwab  <schwab@redhat.com>
47294         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47295         __ieee754_sqrt instead of sqrt.
47296         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47297         __ieee754_sqrtf instead of sqrtf.
47298         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47299         __floorf instead of floorf.
47300         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47301         __floorf, __truncf instead of floorf, truncf.
47303 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
47305         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47307         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47308         __extern_always_inline.
47309         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47310         32-bit.
47312 2011-09-14  Andreas Schwab  <schwab@redhat.com>
47314         * elf/rtld.c (dl_main): Also relocate in dependency order when
47315         doing symbol dependency testing.
47317 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
47319         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47320         Always define `refsym'.
47322 2011-09-13  Andreas Schwab  <schwab@redhat.com>
47324         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47325         (__FD_ELT): Renamed from __FDELT.
47326         * misc/bits/select2.h (__FD_ELT): Likewise.
47327         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47328         __FD_MASK instead of __FDELT, __FDMASK.
47329         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47330         Likewise.
47331         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47332         Likewise.
47334         * elf/Makefile (gen-ldd): Fix pattern.
47336         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47337         (init_tls): Likewise.
47339 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
47341         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47343 2011-09-12  Andreas Schwab  <schwab@redhat.com>
47345         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47346         `struct cmsghdr *' instead of `void *'.
47347         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47348         Likewise.
47350 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
47352         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47353         if non-absolute.
47354         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47355         ldd_rewrite_script.
47357 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
47359         * configure.in: Remove --with-tls option.
47360         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47361         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47362         out in case it is missing.
47363         * sysdeps/ia64/elf/configure.in: Likewise.
47364         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47365         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47366         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47367         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47368         * sysdeps/sh/elf/configure.in: Likewise.
47369         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47370         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47371         * sysdeps/x86_64/elf/configure.in: Likewise.
47372         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47373         * sysdeps/mach/hurd/tls.h: Likewise.
47375         [BZ #13067]
47376         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47378         [BZ #13090]
47379         * configure.in: Fix use of AC_INIT.
47381         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47383 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
47385         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47386         __set_errno.
47387         * malloc/hooks.c: Likewise.
47389         [BZ #11929]
47390         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
47391         variables statically.
47392         (narenas): Initialize.
47393         (list_lock): Initialize.
47394         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
47395         initializtion of main_arena and list_lock.  Small cleanups.
47396         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47397         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
47398         Add initializers to main_arena and mp_.
47399         (malloc_state): Remove pagesize member.  Change all users to use
47400         GLRO(dl_pagesize).
47402         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47403         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
47404         is always initialized.
47406         * malloc/malloc.c: Removed unused configurations and dead code.
47407         * malloc/arena.c: Likewise.
47408         * malloc/hooks.c: Likewise.
47409         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47411         * include/tls.h: Removed.  USE___THREAD must always be defined.
47412         * bits/libc-tsd.h: Don't handle !USE___THREAD.
47413         * elf/dl-libc.c: Likewise.
47414         * elf/dl-tsd.c: Likewise.
47415         * include/errno.h: Likewise.
47416         * include/netdb.h: Likewise.
47417         * include/resolv.h: Likewise.
47418         * inet/herrno-loc.c: Likewise.
47419         * inet/herrno.c: Likewise.
47420         * malloc/arena.c: Likewise.
47421         * malloc/hooks.c: Likewise.
47422         * malloc/malloc.c: Likewise.
47423         * resolv/res-state.c: Likewise.
47424         * resolv/res_libc.c: Likewise.
47425         * sysdeps/i386/dl-machine.h: Likewise.
47426         * sysdeps/ia64/dl-machine.h: Likewise.
47427         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47428         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47429         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47430         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47431         * sysdeps/sh/dl-machine.h: Likewise.
47432         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47433         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47434         * sysdeps/unix/i386/sysdep.S: Likewise.
47435         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47436         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47437         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47438         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47439         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47441         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47444         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47445         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47446         * sysdeps/x86_64/dl-machine.h: Likewise.
47447         * tls.make.c: Likewise.
47449         * configure.in: Remove --with-__thread option.  Make tests for
47450         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47451         tls_model attribute fail if no support is available.  Remove
47452         USE_IN_LIBIO.
47453         * Makeconfig: Adjust for dropped configure option.  All features are
47454         now mandatory.
47455         * Makerules: Likewise.
47456         * Versions.def: Likewise.
47457         * argp/argp-fmtstream.c: Likewise.
47458         * argp/argp-fmtstream.h: Likewise.
47459         * argp/argp-help.c: Likewise.
47460         * assert/assert.c: Likewise.
47461         * config.h.in: Likewise.
47462         * config.make.in: Likewise.
47463         * configure: Likewise.
47464         * configure.in: Likewise.
47465         * csu/Versions: Likewise.
47466         * csu/init.c: Likewise.
47467         * elf/tst-audit2.c: Likewise.
47468         * elf/tst-tls10.c: Likewise.
47469         * elf/tst-tls10.h: Likewise.
47470         * elf/tst-tls11.c: Likewise.
47471         * elf/tst-tls12.c: Likewise.
47472         * elf/tst-tls14.c: Likewise.
47473         * elf/tst-tlsmod11.c: Likewise.
47474         * elf/tst-tlsmod12.c: Likewise.
47475         * elf/tst-tlsmod13.c: Likewise.
47476         * elf/tst-tlsmod13a.c: Likewise.
47477         * elf/tst-tlsmod14a.c: Likewise.
47478         * elf/tst-tlsmod15b.c: Likewise.
47479         * elf/tst-tlsmod16a.c: Likewise.
47480         * elf/tst-tlsmod16b.c: Likewise.
47481         * elf/tst-tlsmod7.c: Likewise.
47482         * elf/tst-tlsmod8.c: Likewise.
47483         * elf/tst-tlsmod9.c: Likewise.
47484         * gmon/gmon.c: Likewise.
47485         * grp/fgetgrent_r.c: Likewise.
47486         * grp/putgrent.c: Likewise.
47487         * hurd/fopenport.c: Likewise.
47488         * include/libc-symbols.h: Likewise.
47489         * include/tls.h: Likewise.
47490         * intl/gettextP.h: Likewise.
47491         * intl/loadinfo.h: Likewise.
47492         * locale/global-locale.c: Likewise.
47493         * locale/localeinfo.h: Likewise.
47494         * mach/devstream.c: Likewise.
47495         * malloc/arena.c: Likewise.
47496         * malloc/set-freeres.c: Likewise.
47497         * misc/err.c: Likewise.
47498         * misc/getttyent.c: Likewise.
47499         * misc/mntent_r.c: Likewise.
47500         * posix/getopt.c: Likewise.
47501         * posix/wordexp.c: Likewise.
47502         * pwd/fgetpwent_r.c: Likewise.
47503         * resolv/Versions: Likewise.
47504         * resolv/res_hconf.c: Likewise.
47505         * shadow/fgetspent_r.c: Likewise.
47506         * shadow/putspent.c: Likewise.
47507         * stdio-common/printf_fphex.c: Likewise.
47508         * stdio-common/tmpfile.c: Likewise.
47509         * stdlib/abort.c: Likewise.
47510         * stdlib/fmtmsg.c: Likewise.
47511         * sunrpc/auth_unix.c: Likewise.
47512         * sunrpc/clnt_perr.c: Likewise.
47513         * sunrpc/clnt_tcp.c: Likewise.
47514         * sunrpc/clnt_udp.c: Likewise.
47515         * sunrpc/clnt_unix.c: Likewise.
47516         * sunrpc/openchild.c: Likewise.
47517         * sunrpc/svc_simple.c: Likewise.
47518         * sunrpc/svc_tcp.c: Likewise.
47519         * sunrpc/svc_udp.c: Likewise.
47520         * sunrpc/svc_unix.c: Likewise.
47521         * sunrpc/xdr.c: Likewise.
47522         * sunrpc/xdr_array.c: Likewise.
47523         * sunrpc/xdr_rec.c: Likewise.
47524         * sunrpc/xdr_ref.c: Likewise.
47525         * sunrpc/xdr_stdio.c: Likewise.
47527 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47529         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47531 2011-07-03  Andreas Jaeger  <aj@suse.de>
47533         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47534         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47535         regenerate with gen-libm-tests.pl.
47537 2010-05-12  Petr Baudis  <pasky@suse.cz>
47539         [BZ #11589]
47540         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47541         around j0() zero points by switching to j1().
47542         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47543         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47544         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47545         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47547 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47549         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47550         instead of 0.
47551         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47552         instead of 0.
47553         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47554         Patch in part by Pavel Roskin <proski@gnu.org>.
47556         [BZ #13138]
47557         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47558         realloc.
47559         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
47560         Free memory block if necessary.
47562         [BZ #12847]
47563         * libio/genops.c (INTDEF): For string streams the _lock pointer can
47564         be NULL.  Don't lock in this case.
47566 2011-09-09  Roland McGrath  <roland@hack.frob.com>
47568         * elf/elf.h (ELFOSABI_GNU): New macro.
47569         (ELFOSABI_LINUX): Define to that.
47571 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
47573         * string/strncat.c (strncat): Undef the symbol in case it has been
47574         defined in bits/string.h.
47576 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47578         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47580         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47581         link map.
47583 2011-08-17  Andreas Jaeger  <aj@suse.de>
47585         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47587 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47588             Ian Lance Taylor  <iant@google.com>
47590         * math/libm-test.inc (lround_test): New testcase.
47591         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47593 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
47595         * Makefile: Remove support for automatic cvs check-ins.
47596         * Makerules: Likewise.
47597         * config.make.in: Likewise.
47598         * configure.in: Likewise.
47599         * intl/Makefile: Likewise.
47600         * locale/Makefile: Likewise.
47601         * po/Makefile: Likewise.
47602         * posix/Makefile: Likewise.
47603         * sysdeps/gnu/Makefile: Likewise.
47604         * sysdeps/mach/hurd/Makefile: Likewise.
47605         * sysdeps/sparc/sparc32/Makefile: Likewise.
47607         [BZ #13118]
47608         * posix/Makefile (bug-regex32-ENV): Define.
47609         Patch by John Stanley <jpsinthemix@verizon.net>.
47611         * misc/Makefile (headers): Add bits/select2.h.
47612         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47613         * misc/bits/select2.h: New file.
47614         * include/bits/select2.h: New file.
47615         * debug/Makefile (routines): Add fdelt_chk.
47616         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47617         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47618         FD_ISSET.
47619         * debug/fdelt_chk.c: New file.
47621         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
47622         * wcsmbs/test-wmemcmp.c: Likewise.
47623         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47624         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47626 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47628         * string/Makefile (strop-tests): Add memcmp.
47629         * string/test-wmemcmp.c: New file.
47630         * string/test-memcmp.c: Add wmemcmp support.
47632 2011-09-08  Roland McGrath  <roland@hack.frob.com>
47634         [BZ #13153]
47635         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47636         2011-07-19 change.
47638         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47639         garbage value in a __mach_port_mod_refs call in the cases of the
47640         task-self and thread-self ports.
47642 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47644         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47646 2011-09-08  Andreas Schwab  <schwab@redhat.com>
47648         * elf/dl-load.c (lose): Check for non-null L.
47650 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47652         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47654         * elf/dl-libc.c (dlerror_run): Pass back error code from
47655         dl_catch_error.
47657         [BZ #13123]
47658         * elf/dl-load.c (lose): Free l_origin if it is valid.
47660         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47661         names.
47662         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47663         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47664         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47665         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47666         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47667         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47669 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47671         * sysdeps/powerpc/fpu/e_hypot.c: New file.
47672         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47673         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47674         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47675         * sysdeps/powerpc/fpu/k_cosf.c: New file.
47676         * sysdeps/powerpc/fpu/k_sinf.c: New file.
47677         * sysdeps/powerpc/fpu/s_cosf.c: New file.
47678         * sysdeps/powerpc/fpu/s_sinf.c: New file.
47679         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47680         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47682 2011-08-15  Alan Modra  <amodra@gmail.com>
47684         [BZ #13092]
47685         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47686         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47687         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
47688         ppc_mcount to static-only-routines.
47689         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47690         __mcount_internal.
47691         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47692         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
47694 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
47696         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47697         for finite and infinity parameters.
47699 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47701         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47702         and add nop instructions for throughput optimization.
47703         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47705 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
47707         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47708         aligned copy for power7 with vector-scalar instructions.
47709         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47711 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
47713         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47714         AVX check.
47716 2011-09-07  Andreas Schwab  <schwab@redhat.com>
47718         [BZ #13144]
47719         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47720         last change.
47722 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47724         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47725         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47726         syscall wrapper around clock_gettime in __vdso_clock_gettime.
47727         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47728         clock_gettime.
47730 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47732         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47733         Forgot to demangle the pointer.
47735         * sysdeps/i386/sysdep.h: Define atom_text_section.
47736         * sysdeps/x86_64/sysdep.h: Likewise.
47737         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47738         section with atom_text_section.
47739         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47740         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47741         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47742         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47743         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47745         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47746         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47747         already be defined.  Change to take two parameters and don't assign
47748         result to variable.  Adjust all users.
47749         Define INTERNAL_GETTIME if not already defined.
47750         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47751         call.
47752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47753         HAVE_CLOCK_GETTIME_VSYSCALL.
47754         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47756         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47757         gettimeofday vsyscall, just use time.
47759 2011-09-06  Andreas Schwab  <schwab@redhat.com>
47761         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47762         <errno.h>.
47764 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47766         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47767         syscall on x86-64.
47768         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47769         syscall.
47770         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47771         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47772         syscall if possible.
47774 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47776         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47777         e_ident.  Don't pass to find_mapsXX.
47778         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47780 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47783         strchr-sse2-no-bsf strrchr-sse2-no-bsf
47784         * sysdeps/x86_64/multiarch/strchr.S: Update.
47785         Check bit_slow_BSF bit.
47786         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47787         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47788         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47790 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47792         [BZ #13134]
47793         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47794         before glibc 2.15.
47795         (tryshell): Define.
47796         (__spawni): Change last parameter to be flag.  Test
47797         SPAWN_XFLAGS_USE_PATH flag to use path or not.
47798         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47799         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47800         * posix/spawni.c: Likewise.
47801         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47802         * posix/spawnp.c: Likewise.  Change normal version to use
47803         SPAWN_XFLAGS_USE_PATH.
47804         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47805         SPAWN_XFLAGS_TRY_SHELL.
47807         [BZ #13150]
47808         * posix/glob.h: Remove gcc 1.x support.
47810         [BZ #13068]
47811         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47813 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47815         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47816         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47817         strrchr-sse2-bsf
47818         * sysdeps/i386/i686/multiarch/strchr.S: New file.
47819         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47820         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47821         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47822         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47823         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47825 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47827         * sysdeps/x86_64/wcscmp.S: New file.
47829         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47830         wcscmp-c wcscmp-sse2
47831         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47832         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47833         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47834         * wcsmbs/wcscmp.c: Allow renaming.
47836 2011-09-05  David S. Miller  <davem@davemloft.net>
47838         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47839         stack slot, rather than the struct return pointer slot.
47840         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47841         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47843         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47845 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47847         * po/ja.po: Update from translation team.
47849         [BZ #13144]
47850         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47851         kernel in 64-bit binaries.
47853 2011-09-01  David S. Miller  <davem@davemloft.net>
47855         * elf/elf.h (HWCAP_SPARC_*): Move to..
47856         * sysdeps/sparc/sysdep.h: this new file and add new values.
47857         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47858         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47859         _DL_HWCAP_COUNT to 24.
47860         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47861         entries.
47862         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47863         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47864         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47865         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47866         instead of magic constants.
47867         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47869 2011-08-31  David S. Miller  <davem@davemloft.net>
47871         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47872         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47873         Reimplement to do errno handling inline.
47874         (SYSCALL_ERROR_HANDLER): New macro.
47875         (__SYSCALL_STRING): Do not do errno handling in asm.
47876         (__CLONE_SYSCALL_STRING): Delete.
47877         (__INTERNAL_SYSCALL_STRING): Delete.
47878         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47879         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47880         (PSEUDO): Reimplement to do errno handling inline.
47881         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47882         (SYSCALL_ERROR_HANDLER): New macro.
47883         (__SYSCALL_STRING): Do not do errno handling in asm.
47884         (__CLONE_SYSCALL_STRING): Delete.
47885         (__INTERNAL_SYSCALL_STRING): Delete.
47886         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47887         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47888         i386.
47889         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47890         (inline_syscall*): Add 'err' argument.
47891         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47892         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47893         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47894         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47896         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47897         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47899 2011-08-30  Andreas Schwab  <schwab@redhat.com>
47901         * elf/rtld.c (dl_main): Relocate objects in dependency order.
47903 2011-08-29  Jiri Olsa <jolsa@redhat.com>
47905         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47906         directive.
47908 2011-08-24  David S. Miller  <davem@davemloft.net>
47910         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47912 2011-08-24  Andreas Schwab  <schwab@redhat.com>
47914         * elf/Makefile: Add rules to build and run unload8 test.
47915         * elf/unload8.c: New file.
47916         * elf/unload8mod1.c: New file.
47917         * elf/unload8mod1x.c: New file.
47918         * elf/unload8mod2.c: New file.
47919         * elf/unload8mod3.c: New file.
47921         * elf/dl-close.c (_dl_close_worker): Reset private search list if
47922         it wasn't used.
47924 2011-08-23  David S. Miller  <davem@davemloft.net>
47926         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47927         subtract stack bias.
47928         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47929         %sp not %fp in calculations.
47930         (_JMPBUF_UNWINDS_ADJ): Likewise.
47932         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47933         (aio_suspend): Call it to force an exception region around the
47934         AIO_MISC_WAIT() invocation.
47936 2011-08-23  Andreas Schwab  <schwab@redhat.com>
47938         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47939         backslash.
47941 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
47943         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47944         protection macro.
47945         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47946         and <dl-machine.h>.
47947         (Elf64_FuncDesc): Remove.
47949 2011-08-22  David S. Miller  <davem@davemloft.net>
47951         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47952         sigaltstack check, add missing cfi directives.
47953         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47954         missing cfi directives, and sigaltstack handling.
47956 2011-08-16  Andreas Schwab  <schwab@redhat.com>
47958         [BZ #11724]
47959         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47960         object is seen twice.
47961         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47963         * elf/Makefile (distribute): Add tst-initorder2.c.
47964         (tests): Add tst-initorder2.
47965         (modules-names): Add tst-initorder2a tst-initorder2b
47966         tst-initorder2c tst-initorder2d.  Add rules to build them.
47967         ($(objpfx)tst-initorder2.out): New rule.
47968         * elf/tst-initorder2.c: New file.
47969         * elf/tst-initorder2.exp: New file.
47971 2011-08-22  Andreas Schwab  <schwab@redhat.com>
47973         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47975         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47976         dependencies back to end of function.
47978         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47979         $(elfobjdir)/ld.so.
47981 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
47983         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47984         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47985         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47986         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47987         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47988         of __vdso_gettimeofday.
47989         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47990         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
47991         attribute_hidden.
47992         (_libc_vdso_platform_setup): Remove initialization of
47993         __vdso_gettimeofday and __vdso_time.
47995 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47997         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47998         and fgetc_unlocked.
47999         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48000         getc_unlocked.
48002         * elf/dl-open.c (add_to_global): Report additions to the global scope
48003         for LD_DEBUG=scopes.
48004         (dl_open_worker): Also print scope of newly loaded dependencies.
48005         (_dl_show_scope): Indicate if there is no scope.
48007         [BZ #13114]
48008         * stdio-common/Makefile (tests): Add bug24.
48009         * stdio-common/bug24.c: New file.
48011 2011-08-19  Andreas Jaeger  <aj@suse.de>
48013         [BZ #13114]
48014         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48015         non-existant file when using close-on-exec mode.
48017 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48019         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48020         the very first instruction.
48022         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48023         the CFI state in the end.
48024         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48025         inclusion of dl-trampoline.h.
48026         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48028 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48030         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48031         expectations for long double.
48033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48034         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48036 2011-08-14  David S. Miller  <davem@davemloft.net>
48038         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48039         artificual limit depends upon the system page size.
48041 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48043         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48044         * resolv/Makefile: Define CFLAGS-libresolv.
48046 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48048         * nss/makedb.c (compute_tables): Make variables used in nested
48049         function static.
48051 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48053         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48054         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48055         if buffer was too small.
48057         * elf/pldd.c (main): Attach to all threads in the process.
48058         Rewrite /proc handling to use *at functions.
48060 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48062         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48063         specifies first scope to show.
48064         (dl_open_worker): Update callers.  Move printing scope of new
48065         object to before the relocation.
48066         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48067         * sysdeps/generic/ldsodefs.h: Update declaration.
48069         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48070         string for the scope number.
48072 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48074         * nscd/servicescache.c (cache_addserv): Make sure written is always
48075         initialized.
48077 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48079         * sysdeps/i386/i486/bits/atomic.h
48080         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48081         statement expression, so as to suppress "set but not used" warning.
48082         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48084         * string/strncat.c (STRNCAT): Use prototype definition.
48086         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48087         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48088         -Iprograms here.
48089         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48090         (localedef-modules): Add localedef.
48091         (locale-modules): Add locale.
48093         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48094         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48095         to avoid a warning.
48097 2011-08-14  David S. Miller  <davem@davemloft.net>
48099         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48100         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48102 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48104         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48105         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48106         * elf/rtld.c (dl_main): Set l_name of vDSO.
48107         Call _dl_show_scope when DL_DEBUG_SCOPES.
48108         (process_dl_debug): Recognize scopes flag and also set it for all.
48109         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48110         Declare _dl_show_scope.
48112         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48113         (do_dlopen): Pass caller_dlopen to dl_open.
48114         (__libc_dlopen_mode): Initialize caller_dlopen.
48116         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48117         of libc.  Make tolower call locale-independent.  Optimize a bit by
48118         using isdigit instead of isalnum.
48119         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48121 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48123         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48124         was a dependency or dynamically loaded.
48126 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48128         * intl/l10nflist.c: Allow architecture-specific pop function.
48129         * sysdeps/x86_64/l10nflist.c: New file.
48131         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48132         classification.
48134 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48136         * include/dirent.h: Add libc_hidden_proto for scandirat and
48137         scandirat64.  Don't declare __scandirat64.
48138         * dirent/scandirat.c: Add libc_hidden_def.
48139         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48140         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48142 2011-08-10  David S. Miller  <davem@davemloft.net>
48144         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48145         enum.
48146         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48147         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48148         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48150 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48152         * Versions.def [libc]: Add GLIBC_2.15.
48153         * dirent/Makefile (routines): Add scandirat and scandirat64.
48154         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48155         GLIBC_2.15.
48156         * dirent/dirent.h: Declare scandirat and scandirat64.
48157         * dirent/scandirat.c: New file.
48158         * dirent/scandirat64.c: New file.
48159         * sysdeps/wordsize-64/scandirat.c: New file.
48160         * sysdeps/wordsize-64/scandirat64.c: New file.
48161         * dirent/opendir.c: Define opendirat.
48162         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48163         using scandirat.
48164         * dirent/scandir64.c: Adjust for scandir.c change.
48165         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48166         __scandirat64, and __scandir_cancel_handler.
48167         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48168         additional parameter and use openat instead of open (outside of ld.so).
48169         Add new __opendir as wrapper around __opendirat.
48170         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48171         here without requiring old scandirat implementation.
48173 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48175         * dirent/scandir.c (cancel_handler): Renamed to
48176         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48177         defined.  Adjust users.
48178         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48179         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48181 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48183         * string/test-string.h (IMPL): Use __STRING to expand name and then
48184         stringify it.
48186         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48187         of cleanups.
48189 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48191         * string/Makefile: Update.
48192         (strop-tests): Append strncat.
48193         * string/test-wcscmp.c: New file.
48194         New comprehensive test for wcscmp.
48195         * string/test-strcmp.c: Update.
48196         (WIDE): New define.
48198 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48200         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48201         line.
48203 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48206         encoding to ACE if AI_IDN.
48208 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
48210         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48211         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48213 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48215         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48216         Fix overflow bug in strncat.
48217         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48219         * string/test-strncat.c: Update.
48220         Add new tests for checking overflow bugs.
48222 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48224         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48225         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48226         * sysdeps/i386/i686/multiarch/strcat.S: New file.
48227         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48228         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48229         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48230         * sysdeps/i386/i686/multiarch/strncat.S: New file.
48231         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48232         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48234         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48235         (USE_AS_STRCAT): Define.
48236         Add strcat and strncat support.
48237         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48239 2011-07-25  Andreas Schwab  <schwab@redhat.com>
48241         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48242         __n bigger than INT_MAX+1.
48243         (__strncmp_g): Likewise.
48245 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
48247         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48248         * libio/stido.h: Likewise.
48250         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48251         (AF_NFC): Define.
48252         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48253         (AF_NFC): Define.
48255         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48256         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48257         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48258         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48259         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48261         [BZ #13021]
48262         * scripts/test-installation.pl: Don't expect libnss_test1 to be
48263         installed.
48265         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48266         typo.
48267         (_dl_x86_64_save_sse): Likewise.
48269 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
48271         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48272         OSXSAVE.
48273         (_dl_x86_64_save_sse): Likewise.
48275         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48277         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48279 2011-07-21  Andreas Schwab  <schwab@redhat.com>
48281         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48282         change.
48283         (_dl_x86_64_save_sse): Use correct AVX check.
48285 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48287         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48288         bug in strncpy/strncat.
48289         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48291 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
48293         * string/tester.c (test_strcat): Add tests for different alignments
48294         of source and destination.
48295         (test_strncat): Likewise.
48297 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48299         [BZ #12852]
48300         * posix/glob.c (glob): Check passed in values before using them in
48301         expressions to avoid some overflows.
48302         (glob_in_dir): Likewise.
48304         [BZ #13007]
48305         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48306         check for AVX enablement so that we don't crash with old kernels and
48307         new hardware.
48308         * elf/tst-audit4.c: Add same checks here.
48309         * elf/tst-audit6.c: Likewise.
48311         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48313 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
48315         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48317 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48319         * po/cs.po: Update from translation team.
48320         * po/bg.po: Likewise.
48322 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
48324         * misc/sys/cdefs.h: Add support for const attribute.
48325         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48326         to gnu_dev_{major,minor,makedev} functions.
48328 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
48330         * intl/dcigettext.c (get_output_charset): Add missing bracket.
48332 2011-07-20  Andreas Schwab  <schwab@redhat.com>
48334         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48335         strlen results.
48337 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48339         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48340         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48341         register in order to avoid conflicts with the soft frame pointer
48342         being held in r11 when necessary.
48343         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48344         (INTERNAL_VSYSCALL_NCS): Likewise.
48346 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
48348         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48349         * elf/dl-fini.c (_dl_fini): Adjust caller.
48350         * elf/dl-close.c (_dl_close_worker): Likewise.
48351         * sysdeps/generic/ldsodefs.h: Adjust declaration.
48353 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48355         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48356         "aux_cache->nlibs < 0".
48358         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48359         in the reload-count case.
48361 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48363         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48364         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48365         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48366         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48367         * sysdeps/x86_64/multiarch/strcat.S: New file.
48368         * sysdeps/x86_64/multiarch/strncat.S: New file.
48369         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48370         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48371         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48372         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48373         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48374         (USE_AS_STRCAT): Define.
48375         Add strcat and strncat support.
48376         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48377         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48378         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48379         * string/strncat.c: Update.
48380         (USE_AS_STRNCAT): Define.
48381         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48382         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48383         and i7.
48384         * sysdeps/x86_64/multiarch/init-arch.h
48385         (bit_Prefer_PMINUB_for_stringop): New.
48386         (index_Prefer_PMINUB_for_stringop): Likewise.
48387         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48388         bit_Prefer_PMINUB_for_stringop.
48390 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48392         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48393         buffer64.
48394         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48395         of casting of buffer.
48396         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48397         buffer32 and buffer64.
48398         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48399         writes instead of casting of buffer.
48400         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48401         buffer32.
48402         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48403         casting of buffer.
48405 2011-07-19  Andreas Schwab  <schwab@redhat.com>
48407         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48409 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48411         * nscd/nscd.c (termination_handler): Don't do anything for a database
48412         if it has not yet been initialized.
48414 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48416         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48418 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48420         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48422 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48424         * po/nl.po: Update from translation team.
48425         * po/sv.po: Likewise.
48427 2011-07-16  Roland McGrath  <roland@hack.frob.com>
48429         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48430         now disallowed by GCC.
48432         * configure.in (use-default-link): Default to yes if a test -shared
48433         link meets our qualifications.
48434         * configure: Regenerated.
48436         * config.make.in (output-format): New variable.
48437         * configure.in: Check for ld --print-output-format support.
48438         * configure: Regenerated.
48439         * Makerules ($(common-objpfx)format.lds)
48440         [$(output-format) != unknown]: Just use $(output-format),
48441         instead of the linker-script munging.
48443 2011-07-14  Roland McGrath  <roland@hack.frob.com>
48445         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48446         of $(common-objpfx)shlib.lds.
48447         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48449         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48450         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48452         * configure.in (-z relro check): Adjust test code to add a large
48453         writable data section after it.
48454         * configure: Regenerated.
48456 2011-07-11  Roland McGrath  <roland@hack.frob.com>
48458         * configure.in (-z relro check): Fix test code to make the variable
48459         truly const.
48460         * configure: Regenerated.
48462 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
48464         * nscd/nscd.h (struct traced_file): Define.
48465         (struct database_dyn): Remove inotify_descr, reset_res, and filename
48466         elements.  Add traced_files.
48467         (inotify_fd): Declare.
48468         (register_traced_file): Declare.
48469         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48470         (inotify_fd): Export.
48471         (resolv_conf_descr): Remove.
48472         (nscd_init): Move inotify descriptor creation to main.
48473         Don't register files for notification here.
48474         (register_traced_file): New function.
48475         (invalidate_cache): Don't use reset_res to determine whether to call
48476         res_init, go through the list of registered files.
48477         (main_loop_poll): The inotify descriptors are now stored in the
48478         structures for the traced files.
48479         (main_loop_epoll): Likewise
48480         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
48481         to __nss_disable_nscd.
48482         * nscd/cache.c (prune_cache): There is no single inotify descriptor
48483         for a database anymore.  Check the records for all the registered
48484         files instead.
48485         * nss/Makefile (libnss_files-routines): Add files-init.
48486         (libnss_db-routines): Add db-init.
48487         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48488         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48489         * nss/nss_db/db-init.c: New file.
48490         * nss/nss_files/files-init.c: New file.
48491         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
48492         __nss_lookup_function.
48493         (__nss_lookup_function): Call nss_load_library.
48494         (nss_load_all_libraries): New function.
48495         (__nss_disable_nscd): Take parameter with callback function for files
48496         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
48497         used for the cached services.
48498         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48499         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48500         options for features to all the files in nscd.
48502         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48504 2011-07-10  Roland McGrath  <roland@hack.frob.com>
48506         * csu/elf-init.c (__libc_csu_init): Comment typo.
48508 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
48510         * po/pl.po: Update from translation team.
48511         * po/ja.po: Likewise.
48512         * po/ru.po: Likewise.
48513         * po/ko.po: Likewise.
48514         * po/fr.po: Likewise.
48516 2011-07-09  Roland McGrath  <roland@hack.frob.com>
48518         * configure.in (.ctors/.dtors header and trailer check):
48519         Use an empirical test on a built program.
48520         * configure: Regenerated.
48522         * configure.in (-z relro check): Use an empirical test on a built DSO.
48523         Detect, but do not require, on ia64.
48524         * configure: Regenerated.
48526         * configure.in (READELF): Find it with AC_CHECK_TOOL.
48527         Update tests that use readelf to use $READELF instead.
48528         * configure: Regenerated.
48530 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
48532         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48533         if the result is not used.
48535 2011-07-05  Andreas Jaeger  <aj@suse.de>
48537         [BZ#9696]
48538         * stdlib/tst-strtod.c: Add testcase.
48540 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
48542         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48543         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48544         The latter has a higher limit.  Take additional parameter to pass to
48545         the new function.
48546         (__pathconf): Pass file to __statfs_link_max.
48547         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48548         __statfs_link_max.
48549         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48550         __statfs_link_max.
48552         [BZ #12868]
48553         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48554         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48555         Handle Lustre.
48556         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48557         (__statfs_filesize_max): Likewise.
48558         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48560 2011-07-05  Andreas Jaeger  <aj@suse.de>
48562         * resolv/res_comp.c (dn_skipname): Remove unused variable.
48564 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
48566         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48567         `status' variable.
48568         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48569         Likewise.
48571 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
48573         * Makefile (strop-tests): Add strncat.
48574         * string/test-strncat.c: New file.
48576 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
48578         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48580 2011-06-21  Andreas Jaeger  <aj@suse.de>
48582         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48583         Copy rule from iconvdata/Makefile.
48585 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48587         [BZ #12922]
48588         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48589         but no long options are defined, just return 'W'.
48591 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
48593         [BZ #9696]
48594         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48596 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48598         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48599         netgroups to read.
48600         (innetgr): Likewise.
48602 2011-07-05  Roland McGrath  <roland@hack.frob.com>
48604         * config.make.in (install_root): Default to $(DESTDIR).
48606 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
48608         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48610 2011-07-02  Roland McGrath  <roland@hack.frob.com>
48612         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48614         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48615         containing directory rather than embedding absolute directory names.
48617         * scripts/check-local-headers.sh: Rewritten using awk.
48618         Match by word, not by line.  Print error messages for matches.
48619         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48621         * Makerules [shlib-lds-flags empty]:
48622         ($(common-objpfx)libc_pic.opts): New target.
48623         ($(common-objpfx)libc_pic.os.clean): New target.
48624         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48626         * config.make.in (OBJCOPY): New variable.
48627         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48628         * configure: Regenerated.
48630         * config.make.in (use-default-link): New variable.
48631         * configure.in (use_default_link): Grok --with-default-link to set it.
48632         * configure: Regenerated.
48633         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48634         (shlib-lds, shlib-lds-flags): Define to empty.
48636         * Makerules (shlib-lds): New variable.
48637         (shlib-lds-flags): New variable.
48638         (build-shlib, build-moduile, build-module-asneeded): Use it.
48639         ($(common-objpfx)libc.so): Use $(shlib-lds).
48640         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48641         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48643         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48644         DT_FLAGS/DT_FLAGS_1 with zero flags.
48646         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48647         linker script munging.
48649 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
48651         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48652         as 128-bit value.
48653         * crypt/sha512.c (sha512_process_block): Perform total addition using
48654         128-bit if possible.
48655         (__sha512_finish_ctx): Likewise.
48656         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48657         as 64-bit value.
48658         * crypt/sha256.c (SWAP64): Define.
48659         (sha256_process_block): Perform total addition using 64-bit if
48660         possible.
48661         (__sha256_finish_ctx): Likewise.
48663 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
48665         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
48666         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48667         * nscd/hstcache.c (cache_addhst): Likewise.
48668         * nscd/grpcache.c (cache_addgr): Likewise.
48669         * nscd/aicache.c (addhstaiX): Likewise
48670         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48672 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
48674         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48675         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48676         * nscd/hstcache.c (cache_addhst): Likewise.
48677         * nscd/grpcache.c (cache_addgr): Likewise.
48678         * nscd/aicache.c (addhstaiX): Likewise
48680 2011-07-01  Andreas Schwab  <schwab@redhat.com>
48682         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48683         domain only when needed.
48685 2011-06-30  Andreas Schwab  <schwab@redhat.com>
48687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48688         is always restored.
48690 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
48692         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48693         are re-adding the entry.
48694         * nscd/servicescache.c (cache_addserv): Likewise.
48696 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
48698         * sysdeps/generic/dl-irel.h: fix protection against multiple
48699         inclusions.
48700         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48702 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
48704         [BZ #12935]
48705         * malloc/memusage.sh: Fix quoting in message.
48706         * debug/xtrace.sh: Likewise.
48708         * configure.in: Remove support for --experimental-malloc option, make
48709         it the default.
48710         * config.make.in: Likewise.
48711         * malloc/Makefile: Likewise.
48713 2011-06-27  Andreas Schwab  <schwab@redhat.com>
48715         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48716         two-byte characters.
48718 2011-06-27  Roland McGrath  <roland@hack.frob.com>
48720         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48721         AC_CACHE_CHECK invocation.
48722         * configure: Regenerated.
48724         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48726 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
48728         [BZ #12350]
48729         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
48730         bit from old_res_options.
48732         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48734         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48735         value type for setfct.
48737 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
48739         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48740         __gettimeofday instead of gettimeofday.
48742 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
48744         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48746 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
48748         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48750         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48751         info.
48753 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48755         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48756         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48757         strcpy-sse2-unaligned strncpy-sse2-unaligned
48758         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48759         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48760         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48761         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48762         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48763         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48764         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48765         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48766         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48767         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48768         (STRCPY): Support SSE2 and SSSE3 versions.
48770 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
48772         [BZ #12874]
48773         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48774         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48775         kernels which artificially limit size of requests.
48777 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48779         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48780         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48781         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48782         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48783         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48784         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48785         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48786         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48787         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48788         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48789         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48790         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48791         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48792         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48793         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48795         Enable unaligned load optimization for Intel Core i3, i5 and i7
48796         processors.
48797         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48798         Define.
48799         (index_Fast_Unaligned_Load): Define.
48800         (HAS_FAST_UNALIGNED_LOAD): Define.
48802 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
48804         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48806 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48808         [BZ #12907]
48809         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48810         until it is clear that the information is realy needed.
48811         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48813 2011-06-22  Andreas Schwab  <schwab@redhat.com>
48815         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48817 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48819         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48820         /sys/devices/system/cpu/online if it is usable.
48822         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48823         reading the information from the /proc filesystem to once a second.
48825 2011-06-21  Andreas Jaeger  <aj@suse.de>
48827         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48828         NULL after inclusion of kernel headers.
48830 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
48832         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48833         calls to internal_setent.
48835         [BZ #12885]
48836         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48837         addresses using gethostbyname4_r ignore IPv4 addresses.
48839         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48840         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
48842         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48844 2011-06-20  David S. Miller  <davem@davemloft.net>
48846         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48847         inclusions.
48848         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48850         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48851         (elf_irel): Use it.
48852         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48853         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48854         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48855         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48856         * sysdeps/x86_64/dl-irel.h: Likewise.
48858         * elf/dl-runtime.c: Use elf_ifunc_invoke.
48859         * elf/dl-sym.c: Likewise.
48861 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48863         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
48864         need to dereference resplen2.
48866 2011-06-14  Andreas Schwab  <schwab@redhat.com>
48868         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48870 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48872         * Makeconfig: Define vardbdir and inst_vardbdir.
48873         * nss/Makefile: Add rules to install db-Makefile.
48875         * nss/nss_db/db-XXX.c: Cleanup.
48877         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48878         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48879         GLIBC_PRIVATE.
48880         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48881         * nss/makedb.c: Implement -g option to specify that value strings
48882         are generated and should not be added to table iterated over for
48883         get*ent calls.
48884         * nss/nss_db/db-initgroups.c: New file.
48886         * nss/getent.c: Add support for initgroups lookups through getgrouplist
48887         interface.
48889         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48890         (internal_getgrouplist): Adjust to name change.
48891         Update use_initgroups_entry if this is not the first call.
48892         * nss/databases.def: Add initgroups entry.
48894         * nss/makedb.c (compute_tables): Check result of multiple hash table
48895         sizes to minimize maximum chain length.
48897 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
48899         * Versions.def: Add entry for libnss_db.
48900         * shlib-versions: Likewise.
48901         * nss/Makefile: Add rules to build libnss_db.
48902         * nss/Versions: Add libnss_db information.  Organize libnss_files
48903         entries better.
48904         * nss/db-Makefile: Add gshadow support.  Change rules for the new
48905         makedb progra.  Some minor improvements to generate smaller files.
48906         * nss/nss_db/nss_db.h: Move NSS database header data structures to
48907         here from...
48908         * nss/makedb.c: ...here.
48909         Improve database format to be smaller and require less memory at
48910         runtime.
48911         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
48912         db anymore.
48913         * nss/nss_db/db-netgrp.c: Likewise.
48914         * nss/nss_db/db-open.c: Likewise.
48915         * nss/nss_files/flies-XXX.x: Adjust comments.
48916         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48917         * nss/nss_files/files-grp.c: Likewise.
48918         * nss/nss_files/files-hosts.c: Likewise.
48919         * nss/nss_files/files-network.c: Likewise.
48920         * nss/nss_files/files-proto.c: Likewise.
48921         * nss/nss_files/files-pwd.c: Likewise.
48922         * nss/nss_files/files-rpc.c: Likewise.
48923         * nss/nss_files/files-service.c: Likewise.
48924         * nss/nss_files/files-sgrp.c: Likewise.
48925         * nss/nss_files/files-spwd.c: Likewise.
48926         * nss/nss_db/db-alias.c: Removed.
48927         * nss/nss_db/dummy-db.h: Removed.
48929 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
48931         * nss/makedb.c: Rewritten to not use database library.
48932         * nss/Makefile: Update to build new makedb program.
48934 2011-06-14  Andreas Jaeger  <aj@suse.de>
48936         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48937         memset declaration.
48939 2011-06-10  Andreas Schwab  <schwab@redhat.com>
48941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48942         tmpbuf.
48944 2011-06-10  Roland McGrath  <roland@hack.frob.com>
48946         * Makerules (shlib.lds): Fail if the linker script comes out empty.
48947         * elf/Makefile ($(objpfx)ld.so): Likewise.
48949         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48950         Don't list ld.so twice in dependencies.
48952         * posix/bug-regex31.c: Include <stdlib.h>.
48954         * nscd/hstcache.c (cache_addhst): Remove unused variable.
48956         * nis/nss_compat/compat-spwd.c
48957         (getspent_next_nss_netgr): Remove unused variable.
48958         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48960         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48961         nonmembers" output to use the right array.
48963         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48965         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48967         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48968         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48969         * catgets/gencat.c (read_input_file): Likewise.
48970         * locale/programs/locarchive.c (enlarge_archive): Likewise.
48972         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48973         variable definition inside #if's controlling its use.
48975         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48977         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48979         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48981         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48982         unreachable code.
48984         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48986         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48987         * configure: Regenerated.
48989         * Makerules: Revert last change.
48990         * elf/Makefile: Likewise.
48992 2011-06-09  Roland McGrath  <roland@hack.frob.com>
48994         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48995         * elf/Makefile ($(objpfx)librtld.os): Likewise.
48996         (reloc-link): Likewise.
48998 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49000         * elf/Makefile: Add rules to build pldd.
49001         * elf/pldd.c: New file.
49002         * elf/pldd-xx.c: New file.
49004 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49006         * version.h: Update for 2.15 development version.
49008 2011-06-07  David S. Miller  <davem@davemloft.net>
49010         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49011         ifuncs.
49012         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49013         elf_machine_lazy_rel): Likewise.
49014         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49015         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49016         elf_machine_lazy_rel): Likewise.
49017         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49018         dl_hwcap via passed in argument.
49019         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49020         Likewise.
49022 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49024         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49026 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49028         [BZ #12849]
49029         * manual/fdl-1.1.texi: New file, verbatim from:
49030         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49031         * manual/lgpl-2.1.texi: New file, verbatim from:
49032         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49033         * manual/Makefile (licenses): New variable, list those new file names.
49034         (texis): Use it.
49035         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49037         * manual/fdl.texi: File removed.
49038         * manual/lesser.texi: File removed.
49039         * manual/libc.texinfo (Copying, Documentation License):
49040         Use new @include file names, put @appendix directive before @include.
49042 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49044         [BZ #12841]
49045         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49046         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49047         (mq_open): Add __NTH.
49049 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49052         Assume Intel Core i3/i5/i7 processor if AVX is available.
49054 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49056         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49057         typo.
49059 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49061         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49062         memory.  Use alloca_account.  Fix memory leak when retrying.
49064 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49066         * version.h (RELEASE): Bump for 2.14 release.
49067         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49069         * config.make.in (RANLIB): Remove entry.
49071 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49073         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49074         (libc.pot): Work around missing support for .ksh extension in xgettext.
49076         [BZ #12684]
49077         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49078         if both request failed.
49079         (send_dg): In case of server errors clear resplen or *resplen2.
49081         [BZ #12454]
49082         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49083         when there are multiple maps.
49084         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49085         (_dl_fini): Remove test here.
49087         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49089 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49091         [BZ #12350]
49092         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49093         bit from old_res_options.
49094         (gaih_inet): Likewise.
49096         [BZ #11099]
49097         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49098         as signed.
49100         * resolv/res_init.c (res_setoptions): Make the code more compact.
49102         [BZ #11558]
49103         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49104         set RES_USEVC.
49106         [BZ #11634]
49107         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49109         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49111         [BZ #11781]
49112         * malloc/malloc.h: Declare malloc hook variables as volatile.
49114         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49115         in last patch.
49117         [BZ #11799]
49118         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49119         raise in the comment.
49120         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49121         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49122         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49124 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49126         [BZ #12811]
49127         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49128         grow the buffers more if it already has to be sufficient.
49129         (build_wcs_upper_buffer): Likewise.
49130         * posix/regexec.c (check_matching): Likewise.
49131         (clean_state_log_if_needed): Likewise.
49132         (extend_buffers): Don't enlarge buffers beyond size of the input
49133         buffer.
49134         Patches mostly by Emil Wojak <emil@wojak.eu>.
49135         * posix/bug-regex32.c: New file.
49136         * posix/Makefile (tests): Add bug-regex32.
49138         * locale/findlocale.c (_nl_find_locale): Return right away if
49139         _nl_explode_name failed.
49140         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49142         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49144         * debug/xtrace.sh: Unify messages.
49145         * malloc/memusage.sh: Likewise.
49147         [BZ #12813]
49148         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49149         time symbol from vDSO.  Substitute with vsyscall if not available.
49150         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49151         __vdso_time.
49153         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49154         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49155         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49156         Add sendmmsg and internal_sendmmsg.
49157         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49158         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49159         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49161         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49162         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49163         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49165 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49167         [BZ #12813]
49168         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49169         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49170         available.
49171         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49172         __vdso_getcpu.
49174         [BZ #12814]
49175         * iconvdata/Makefile (tests): Add bug-iconv9.
49176         * iconvdata/bug-iconv9.c: New file.
49178 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49180         [BZ #12814]
49181         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49183 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49185         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49186         (struct user_regs_struct): Change intcs field back to cs.
49188 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49190         * po/ja.po: Update from translation team.
49192 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49194         [BZ #12795]
49195         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49196         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49198 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49200         * stdlib/longlong.h: Update from GCC.
49202 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49204         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49205         parameter name.
49206         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49207         Add parameter name.
49208         (__sysconf): Pass it down.
49210 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
49212         [BZ #12671]
49213         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49214         some situations.
49215         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49216         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49217         add in in __libc_use_alloca calls.  Adjust callers.
49218         (glob): Use malloc in some situations.
49220         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49221         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49222         pltexit.
49224 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
49226         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49227         and CLOCK_BOOTTIME_ALARM.
49229         [BZ #12782]
49230         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49231         is returned.
49233         * string/_strerror.c (__strerror_r): Print negative errors as signed
49234         numbers.
49236         [BZ #12777]
49237         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49238         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49239         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49241         * configure.in: Fix typo in redirection and correct removal of test
49242         files in two cases.
49244         [BZ #12788]
49245         * locale/setlocale.c (new_composite_name): Fix test to check for
49246         identical name of all categories.
49248         [BZ #12792]
49249         * libio/filedoalloc.c (local_isatty): New function.
49250         (_IO_file_doallocate): Use local_isatty.
49251         * stdio-common/perror.c (perror): In case a new stream is used
49252         forward the stream error.
49253         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49254         error flag.
49256 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
49258         [BZ #11869]
49259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49260         alloca.
49261         * include/alloca.h (extend_alloca_account): Define.
49263         [BZ #11857]
49264         * posix/regex.h: Fix comments with documentation of user-accessible
49265         fields after compilation and describe correct free'ing of pattern
49266         after re_compile_pattern.
49267         Patch by Reuben Thomas <rrt@sc3d.org>.
49269 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
49271         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49272         and -mno-altivec to prevent the compiler from using Altivec and/or
49273         VSX instructions when the corresponding registers are not available.
49275 2011-05-19  Andreas Schwab  <schwab@redhat.com>
49277         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49279 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
49281         * libio/freopen.c (freopen): Use __dup2, not dup2.
49282         * libio/freopen64.c (freopen64): Likewise.
49284 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49286         [BZ #12775]
49287         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49288         * math/Makefile (tests): Add test-powl.
49289         (CFLAGS-test-powl.c): Define.
49290         * math/test-powl.c: New file.
49292 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49294         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49296 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
49298         [BZ #11837]
49299         * iconvdata/gb18030.c: Update to GB18020-2005.
49301 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
49303         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49304         RE_SYNTAX_POSIX_AWK): Update to match recent development.
49305         Patch by Aharon Robbins <arnold@skeeve.com>.
49307         [BZ #11892]
49308         * stdlib/putenv.c (putenv): Don't always create copy of the variable
49309         on the stack.
49311         [BZ #11895]
49312         * misc/pselect.c (__pselect): Handle timeout value errors hidden
49313         through underflows.
49315         [BZ #12766]
49316         * misc/error.c (error_at_line): Ensure file_name and old_file_name
49317         point to strings before performing equality test for error_one_per_line
49318         mode.
49320         [BZ #11697]
49321         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49323         [BZ #11820]
49324         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49325         (struct user_fpregs_struct): Avoid __uint*_t types.
49327         [BZ #6420]
49328         * malloc/mtrace.c (tr_where): Add additional parameter to point to
49329         symbol info.  Use it instead of calling _dl_addr locally.
49330         (lock_and_info): New function.
49331         (tr_freehook): Call lock_and_info and pass symbol info as additional
49332         parameter to tr_where.
49333         (tr_mallochook): Likewise.
49334         (tr_reallochook): Likewise.
49335         (tr_memalignhook): Likewise.
49337         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
49338         used and couldn't be at all thread-safe.
49340 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
49342         * libio/freopen.c (freopen): Don't close old file descriptor
49343         before the new one is opened.  Instead dup the new file descriptor
49344         to the old one after the new stream is created.
49345         * libio/freopen64.c (freopen64): Likewise.
49346         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49347         * libio/fileops.c (_IO_new_file_close_it): Handle new
49348         _IO_FLAGS2_NOCLOSE flag.
49349         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49350         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49351         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49352         _IO_FLAGS2_NOCLOSE flag.
49353         * include/unistd.h: Add hidden_proto for dup3.
49354         Define __have_dup3.
49355         * io/dup3.c: Define hidden symbol.
49356         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49358         [BZ #7101]
49359         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49360         when an incomplete long option is used.
49361         * posix/tst-getopt_long1.c: New file.
49362         * posix/Makefile (tests): Add tst-getopt_long1.
49364         [BZ #10138]
49365         * scripts/config.guess: Update from autoconf-2.68.
49366         * scripts/config.sub: Likewise.
49368         [BZ #10157]
49369         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49370         tests into ...
49371         (has_cpuclock): ...this.  New function.
49372         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49373         macro here based on has_cpuclock code.
49375         [BZ #10149]
49376         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49377         First byte (not low byte) is now always NUL.
49378         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49380         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49381         Use non-cancelable interfaces.
49383         [BZ #9809]
49384         * locale/iso-639.def: Add entry for Sorani.
49386         [BZ #11901]
49387         * include/stdlib.h: Move include protection to the right place.
49388         Define abort_msg_s.  Declare __abort_msg with it.
49389         * stdlib/abort.c (__abort_msg): Adjust type.
49390         * assert/assert.c (__assert_fail_base): New function.  Majority
49391         of code from __assert_fail.  Allocate memory for __abort_msg with
49392         mmap.
49393         (__assert_fail): Now call __assert_fail_base.
49394         * assert/assert-perr.c: Remove bulk of implementation.  Use
49395         __assert_fail_base.
49396         * include/assert.hL Declare __assert_fail_base.
49397         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49398         mmap.
49399         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49401 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
49403         [BZ #11952]
49404         [BZ #12453]
49405         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49406         until all modules are registered in the DTV.
49407         * elf/Makefile: Add rules to build and run tst-tls19.
49408         * elf/tst-tls19.c: New file.
49409         * elf/tst-tls19mod1.c: New file.
49410         * elf/tst-tls19mod2.c: New file.
49411         * elf/tst-tls19mod3.c: New file.
49412         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49414         [BZ #12083]
49415         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49416         correctly.
49418         [BZ #12601]
49419         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49420         two-byte sequence errors.
49421         * iconvdata/Makefile (tests): Add bug-iconv8.
49422         * iconvdata/bug-iconv8.c: New file.
49424         [BZ #12626]
49425         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49426         buf2 definition.
49428         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49430         [BZ #12432]
49431         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49432         (dummy_getcfa): New function.
49433         (init): Get _Unwind_GetCFA address, use dummy if not found.
49434         (backtrace_helper): In recursion check, also check whether CFA changes.
49435         (__backtrace): Completely initialize arg.
49437         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49438         storing incomplete byte sequence in state object.  Avoid testing for
49439         guaranteed too small input if we know there is enough data available.
49441 2011-05-11  Andreas Schwab  <schwab@redhat.com>
49443         * Makeconfig (+link-pie): Indent.
49444         * Rules (binaries-pie): Define if $(have-fpie) and
49445         $(build-shared).
49446         (binaries-shared): Also filter out $(binaries-pie).
49447         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49448         * nscd/Makefile (others-pie): Add nscd.
49449         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49450         ($(objpfx)nscd): Remove command override.
49451         * login/Makefile (others-pie): Add pt_chown.
49452         ($(objpfx)pt_chown): Remove command override.
49453         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49454         remove command overrides.
49456 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
49458         * libio/tst_putwc.c: Fix error messages.
49460         [BZ #12724]
49461         * libio/fileops.c (_IO_new_file_close_it): Always flush when
49462         currently writing and seek to current position when not.
49463         * libio/Makefile (tests): Add bug-fclose1.
49464         * libio/bug-fclose1.c: New file.
49466 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
49468         [BZ #12511]
49469         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49470         don't set DF_1_NODELETE here.
49471         (do_lookup_x): When entering new entry test for copy relocation
49472         and if necessary set DF_1_NODELETE flag.
49473         * elf/tst-unique4.cc: New file.
49474         * elf/tst-unique4.h: New file.
49475         * elf/tst-unique4lib.cc: New file.
49476         * elf/Makefile: Add rules to build and run tst-unique4.
49477         Patch by Piotr Bury <pbury@goahead.com>.
49479 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
49481         [BZ #12052]
49482         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49484         [BZ #12625]
49485         * misc/mntent_r.c (addmntent): Flush the stream after the output
49487         [BZ #12393]
49488         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49489         (is_trusted_path_normalize): Skip initial colon.  Append slash
49490         to empty buffer.  Duplicate is_trusted_path code but allow
49491         constructed patch to be prefix.
49492         (is_dst): Allow $ORIGIN followed by /.
49493         (_dl_dst_substitute): Correct clearing of check_for_trusted.
49494         Correct testing of result of is_trusted_path_normalize
49495         (decompose_rpath): Fix warning.
49497 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
49499         [BZ #11257]
49500         * grp/initgroups.c (internal_getgrouplist): When we found the service
49501         list through the initgroups entry in nsswitch.conf do not always
49502         continue on a successful lookup.  Don't always use the
49503         __nss_group_database value if it is set.
49504         * nss/nsswitch.conf (initgroups): Change action for successful db
49505         lookup to continue for compatibility.
49507 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
49509         [BZ #11532]
49510         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49511         and CP774 modules.
49512         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49513         and CP774 modules.
49514         * iconvdata/tst-tables.sh: Likewise.
49515         * iconvdata/cp770.c: New file.
49516         * iconvdata/cp771.c: New file.
49517         * iconvdata/cp772.c: New file.
49518         * iconvdata/cp773.c: New file.
49519         * iconvdata/cp774.c: New file.
49520         * iconvdata/testdata/CP770: New file.
49521         * iconvdata/testdata/CP770..UTF8: New file.
49522         * iconvdata/testdata/CP771: New file.
49523         * iconvdata/testdata/CP771..UTF8: New file.
49524         * iconvdata/testdata/CP772: New file.
49525         * iconvdata/testdata/CP772..UTF8: New file.
49526         * iconvdata/testdata/CP773: New file.
49527         * iconvdata/testdata/CP773..UTF8: New file.
49528         * iconvdata/testdata/CP774: New file.
49529         * iconvdata/testdata/CP774..UTF8: New file.
49531         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49532         END CHARMAP line.
49533         * iconvdata/gen-8bit-gap.sh: Likewise.
49534         * iconvdata/gen-8bit.sh: Likewise.
49536         * locale/iso-639.def: Add ary entry.
49538         [BZ #11258]
49539         * locale/C-translit.h.in: Add U20A1 transliteration.
49541         [BZ #12178]
49542         * locale/iso-639.def: Add wae entry.
49543         Patch by Kevin Bortis <bortis@translate-wae.ch>.
49545         [BZ #12545]
49546         * locale/programs/localedef.c (construct_output_path): Use ssize_t
49547         for n.
49549         [BZ #12711]
49550         * locale/C-translit.h.in: Add entry for U20B9.
49551         Patch by pravin.d.s@gmail.com.
49553 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
49555         [BZ #12713]
49556         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49557         ENAMETOOLONG use generic getcwd.
49558         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
49559         in rtld.  Use *stat64.
49560         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49561         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49562         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49563         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49564         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49565         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49566         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49567         __fstatat64 macros.
49568         * include/dirent.h: Add libc_hidden_proto for rewinddir.
49569         * dirent/rewinddir.c: Add libc_hidden_def.
49570         * sysdeps/mach/hurd/rewinddir.c: Likewise.
49571         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
49573         * include/dirent.h (__alloc_dir): Add flags parameter.
49574         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49575         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49576         __alloc_dir.
49577         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
49578         from fdopendir if O_CLOEXEC is already set.
49580 2011-03-15  Alan Modra  <amodra@gmail.com>
49582         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49583         l_tls_firstbyte_offset non-zero.  Save padding offset in
49584         l_tls_firstbyte_offset for later use.
49585         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49586         freeing static tls block.
49588 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
49590         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49591         where #ifdef was intended.  The intent is to prevent ARG_MAX from
49592         being defined by the kernel headers.
49594 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
49596         [BZ #12734]
49597         * resolv/resolv.h: Define RES_NOTLDQUERY.
49598         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49599         no-tld-query and set RES_NOTLDQUERY.
49600         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49601         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49602         modern BIND to search name as TLD unless forbidden.
49604 2011-05-07  Petr Baudis  <pasky@suse.cz>
49605             Ulrich Drepper  <drepper@gmail.com>
49607         [BZ #12393]
49608         * elf/dl-load.c (fillin_rpath): Move trusted path check...
49609         (is_trusted_path): ...to here.
49610         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49611         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49612         using is_trusted_path_normalize() in setuid scripts.
49614 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49616         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49617         __BEGIN/__END_DECLS.
49619 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
49621         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49622         NSS_STATUS_NOTFOUND if no record was found.
49624 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49626         * sunrpc/Makefile (headers): Add rpc/netdb.h.
49627         (headers-not-in-tirpc): Remove rpc/netdb.h
49628         * resolv/netdb.h: Revert last change.
49630 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49632         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49633         circular dependency between libgcc.a and libc.a.
49635 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49637         * resolv/netdb.h: Don't include <rpc/netdb.h>.
49638         * nis/Makefile: Don't install rpcsvc/*.
49639         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49640         instead of <rpc/types.h>.
49641         (MAXHOSTNAMELEN): Define.
49643 2011-05-03  Andreas Schwab  <schwab@redhat.com>
49645         * elf/ldconfig.c (add_dir): Don't crash on empty path.
49647 2011-04-28  Maciej Babinski  <mbabinski@google.com>
49649         [BZ #12714]
49650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49651         gethostbyname4_r when IPv6 results are possible.
49653 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
49655         [BZ #12723]
49656         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49657         _PC_PIPE_BUF handling.
49659 2011-04-30  Bruno Haible  <bruno@clisp.org>
49661         [BZ #12717]
49662         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49663         * resolv/netdb.h (getnameinfo): Change type of flags parameter
49664         to 'int'.
49665         * inet/getnameinfo.c (getnameinfo): Likewise.
49667 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
49669         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49670         to groups setting in database lookup.
49671         * nss/nsswitch.conf: Add initgroups entry.
49673 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
49675         [BZ #12685]
49676         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49677         mode string.
49678         Patch by Eric Blake <eblake@redhat.com>.
49680 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
49682         * sunrpc/Makefile (need-export-routines): Add svc_run.
49683         (routines): Remove svc_run.
49684         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49685         * sunrpc/clnt_perr.c (clnt_perrno): Export.
49686         * sunrpc/svc_run.c (svc_run): Likewise.
49687         * sunrpc/svc_udp.c (svcudp_create): Likewise.
49689 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
49691         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49692         problem in reallocation in last patch.
49694 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
49696         * sunrpc/Makefile: Move inclusion of Rules.
49698 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49700         * nss/nss_files/files-initgroups.c: New file.
49701         * nss/Makefile (libnss_files-routines): Add files-initgroups.
49702         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49703         _nss_files_initgroups_dyn.
49705 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
49707         * elf/elf.h (R_ARM_IRELATIVE): Define.
49709 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49711         * po/ru.po: Update from translation team.
49713 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49715         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49716         dependencies.
49718 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
49720         [BZ #12653]
49721         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49722         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49723         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49724         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49725         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49727 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
49729         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49730         differing bytes.
49731         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49732         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49733         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49735 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49737         [BZ #12420]
49738         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49739         storing it.
49740         * stdlib/bug-getcontext.c: New file.
49741         * stdlib/Makefile: Add rules to build and run bug-getcontext.
49743 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49745         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49746         instructions into .machine "z9-109".
49747         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49748         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49750 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49752         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49753         between environment variables and auxiliary vector.
49755 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
49757         * Makefile: Add rules to build linkobj/libc.so.
49758         * include/libc-symbols.h: Define libc_hidden_nolink.
49759         * include/rpc/auth.h: Mark functions which are to be hidden.
49760         * include/rpc/auth_des.h: Likewise.
49761         * include/rpc/auth_unix.h: Likewise.
49762         * include/rpc/clnt.h: Likewise.
49763         * include/rpc/des_crypt.h: Likewise.
49764         * include/rpc/key_prot.h: Likewise.
49765         * include/rpc/pmap_clnt.h: Likewise.
49766         * include/rpc/pmap_prot.h: Likewise.
49767         * include/rpc/pmap_rmt.h: Likewise.
49768         * include/rpc/rpc_msg.h: Likewise.
49769         * include/rpc/svc.h: Likewise.
49770         * include/rpc/svc_auth.h: Likewise.
49771         * include/rpc/xdr.h: Likewise.
49772         * nis/Makefile: Link all DSOs against linkobj/libc.so.
49773         * nss/Makefile: Likewise.
49774         * sunrpc/Makefile: Don't install headers.  Build library with normal
49775         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
49776         * sunrpc/auth_des.c: Hide exported symbols by default, export some
49777         for the compat linking library.  Remove use of INTDEF/INTUSE.
49778         * sunrpc/auth_none.c: Likewise.
49779         * sunrpc/auth_unix.c: Likewise.
49780         * sunrpc/authdes_prot.c: Likewise.
49781         * sunrpc/authuxprot.c: Likewise.
49782         * sunrpc/clnt_gen.c: Likewise.
49783         * sunrpc/clnt_perr.c: Likewise.
49784         * sunrpc/clnt_raw.c: Likewise.
49785         * sunrpc/clnt_simp.c: Likewise.
49786         * sunrpc/clnt_tcp.c: Likewise.
49787         * sunrpc/clnt_udp.c: Likewise.
49788         * sunrpc/clnt_unix.c: Likewise.
49789         * sunrpc/des_crypt.c: Likewise.
49790         * sunrpc/des_soft.c: Likewise.
49791         * sunrpc/get_myaddr.c: Likewise.
49792         * sunrpc/key_call.c: Likewise.
49793         * sunrpc/key_prot.c: Likewise.
49794         * sunrpc/netname.c: Likewise.
49795         * sunrpc/pm_getmaps.c: Likewise.
49796         * sunrpc/pm_getport.c: Likewise.
49797         * sunrpc/pmap_clnt.c: Likewise.
49798         * sunrpc/pmap_prot.c: Likewise.
49799         * sunrpc/pmap_prot2.c: Likewise.
49800         * sunrpc/pmap_rmt.c: Likewise.
49801         * sunrpc/publickey.c: Likewise.
49802         * sunrpc/rpc_cmsg.c: Likewise.
49803         * sunrpc/rpc_common.c: Likewise.
49804         * sunrpc/rpc_dtable.c: Likewise.
49805         * sunrpc/rpc_prot.c: Likewise.
49806         * sunrpc/rpc_thread.c: Likewise.
49807         * sunrpc/rtime.c: Likewise.
49808         * sunrpc/svc.c: Likewise.
49809         * sunrpc/svc_auth.c: Likewise.
49810         * sunrpc/svc_authux.c: Likewise.
49811         * sunrpc/svc_raw.c: Likewise.
49812         * sunrpc/svc_run.c: Likewise.
49813         * sunrpc/svc_simple.c: Likewise.
49814         * sunrpc/svc_tcp.c: Likewise.
49815         * sunrpc/svc_udp.c: Likewise.
49816         * sunrpc/svc_unix.c: Likewise.
49817         * sunrpc/svcauth_des.c: Likewise.
49818         * sunrpc/xcrypt.c: Likewise.
49819         * sunrpc/xdr.c: Likewise.
49820         * sunrpc/xdr_array.c: Likewise.
49821         * sunrpc/xdr_float.c: Likewise.
49822         * sunrpc/xdr_intXX_t.c: Likewise.
49823         * sunrpc/xdr_mem.c: Likewise.
49824         * sunrpc/xdr_rec.c: Likewise.
49825         * sunrpc/xdr_ref.c: Likewise.
49826         * sunrpc/xdr_sizeof.c: Likewise.
49827         * sunrpc/xdr_stdio.c: Likewise.
49829 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
49831         [BZ #12650]
49832         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49833         * sysdeps/ia64/dl-tls.h: Likewise.
49834         * sysdeps/powerpc/dl-tls.h: Likewise.
49835         * sysdeps/s390/dl-tls.h: Likewise.
49836         * sysdeps/sh/dl-tls.h: Likewise.
49837         * sysdeps/sparc/dl-tls.h: Likewise.
49838         * sysdeps/x86_64/dl-tls.h: Likewise.
49839         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49841 2011-03-14  Andreas Schwab  <schwab@redhat.com>
49843         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49844         rpath element also skip the following colon.
49845         (expand_dynamic_string_token): Add is_path parameter and pass
49846         down to DL_DST_REQUIRED and _dl_dst_substitute.
49847         (decompose_rpath): Call expand_dynamic_string_token with
49848         non-zero is_path.  Ignore empty rpaths.
49849         (_dl_map_object_from_fd): Call expand_dynamic_string_token
49850         with zero is_path.
49852 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
49854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49855         Make cancelable.
49857 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
49859         [BZ #12655]
49860         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49861         Patch by Filipe David Manana <fdmanana@apache.org>.
49863 2011-04-07  Andreas Schwab  <schwab@redhat.com>
49865         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49866         Maintain aligned stack.
49867         (CHECK_RSP): Remove unused macro.
49869 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
49871         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49872         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49874 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
49876         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49878         * include/features.h: Mention __USE_XOPEN2K8 in comment.
49880 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
49882         [BZ #12518]
49883         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49884         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49885         * sysdeps/x86_64/memmove.c: New file.
49886         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49887         (memcpy): Renamed to ...
49888         (__new_memcpy): This.
49889         (memcpy): Provide GLIBC_2_14 memcpy.
49890         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49891         (memcpy): Provide GLIBC_2_2_5 memcpy.
49893 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49895         [BZ #12631]
49896         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49898 2011-03-30  Andreas Schwab  <schwab@redhat.com>
49900         * misc/syncfs.c: New file.
49901         * misc/Makefile (routines): Add syncfs.
49902         * posix/unistd.h: Declare syncfs.
49903         * sysdeps/unix/syscalls.list: Add syncfs.
49905 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49907         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49908         open_by_handle_at.
49909         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49910         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49911         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49912         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49913         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49914         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49915         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49917 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49919         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49920         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49921         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49922         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49923         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49925         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49927         * io/Makefile: Compile fallocate.c, fallocate64.c, and
49928         sync_file_range.c with -fexceptions.
49929         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49930         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49931         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49932         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49933         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49934         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49935         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49936         sync_file_range as cancellation point
49937         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
49938         now a wrapper around __call_sync_file_range with cancellation handling.
49939         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49940         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
49941         function name to __call_sync_file_range.
49942         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49943         Add call_sync_file_range.
49945 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49947         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49948         bits/timex.h.
49950 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49952         * iconv/iconv.h: Fix typo in comment.
49953         * io/fcntl.h: Likewise.
49954         * libio/stdio.h: Likewise.
49955         * posix/spawn.h: Likewise.
49956         * posix/unistd.h: Likewise.
49957         * stdlib/stdlib.h: Likewise.
49958         * time/time.h: Likewise.
49959         * wcsmbs/wchar.h: Likewise.
49961         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49962         open_by_handle): Add.
49963         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49964         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
49965         Augment a few comments.
49966         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49967         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49968         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49970         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49971         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49972         open_by_handle.
49974         * io/fcntl.h (AT_EMPTY_PATH): Define.
49976 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
49978         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49979         * sysdeps/unix/sysv/linux/bits/time.h: New file.
49980         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49981         to...
49982         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
49983         * Versions.def: Add GLIBC_2.14.
49984         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49985         Export.
49987 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
49989         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49990         round counter.
49991         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49993 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49995         [BZ #12597]
49996         * string/test-strncmp.c (do_page_test): New function.
49997         (check2): Likewise.
49998         (test_main): Call check2.
49999         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50001 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50003         [BZ #12587]
50004         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50005         Handle cache information in CPU leaf 4.
50006         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50008 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50010         [BZ #12583]
50011         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50012         character representation.
50013         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50015 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50017         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50018         END(__isnan) to END(__isnanf) to match function entry point/label
50019         EALIGN(__isnanf,...).
50021 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50023         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50025 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50027         [BZ #12510]
50028         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50029         copy from the symbol referenced in the relocation to initialize the
50030         used variable.
50031         Patch by Piotr Bury <pbury@goahead.com>.
50032         * elf/Makefile: Add rules to build and tst-unique3.
50033         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50034         * elf/tst-unique3.cc: New file.
50035         * elf/tst-unique3.h: New file.
50036         * elf/tst-unique3lib.cc: New file.
50037         * elf/tst-unique3lib2.cc: New file.
50039         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50041 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50043         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50044         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50045         to _start.
50047 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50049         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50050         to-be-loaded object along a path to loader is ld.so.
50052 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50053             Ulrich Drepper  <drepper@gmail.com>
50055         * sysdeps/x86_64/memset.S: After aligning destination, code
50056         branches to different locations depending on the value of
50057         misalignment, when multiarch is enabled. Fix this.
50059 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50061         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50062         Set _x86_64_preferred_memory_instruction for AMD processsors.
50063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50064         Set bit_Prefer_SSE_for_memop for AMD processors.
50066 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50068         * libio/fmemopen.c (fmemopen): Optimize a bit.
50070 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50072         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50074 2011-03-03  Roland McGrath  <roland@redhat.com>
50076         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50078 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50080         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50081         __bzero_ultra1 instead of __memset_ultra1.
50083 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50084             Ulrich Drepper  <drepper@gmail.com>
50086         [BZ #12509]
50087         * include/link.h (struct link_map): Add l_orig_initfini.
50088         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50089         returning unsuccessfully.
50090         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50091         close of a file loaded at startup, restore the original l_initfini
50092         list.
50093         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50094         list, store the pointer.
50095         * elf/Makefile ($(objpfx)noload-mem): New rule.
50096         (noload-ENV): Define.
50097         (tests): Add $(objpfx)noload-mem.
50098         * elf/noload.c: Include <memcheck.h>.
50099         (main): Call mtrace.  Close all opened handles.
50101 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50103         [BZ #12454]
50104         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50105         dependencies are missing.
50107 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50109         Fix __if_freereq crash: Unlike the generic version which uses free,
50110         Hurd needs munmap.
50111         * sysdeps/mach/hurd/ifreq.h: New file.
50113 2011-01-27  Petr Baudis  <pasky@suse.cz>
50114             Ulrich Drepper  <drepper@gmail.com>
50116         [BZ 12445]#
50117         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50118         to extend_alloca().
50119         * stdio-common/bug23.c: New file.
50120         * stdio-common/Makefile (tests): Add bug23.
50122 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50123             Ulrich Drepper  <drepper@gmail.com>
50125         [BZ #12489]
50126         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50127         before performing relro protection.  At old place add assertion
50128         to make sure nothing changed.
50130 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50131             Glauber de Oliveira Costa  <glommer@gmail.com>
50133         * elf/elf.h: Add new ARM TLS relocs.
50135 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50138         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50139         cast from r3.
50140         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50141         'tests' variable.
50142         * sysdeps/wordsize-64/tst-writev.c: New file.
50144 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50146         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50147         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50148         insns in _dl_start to prevent a TOC reference before relocs are
50149         resolved.
50151 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50153         [BZ #12469]
50154         * Makeconfig: Remove RANLIB definition.
50155         * Makerules: Don't use RANLIB.
50156         * aclocal.m4: Remove ranlib test.
50157         * configure.in: No need to check for ranlib.
50158         * elf/rtld-Rules: Don't use RANLIB.
50160 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50162         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50163         protection macro.
50164         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50165         inclusion protection macro.
50167         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50168         SIGRTMIN and SIGRTMAX and print information in that case only when
50169         SIGRTMIN is defined.
50171 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50173         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50174         arginfo fn returning -1.
50176         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50177         and thousands string is zero terminated.
50179 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50181         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50182         sysdeps/unix/sysv/linux/bits/socket.h.
50184 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50186         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50187         (__CPU_COUNT): Remove old macros.
50188         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50189         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50190         (__CPU_ALLOC, __CPU_FREE): Add macros.
50191         (__sched_cpualloc, __sched_cpufree): Add declarations.
50193 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50195         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50196         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50197         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50198         (readdhstai): Return value of addhstaiX call.
50199         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50200         (addgrbyX): Return value returned by cache_addgr.
50201         (readdgrbyname): Return value returned by addgrbyX.
50202         (readdgrbygid): Likewise.
50203         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50204         (addpwbyX): Return value returned by cache_addpw.
50205         (readdpwbyname): Return value returned by addhstbyX.
50206         (readdpwbyuid): Likewise.
50207         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50208         (addservbyX): Return value returned by cache_addserv.
50209         (readdservbyname): Return value returned by addservbyX:
50210         (readdservbyport): Likewise.
50211         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50212         (addhstbyX): Return value returned by cache_addhst.
50213         (readdhstbyname): Return value returned by addhstbyX.
50214         (readdhstbyaddr): Likewise.
50215         (readdhstbynamev6): Likewise.
50216         (readdhstbyaddrv6): Likewise.
50217         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50218         (readdinitgroups): Return value returned by addinitgroupsX.
50219         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50220         (prune_cache): Keep track of timeout value of re-added entries.
50221         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50222         * nscd/nscd.h: Adjust prototypes of readd* functions.
50224 2011-02-04  Roland McGrath  <roland@redhat.com>
50226         * nis/nis_server.c (nis_servstate): Use the right name for 0.
50227         (nis_stats): Likewise.
50228         * nis/nis_modify.c (nis_modify): Likewise.
50229         * nis/nis_remove.c (nis_remove): Likewise.
50230         * nis/nis_add.c (nis_add): Likewise.
50232         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50234         * posix/fnmatch_loop.c: Add some consts.
50236         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50238 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
50240         [BZ #12460]
50241         * config.make.in (config-cflags-novzeroupper): Define.
50242         * configure.in: Substitute libc_cv_cc_novzeroupper.
50243         * elf/Makefile (AVX-CFLAGS): Define.
50244         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50245         (CFLAGS-tst-auditmod4a.c): Likewise.
50246         (CFLAGS-tst-auditmod4b.c): Likewise.
50247         (CFLAGS-tst-auditmod6b.c): Likewise.
50248         (CFLAGS-tst-auditmod6c.c): Likewise.
50249         (CFLAGS-tst-auditmod7b.c): Likewise.
50250         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50252 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
50254         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50255         function to the callback.
50256         Patch partly by Jiri Olsa <jolsa@redhat.com>.
50258 2011-02-02  Andreas Schwab  <schwab@redhat.com>
50260         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50261         of errno.
50263 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
50265         [BZ #11724]
50266         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50267         of constructors.
50268         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50269         of destructors.
50270         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50272         [BZ #11724]
50273         * elf/Makefile: Add rules to build and run new test.
50274         * elf/tst-initorder.c: New file.
50275         * elf/tst-initorder.exp: New file.
50276         * elf/tst-initordera1.c: New file.
50277         * elf/tst-initordera2.c: New file.
50278         * elf/tst-initordera3.c: New file.
50279         * elf/tst-initordera4.c: New file.
50280         * elf/tst-initorderb1.c: New file.
50281         * elf/tst-initorderb2.c: New file.
50282         * elf/tst-order-a1.c: New file.
50283         * elf/tst-order-a2.c: New file.
50284         * elf/tst-order-a3.c: New file.
50285         * elf/tst-order-a4.c: New file.
50286         * elf/tst-order-b1.c: New file.
50287         * elf/tst-order-b2.c: New file.
50288         * elf/tst-order-main.c: New file.
50289         New test case by George Gensure <werkt0@gmail.com>.
50291 2010-10-01  Andreas Schwab  <schwab@redhat.com>
50293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50294         decoding ACE if AI_CANONIDN.
50296 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
50298         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50300 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
50302         * version.h (RELEASE): Bump for 2.13 release.
50303         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50305         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50307         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50308         MADV_NOHUGEPAGE.
50309         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50310         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50311         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50312         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50313         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50314         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50316         * posix/getconf.c: Update copyright year.
50317         * catgets/gencat.c: Likewise.
50318         * csu/version.c: Likewise.
50319         * debug/catchsegv.sh: Likewise.
50320         * debug/xtrace.sh: Likewise.
50321         * elf/ldconfig.c: Likewise.
50322         * elf/ldd.bash.in: Likewise.
50323         * elf/sprof.c (print_version): Likewise.
50324         * iconv/iconv_prog.c: Likewise.
50325         * iconv/iconvconfig.c: Likewise.
50326         * locale/programs/locale.c: Likewise.
50327         * locale/programs/localedef.c: Likewise.
50328         * malloc/memusage.sh: Likewise.
50329         * malloc/mtrace.pl: Likewise.
50330         * nscd/nscd.c (print_version): Likewise.
50331         * nss/getent.c: Likewise.
50333         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50334         PF_CAIF, and PF_ALG.
50335         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50337 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
50339         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50340         (modules-names): Use them.
50341         (ifunc-test-modules, ifunc-pie-tests): Define.
50342         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50343         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50344         (test-extras): Likewise.
50345         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50346         $(compile-command.c).
50347         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50348         (all-built-dso): Define.
50349         (check-textrel.out, check-execstack.out): Depend on it.
50351         * configure.in: Don't override --enable-multi-arch.
50353 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
50355         [BZ #6812]
50356         * nscd/hstcache.c (tryagain): Define.
50357         (cache_addhst): Return tryagain not notfound for temporary errors.
50358         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50359         failed.
50361 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
50363         [BZ #10563]
50364         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50365         to make the syscall.
50366         * sysdeps/unix/sysv/linux/setgroups.c: New file.
50368         [BZ #12378]
50369         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50370         and fall back to matching as normal character if the string ends before
50371         the matching ']' is found.  This is what POSIX requires.
50372         * posix/testfnm.c: Adjust test result.
50373         * posix/globtest.sh: Adjust test result.  Add new test.
50374         * posix/tst-fnmatch.input: Likewise.
50375         * posix/tst-fnmatch2.c: Add new test.
50377 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
50379         * elf/Makefile (check-execstack): Revert last change.  Depend on
50380         check-execstack.h.
50381         (check-execstack.h): New target.
50382         (generated): Add check-execstack.h.
50383         * elf/check-execstack.c: Include "check-execstack.h".
50384         (main): Revert last change.
50385         (handle_file): Return zero if GNU_STACK is absent and
50386         DEFAULT_STACK_PERMS doesn't include PF_X.
50388 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
50390         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50391         in child fails because the descriptor is already closed.
50392         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50393         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50394         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50396         [BZ #12397]
50397         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50398         syscall.
50400         [BZ #10484]
50401         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50402         temporary buffer used to handle multi lookups locally.
50403         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50405 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50407         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50408         loader is ld.so.
50410 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
50412         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50413         alignment for SSE2.
50415 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50417         [BZ #12394]
50418         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50419         characters.  When rounding increased number of integer digits recompute
50420         number of groups.
50421         * stdio-common/tst-grouping.c: New file.
50422         * stdio-common/Makefile: Add rules to build and run tst-grouping.
50424 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
50426         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50427         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
50429         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50430         void.
50431         * bits/select.h: Likewise.
50433 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
50435         * po/ja.po: Update from translation team.
50437 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
50439         [BZ #11155]
50440         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50441         implementation just like for lxstat, fxstatat, et al.
50443 2010-12-27  Jim Meyering  <meyering@redhat.com>
50445         [BZ #12348]
50446         * posix/regexec.c (build_trtable): Return failure indication upon
50447         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
50449 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
50451         [BZ #12201]
50452         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50453         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50454         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50455         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50457         [BZ #12207]
50458         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50460         [BZ #12204]
50461         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50462         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50464 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
50466         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50467         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50468         script has SORT_BY_INIT_PRIORITY.
50469         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50470         NO_CTORS_DTORS_SECTIONS is defined.
50471         * elf/soinit.c: Likewise.
50472         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50473         NO_CTORS_DTORS_SECTIONS is defined.
50474         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50475         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50476         * sysdeps/sh/init-first.c: Likewise.
50477         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50479 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
50481         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50482         always use the slow path.
50484 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
50486         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50487         similar rule which adds the sysdep directories to the header search in
50488         order to pick up the correct platform stackinfo.h.
50489         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50490         perform test if it is, otherwise return successfully without testing.
50491         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50492         DEFAULT_STACK_PERMS define in stackinfo.h.
50493         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50494         defined in stackinfo.h.
50495         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50496         DEFAULT_STACK_PERMS defined in stackinfo.h.
50497         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50498         * sysdeps/ia64/stackinfo.h: Likewise.
50499         * sysdeps/s390/stackinfo.h: Likewise.
50500         * sysdeps/sh/stackinfo.h: Likewise.
50501         * sysdeps/sparc/stackinfo.h: Likewise.
50502         * sysdeps/x86_64/stackinfo.h: Likewise.
50503         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50504         PF_X for powerpc64.  Retain PF_X for powerpc32.
50506 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
50508         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50509         accurately.
50510         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50511         GETDENTS_64BIT_ALIGNED.
50513 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
50515         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50517 2010-12-10  Andreas Schwab  <schwab@redhat.com>
50519         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50520         _GNU_SOURCE.
50522         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50523         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50524         Remove __restrict.
50525         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50526         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50528 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
50530         [BZ #11655]
50531         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50532         are initialized.
50534 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
50536         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50538 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
50540         * po/it.po: Update from translation team.
50542 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
50544         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50545         unused codes.
50547 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
50549         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50551 2010-11-24  Andreas Schwab  <schwab@redhat.com>
50553         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50554         specially.
50555         (gaih_getanswer_slice): Likewise.
50557 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
50559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50561 2010-05-31  Petr Baudis  <pasky@suse.cz>
50563         [BZ #11149]
50564         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50565         silently even in the chroot mode.
50567 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
50569         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50570         last patch a bit.  Pretty printing
50572 2010-05-31  Petr Baudis <pasky@suse.cz>
50574         [BZ #10085]
50575         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50576         initialization of skip_initgroups_dyn.
50578 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
50580         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50581         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50583 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
50585         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50587 2010-11-11  Andreas Schwab  <schwab@redhat.com>
50589         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50590         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50591         (tst-fnmatch-ENV): Set MALLOC_TRACE.
50592         ($(objpfx)tst-fnmatch-mem): New rule.
50593         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50594         * posix/tst-fnmatch.c (main): Call mtrace.
50596 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
50598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50599         Support Intel processor model 6 and model 0x2c.
50601 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
50603         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50604           signed comparison.
50606 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
50608         [BZ #12205]
50609         * string/test-strncasecmp.c (check_result): New function.
50610         (do_one_test): Use it.
50611         (check1): New function.
50612         (test_main): Use it.
50613         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50614         Support strcasecmp and strncasecmp.
50616 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
50618         [BZ #12194]
50619         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50620         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50622 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50624         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50625         IFUNC support.
50626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50627         memset-x86-64.
50628         * sysdeps/x86_64/multiarch/bzero.S: New file.
50629         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50630         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50631         * sysdeps/x86_64/multiarch/memset.S: New file.
50632         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50634         Set bit_Prefer_SSE_for_memop for Intel processors.
50635         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50636         Define.
50637         (index_Prefer_SSE_for_memop): Define.
50638         (HAS_PREFER_SSE_FOR_MEMOP): Define.
50640 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
50642         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50643         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50645 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
50647         [BZ #12191]
50648         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50649         (__x86_64_raw_data_cache_size_half): Likewise.
50650         (__x86_64_raw_shared_cache_size): Likewise.
50651         (__x86_64_raw_shared_cache_size_half): Likewise.
50653         * sysdeps/x86_64/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         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50658         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50659         and __x86_64_raw_shared_cache_size_half.  Round
50660         __x86_64_data_cache_size_half, __x86_64_data_cache_size
50661         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50662         to multiple of 256 bytes.
50664 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
50666         [BZ #12167]
50667         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50668         of inacessible symlinks.  Verify result of symlink before returning it.
50669         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50670         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50672 2010-10-28  Erich Ritz  <erichritz@gmail.com>
50674         * math/math.h (isinf): Fix typo in comment.
50676 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
50678         * po/da.po: Update from translation team.
50680 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
50682         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50683         is added to the list.
50685 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50686             Ulrich Drepper  <drepper@gmail.com>
50688         * elf/dl-object.c (_dl_new_object): Don't append the new object to
50689         the global list here.  Move code to...
50690         (_dl_add_to_namespace_list): ...here.  New function.
50691         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50692         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50693         * elf/dl-load.c (lose): Don't remove the element from the list.
50694         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50695         (_dl_map_object): Likewise.
50697 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
50699         [BZ #12159]
50700         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50701         into all bytes of SSE register.
50702         Patch by Richard Li <richardpku@gmail.com>.
50704 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
50706         [BZ #12140]
50707         * malloc/malloc.c (_int_free): Fill correct number of bytes when
50708         perturbing.
50710 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
50712         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50713         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50714         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50715         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50717         submachine.
50718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50720 2010-10-22  Andreas Schwab  <schwab@redhat.com>
50722         * include/dlfcn.h (__RTLD_SECURE): Define.
50723         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
50724         mode & __RTLD_SECURE instead.
50725         (open_path): Rename preloaded parameter to secure.
50726         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50727         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50728         * elf/dl-deps.c (openaux): Likewise.
50729         * elf/rtld.c (struct map_args): Remove is_preloaded.
50730         (map_doit): Don't use it.
50731         (dl_main): Likewise.
50732         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50733         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50735 2010-09-09  Andreas Schwab  <schwab@redhat.com>
50737         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50738         (sysd-rules-targets): Remove duplicates.
50739         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50740         rtld-%.$o dependency.
50742 2010-10-18  Andreas Schwab  <schwab@redhat.com>
50744         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50745         _dl_map_object do it.
50747 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
50749         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50750         fast fma builtins, define the macros in the C99 standard.
50751         (FP_FAST_FMAF): Likewise.
50752         (FP_FAST_FMAL): Likewise.
50753         * sysdeps/x86_64/bits/mathdef.h: Likewise.
50755         * bits/mathdef.h: Update copyright year.
50756         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50758 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
50760         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50761         builtins, define the macros in the C99 standard.
50762         (FP_FAST_FMAF): Likewise.
50763         (FP_FAST_FMAL): Likewise.
50764         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50765         multiply/add.
50766         (FP_FAST_FMAF): Likewise.
50768 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
50770         [BZ #3268]
50771         * math/libm-test.inc (fma_test): Some new testcases.
50772         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50773         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50774         y and infinite z.  Do multiplication by C already in long double.
50775         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50776         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50777         y and infinite z.  Do bitwise or of inexact bit into u.d.
50778         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50779         * sysdeps/i386/fpu/s_fmaf.S: Removed.
50780         * sysdeps/i386/fpu/s_fma.S: Removed.
50781         * sysdeps/i386/fpu/s_fmal.S: Removed.
50783 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
50785         [BZ #3268]
50786         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50787         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50788         computation is not scheduled after fetestexcept.  Fix value
50789         of minimum denormal long double.
50791 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
50793         [BZ #3268]
50794         * math/libm-test.inc (fma_test): Add some more tests.
50795         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50796         correctly.
50798 2010-10-15  Andreas Schwab  <schwab@redhat.com>
50800         * scripts/data/localplt-s390-linux-gnu.data: New file.
50801         * scripts/data/localplt-s390x-linux-gnu.data: New file.
50803 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
50805         [BZ #3268]
50806         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50807         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50808         instead of dbl-64.
50809         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50810         inlines.
50811         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50813         if one of x and y is very large and the other is subnormal.
50814         * sysdeps/s390/fpu/s_fmaf.c: New file.
50815         * sysdeps/s390/fpu/s_fma.c: New file.
50816         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50817         * sysdeps/powerpc/fpu/s_fma.S: New file.
50818         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50819         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50820         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50822 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
50824         [BZ #3268]
50825         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50826         fma tests.
50827         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50828         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50829         * sysdeps/i386/i686/multiarch/s_fma.c: Include
50830         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50831         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50832         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50833         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50835 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
50837         [BZ #12078]
50838         * posix/regcomp.c (parse_branch): One more memory leak plugged.
50839         * posix/bug-regex31.input: Add test case.
50841 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50843         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50844         * posix/bug-regex31.input: New file.
50846         [BZ #12078]
50847         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50848         (parse_sub_exp): Fix last change, use postorder.
50850         * posix/bug-regex31.c: New file.
50851         * posix/Makefile: Add rules to build and run bug-regex31.
50853         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50855         [BZ #12078]
50856         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50858         [BZ #12108]
50859         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50860         to have entries in sys_siglist.
50862         [BZ #12093]
50863         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50864         be NULL.
50866 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
50868         [BZ #3268]
50869         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50870         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50871         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50872         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50873         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50874         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50875         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50876         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50877         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50878         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50879         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50880         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50881         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50882         * math/ftestexcept.c (fetestexcept): Likewise.
50883         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50884         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50885         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50886         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50887         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50888         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50889         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50891 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50893         [BZ #12107]
50894         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50895         newline.
50897 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
50899         * string/bug-strstr1.c: New file.
50900         * string/Makefile: Add rules to build and run bug-strstr1.
50902 2010-10-05  Eric Blake  <eblake@redhat.com>
50904         [BZ #12092]
50905         * string/str-two-way.h (two_way_long_needle): Always clear memory
50906         when skipping input due to the shift table.
50908 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
50910         [BZ #12005]
50911         * malloc/mcheck.c: Handle large requests.
50913         [BZ #12077]
50914         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50915         for strncmp and strncasecmp.
50916         * string/stratcliff.c: Add tests for strcmp and strncmp.
50917         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50919 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50921         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50922         __set_fpscr.
50924 2010-09-30  Andreas Jaeger  <aj@suse.de>
50926         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50927         (CGROUP_SUPER_MAGIC): Define.
50928         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50929         Handle btrfs and cgroup file systems.
50930         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50931         Likewise.
50933 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
50935         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50936         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50938 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50940         [BZ #12067]
50941         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50942         trying to locate the ELF header.
50944 2010-09-27  Andreas Schwab  <schwab@redhat.com>
50946         [BZ #11611]
50947         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50948         Mask out sign-bit copies when constructing f_fsid.
50950 2010-09-24  Petr Baudis <pasky@suse.cz>
50952         * debug/stack_chk_fail_local.c: Add missing licence exception.
50953         * debug/warning-nop.c: Likewise.
50955 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
50957         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50958         implementing getdents64 using getdents syscall, set d_type if
50959         __ASSUME_GETDENTS32_D_TYPE.
50961 2010-09-16  Andreas Schwab  <schwab@redhat.com>
50963         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50964         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50966 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
50968         [BZ #12037]
50969         * posix/unistd.h: Undo change of feature selection for ftruncate from
50970         2010-01-11.
50972 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
50974         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50975         detection.
50977 2010-09-20  Andreas Schwab  <schwab@redhat.com>
50979         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50980         fanotify_mark.
50981         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50983 2010-09-14  Andreas Schwab  <schwab@redhat.com>
50985         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50986         variables after CHECK_SP call.
50987         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50989 2010-09-13  Andreas Schwab  <schwab@redhat.com>
50990             Ulrich Drepper  <drepper@redhat.com>
50992         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50993         re-relocationg ld.so.
50994         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50995         _dl_init_paths call.
50996         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
50997         here anymore.
50999 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51001         * resolv/res_init.c (__res_vinit): Count the default server we added.
51003 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51004             Ulrich Drepper  <drepper@redhat.com>
51006         [BZ #11968]
51007         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51008         (____longjmp_chk): Use %ebx for saving value across system call.
51009         Add unwind info.
51011 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51013         * manual/Makefile: Don't mix pattern rules with normal rules.
51015 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51017         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51018         operation.
51019         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51020         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51021         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51022         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51023         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51024         Likewise.
51026 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51028         [BZ #11979]
51029         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51030         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51032 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51034         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51035         * sysdeps/x86_64/addmul_1.S: Likewise.
51036         * sysdeps/x86_64/lshift.S: Likewise.
51037         * sysdeps/x86_64/mul_1.S: Likewise.
51038         * sysdeps/x86_64/rshift.S: Likewise.
51039         * sysdeps/x86_64/sub_n.S: Likewise.
51040         * sysdeps/x86_64/submul_1.S: Likewise.
51042 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51044         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51045         Define __sched_param instead of SCHED_* and sched_param when
51046         <bits/sched.h> is included with __need_schedparam defined.
51047         * bits/sched.h [__need_schedparam]
51048         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51049         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51050         (__defined_schedparam): Define to 1.
51051         (__sched_param): New structure, identical to sched_param.
51052         (__need_schedparam): Undefine.
51054 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51056         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51057         (epoll_create1): Declare.
51059         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51061 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51063         [BZ #7066]
51064         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51065         shifting retval into place.
51067 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51069         * nis/rpcsvc/nis.h: Update copyright notice.
51070         * nis/rpcsvc/nis.x: Likewise.
51071         * nis/rpcsvc/nis_callback.h: Likewise.
51072         * nis/rpcsvc/nis_callback.x: Likewise.
51073         * nis/rpcsvc/nis_object.x: Likewise.
51074         * nis/rpcsvc/nis_tags.h: Likewise.
51075         * nis/rpcsvc/yp.h: Likewise.
51076         * nis/rpcsvc/yp.x: Likewise.
51077         * nis/rpcsvc/ypupd.h: Likewise.
51078         * nis/yp_xdr.c: Likewise.
51079         * nis/ypupdate_xdr.c: Likewise.
51081         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51082         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51083         (pmap_getport): Use __libc_rpc_getport.
51084         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51085         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51086         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51088 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51091         fanotify_mark.
51093 2010-08-27  Roland McGrath  <roland@redhat.com>
51095         * sysdeps/i386/i686/multiarch/Makefile
51096         (CFLAGS-varshift.c): New variable.
51098 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51100         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51101         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51103         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51105         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51107 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51109         * sysdeps/x86_64/strlen.S: Unroll the loop.
51110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51111         strlen-sse2 strlen-sse2-bsf.
51112         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51113         __strlen_no_bsf if bit_Slow_BSF is set.
51114         (__strlen_sse42): Removed.
51115         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51116         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51118 2010-08-25  Roland McGrath  <roland@redhat.com>
51120         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51121         * sysdeps/x86_64/multiarch/varshift.c: New file.
51122         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51123         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51124         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51125         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51127 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51129         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51130         strlen-sse2 strlen-sse2-bsf.
51131         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51132         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51133         (__strlen_sse2): Removed.
51134         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51135         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51137         bit_Slow_BSF for Atom.
51138         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51139         (index_Slow_BSF): Define.
51140         (HAS_SLOW_BSF): Define.
51142 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51144         [BZ #10851]
51145         * resolv/res_init.c (__res_vinit): When no server address at all
51146         is given default to loopback.
51148 2010-08-24  Roland McGrath  <roland@redhat.com>
51150         * configure.in: Remove config-name.h generation.
51151         * configure: Regenerated.
51152         * config-name.in: File removed.
51153         * scripts/config-uname.sh: New file.
51154         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51155         ($(objdir)config-name.h): New target.
51157         * sunrpc/rpc_parse.h: Avoid nested comment.
51159 2010-08-24  Richard Henderson  <rth@redhat.com>
51160             Ulrich Drepper  <drepper@redhat.com>
51161             H.J. Lu  <hongjiu.lu@intel.com>
51163         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51165         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51166         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51167         _mm_alignr_epi8 with _mm_loadu_si128.
51168         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51169         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51170         (__m128i_shift_right): Removed.
51171         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51172         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51173         * sysdeps/x86_64/multiarch/varshift.h: New file.
51174         * sysdeps/x86_64/multiarch/varshift.S: New file.
51176 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51178         * configure.in: Move assembler checks to before sysdep dir checking.
51180 2010-08-20  Petr Baudis  <pasky@suse.cz>
51182         * LICENSES: Sync the sunrpc license.
51184 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51186         * sunrpc/auth_des.c: Update copyright notice once again.
51187         * sunrpc/auth_none.c: Likewise.
51188         * sunrpc/auth_unix.c: Likewise.
51189         * sunrpc/authdes_prot.c: Likewise.
51190         * sunrpc/authuxprot.c: Likewise.
51191         * sunrpc/bindrsvprt.c: Likewise.
51192         * sunrpc/clnt_gen.c: Likewise.
51193         * sunrpc/clnt_perr.c: Likewise.
51194         * sunrpc/clnt_raw.c: Likewise.
51195         * sunrpc/clnt_simp.c: Likewise.
51196         * sunrpc/clnt_tcp.c: Likewise.
51197         * sunrpc/clnt_udp.c: Likewise.
51198         * sunrpc/clnt_unix.c: Likewise.
51199         * sunrpc/des_crypt.c: Likewise.
51200         * sunrpc/des_soft.c: Likewise.
51201         * sunrpc/get_myaddr.c: Likewise.
51202         * sunrpc/getrpcport.c: Likewise.
51203         * sunrpc/key_call.c: Likewise.
51204         * sunrpc/key_prot.c: Likewise.
51205         * sunrpc/openchild.c: Likewise.
51206         * sunrpc/pm_getmaps.c: Likewise.
51207         * sunrpc/pm_getport.c: Likewise.
51208         * sunrpc/pmap_clnt.c: Likewise.
51209         * sunrpc/pmap_prot.c: Likewise.
51210         * sunrpc/pmap_prot2.c: Likewise.
51211         * sunrpc/pmap_rmt.c: Likewise.
51212         * sunrpc/rpc/auth.h: Likewise.
51213         * sunrpc/rpc/auth_unix.h: Likewise.
51214         * sunrpc/rpc/clnt.h: Likewise.
51215         * sunrpc/rpc/des_crypt.h: Likewise.
51216         * sunrpc/rpc/key_prot.h: Likewise.
51217         * sunrpc/rpc/netdb.h: Likewise.
51218         * sunrpc/rpc/pmap_clnt.h: Likewise.
51219         * sunrpc/rpc/pmap_prot.h: Likewise.
51220         * sunrpc/rpc/pmap_rmt.h: Likewise.
51221         * sunrpc/rpc/rpc.h: Likewise.
51222         * sunrpc/rpc/rpc_des.h: Likewise.
51223         * sunrpc/rpc/rpc_msg.h: Likewise.
51224         * sunrpc/rpc/svc.h: Likewise.
51225         * sunrpc/rpc/svc_auth.h: Likewise.
51226         * sunrpc/rpc/types.h: Likewise.
51227         * sunrpc/rpc/xdr.h: Likewise.
51228         * sunrpc/rpc_clntout.c: Likewise.
51229         * sunrpc/rpc_cmsg.c: Likewise.
51230         * sunrpc/rpc_common.c: Likewise.
51231         * sunrpc/rpc_cout.c: Likewise.
51232         * sunrpc/rpc_dtable.c: Likewise.
51233         * sunrpc/rpc_hout.c: Likewise.
51234         * sunrpc/rpc_main.c: Likewise.
51235         * sunrpc/rpc_parse.c: Likewise.
51236         * sunrpc/rpc_parse.h: Likewise.
51237         * sunrpc/rpc_prot.c: Likewise.
51238         * sunrpc/rpc_sample.c: Likewise.
51239         * sunrpc/rpc_scan.c: Likewise.
51240         * sunrpc/rpc_scan.h: Likewise.
51241         * sunrpc/rpc_svcout.c: Likewise.
51242         * sunrpc/rpc_tblout.c: Likewise.
51243         * sunrpc/rpc_util.c: Likewise.
51244         * sunrpc/rpc_util.h: Likewise.
51245         * sunrpc/rpcinfo.c: Likewise.
51246         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51247         * sunrpc/rpcsvc/key_prot.x: Likewise.
51248         * sunrpc/rpcsvc/klm_prot.x: Likewise.
51249         * sunrpc/rpcsvc/mount.x: Likewise.
51250         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51251         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51252         * sunrpc/rpcsvc/rex.x: Likewise.
51253         * sunrpc/rpcsvc/rstat.x: Likewise.
51254         * sunrpc/rpcsvc/rusers.x: Likewise.
51255         * sunrpc/rpcsvc/sm_inter.x: Likewise.
51256         * sunrpc/rpcsvc/spray.x: Likewise.
51257         * sunrpc/rpcsvc/yppasswd.x: Likewise.
51258         * sunrpc/rtime.c: Likewise.
51259         * sunrpc/svc.c: Likewise.
51260         * sunrpc/svc_auth.c: Likewise.
51261         * sunrpc/svc_authux.c: Likewise.
51262         * sunrpc/svc_raw.c: Likewise.
51263         * sunrpc/svc_run.c: Likewise.
51264         * sunrpc/svc_simple.c: Likewise.
51265         * sunrpc/svc_tcp.c: Likewise.
51266         * sunrpc/svc_udp.c: Likewise.
51267         * sunrpc/svc_unix.c: Likewise.
51268         * sunrpc/svcauth_des.c: Likewise.
51269         * sunrpc/xcrypt.c: Likewise.
51270         * sunrpc/xdr.c: Likewise.
51271         * sunrpc/xdr_array.c: Likewise.
51272         * sunrpc/xdr_float.c: Likewise.
51273         * sunrpc/xdr_mem.c: Likewise.
51274         * sunrpc/xdr_rec.c: Likewise.
51275         * sunrpc/xdr_ref.c: Likewise.
51276         * sunrpc/xdr_sizeof.c: Likewise.
51277         * sunrpc/xdr_stdio.c: Likewise.
51279         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51280         handling.
51282 2010-08-19  Andreas Schwab  <schwab@redhat.com>
51284         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51286 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
51288         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51289         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51290         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51291         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51292         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51293         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51294         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51295         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51296         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51297         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51298         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51299         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51300         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51301         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51303 2010-07-26  Anton Blanchard  <anton@samba.org>
51305         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51306         * malloc/arena.c (heap_trim): Likewise.
51308 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
51310         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51311         here.  Not...
51312         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51313         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51315 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
51317         * sysdeps/i386/elf/Makefile: New file.
51319 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51321         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51322         from fanotify_init.
51323         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51324         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51326 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
51328         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51329         of strncasecmp_l.
51330         * sysdeps/multiarch/strcmp.S: Likewise.
51332 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
51334         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51335         strncase_l-nonascii.
51336         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51337         Add strncase_l-ssse3.
51338         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51339         * sysdeps/x86_64/strcmp.S: Likewise.
51340         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51341         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51342         * sysdeps/x86_64/strncase.S: New file.
51343         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51344         * sysdeps/x86_64/strncase_l.S: New file.
51345         * string/Makefile (strop-tests): Add strncasecmp.
51346         * string/test-strncasecmp.c: New file.
51348         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51349         warning.
51351         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51352         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51354 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51356         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51358 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
51360         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51361         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51362         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51364 2010-05-01  Alan Modra  <amodra@gmail.com>
51366         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51367         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51368         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51369         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51370         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51371         tidying.  Don't tail-call __sigjmp_save for static lib.
51372         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51373         save location.
51374         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51375         (CALL_MCOUNT): Add eh info, and nop after bl.
51376         (TAIL_CALL_SYSCALL_ERROR): New macro.
51377         (PSEUDO_RET): Use it.
51378         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51379         Correct save location of integer regs and cr.
51380         (_dl_profile_resolve): Correct cr save location.  Delete nops
51381         after bl when SHARED.  Reduce cfi size a little by better
51382         placement of cfi directives.
51383         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51384         make a stack frame.  Instead use parm save area as a temp.
51385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51386         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
51387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51388         Don't make a stack frame for parent, use parm save area.
51389         Increase child stack frame to 112 bytes.  Don't save unused reg,
51390         and adjust reg usage.  Set up cfi on error recovery and
51391         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51393         (__makecontext): Add dummy nop after jump to exit.
51394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51395         Use correct parm save area and cr save, reduce stack frame.
51396         Correct cfi for possible PSEUDO_RET frame setup.
51397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51398         Branch to local label emitted by PSEUDO_RET rather than
51399         __syscall_error.
51401 2010-08-12  Andreas Schwab  <schwab@redhat.com>
51403         [BZ #11904]
51404         * locale/programs/locale.c (print_assignment): New function.
51405         (show_locale_vars): Use it.
51407 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
51409         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51410         field.
51411         (struct statfs64): Likewise.
51412         (_STATFS_F_FLAGS): Define.
51413         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51414         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51415         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51416         (ST_VALID): Define locally.
51417         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51418         __statvfs_getflags, use the provided value.
51419         * sysdeps/unix/sysv/linux/kernel-features.h: Define
51420         __ASSUME_STATFS_F_FLAGS.
51422         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51424         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51425         Add sys/fanotify.h.
51426         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51427         fanotify_mask for GLIBC_2.13.
51428         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51429         fanotify_init and fanotify_mark.
51430         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51431         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51433         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51434         Add prlimit.
51435         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51436         prlimit64 for GLIBC_2.13.
51437         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51438         prlimit64.
51439         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51440         syscall.
51441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51442         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51443         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51444         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51445         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
51446         add prlimit alias.
51447         * sysdeps/unix/sysv/linux/prlimit.c: New file.
51449         [BZ #11903]
51450         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51451         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51453         * nss/Makefile: Add rules to build and run tst-nss-test1.
51454         * shlib-versions: Add entry for libnss_test1.
51455         * nss/nss_test1.c: New file.
51456         * nss/tst-nss-test1.c: New file.
51458         * nss/nsswitch.c (__nss_database_custom): Define new variable.
51459         (__nss_configure_lookup): Set appropriate entry in
51460         __nss_configure_lookup to true.
51461         * nss/nsswitch.h: Define enum with indeces of databases in
51462         databases and __nss_database_custom arrays.  Declare
51463         __nss_database_custom.
51464         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51465         to avoid using nscd when custom rules are installed.
51466         * nss/getXXbyYY_r.c: Likewise.
51467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51469         * nss/nss_files/files-parse.c: Whitespace fixes.
51471 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
51473         [BZ #11883]
51474         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51475         * posix/fnmatch_loop.c: Likewise.
51477 2010-07-17  Andi Kleen  <ak@linux.intel.com>
51479         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51480         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51481         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51482         * Versions.def [GLIBC_2.13]: Add.
51484 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
51486         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51487         Also fail if tpwd after pwuid call is NULL.
51489 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51491         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51492         when converting to ms.
51494 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51496         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51497         EOPNOTSUPP errors with ENOTTY.
51498         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51499         EOPNOTSUPP errors with ENOTTY.
51501 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
51503         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51504         Add strcasecmp_l-ssse3.
51505         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51506         strcasecmp.
51507         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51508         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51509         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51511 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
51513         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51515         * string/Makefile (strop-tests): Add strcasecmp.
51516         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51517         strcasecmp_l-nonascii.
51518         (gen-as-const-headers): Add locale-defines.sym.
51519         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51520         * sysdeps/x86_64/strcasecmp.S: New file.
51521         * sysdeps/x86_64/strcasecmp_l.S: New file.
51522         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51523         * sysdeps/x86_64/locale-defines.sym: New file.
51524         * string/test-strcasecmp.c: New file.
51526         * string/test-strcasestr.c: Test both ends of the range of characters.
51527         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51529 2010-07-29  Roland McGrath  <roland@redhat.com>
51531         [BZ #11856]
51532         * manual/locale.texi (Yes-or-No Questions): Fix example code.
51534 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
51536         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51537         for ld.so.
51539 2010-07-27  Andreas Schwab  <schwab@redhat.com>
51541         * manual/memory.texi (Malloc Tunable Parameters): Document
51542         M_PERTURB.
51544 2010-07-26  Roland McGrath  <roland@redhat.com>
51546         [BZ #11840]
51547         * configure.in (-fgnu89-inline check): Set and substitute
51548         gnu89_inline, not libc_cv_gnu89_inline.
51549         * configure: Regenerated.
51550         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51552 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
51554         * string/test-strnlen.c: New file.
51555         * string/Makefile (strop-tests): Add strnlen.
51556         * string/tester.c (test_strnlen): Add a few more test cases.
51557         * string/tst-strlen.c: Better error reporting.
51559         * sysdeps/x86_64/strnlen.S: New file.
51561 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
51563         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51564         lower-latency instructions.
51566 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
51568         * string/test-strcasestr.c: New file.
51569         * string/test-strstr.c: New file.
51570         * string/Makefile (strop-tests): Add strstr and strcasestr.
51571         * string/str-two-way.h: Don't undefine MAX.
51572         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51574 2010-07-21  Andreas Schwab  <schwab@redhat.com>
51576         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51577         strcasestr-nonascii.
51578         (CFLAGS-strcasestr-nonascii.c): Define.
51579         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51580         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51581         Remove unused attribute.
51583 2010-07-20  Roland McGrath  <roland@redhat.com>
51585         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51586         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
51587         ld.so.cache was broken.  With it, there is no way to disable dsocaps
51588         like LD_HWCAP_MASK can disable hwcaps.
51590 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51592         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51594 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
51596         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51597         call in strcasestr.
51598         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51599         __strcasestr_sse42_nonascii.
51600         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51601         strcasestr-nonascii.c.
51602         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51604 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
51606         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51607         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51608         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51609         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51611 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
51613         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51614         fcntl.
51616 2010-07-06  Andreas Schwab  <schwab@redhat.com>
51618         [BZ #11577]
51619         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51620         dl_signal_cerror.
51622 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
51624         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51625         _PC_PIPE_BUF using F_GETPIPE_SZ.
51627 2010-07-05  Roland McGrath  <roland@redhat.com>
51629         * manual/arith.texi (Rounding Functions): Fix rint description
51630         implicit in round description.
51632 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
51634         * elf/Makefile: Fix linking for a few tests to make recent linker
51635         happy.
51637 2010-06-30  Andreas Schwab  <schwab@redhat.com>
51639         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51640         $(common-objpfx)libc_nonshared.a.
51642 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
51644         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51645         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51646         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51647         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51648         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51649         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51650         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51651         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51666         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51667         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51668         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51669         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51670         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51671         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51672         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51673         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51674         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51675         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51676         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51677         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51693 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
51695         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51696         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
51697         * string/memmove.c (memmove): Renamed to ...
51698         (MEMMOVE): ...this.  Default to memmove.
51699         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51700         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51701         (END_CHK): Define.
51702         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51703         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51704         mempcpy-ssse3-back memmove-ssse3-back.
51705         * sysdeps/x86_64/multiarch/bcopy.S: New file .
51706         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51707         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51708         * sysdeps/x86_64/multiarch/memcpy.S: New file.
51709         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51710         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51711         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51712         * sysdeps/x86_64/multiarch/memmove.c: New file.
51713         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51714         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51715         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51716         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51717         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51718         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51719         Define.
51720         (index_Fast_Copy_Backward): Define.
51721         (HAS_ARCH_FEATURE): Define.
51722         (HAS_FAST_REP_STRING): Define.
51723         (HAS_FAST_COPY_BACKWARD): Define.
51725 2010-06-21  Andreas Schwab  <schwab@redhat.com>
51727         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51728         Restore proper fallback handling.
51730 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
51732         [BZ #11701]
51733         * posix/group_member.c (__group_member): Correct checking loop.
51735         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51736         OOM in getpwuid_r correctly.  Return error number when the caller
51737         should return, otherwise -1.
51738         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51739         call returning > 0 value.
51740         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51742 2010-06-07  Andreas Schwab  <schwab@redhat.com>
51744         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51745         libc_nonshared.a from targets in modules-names.
51747 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
51749         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51750         requires it.
51752 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
51754         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51755         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51756         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51757         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51759 2010-06-02  Andreas Schwab  <schwab@redhat.com>
51761         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51763 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
51765         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51766         and F_GETPIPE_SZ.
51767         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51768         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51769         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51770         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51771         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51772         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51774 2010-06-14  Roland McGrath  <roland@redhat.com>
51776         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51778 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
51780         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51781         __REDIRECT followed by __THROW.
51782         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51783         * posix/getopt.h (getopt): Likewise.
51785 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51787         * hurd/lookup-at.c (__file_name_lookup_at): Accept
51788         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
51789         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51790         in AT_FLAGS.
51791         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51792         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51794 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
51796         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51798 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
51800         [BZ #11640]
51801         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51802         Properly check family and model.
51804 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
51806         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51808 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
51810         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51812 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
51814         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51815         symbol reference.
51817 2010-05-19  Andreas Schwab  <schwab@redhat.com>
51819         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51820         symbol reference.
51822 2010-05-21  Andreas Schwab  <schwab@redhat.com>
51824         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51825         and internal_recvmmsg.
51826         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51827         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51828         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51829         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51831         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51832         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51833         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51835 2010-05-20  Andreas Schwab  <schwab@redhat.com>
51837         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51839 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
51841         POWER7 optimizations.
51842         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51843         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51845 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
51847         * version.h: Update for 2.13 development version.
51849 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
51851         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51852         exceptions.  Return 0.
51854 2010-05-07  Roland McGrath  <roland@redhat.com>
51856         * elf/ldconfig.c (main): Add a const.
51858 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
51860         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51861         (args_options): Add no-idn option.
51862         (ahosts_keys_int): Add idn_flags to ai_flags.
51863         (parse_option): Handle 'i' option to clear idn_flags.
51865         * malloc/malloc.c (_int_free): Possible race in the most recently
51866         added check.  Only act on the data if no current modification
51867         happened.
51869 See ChangeLog.17 for earlier changes.