Fix malloc_info namespace (bug 17570).
[glibc.git] / ChangeLog
blobb7ec0f1eb5fe289e153f4228284cca219d1b68b0
1 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #17570]
4         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5         define as weak alias of __malloc_info.
7         [BZ #17584]
8         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10         (__rewinddir): Use libc_hidden_def.
11         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12         as weak alias of __rewinddir.  Don't use libc_hidden_def.
13         (__rewinddir): Use libc_hidden_def.
14         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
15         weak alias of __rewinddir.  Don't use libc_hidden_def.
16         (__rewinddir): Use libc_hidden_def.
17         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18         (__rewinddir): Use libc_hidden_proto.
19         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20         rewinddir.
21         (__getcwd): Use __rewinddir instead of rewinddir.
23         [BZ #17583]
24         * libio/fileno.c (fileno): Rename to __fileno and define as weak
25         alias of __fileno.  Use libc_hidden_weak.
26         (__fileno): Use libc_hidden_def.
27         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29         alias of __ftello.
30         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31         __ftello.
32         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
34         libc_hidden_def.
35         (fread_unlocked): Don't use libc_hidden_ver.
36         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37         and define as weak alias of __fread_unlocked.  Don't use
38         libc_hidden_def.
39         (__fread_unlocked): Use libc_hidden_def.
40         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
41         (ftello): Don't use libc_hidden_proto.
42         (__ftello): Declare.  Use libc_hidden_proto.
43         (fread_unlocked): Don't use libc_hidden_proto.
44         (__fread_unlocked): Declare.  Use libc_hidden_proto.
45         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
46         and __ftello instead of fileno, fread_unlocked and ftello.
48 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
51         GOT12.
52         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
53         Likewise.
54         (_dl_start_user): Likewise.
55         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
57 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
58             Siddhesh Poyarekar  <siddhesh@redhat.com>
60         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
61         Move argv and envp down instead of moving argc up.
62         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
64 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
66         [BZ #17506]
67         * test-skeleton.c (main): Return successful if one of
68         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
69         * string/tst-strcoll-overflow.c: Define expected status.
71 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
73         [BZ #17475]
74         * locale/iso-639.def: Define Bhili and Tulu language codes.
76 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
78         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
80 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
82         [BZ #17555]
83         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
85 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
87         * configure.ac: Updated check of minimal required version to
88         2.22.
89         * manual/install.texi (Tools for Compilation): Updated version
90         number.
91         * configure: Regenerated.
92         * INSTALL: Likewise.
94 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
96         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
97         __tls_get_addr.
99 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
101         * include/sys/wait.h (__libc_waitpid): Remove declaration.
102         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
103         (__waitpid): Don't define as alias.  Use libc_hidden_def not
104         libc_hidden_weak.
105         (waitpid): Define as alias of __waitpid.
106         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
107         __waitpid.
108         (__waitpid): Don't define as alias.  Use libc_hidden_def not
109         libc_hidden_weak.
110         (waitpid): Define as alias of __waitpid.
111         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
112         __libc_waitpid alias.
113         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
114         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
115         Likewise.
116         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
117         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
118         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
119         alias.
120         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
121         __waitpid.
122         (__waitpid): Don't define as alias.  Use libc_hidden_def not
123         libc_hidden_weak.
124         (waitpid): Define as alias of __waitpid.
126 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
128         * manual/llio.texi: Add comment that write safety has been
129         fixed in Linux.
131         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
132         (localplt-build-dso): Add elf/ld.so.
133         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
134         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
135         and free for ld.so.
136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
137         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
139         Likewise.
140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
141         Likewise.
142         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
143         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
144         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
145         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
146         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
147         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
148         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
149         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
150         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
151         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
152         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
154 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
156         [BZ #14132]
157         * include/libc-symbols.h (INTUSE): Remove macro.
158         (INTDEF): Likewise.
159         (INTVARDEF): Likewise.
160         (_INTVARDEF): Likewise.
161         (INTDEF2): Likewise.
162         (INTVARDEF2): Likewise.
163         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
164         rtld_hidden_def instead of INTVARDEF.
165         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
166         (_dl_starting_up_internal): Remove declaration.
167         (_dl_starting_up): Use rtld_hidden_proto.
168         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
169         declaration.
170         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
171         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
172         _dl_starting_up.
173         * elf/dl-writev.h (_dl_writev): Likewise.
174         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
175         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
176         _dl_starting_up_internal.
178 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
180         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
181         test-skeleton.c.
183 2014-11-05  Will Newton  <will.newton@linaro.org>
185         * benchtests/Makefile: (bench-malloc): Add malloc thread
186         scalability benchmark.
187         * benchtests/bench-malloc-threads.c: New file.
189 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
191         * sysdeps/aarch64/strchrnul.S: New file.
193 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
195         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
196         definition.
197         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
198         Likwise.
199         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
200         Likewise.
201         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
202         Likewise.
203         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
204         Likewise.
205         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
206         Likewise.
208 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
210         * catgets/test-gencat.c: Use test-skeleton.c.
211         * catgets/tst-catgets.c: Likewise.
212         * csu/tst-empty.c: Likewise.
213         * elf/tst-audit2.c: Likewise.
214         * elf/tst-global1.c: Likewise.
215         * elf/tst-pathopt.c: Likewise.
216         * elf/tst-piemod1.c: Likewise.
217         * elf/tst-tls10.c: Likewise.
218         * elf/tst-tls11.c: Likewise.
219         * elf/tst-tls12.c: Likewise.
220         * gnulib/tst-gcc.c: Likewise.
221         * iconvdata/tst-e2big.c: Likewise.
222         * iconvdata/tst-loading.c: Likewise.
223         * iconv/tst-iconv1.c: Likewise.
224         * iconv/tst-iconv2.c: Likewise.
225         * inet/test-inet6_opt.c: Likewise.
226         * inet/tst-gethnm.c: Likewise.
227         * inet/tst-network.c: Likewise.
228         * inet/tst-ntoa.c: Likewise.
229         * intl/tst-codeset.c: Likewise.
230         * intl/tst-gettext2.c: Likewise.
231         * intl/tst-gettext3.c: Likewise.
232         * intl/tst-ngettext.c: Likewise.
233         * intl/tst-translit.c: Likewise.
234         * io/test-stat.c: Likewise.
235         * libio/test-fmemopen.c: Likewise.
236         * libio/tst-freopen.c: Likewise.
237         * libio/tst-sscanf.c: Likewise.
238         * libio/tst-ungetwc1.c: Likewise.
239         * libio/tst-ungetwc2.c: Likewise.
240         * libio/tst-widetext.c: Likewise.
241         * localedata/tst-ctype.c: Likewise.
242         * localedata/tst-digits.c: Likewise.
243         * localedata/tst-leaks.c: Likewise.
244         * localedata/tst-mbswcs1.c: Likewise.
245         * localedata/tst-mbswcs2.c: Likewise.
246         * localedata/tst-mbswcs3.c: Likewise.
247         * localedata/tst-mbswcs4.c: Likewise.
248         * localedata/tst-mbswcs5.c: Likewise.
249         * localedata/tst-setlocale.c: Likewise.
250         * localedata/tst-trans.c: Likewise.
251         * localedata/tst-wctype.c: Likewise.
252         * localedata/tst-xlocale1.c: Likewise.
253         * login/tst-grantpt.c: Likewise.
254         * malloc/tst-calloc.c: Likewise.
255         * malloc/tst-malloc.c: Likewise.
256         * malloc/tst-mallocstate.c: Likewise.
257         * malloc/tst-mcheck.c: Likewise.
258         * malloc/tst-mtrace.c: Likewise.
259         * malloc/tst-obstack.c: Likewise.
260         * math/atest-exp2.c: Likewise.
261         * math/atest-exp.c: Likewise.
262         * math/atest-sincos.c: Likewise.
263         * math/test-matherr.c: Likewise.
264         * math/test-misc.c: Likewise.
265         * math/test-powl.c: Likewise.
266         * math/tst-definitions.c: Likewise.
267         * misc/tst-dirname.c: Likewise.
268         * misc/tst-efgcvt.c: Likewise.
269         * misc/tst-fdset.c: Likewise.
270         * misc/tst-hsearch.c: Likewise.
271         * misc/tst-mntent2.c: Likewise.
272         * nptl/tst-sem7.c: Likewise.
273         * nptl/tst-sem8.c: Likewise.
274         * nptl/tst-sem9.c: Likewise.
275         * nss/test-netdb.c: Likewise.
276         * posix/tst-fnmatch.c: Likewise.
277         * posix/tst-getlogin.c: Likewise.
278         * posix/tst-gnuglob.c: Likewise.
279         * posix/tst-mmap.c: Likewise.
280         * pwd/tst-getpw.c: Likewise.
281         * resolv/tst-inet_ntop.c: Likewise.
282         * rt/tst-timer.c: Likewise.
283         * stdio-common/test-fseek.c: Likewise.
284         * stdio-common/test-popen.c: Likewise.
285         * stdio-common/test-vfprintf.c: Likewise.
286         * stdio-common/tst-cookie.c: Likewise.
287         * stdio-common/tst-fileno.c: Likewise.
288         * stdio-common/tst-gets.c: Likewise.
289         * stdio-common/tst-obprintf.c: Likewise.
290         * stdio-common/tst-perror.c: Likewise.
291         * stdio-common/tst-sprintf2.c: Likewise.
292         * stdio-common/tst-sprintf3.c: Likewise.
293         * stdio-common/tst-sprintf.c: Likewise.
294         * stdio-common/tst-swprintf.c: Likewise.
295         * stdio-common/tst-tmpnam.c: Likewise.
296         * stdio-common/tst-unbputc.c: Likewise.
297         * stdio-common/tst-wc-printf.c: Likewise.
298         * stdlib/tst-environ.c: Likewise.
299         * stdlib/tst-fmtmsg.c: Likewise.
300         * stdlib/tst-limits.c: Likewise.
301         * stdlib/tst-rand48-2.c: Likewise.
302         * stdlib/tst-rand48.c: Likewise.
303         * stdlib/tst-random2.c: Likewise.
304         * stdlib/tst-random.c: Likewise.
305         * stdlib/tst-strtol.c: Likewise.
306         * stdlib/tst-strtoll.c: Likewise.
307         * stdlib/tst-tls-atexit.c: Likewise.
308         * stdlib/tst-xpg-basename.c: Likewise.
309         * string/test-ffs.c: Likewise.
310         * string/tst-bswap.c: Likewise.
311         * string/tst-inlcall.c: Likewise.
312         * string/tst-strtok.c: Likewise.
313         * string/tst-strxfrm.c: Likewise.
314         * sysdeps/x86_64/tst-audit10.c: Likewise.
315         * sysdeps/x86_64/tst-audit3.c: Likewise.
316         * sysdeps/x86_64/tst-audit4.c: Likewise.
317         * sysdeps/x86_64/tst-audit5.c: Likewise.
318         * time/tst-ftime_l.c: Likewise.
319         * time/tst-getdate.c: Likewise.
320         * time/tst-mktime3.c: Likewise.
321         * time/tst-mktime.c: Likewise.
322         * time/tst-posixtz.c: Likewise.
323         * time/tst-strptime2.c: Likewise.
324         * time/tst-strptime3.c: Likewise.
325         * wcsmbs/tst-btowc.c: Likewise.
326         * wcsmbs/tst-mbrtowc.c: Likewise.
327         * wcsmbs/tst-mbsrtowcs.c: Likewise.
328         * wcsmbs/tst-wchar-h.c: Likewise.
329         * wcsmbs/tst-wcpncpy.c: Likewise.
330         * wcsmbs/tst-wcrtomb.c: Likewise.
331         * wcsmbs/tst-wcsnlen.c: Likewise.
332         * wcsmbs/tst-wcstof.c: Likewise.
334 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
336         [BZ #14132]
337         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
338         INTDEF.
339         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
340         declaration.
341         (_dl_mcount): Use rtld_hidden_proto.
342         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
343         _dl_mcount.
344         * elf/rtld.c (_rtld_global_ro): Likewise.
346         [BZ #14132]
347         * elf/dl-init.c (_dl_init): Don't use INTDEF.
348         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
349         of _dl_init_internal.
350         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
351         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
352         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
353         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
354         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
355         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
356         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
357         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
358         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
359         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
360         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
361         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
362         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
363         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
364         * sysdeps/tile/dl-start.S (_start): Likewise.
365         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
366         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
368         [BZ #14132]
369         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
370         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
371         (rtld_progname): Make macro definition unconditional.
372         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
373         INTDEF.
374         (dlmopen_doit): Do not use INTUSE with _dl_argv.
375         (dl_main): Likewise.
376         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
377         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
378         instead of _dl_argv_internal.
379         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
380         __GI__dl_argv instead of INTUSE(_dl_argv).
381         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
382         __GI__dl_argv instead of _dl_argv_internal.
384         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
385         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
386         macro.
387         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
388         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
389         New macro.
390         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
391         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
392         macro.
393         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
394         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
396 2014-11-04  Andreas Schwab  <schwab@suse.de>
398         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
400 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
402         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
403         mtvsrd instruction in binary form.
405 2014-11-03  Andreas Schwab  <schwab@suse.de>
407         [BZ #17522]
408         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
409         for less than MB_LEN_MAX use a local buffer of that size.
410         * libio/tst-fputws.c: New file.
411         * libio/Makefile (tests): Add tst-fputws.
413 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
415         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
416         the size of the fpu_fr.fpu_dregs[] array.
418 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
420         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
421         (__nanosleep): Do not define as alias.
422         (nanosleep): Define as alias of __nanosleep.
423         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
424         __libc_nanosleep name.
426 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
428         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
429         install.texi in comment.
431 2014-10-31  Torvald Riegel  <triegel@redhat.com>
433         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
434         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
435         ... add here and use lwsync or sync ...
436         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
437         ... and add here using lwsync.
439 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
441         * elf/dl-machine-reject-phdr.h: New file.
442         * elf/dl-load.c: #include that.
443         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
444         if that returned true.
446 2014-10-31  Roland McGrath  <roland@hack.frob.com>
448         [BZ #17496]
449         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
450         gen-as-const-headers chunk.  Add a big scare comment after the last
451         safe place to touch before-compile.
453 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
455         * manual/install.texi (Tools for Compilation): Update autoconf
456         version requirements.
457         * INSTALL: Regenerated.
459         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
460         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
461         (__libc_pselect): Likewise.
463         [BZ #14138]
464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
469 2014-10-31  Torvald Riegel  <triegel@redhat.com>
471         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
472         correct barrier instruction.
473         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
474         Likewise.
475         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
476         Likewise.
478 2014-10-30  Roland McGrath  <roland@hack.frob.com>
480         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
481         after defining inlines.  Instead, just use parens to defeat macro
482         expansion of __isctype in its declaration.
484 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
486         * include/sys/uio.h (__libc_readv): Remove declaration.
487         (__libc_writev): Likewise.
488         * misc/readv.c (__libc_readv): Rename to __readv.
489         (__readv): Do not define as alias.
490         (readv): Define as alias of __readv.
491         * misc/writev.c (__libc_writev): Rename to __writev.
492         (__writev): Do not define as alias.
493         (writev): Define as alias of __writev.
494         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
495         (__readv): Do not define as alias.
496         (readv): Define unconditionally as alias of __readv.
497         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
498         (__writev): Do not define as alias.
499         (writev): Define unconditionally as alias of __writev.
500         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
501         name.
502         (writev): Do not define __libc_writev name.
504 2014-10-30  Roland McGrath  <roland@hack.frob.com>
506         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
507         (convert_charseq): New function, broken out of ...
508         (use_from_charmap): ... here.  Call it.
509         (use_to_charmap): Use convert_charseq and free instead of duplicating
510         its code with a variable-length stack struct.
512 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
514         * include/fcntl.h (__libc_creat): Remove declaration.
515         * io/creat.c (__libc_creat): Rename to creat.
516         (creat): Do not define as alias.
517         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
518         of creat instead of __libc_creat.
519         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
520         to creat.
521         (creat): Do not define as alias.
522         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
523         __libc_creat.
524         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
525         __libc_creat name.
526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
527         Likewise.
529 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
531         * manual/llio.texi: Add comments discussing why write() may be
532         considered MT-unsafe on Linux.
534 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
536         * dl-load.c (local_strdup): Remove.
537         (expand_dynamic_string_token): Use __strdup.
538         (decompose_rpath): Likewise.
539         (_dl_map_object): Likewise.
541 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
543         [BZ #14132]
544         * sysdeps/generic/unwind-dw2-fde.c
545         (__register_frame_info_bases_internal): Do not declare.
546         (__register_frame_info_table_bases_internal): Likewise.
547         (__deregister_frame_info_bases_internal): Likewise.
548         (__register_frame_info_bases): Declare and use hidden_proto before
549         definition.  Use hidden_def instead of INTDEF.
550         (__register_frame_info_table_bases): Likewise.
551         (__deregister_frame_info_bases): Likewise.
552         (__register_frame_info): Do not use INTUSE.
553         (__register_frame): Likewise.
554         (__register_frame_info_table): Likewise.
555         (__register_frame_table): Likewise.
556         (__deregister_frame_info): Likewise.
557         (__deregister_frame): Likewise.
559 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
561         * sysdeps/unix/sysv/linux/arm/kernel-features.h
562         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
563         not undefine.
564         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
565         Likewise.
566         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
567         Likewise.
569 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
571         [BZ #14138]
572         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
573         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
574         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
575         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
576         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
577         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
578         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
579         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
580         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
581         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
582         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
583         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
584         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
585         syscall.
586         (setfsuid): Likewise.
587         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
588         (setfsuid): Likewise.
589         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
590         (setfsuid): Likewise.
591         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
592         Likewise.
593         (setfsuid): Likewise.
594         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
595         (setfsuid): Likewise.
596         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
597         Likewise.
598         (setfsuid): Likewise.
600 2014-10-27  Andreas Schwab  <schwab@suse.de>
602         [BZ #17501]
603         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
604         check for Slow_SSE4_2 feature bit.
605         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
606         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
607         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
608         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
610 2014-10-24  Roland McGrath  <roland@hack.frob.com>
612         * configure.ac: Validate compiler version with a empirical test of
613         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
614         $CC -v output.
615         * configure: Regenerated.
617         * inet/htons.c (htons): Prototypify.
618         * inet/htonl.c (htonl): Likewise.
620 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
622         * string/strncat.c (strncat): Improve performance by using strlen.
624 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
626         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
628 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
630         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
631         Call libc_fetestexcept_aarch64.
633 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
635         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
636         Call libc_feholdexcept_aarch64.
638 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
640         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
641         Call get_rounding_mode.
643 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
645         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
646         Simplify logic.
648 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
650         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
651         Simplify logic.
653 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
655         [BZ #14138]
656         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
657         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
658         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
659         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
660         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
661         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
662         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
663         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
664         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
665         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
666         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
667         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
668         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
669         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
670         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
671         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
672         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
673         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
674         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
675         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
676         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
677         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
678         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
679         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
680         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
681         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
682         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
683         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
684         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
685         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
686         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
687         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
688         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
689         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
690         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
691         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
692         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
693         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
694         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
695         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
696         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
697         syscall.
698         (geteuid): Likewise.
699         (getgid): Likewise.
700         (getuid): Likewise.
701         (getresgid): Likewise.
702         (getresuid): Likewise.
703         (getgroups): Likewise.
704         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
705         (geteuid): Likewise.
706         (getgid): Likewise.
707         (getuid): Likewise.
708         (getresgid): Likewise.
709         (getresuid): Likewise.
710         (getgroups): Likewise.
711         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
712         (geteuid): Likewise.
713         (getgid): Likewise.
714         (getuid): Likewise.
715         (getresgid): Likewise.
716         (getresuid): Likewise.
717         (getgroups): Likewise.
718         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
719         Likewise.
720         (geteuid): Likewise.
721         (getgid): Likewise.
722         (getuid): Likewise.
723         (getresgid): Likewise.
724         (getresuid): Likewise.
725         (getgroups): Likewise.
726         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
727         (geteuid): Likewise.
728         (getgid): Likewise.
729         (getuid): Likewise.
730         (getresgid): Likewise.
731         (getresuid): Likewise.
732         (getgroups): Likewise.
733         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
734         Likewise.
735         (geteuid): Likewise.
736         (getgid): Likewise.
737         (getuid): Likewise.
738         (getgroups): Likewise.
740         [BZ #14138]
741         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
742         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
743         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
744         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
745         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
746         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
747         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
748         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
749         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
750         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
751         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
752         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
753         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
754         __chown.
755         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
756         (lchown): Likewise.
757         (fchown): Likewise.
758         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
759         Likewise.
760         (lchown): Likewise.
761         (fchown): Likewise.
762         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
763         (lchown): Likewise.
764         (fchown): Likewise.
765         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
766         Likewise.
767         (lchown): Likewise.
768         (fchown): Likewise.
770 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
772         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
773         Simplify logic.
775 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
777         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
778         Cleanup logic.
780 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
782         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
783         Remove unused include.
785 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
787         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
788         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
789         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
790         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
792 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
793             Helge Deller <deller@gmx.de>
795         [BZ #17508]
796         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
797         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
798         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
800 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
802         [BZ #14132]
803         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
804         Remove macro definition.
805         (__ashrdi3_v_glibc20): Likewise.
806         (__lshrdi3_v_glibc20): Likewise.
807         (__cmpdi2_v_glibc20): Likewise.
808         (__ucmpdi2_v_glibc20): Likewise.
809         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
810         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
811         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
812         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
813         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
814         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
816 2014-10-22  Roland McGrath  <roland@hack.frob.com>
818         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
819         old GNU extension [0] syntax.
820         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
821         alloca rather than an array member with variable length.
822         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
823         * nscd/nscd.c (invalidate_db): New function, broken out of ...
824         (parse_opt): ... here.  Likewise use alloca there.
825         Validate the -i argument before checking for rootness.
826         (send_shutdown): New function, broken out of ...
827         (parse_opt): ... here.
829 2014-10-22  Roland McGrath  <roland@hack.frob.com>
831         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
832         macro to get at the _rt_local_ro field.
833         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
834         ([PIC] case) or _dl_hwcap ([!PIC] case).
835         * sysdeps/arm/setjmp.S: Likewise.
837         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
838         * sysdeps/arm/configure.ac: New check to define it.
839         * sysdeps/arm/configure: Regenerated.
840         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
841         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
842         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
843         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
844         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
845         Use move/movt pair instead of a load.
846         (LDST_GLOBAL): Macro removed.
847         (LDR_GLOBAL): New macro replaces it.
848         (LDR_HIDDEN): New macro.
849         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
850         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
852         * setjmp/tst-setjmp-static.c: New file.
853         * setjmp/Makefile (tests): Add it.
854         (tests-static): New variable.
856 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
858         [BZ #17485]
859         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
861 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
863         [BZ #14132]
864         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
866 2014-10-21  Roland McGrath  <roland@hack.frob.com>
868         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
870 2014-10-20  Roland McGrath  <roland@hack.frob.com>
872         * io/fts.c (dirent_not_directory): New function.
873         (fts_build): Call it.
875 2014-10-20  Roland McGrath  <roland@hack.frob.com>
877         * nptl/version.c (__nptl_main): Use normal __write rather than
878         INTERNAL_SYSCALL.
879         (banner): Update copyright years.
881         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
882         gettimeofday.
883         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
884         * nptl/pthread_cond_timedwait.c: Likewise.
885         * nptl/pthread_mutex_timedlock.c: Likewise.
886         * nptl/sem_timedwait.c: Likewise.
888         * sysdeps/nptl/bits/libc-lock.h
889         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
890         (__libc_lock_init_recursive): Return void, not 0.
891         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
892         (__libc_rwlock_init): Likewise.
893         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
895 2014-10-20  Torvald Riegel  <triegel@redhat.com>
897         [BZ #15215]
898         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
899         (__pthread_once_slow): ... here.
900         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
901         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
903 2014-10-20  Torvald Riegel  <triegel@redhat.com>
905         [BZ #15215]
906         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
907         __PTHREAD_ONCE_FORK_GEN_INCR): New.
908         * sysdeps/nptl/fork.c (__libc_fork): Use them.
909         * nptl/pthread_once.c (__pthread_once): Likewise.
910         Update comments.
912 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
914         [BZ #14138]
915         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
916         name.
917         (writev): Use __libc_writev as strong name.
918         * sysdeps/unix/sysv/linux/readv.c: Remove file.
919         * sysdeps/unix/sysv/linux/writev.c: Likewise.
921 2014-10-17  Roland McGrath  <roland@hack.frob.com>
923         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
925         * sysdeps/i386/nptl/tls.h
926         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
927         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
928         New macros.
929         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
930         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
931         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
932         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
933         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
934         Call CHECK_THREAD_SYSINFO instead of doing an assert.
936         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
937         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
938         on [__NR_futex].
939         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
940         broken out of ...
941         (__pthread_mutex_init): ... here.  Call it.
942         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
943         Conditionalize PI cases on [__NR_futex].
944         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
945         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
946         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
948         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
949         conditional on [SIGSETXID].
950         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
951         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
952         is defined.  Likewise for SIGSETXID.
953         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
954         Conditionalize definitions on [SIGSETXID].
955         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
956         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
957         unblocking on [SIGCANCEL].
959         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
960         [__NR_set_robust_list].
962 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
964         * string/strcoll_l.c (get_next_seq): Fix up formatting.
965         (do_compare): Likewise.
967 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
969         [BZ #15884]
970         * string/strcoll_l.c: Don't include stdio.h.
971         (coll_seq): Remove members idxarr and rulearr.
972         (get_next_seq_cached): Remove function.
973         (get_next_seq): Likewise.
974         (get_next_seq_nocache): Rename to get_next_seq.
975         (do_compare): Remove function.
976         (do_compare_nocache): Rename to do_compare.
977         (STRCOLL): Remove weight and rules cache.
979 2014-10-16  Roland McGrath  <roland@hack.frob.com>
981         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
982         * sysdeps/arm/sfp-machine.h: ... to here.
983         * sysdeps/arm/Implies: Remove arm/soft-fp.
985 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
987         * conform/data/sys/utsname.h-data (*_t): Allow.
988         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
989         [POSIX] (WEXITED): Do not expect constant.
990         [POSIX] (WSTOPPED): Likewise.
991         [POSIX] (WNOHANG): Likewise.
992         [POSIX] (WNOWAIT): Likewise.
993         [POSIX] (siginfo_t): Do not expect type or elements.
994         [POSIX] (pid_t): Do not expect type.
995         [POSIX] (signal.h): Do not allow header.
996         [POSIX] (sys/resource.h): Likewise.
997         [POSIX] (si_*): Do not allow pattern.
998         [POSIX] (W*): Likewise.
999         [POSIX] (P_*): Likewise.
1000         [POSIX] (BUS_*): Likewise.
1001         [POSIX] (CLD_*): Likewise.
1002         [POSIX] (FPE_*): Likewise.
1003         [POSIX] (ILL_*): Likewise.
1004         [POSIX] (POLL_*): Likewise.
1005         [POSIX] (SEGV_*): Likewise.
1006         [POSIX] (SI_*): Likewise.
1007         [POSIX] (TRAP_*): Likewise.
1008         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1009         variable.
1011 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1013         [BZ #12926]
1014         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1015         infinite loop when __recvmsg returns 0.
1017 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
1019         * CANCEL-FCT-WAIVE: Remove file.
1020         * CANCEL-FILE-WAIVE: Likewise.
1022         [BZ #14132]
1023         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1024         instead of INTVARDEF.
1025         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1026         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1027         rtld_hidden_data_def instead of INTVARDEF.
1028         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1029         * elf/dl-deps.c (expand_dst): Likewise.
1030         * elf/dl-load.c (_dl_dst_count): Likewise.
1031         (_dl_dst_substitute): Likewise.
1032         (decompose_rpath): Likewise.
1033         (_dl_init_paths): Likewise.
1034         (open_path): Likewise.
1035         (_dl_map_object): Likewise.
1036         * elf/rtld.c (dl_main): Likewise.
1037         (process_dl_audit): Likewise.
1038         (process_envvars): Likewise.
1039         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1040         Remove declaration.
1041         (__libc_enable_secure): Use rtld_hidden_proto.
1043 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1045         * elf/dl-load.c
1046         (add_path): New function broken out of _dl_rtld_di_serinfo.
1047         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
1049 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1051         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1052         parentheses around macro arguments.
1053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1054         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1055         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1056         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1057         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1058         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1059         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1060         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1061         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1062         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1063         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1064         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1065         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1066         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1067         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1068         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1069         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1070         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1072         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1074         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1075         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1076         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1079         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1080         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1081         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1082         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1083         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1084         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1085         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1086         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1087         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1088         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1089         Likewise.
1090         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1091         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1092         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1093         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1094         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1095         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1096         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1097         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1098         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1099         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1100         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1101         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1102         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1103         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1104         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1107         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1108         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1109         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1110         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1111         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1112         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1113         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1114         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1115         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1116         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1117         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1118         (_FP_FRAC_SRS_1): Likewise.
1119         (_FP_FRAC_CLZ_1): Likewise.
1120         (_FP_MUL_MEAT_1_imm): Likewise.
1121         (_FP_MUL_MEAT_1_wide): Likewise.
1122         (_FP_MUL_MEAT_1_hard): Likewise.
1123         (_FP_SQRT_MEAT_1): Likewise.
1124         (_FP_FRAC_ASSEMBLE_1): Likewise.
1125         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1126         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1127         (__FP_CLZ_2): Likewise.
1128         (_FP_MUL_MEAT_2_wide): Likewise.
1129         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1130         (_FP_MUL_MEAT_2_gmp): Likewise.
1131         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1132         (_FP_SQRT_MEAT_2): Likewise.
1133         (_FP_FRAC_ASSEMBLE_2): Likewise.
1134         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1135         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1136         (_FP_FRAC_CLZ_4): Likewise.
1137         (_FP_MUL_MEAT_4_wide): Likewise.
1138         (_FP_MUL_MEAT_4_gmp): Likewise.
1139         (_FP_SQRT_MEAT_4): Likewise.
1140         (_FP_FRAC_ASSEMBLE_4): Likewise.
1141         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1142         * soft-fp/op-common.h (_FP_CMP): Likewise.
1143         (_FP_CMP_EQ): Likewise.
1144         (_FP_CMP_UNORD): Likewise.
1145         (_FP_TO_INT): Likewise.
1146         (_FP_FROM_INT): Likewise.
1147         [!__FP_CLZ] (__FP_CLZ): Likewise.
1148         (_FP_DIV_HELP_imm): Likewise.
1149         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1150         Likewise.
1151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1153         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1154         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1155         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1156         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1157         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1158         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1159         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1160         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1162         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1163         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1164         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1165         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1166         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1167         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1168         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1170         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1171         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1180         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1181         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1182         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1184         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1185         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1186         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1187         (FP_UNPACK_RAW_SP): Likewise.
1188         (FP_PACK_RAW_S): Likewise.
1189         (FP_PACK_RAW_SP): Likewise.
1190         (FP_UNPACK_S): Likewise.
1191         (FP_UNPACK_SP): Likewise.
1192         (FP_UNPACK_SEMIRAW_S): Likewise.
1193         (FP_UNPACK_SEMIRAW_SP): Likewise.
1194         (FP_PACK_S): Likewise.
1195         (FP_PACK_SP): Likewise.
1196         (FP_PACK_SEMIRAW_S): Likewise.
1197         (FP_PACK_SEMIRAW_SP): Likewise.
1198         (_FP_SQRT_MEAT_S): Likewise.
1199         (FP_CMP_S): Likewise.
1200         (FP_CMP_EQ_S): Likewise.
1201         (FP_CMP_UNORD_S): Likewise.
1202         (FP_TO_INT_S): Likewise.
1203         (FP_FROM_INT_S): Likewise.
1205         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1207         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1208         (FP_EX_INVALID_IMZ): Likewise.
1209         (FP_EX_INVALID_IMZ_FMA): Likewise.
1210         (FP_EX_INVALID_ISI): Likewise.
1211         (FP_EX_INVALID_ZDZ): Likewise.
1212         (FP_EX_INVALID_IDI): Likewise.
1213         (FP_EX_INVALID_SQRT): Likewise.
1214         (FP_EX_INVALID_CVI): Likewise.
1215         (FP_EX_INVALID_VC): Likewise.
1216         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1217         "invalid" exceptions.
1218         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1219         (_FP_ADD_INTERNAL): Likewise.
1220         (_FP_MUL): Likewise.
1221         (_FP_FMA): Likewise.
1222         (_FP_DIV): Likewise.
1223         (_FP_CMP_CHECK_NAN): Likewise.
1224         (_FP_SQRT): Likewise.
1225         (_FP_TO_INT): Likewise.
1226         (FP_EXTEND): Likewise.
1228 2014-10-09  Allan McRae  <allan@archlinux.org>
1230         * po/fr.po: Update French translation from translation project.
1232 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1234         [BZ #14132]
1235         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1236         of INTDEF.
1237         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1238         (__cxa_atexit): Use libc_hidden_proto.
1239         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1241         [BZ #14132]
1242         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1243         declaration.
1244         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1245         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1246         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1247         [!_ISOMAC] (__iswctype_internal): Likewise.
1248         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1249         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1250         alias.
1251         (fcntl): Remove __fcntl_internal alias.
1252         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1253         __connect_internal alias.
1254         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1255         Likewise.
1257         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1258         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1259         FP_DENORM_ZERO.
1260         (_FP_CHECK_FLUSH_ZERO): New macro.
1261         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1262         (_FP_CMP): Likewise.
1263         (_FP_CMP_EQ): Likewise.
1264         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1265         FP_DENORM_ZERO.
1266         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1267         (FP_TRUNC): Likewise.
1269         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1270         treated as invalid conversion, not as normal exponent.
1272         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1273         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1274         (_FP_CMP_EQ): Likewise.
1275         (_FP_CMP_UNORD): Likewise.
1276         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1277         (FP_CMP_EQ_D): Likewise.
1278         (FP_CMP_UNORD_D): Likewise.
1279         * soft-fp/extended.h (FP_CMP_E): Likewise.
1280         (FP_CMP_EQ_E): Likewise.
1281         (FP_CMP_UNORD_E): Likewise.
1282         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1283         (FP_CMP_EQ_Q): Likewise.
1284         (FP_CMP_UNORD_Q): Likewise.
1285         * soft-fp/single.h (FP_CMP_S): Likewise.
1286         (FP_CMP_EQ_S): Likewise.
1287         (FP_CMP_UNORD_S): Likewise.
1288         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1289         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1290         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1291         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1292         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1293         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1294         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1295         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1296         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1297         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1298         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1299         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1300         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1301         to FP_CMP_Q.
1302         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1303         FP_CMP_Q.
1304         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1305         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1306         FP_CMP_EQ_Q.
1307         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1308         FP_CMP_Q.
1309         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1310         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1311         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1312         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1313         FP_CMP_EQ_Q.
1314         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1315         FP_CMP_Q.
1316         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1317         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1318         FP_CMP_EQ_Q.
1319         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1320         FP_CMP_Q.
1321         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1322         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1323         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1324         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1325         FP_CMP_EQ_Q.
1327         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1328         a subnormal result, set the underflow exception if trapping on
1329         underflow is enabled.
1330         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1331         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1332         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1333         redefine to 0.
1334         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1335         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1336         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1337         * soft-fp/extendxftf2.c (__extendxftf2): Use
1338         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1340         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1341         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1342         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1343         FP_HANDLE_EXCEPTIONS.
1344         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1345         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1346         FP_HANDLE_EXCEPTIONS.
1347         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1348         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1349         FP_HANDLE_EXCEPTIONS.
1350         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1351         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1352         FP_HANDLE_EXCEPTIONS.
1354 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
1356         [BZ #14132]
1357         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1358         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1359         use INTUSE.
1360         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1361         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1362         Remove alias.
1363         (__adjtimex): Define using libc_hidden_ver.
1364         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1365         Remove declaration.
1366         (ntp_gettime): Call __adjtimex directly.
1367         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1368         Remove declaration.
1369         (ntp_gettimex): Call __adjtimex directly.
1370         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1371         __adjtimex_internal alias.
1373 2014-10-08  Roland McGrath  <roland@hack.frob.com>
1375         [BZ #17460]
1376         * nscd/nscd.c (more_help): Rewrite list of tables collection
1377         using xstrdup and asprintf.
1379         * nscd/nscd_conf.c: Remove local xstrdup declaration.
1381 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1382             Roland McGrath  <roland@hack.frob.com>
1384         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1385         (do_lookup_unique): ... local function 'enter' here; update callers.
1387 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
1389         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1390         compat_symbol calls on [SHARED].
1391         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1392         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1393         Remove.
1394         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1395         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1396         (oldsetrlimit): Remove.
1397         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1399         (lchown): New syscall entry.
1400         (oldsetrlimit): Remove.
1401         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1402         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1403         (oldsetrlimit): Remove.
1404         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1406         [BZ #14138]
1407         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1408         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1409         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1410         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1411         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1412         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1413         (fchown): Likewise.
1414         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1415         (fchown): Likewise.
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1417         Likewise.
1419 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1421         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1422         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1423         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1424         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1425         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1426         Likewise.
1427         (__old_sem_post): Likewise.
1429 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
1431         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1432         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1433         HAVE_CLOCK_GETTIME_VSYSCALL macros.
1434         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1435         Use INLINE_VSYSCALL macro.
1436         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1437         __vdso_clock_gettime.
1438         * sysdeps/unix/sysv/linux/tile/init-first.c
1439         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1440         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1441         __vdso_clock_gettime.
1443         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1444         to set up frame more cleanly.
1446         * sysdeps/tile/memcmp.c: New file.
1448         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1450         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1451         * sysdeps/tile/tilegx/strcasestr.c: New file.
1452         * sysdeps/tile/tilegx/strnlen.c: New file.
1453         * sysdeps/tile/tilegx/strstr.c: New file.
1455         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1457 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
1459         * nptl/tst-setuid3.c: Write errors to stdout.
1461 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1463         * elf/dl-deps.c
1464         (preload): New functions broken out of _dl_map_object_deps.
1465         (_dl_map_object_deps):  Remove a nested function. Update call sites.
1467 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
1469         [BZ #14138]
1470         * sysdeps/unix/sysv/linux/execve.c: Remove file.
1471         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1473 2014-10-01  Steve Ellcey  <sellcey@mips.com>
1475         * sysdeps/mips/strcmp.S: New.
1477 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
1479         [BZ #14138]
1480         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1481         (linkat): Likewise.
1482         (mkdirat): Likewise.
1483         (readlinkat): Likewise.
1484         (renameat): Likewise.
1485         (symlinkat): Likewise.
1486         (unlinkat): Likewise.
1487         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1488         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1489         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1490         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1491         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1492         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1493         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1495 2014-09-30  Will Newton  <will.newton@linaro.org>
1497         * math/math.h: Define long double math functions if
1498         _LIBC_TEST is defined.
1499         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1501         * localedata/Makefile: Move assignment to tests-special
1502         into an ifdef testing run-built-tests.
1503         * timezone/Makefile: Likewise.
1505 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
1507         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1508         with $(BASH) not $(SHELL).
1510 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
1511             Matthew LeGendre  <legendre1@llnl.gov>
1513         [BZ #17411]
1514         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1515         l_reloc_result.
1517 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1519         * stdio-common/printf_fp.c
1520         (hack_digit): New function, broken out of ...
1521         (__printf_fp): ... local function here.  Update call sites.
1522         hack_digit now takes an additional parameter that is a pointer
1523         to a struct of the referenced locals.  Those locals moved inside
1524         the struct and references updated.
1526 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
1528         * aclocal.m4: Require autoconf 2.69.
1529         * configure: Regenerated.
1530         * sysdeps/aarch64/configure: Likewise.
1531         * sysdeps/alpha/configure: Likewise.
1532         * sysdeps/arm/armv7/configure: Likewise.
1533         * sysdeps/arm/configure: Likewise.
1534         * sysdeps/ia64/configure: Likewise.
1535         * sysdeps/mach/configure: Likewise.
1536         * sysdeps/mips/configure: Likewise.
1537         * sysdeps/s390/configure: Likewise.
1538         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1541         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1542         file.
1543         * sysdeps/ia64/configure.ac: Likewise.
1545 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
1547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1548         specify symbol version for ld.so.  Do not include entry for
1549         libpthread.
1550         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1551         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1552         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1554         [BZ #14171]
1555         * Makeconfig [$(build-shared) = yes]
1556         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1557         makefiles.
1558         [$(build-shared) = yes && $(soversions.mk-done) = t]
1559         ($(common-objpfx)gnu/lib-names.h): Remove rule.
1560         [$(build-shared) = yes && $(soversions.mk-done) = t]
1561         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
1562         to Makerules.
1563         [$(build-shared) = yes && $(soversions.mk-done) = t]
1564         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1565         here.
1566         [$(build-shared) = yes && $(soversions.mk-done) = t]
1567         (common-generated): Don't append gnu/lib-names.h and
1568         gnu/lib-names.stmp here.
1569         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1570         (lib-names-h-abi): New variable.
1571         [$(build-shared) = yes && $(soversions.mk-done) = t]
1572         (lib-names-stmp-abi): Likewise.
1573         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1574         abi-variants] (before-compile): Append
1575         $(common-objpfx)$(lib-names-h-abi).
1576         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1577         abi-variants] (common-generated): Append gnu/lib-names.h.
1578         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1579         abi-variants] (install-others-nosubdir): Depend on
1580         $(inst_includedir)/$(lib-names-h-abi).
1581         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1582         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1583         [$(build-shared) = yes && $(soversions.mk-done) = t]
1584         ($(common-objpfx)$(lib-names-h-abi)): New rule.
1585         [$(build-shared) = yes && $(soversions.mk-done) = t]
1586         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1587         [$(build-shared) = yes && $(soversions.mk-done) = t]
1588         (common-generated): Append $(lib-names-h-abi) and
1589         $(lib-names-stmp-abi).
1590         * scripts/lib-names.awk: Do not handle multi being set.
1591         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1592         Remove variable.
1593         (abi-lp64_be-ld-soname): Likewise.
1594         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1595         Likewise.
1596         (abi-hard-ld-soname): Likewise.
1597         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1598         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1599         Remove variable.
1600         (abi-o32_hard-ld-soname): Likewise.
1601         (abi-o32_soft_2008-ld-soname): Likewise.
1602         (abi-o32_hard_2008-ld-soname): Likewise.
1603         (abi-n32_soft-ld-soname): Likewise.
1604         (abi-n32_hard-ld-soname): Likewise.
1605         (abi-n32_soft_2008-ld-soname): Likewise.
1606         (abi-n32_hard_2008-ld-soname): Likewise.
1607         (abi-n64_soft-ld-soname): Likewise.
1608         (abi-n64_hard-ld-soname): Likewise.
1609         (abi-n64_soft_2008-ld-soname): Likewise.
1610         (abi-n64_hard_2008-ld-soname): Likewise.
1611         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1612         Likewise.
1613         (abi-64-v2-ld-soname): Likewise.
1614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1615         ld.so entries.
1616         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1617         variable.
1618         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1619         entry.
1620         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1621         variable.
1622         (abi-64-ld-soname): Likewise.
1623         (abi-x32-ld-soname): Likewise.
1624         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1625         entry.
1626         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1628 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
1630         [BZ #14138]
1631         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1632         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1633         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1634         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1635         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1636         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1637         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1638         syscall entry for GLIBC_2.2 symbol version.
1639         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1640         Likewise.
1641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1642         (setrlimit): Likewise.
1643         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1644         Likewise.
1646 2014-09-23  Will Newton  <will.newton@linaro.org>
1648         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1649         _LINUX_ARM_SYSDEP_H include guard too.
1650         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1651         define.
1653 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1655         * sysdeps/unix/sysv/linux/eventfd.c:
1656         Make first argument unsigned.
1657         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1658         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1660 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
1662         * socket/recvmmsg.c (recvmmsg): Drop const argument.
1663         * socket/sys/socket.h: Likewise
1664         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1666 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1668         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1670 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
1672         * time/tst-ftime.c: New test.
1673         * time/Makefile (tests): Add tst-ftime.
1675 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
1677         * soft-fp/extended.h: Fix comment formatting.
1678         * soft-fp/op-1.h: Likewise.
1679         * soft-fp/op-2.h: Likewise.
1680         * soft-fp/op-4.h: Likewise.
1681         * soft-fp/op-8.h: Likewise.
1682         * soft-fp/op-common.h: Likewise.
1683         * soft-fp/soft-fp.h: Likewise.
1685         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1687 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
1689         [BZ #6652]
1690         * Makeconfig (soversions-default-setname): Remove variable.
1691         ($(common-objpfx)soversions.i): Don't pass default_setname to
1692         soversions.awk.
1693         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1694         oldest_abi to abi-versions.awk.
1695         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1696         * config.make.in (oldest-abi): Remove variable.
1697         * configure.ac (--enable-oldest-abi): Remove configure option.
1698         * configure: Regenerated.
1699         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1700         text.
1701         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1702         * scripts/soversions.awk: Do not handle default_setname variable.
1703         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1704         variable.
1705         * sysdeps/mach/hurd/configure: Regenerated.
1706         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1707         variable.
1708         * sysdeps/unix/sysv/linux/configure: Regenerated.
1710 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1712         * elf/Makefile (CFLAGS-interp.c): Remove.
1713         ($(elf-objpfx)runtime-linker.h): Generate header with linker
1714         path string.
1715         * elf/interp.c: Include generated runtime-linker.h
1717         * Makerules (lib%.so): Don't include $(+interp) in
1718         prerequisites.
1719         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1720         * dlfcn/eval.c: Remove file.
1722         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1723         macros.
1725         [BZ #17266]
1726         * misc/sys/cdefs.h: Define __extern_always_inline for clang
1727         4.2 and newer.
1729         [BZ #17370]
1730         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1732 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1733             Jakub Jelinek  <jakub@redhat.com>
1735         [BZ #17266]
1736         * libio/stdio.h: Check definition of __fortify_function
1737         instead of __extern_always_inline to include bits/stdio2.h.
1738         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1739         check if __extern_always_inline is defined.
1740         [__USE_MISC || __USE_XOPEN]: Likewise.
1741         [__USE_ISOC99] Likewise.
1742         * misc/sys/cdefs.h (__fortify_function): Define only if
1743         __extern_always_inline is defined.
1744         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1745         __extern_always_inline and __extern_inline only for g++-4.3
1746         and newer or a compatible gcc.
1748 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
1750         [BZ #17371]
1751         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1752         last change to handle zero prefix length.
1754 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1756         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1757         _SC_REGEX_VERSION.
1759         * posix/getconf.c (vars): Add _POSIX_IPV6 and
1760         _POSIX_RAW_SOCKETS.
1762 2014-09-13  Allan McRae  <allan@archlinux.org>
1764         * po/ru.po: Update Russian translation from translation project.
1766 2014-09-12  Roland McGrath  <roland@hack.frob.com>
1768         * locale/programs/locale.c (show_locale_vars): Inline local function
1769         into its sole call site.  Clean up some style nits.
1770         (print_item): New function, broken out of ...
1771         (show_info): ... local function here.  Clean up style nits.
1773         * locale/programs/ld-ctype.c (set_one_default): New function, broken
1774         out of ...
1775         (set_class_defaults): ... local function set_default here.
1776         Define set_default as a macro locally to pass constant parameters.
1777         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1778         rather than a shared local.
1780         * stdlib/rpmatch.c (try): New function, broken out of ...
1781         (rpmatch): ... local function here.  Also, prototypify definition.
1783 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1785         * scripts/soversions.awk: Do not handle configuration names.
1786         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1787         vendor and os variables to soversions.awk.
1788         * configure.ac: Do not modify gnu-* host_os.
1789         * configure: Regenerated
1790         * shlib-versions: Remove first column with configuration names.
1791         * nptl/shlib-versions: Likewise.
1792         * nptl_db/shlib-versions: Likewise.
1793         * sysdeps/hppa/shlib-versions: Likewise.
1794         * sysdeps/m68k/shlib-versions: Likewise.
1795         * sysdeps/mach/hurd/shlib-versions: Likewise.
1796         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1797         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1798         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1799         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1800         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1801         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1802         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1803         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1805         Likewise.
1806         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1807         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1808         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1809         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1810         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1811         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1812         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1813         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1816         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1818         Regenerated.
1819         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1821         Condition symbol version definitions on [HAVE_ELFV2_ABI].
1823         * shlib-versions: Remove OS-specific entries.  Moved to files in
1824         sysdeps.
1825         * sysdeps/mach/hurd/shlib-versions: New file.
1826         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1828         * nptl/shlib-versions: Remove architecture-specific entries.
1829         Moved to files in sysdeps.
1830         * shlib-versions: Likewise.
1831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1832         file.
1833         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1834         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1835         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1836         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1838         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1839         (UDP_NO_CHECK6_RX): Likewise.
1841 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1843         * sysdeps/posix/sysconf.c (__sysconf): Spell
1844         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1846 2014-08-12  Florian Weimer  <fweimer@redhat.com>
1848         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1849         loading.
1850         * iconv/Versions (__gconv_transliterate): Export for use from
1851         gconv modules.
1852         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1853         (struct __gconv_trans_data, __gconv_trans_fct,
1854         __gconv_trans_context_fct, __gconv_trans_query_fct,
1855         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1856         definitions.
1857         (struct __gconv_step_data): Remove __trans member.
1858         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
1859         longer hidden.  Remove unused trans_data argument.
1860         * iconv/gconv_int.h (struct trans_struct): Remove definition.
1861         (__gconv_translit_find): Remove declaration.
1862         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
1863         prototype.
1864         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1865         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1866         trans_data argument.  Add hidden definition.
1867         (__gconv_translit_find): Remove.
1868         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1869         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1870         * iconv/skeleton.c: Remove transliteration initialization.
1871         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1872         __gconv_step_data initialization.
1873         * libio/iofwide.c (__libio_translit_): Remove.
1874         (_IO_fwide): Adjust struct __gconv_step_data initialization.
1875         * wcsmbs/btowc.c (__btowc): Likewise.
1876         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1877         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1878         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1879         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1880         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1881         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1882         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1883         * wcsmbs/wctob.c (wctob): Likewise.
1885 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1887         [BZ #16194]
1888         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1889         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
1890         register usage.
1891         * sysdeps/x86/Makefile: Adjust.
1893 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1894             Roland McGrath  <roland@hack.frob.com>
1896         * locale/weight.h: Add include guard.
1897         (findidx): Make static rather than auto; take new parameters
1898         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1899         * locale/weightwc.h: Likewise.
1900         * posix/fnmatch_loop.c
1901         (FCT): Change type of EXTRA from int32_t to wint_t.
1902         Don't include either header inside the function.
1903         Call FINDIDX rather than findidx, and pass new arguments.
1904         #undef FINDIDX at the end of the file.
1905         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1906         FINDIDX before including fnmatch_loop.c for the non-wide version.
1907         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1908         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1909         for the wide version.
1910         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1911         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1912         Pass new arguments to findidx.
1913         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1914         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1915         Don't #include it inside the function.  Pass new arguments to findidx.
1916         * posix/regex_internal.h
1917         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1918         (re_string_elem_size_at): Don't #include it inside the function.
1919         Pass new arguments to findidx.
1920         * string/strcoll_l.c: #include WEIGHT_H at top level.
1921         (get_next_seq): Don't #include it inside the function.
1922         Pass new arguments to findidx.
1923         (get_next_seq_nocache): Likewise.
1924         * string/strxfrm_l.c: #include WEIGHT_H at top level.
1925         (STRXFRM): Don't #include it inside the function.
1926         Pass new arguments to findidx.
1928 2014-09-11  Florian Weimer  <fweimer@redhat.com>
1930         [BZ #17344]
1931         * malloc/malloc.c (unlink): Turn asserts into a call to
1932         malloc_printerr.
1934 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
1936         [BZ #17370]
1937         * libio/wfileops (do_ftell_wide): Free OUT.
1939 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
1941         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1943 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1945         [BZ #17363]
1946         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1947         group if the current group is empty.
1949 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1951         * benchtests/bench-memset.c (test_main): Add more test from size
1952         from 32 to 512 bytes.
1953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1954         Add POWER8 memset object.
1955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1956         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1957         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1958         implementation.
1959         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1960         Likewise.
1961         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1962         multiarch POWER8 memset optimization.
1963         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1964         POWER8 memset optimization.
1966         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1967         Remove bzero multiarch objects.
1968         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1969         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1970         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1971         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1972         Remove define.
1973         [__bzero]: Redefine to specific name.
1974         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1975         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1976         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1977         define.
1978         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1979         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1981 2014-09-10  Florian Weimer  <fweimer@redhat.com>
1983         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1984         warnings into errors.
1986         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1987         __cxa_thread_atexit_impl prototype.
1989 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1991         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1992         Fix capitalization of error message.
1994 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1996         * sysdeps/mips/preconfigure: Modify ABI tests.
1998 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
2000         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2002 2014-09-07  Roland McGrath  <roland@hack.frob.com>
2003             Carlos O'Donell  <carlos@systemhalted.org>
2005         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2006         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2007         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2008         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2009         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2010         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2011         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2012         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2013         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2014         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2015         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2016         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2017         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2018         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2019         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2020         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2021         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2022         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2023         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2024         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2025         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2026         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2027         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2028         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2029         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2030         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2031         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2032         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2033         Deconditionalize the code that was previously under [RESET_PID].
2034         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2035         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2036         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2037         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2038         include sysdep.h.
2040 2014-09-08  Allan McRae  <allan@archlinux.org>
2042         * version.h (RELEASE): Set to "development".
2043         (VERSION): Set to "2.20.90"
2045 2014-09-07  Allan McRae  <allan@archlinux.org
2047         * version.h (RELEASE): Set to "stable".
2048         (VERSION): Set to "2.20"
2049         * include/features.h (__GLIBC_MINOR__): Set to 20.
2051         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2052         Liebler.
2054         * po/ko.po: Update Korean translation from translation project.
2056 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
2058         [BZ #17354]
2059         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2060         macro for handling signed relocations.
2062 2014-09-03  Florian Weimer  <fweimer@redhat.com>
2064         [BZ #17325]
2065         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2066         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2067         assert.
2068         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2069         * iconvdata/ibm935.c (BODY): Likewise.
2070         * iconvdata/ibm937.c (BODY): Likewise.
2071         * iconvdata/ibm939.c (BODY): Likewise.
2072         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2073         assert.
2074         * iconvdata/Makefile (iconv-test.out): Pass module list to test
2075         script.
2076         * iconvdata/run-iconv-test.sh: New test loop for checking for
2077         decoder crashers.
2079 2014-09-02  Khem Raj  <raj.khem@gmail.com>
2081         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2082         libm_hidden_ver.
2084 2014-09-01  Allan McRae  <allan@archlinux.org>
2086         * po/eo.po: Update Esperanto translation from translation project.
2088         * po/ca.po: Update Catalan translation from translation project.
2090 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2092         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2093         __proc_dostop call.
2095 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2097         [BZ #17319]
2098         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2099         to call set_thread_area instead of hand written asm.
2100         (__NR_set_thread_area): Removed define.
2101         (TLS_FLAG_WRITABLE): Likewise.
2102         (__ASSUME_SET_THREAD_AREA): Remove check.
2103         (TLS_EBX_ARG): Remove define.
2104         (TLS_LOAD_EBX): Likewise.
2106 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2108         Simplify atomicity of socket creation in bind.
2110         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2111         looking up the name after linking the file.
2113 2014-08-27  Allan McRae  <allan@archlinux.org>
2115         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2117 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2119         [BZ #17187]
2120         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2121         trans_compare, open_translit, __gconv_translit_find):
2122         Remove module loading code.
2124 2014-08-26  Allan McRae  <allan@archlinux.org>
2126         * po/vi.po: Update Vietnamese translation from translation project.
2128         * po/uk.po: Update Ukrainian translation from translation project.
2130         * po/fr.po: Update French translation from translation project.
2132         * po/ru.po: Update Russian translation from translation project.
2134         * po/pl.po: Update Polish translation from translation project.
2136         * po/cs.po: Update Czech translation from translation project.
2138         * po/de.po: Update German translation from translation project.
2140         * po/bg.po: Update Bulgarian translation from translation project.
2142         * po/sv.po: Update Sweedish translation from translation project.
2144         * po/nl.po: Update Dutch translation from translation project.
2146         * po/es.po: Update Spanish translation from translation project.
2148 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2150         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2152         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2153         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2154         (CPPFLAGS-iconvconfig): Likewise.
2155         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2157         * include/libc-symbols.h: Remove unnecessary check for
2158         NOT_IN_libc.
2159         * nptl/pthreadP.h: Likewise.
2160         * sysdeps/aarch64/setjmp.S: Likewise.
2161         * sysdeps/alpha/setjmp.S: Likewise.
2162         * sysdeps/arm/sysdep.h: Likewise.
2163         * sysdeps/i386/setjmp.S: Likewise.
2164         * sysdeps/m68k/setjmp.c: Likewise.
2165         * sysdeps/posix/getcwd.c: Likewise.
2166         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2167         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2168         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2169         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2170         * sysdeps/sh/sh3/setjmp.S: Likewise.
2171         * sysdeps/sh/sh4/setjmp.S: Likewise.
2172         * sysdeps/unix/alpha/sysdep.h: Likewise.
2173         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2174         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2175         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2176         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2179         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2180         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2181         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2182         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2183         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2184         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2186         * sysdeps/x86_64/setjmp.S: Likewise.
2188 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2190         [BZ #17263]
2191         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2192         <stdint.h>.
2193         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2194         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2196 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2198         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2200         [BZ #17262]
2201         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2202         and __x86_64__ when disabling x87 inline functions.
2204 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2206         [BZ #17259]
2207         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2208         asm statement with __cpuid_count.
2210 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2212         * configure.ac: Change __ehdr_start code to dereference the struct.
2213         Run readelf on the output to look for relocations.
2214         * configure: Regenerated.
2216 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2218         [BZ #17261]
2219         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2220         value to 0.
2221         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2223 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2225         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2227 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2229         [BZ #16892]
2230         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2231         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2233 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2235         * malloc/malloc.c: Fix typo in comment.
2237 2014-08-09  Allan McRae  <allan@archlinux.org>
2239         * Regenerate libc.po.
2241 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2243         * intl/tst-gettext2.sh: Check every lang file for creation.
2245 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2247         * sysdeps/aarch64/fpu/math_private.h
2248         (libc_feholdsetround_noex_aarch64_ctx): New function.
2250 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2252         * sysdeps/arm/armv6/strcpy.S (strcpy):
2253         Fix performance issue in misaligned cases.
2255 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2257         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2258         Move definition from termios.h.
2259         (struct termio): Likewise.
2260         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2261         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2262         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2263         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2264         Likewise.
2265         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2266         Move definition to ioctl-types.h
2267         (struct termio): Likewise.
2268         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2269         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2270         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2271         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2272         Likewise.
2274 2014-08-05  Richard Henderson  <rth@redhat.com>
2276         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2277         exceptions.
2278         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2279         Add fraiseexcpt.
2280         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2281         Use __feraiseexcept.
2282         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2283         Protect libm symbols with IS_IN_libm.
2285         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2287 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2289         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2291 2014-08-04  Will Newton  <will.newton@linaro.org>
2293         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2294         file.
2296 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2298         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2299         variants for each function.
2301 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2303         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2304         appended ...
2305         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2306         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2307         appended ...
2308         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2309         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2310         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2311         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2312         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2313         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2314         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2315         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2316         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2317         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2322         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2324         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2325         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2326         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2327         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2328         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2332         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2334         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2335         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2336         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2338         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2340         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2341         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2342         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2344         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2345         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2346         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2347         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2348         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2349         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2350         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2351         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2352         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2353         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2354         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2355         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2356         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2357         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2358         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2359         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2360         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2361         Update #include.
2362         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2363         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2365 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2367         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2368         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2369         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2370         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2371         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2372         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2374 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2376         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2377         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2378         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2379         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2381 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2383         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2384         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2385         (__libc_vfork): Define function under this name.
2386         (__vfork): Define as an alias.
2387         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2388         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2390 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2392         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2393         that was previously under [RESET_PID].
2394         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2396 2014-08-04  Andreas Schwab  <schwab@suse.de>
2398         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2400 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
2402         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2403         (main): Likewise.
2405 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2407         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2409 2014-08-01  Richard Henderon  <rth@redhat.com>
2411         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2412         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2413         typo in exact zero test.
2414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2415         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2416         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2418 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2420         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2421         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2422         * sysdeps/arm/sysdep.h: ... here.
2423         [!__ASSEMBLER__]: Include <stdint.h>.
2425 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2427         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2428         (HAVE_WCTYPE_H): Likewise.
2429         (HAVE_ISWCTYPE): Likewise.
2430         (ENABLE_NLS): Likewise.
2431         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2432         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2434         * posix/regex_internal.c: Check if DEBUG is defined and is
2435         set.
2437         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2438         (HAVE_MBSRTOWCS): Likewise.
2439         * posix/fnmatch.c: Include string.h unconditionally.
2441 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2443         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2444         reversal.
2446 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2448         * sysdeps/generic/safe-fatal.h: New file.
2449         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2450         * nptl/forward.c: Include it.
2451         (__pthread_unwind): Use __safe_fatal as default action, rather
2452         than a bogus use of INTERNAL_SYSCALL that could never work.
2454         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2455         * configure.ac (libc_cv_builtin_trap): New test.
2456         * configure: Regenerated.
2457         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2458         (ABORT_INSTRUCTION): Define using __builtin_trap.
2460         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2461         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2462         * sysdeps/nptl/nptl-signals.h: New file.
2463         * nptl/pthreadP.h: Include <nptl-signals.h>.
2465 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2467         * sysdeps/s390/s390-64/utf16-utf32-z9.c
2468         (ONE_DIRECTION): Define.
2469         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2470         (ONE_DIRECTION): Define.
2471         * sysdeps/s390/s390-64/utf8-utf32-z9.c
2472         (ONE_DIRECTION): Define.
2474 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2476         * sysdeps/s390/Makefile: Delete file.
2477         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2478         * sysdeps/s390/__longjmp.c: Delete file.
2479         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2480         Remove fields __flags and __reserved.
2481         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2482         and add versioning.
2483         * sysdeps/s390/rtld-__longjmp.c: Delete file.
2484         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2485         * sysdeps/s390/rtld-setjmp.S: Likewise.
2486         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2487         * sysdeps/s390/s390-32/__longjmp.c: ... here.
2488         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2489         * sysdeps/s390/s390-32/setjmp.S: ... here.
2490         Add versioning.
2491         (__sigsetjmp): Remove setting __flags field.
2492         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2493         * sysdeps/s390/s390-64/__longjmp.c: ... here.
2494         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2495         * sysdeps/s390/s390-64/setjmp.S: ... here.
2496         Add versioning.
2497         (__sigsetjmp): Remove setting __flags field.
2498         * sysdeps/s390/setjmp.S: Delete file.
2499         * sysdeps/s390/sigjmp.c: Likewise.
2500         * sysdeps/s390/v1-longjmp.c: Likewise.
2501         * sysdeps/s390/v1-setjmp.h: Likewise.
2502         * sysdeps/s390/v1-sigjmp.c: Likewise.
2503         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2504         Remove v1-longjmp_chk.
2505         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2506         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2507         Include debug/longjmp_chk.c and add versioning.
2508         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2509         Include nptl/pt-longjmp.c and add versioning.
2510         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2511         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2512         Include __longjmp.c.
2513         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2514         Move to ...
2515         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2516         (__getcontext): Remove setting __flags field.
2517         Add versioning.
2518         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2519         Don't restore upper high grps.
2520         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2521         Likewise.
2522         (__swapcontext): Remove setting uc_flags field.
2523         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2524         Delete file.
2525         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2526         Include __longjmp.c.
2527         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2528         Move to ...
2529         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2530         (__getcontext): Remove setting __flags field.
2531         Add versioning.
2532         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2533         (__swapcontext): Remove setting uc_flags field.
2534         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2535         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2536         Remove fields uc_high_gprs and __reserved.
2537         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2538         New file with reverted content.
2539         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2540         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2541         Regenerated.
2542         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2543         Regenerated.
2545 2014-07-31  Andreas Schwab  <schwab@suse.de>
2547         * config.h.in (HAVE_IFUNC): Define to 0.
2548         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2549         definedness.
2551 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
2553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2554         memmove-avx-unaligned, memcpy-avx-unaligned and
2555         mempcpy-avx-unaligned.
2556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2557         Add tests for AVX memcpy functions.
2558         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2559         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2560         memcpy_chk.
2561         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2562         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2563         memmove_chk.
2564         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2565         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2566         mempcpy_chk.
2567         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2568         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2569         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2571 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2573         [BZ #17213]
2574         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2575         powerpc64le.
2577 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2579         [BZ #16839]
2580         * manual/llio.texi: Add section about open file description locks.
2581         * manual/examples/ofdlocks.c: Example of open file description
2582         lock usage.
2583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2584         F_OFD_SETLK, and F_OFD_SETLKW.
2586 2014-07-23  Allan McRae  <allan@archlinux.org>
2588         * po/es.po: Update Spanish translation from translation project.
2590 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
2592         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2594 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2596         [BZ #17078]
2597         * sysdeps/arm/dl-machine.h (elf_machine_rela)
2598         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2599         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2601 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
2603         [BZ #17088]
2604         * math/fesetenv.c (__fesetenv)
2605         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2606         * math/feupdateenv.c (__feupdateenv)
2607         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2609         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2610         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2611         (__ASSUME_SOCKETCALL): Do not define.
2613         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2614         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2615         (__ASSUME_SOCKETCALL): Do not define.
2616         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2617         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2618         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2619         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2620         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2621         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2622         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2623         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2625         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2626         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2627         (__ASSUME_SOCKETCALL): Do not define.
2628         (__ASSUME_IPC64): Define unconditionally.
2629         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2630         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2631         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2632         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2633         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2634         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2635         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2636         Likewise.
2638         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2639         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2640         (__ASSUME_SOCKETCALL): Do not define.
2641         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2642         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2643         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2644         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2645         (__ASSUME_REQUEUE_PI): Define unconditionally.
2646         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2647         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2648         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2649         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2650         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2651         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2653         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2654         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2655         (__ASSUME_SOCKETCALL): Do not define.
2656         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2657         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2658         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2659         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2660         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2661         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2663         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2664         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2665         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2666         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2667         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2668         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2669         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2670         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2671         (__ASSUME_GETCPU_SYSCALL): Likewise.
2673         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2674         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
2675         cases for individual architectures.
2676         * sysdeps/gnu/configure: Regenerated.
2677         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2678         LIBC_SLIBDIR_RTLDDIR.
2679         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2680         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2681         LIBC_SLIBDIR_RTLDDIR.
2682         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2684         LIBC_SLIBDIR_RTLDDIR.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2686         Regenerated.
2687         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2688         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2689         file.
2690         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2691         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2692         file.
2693         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2694         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2695         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2696         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2698         * sysdeps/aarch64/shlib-versions: Move to ...
2699         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2700         * sysdeps/alpha/shlib-versions: Move to ...
2701         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2702         * sysdeps/arm/shlib-versions: Move to ...
2703         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2704         * sysdeps/hppa/shlib-versions: Move all contents except for
2705         libgcc_s entry to ...
2706         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
2707         entry from ...
2708         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
2709         * sysdeps/ia64/shlib-versions: Move to ...
2710         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
2711         entry from ...
2712         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
2713         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2714         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2715         * sysdeps/microblaze/shlib-versions: Move to ...
2716         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2717         * sysdeps/mips/shlib-versions: Move to ...
2718         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
2719         entry from ...
2720         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
2721         * sysdeps/tile/shlib-versions: Move to ...
2722         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2723         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2724         from ...
2725         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
2726         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2727         entry from ...
2728         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
2730 2014-07-17  Will Newton  <will.newton@linaro.org>
2732         * sysdeps/arm/bits/atomic.h
2733         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2734         (__arch_compare_and_exchange_bool_16_int): Likewise.
2735         (__arch_compare_and_exchange_bool_64_int): Likewise.
2737         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2738         into an #else block.
2740 2014-07-16  Roland McGrath  <roland@hack.frob.com>
2742         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2743         just Linux configurations.  Test empirically that the compiler sets
2744         __ARM_EABI__, rather than using the tuple to decide.
2745         * sysdeps/arm/preconfigure: Regenerated.
2746         * sysdeps/unix/sysv/linux/arm/configure: File removed.
2747         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2748         contents appended ...
2749         * sysdeps/arm/configure.ac: ... here.
2750         * sysdeps/arm/configure: Regenerated.
2752 2014-07-15  Roland McGrath  <roland@hack.frob.com>
2754         * nptl/pthread_kill.c: New file.
2755         * nptl/pthread_sigmask.c: New file.
2756         * nptl/pthread_sigqueue.c: New file.
2758         * sysdeps/nptl/lowlevellock.h: New file.
2759         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2760         * sysdeps/nptl/lowlevellock-futex.h: New file.
2762         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2763         Remove dead declarations.
2765 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
2767         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2768         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2769         config-cflags-avx2.
2770         * sysdeps/x86_64/configure.ac: Likewise.
2771         * sysdeps/i386/configure: Regenerated.
2772         * sysdeps/x86_64/configure: Likewise.
2773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2774         memset-avx2 only if config-cflags-avx2 is yes.
2775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2776         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2777         defined.
2778         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2779         only if HAVE_AVX2_SUPPORT is defined.
2780         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2782 2014-07-14  Alan Modra  <amodra@gmail.com>
2784         [BZ #17153]
2785         * elf/elf.h (DT_PPC64_NUM): Correct value.
2786         * NEWS: Add to fixed bug list.
2788 2014-07-13  Jim Meyering  <meyering@fb.com>
2790         [BZ 17150]
2791         regex: don't deref NULL upon heap allocation failure
2792         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2793         failure in one more place.
2794         To trigger the segfault, configure grep -with-included-regex,
2795         build it, and run these commands:
2796         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2798 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2800         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2802 2014-07-11  Richard Henderson  <rth@redhat.com>
2804         * sysdeps/aarch64/libm-test-ulps: Update.
2806 2014-07-10  Florian Weimer  <fweimer@redhat.com>
2808         [BZ #17135]
2809         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2810         * nptl/allocatestack.c (__nptl_setxid_error): New function.
2811         (__nptl_setxid): Initialize error member.  Call
2812         __nptl_setxid_error.
2813         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2814         * nptl/descr.h (struct xid_command): Add error member.
2815         * nptl/tst-setuid3.c: New file.
2816         * nptl/Makefile (tests): Add it.
2818 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2820         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2821         New define.
2822         (__lll_trylock): Use __lll_base_trylock.
2823         (__lll_cond_trylock): Likewise.
2825 2014-07-10  Roland McGrath  <roland@hack.frob.com>
2827         * nptl/pthread_create.c (start_thread): Use atomic_or and
2828         lll_futex_wake directly rather than lll_robust_dead.
2829         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2830         (lll_robust_dead): Macro removed.
2831         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2832         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2833         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2834         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2835         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2836         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2837         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2838         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2839         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2840         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2841         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2842         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2843         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2844         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2845         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2847         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2848         Use atomic_compare_and_exchange_val_acq directly rather than
2849         lll_robust_trylock.
2850         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2851         (__lll_robust_trylock, lll_robust_trylock): Removed.
2852         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2853         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2854         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2855         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2856         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2857         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2858         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2859         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2860         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2861         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2862         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2863         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2864         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2865         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2867 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2869         * manual/locale.texi (Locale Names): New section documenting
2870         locale name syntax.  Adjust menu and node chaining accordingly.
2871         (Choosing Locale): Reference Locale Names, Locale Categories.
2872         Mention setting LC_ALL=C.  Reflect that name syntax is now
2873         documented.
2874         (Locale Categories): New section title.  Reference Locale Names.
2875         LC_ALL is an environment variable, but not a category.
2876         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2877         description, now in Locale Name.  Reference that section.  Locale
2878         name syntax is now documented.
2880 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2882         [BZ #17137]
2883         * locale/findlocale.c (name_present, valid_locale_name): New
2884         functions.
2885         (_nl_find_locale): Use the loc_name variable to store name
2886         candidates.  Call name_present and valid_locale_name to check and
2887         validate locale names.  Return an error if the locale is invalid.
2889 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2891         * locale/setlocale.c (setlocale): Use strdup for allocating
2892         composite name copy.
2894 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2896         Sync up with gnulib.
2897         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2898         [!_LIBC && ENABLE_NLS]: Include gettext.h.
2899         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2900         and _GL_ARG_NONNULL.
2901         [USE_UNLOCKED_IO]: Include unlocked-io.h.
2902         [!_LIBC]: Include code for Windows and Cygwin.
2903         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2904         Include prototype for int strerror_r.
2905         [!_LIBC] (is_open): New function.
2906         (flush_stdout): New function.
2907         (print_errno_message): Use it.
2908         (error): Likewise.
2909         (error_at_line): Likewise.
2910         (error_tail) Add function attribute macros.  Use
2911         __builtin_expect.
2913         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2915         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2917         * io/ftw.c: Include sys/param.h unconditionally.
2919         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2921         [BZ #17125]
2922         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2923         libc_freeres_ptr.
2924         (freecache): New function to free CACHE on exit.
2926         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2927         initialization.
2929 2014-07-09  David S. Miller  <davem@davemloft.net>
2931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2933         * sysdeps/sparc/nptl/internaltypes.h: Delete.
2934         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2935         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2936         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2937         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2938         * sysdeps/sparc/nptl/sem_init.c: Likewise.
2939         * sysdeps/sparc/nptl/sem_post.c: Likewise.
2940         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2941         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2942         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2943         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2944         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2945         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2947 2014-07-09  Andreas Schwab  <schwab@suse.de>
2949         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2950         output.
2951         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2952         (do_test): Likewise.
2954         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2956 2014-07-09  Will Newton  <will.newton@linaro.org>
2958         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2959         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2960         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2961         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2962         * sysdeps/hppa/start.S (_start): Likewise.
2964 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2966         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2968         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2969         defined.
2971 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2973         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2974         after checking that it is non-NULL.
2976         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2978 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2980         * sysdeps/powerpc/memmove.c: Remove file.
2981         * sysdeps/powerpc/powerpc32/power4/memcopy.h
2982         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2983         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2984         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2985         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2986         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2987         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2988         string memmove instead of removed powerpc one.
2990         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2991         [weak_alias]: Fix compiler warning due trailing data.
2992         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2993         [weak_alias]: Likewise.
2994         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2995         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2998         (__libc_ifunc_impl_list): Add memmove functions.
3000 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3002         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3003         Remove code.
3004         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3005         Likewise
3006         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3007         Likewise
3008         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3009         Likewise
3010         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3011         Likewise
3012         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3013         Likewise
3014         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3015         Likewise
3016         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3017         Likewise
3018         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3019         Likewise
3020         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3021         Likewise
3022         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3023         Likewise
3024         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3025         Likewise
3026         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3027         Likewise
3028         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3029         Likewise
3030         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3031         Likewise
3032         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3033         Likewise
3034         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3035         Likewise
3037 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3039         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3040         to avoid alignment traps in non-cacheable memory.
3041         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3044         multiarch objects.
3045         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3046         file: multiarch power7 memmove.
3047         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3048         multiarch default memmove.
3049         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3050         multiarch memove for powerpc32/power4.
3052         * string/bcopy.c: Use full path to include memmove.c.
3053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3054         multiarch objects.
3055         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3056         bcopy for powerpc64.
3057         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3058         bcopy for powerpc64.
3059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3060         and memmove implementations.
3061         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3062         optimized multiarch memmove for POWER7/powerpc64.
3063         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3064         default multiarch memmove for powerpc64.
3065         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3066         multiarch for powerpc64.
3067         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3068         for POWER7/powerpc64.
3069         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3070         memmove for POWER7/powerpc64.
3072         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3073         glibc default one.
3075         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3076         __ELF_NATIVE_CLASS equal to 64.
3078 2014-07-07  Roland McGrath  <roland@hack.frob.com>
3080         * sysdeps/nptl/lowlevellock.h: File removed.
3082         * NEWS: NPTL is no longer an add-on!
3083         * nptl/internaltypes.h: Moved ...
3084         * sysdeps/nptl/internaltypes.h: ... here.
3085         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3086         * sysdeps/nptl/fork.c: Likewise.
3087         * sysdeps/nptl/gai_misc.h: Likewise.
3088         * sysdeps/nptl/librt-cancellation.c: Likewise.
3089         * sysdeps/nptl/jmp-unwind.c: Likewise.
3090         * sysdeps/nptl/setxid.h: Likewise.
3091         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3092         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3093         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3094         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3095         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3096         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3097         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3098         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3099         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3100         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3101         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3102         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3103         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3104         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3105         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3106         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3107         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3108         * nptl/Makeconfig: Moved ...
3109         * sysdeps/nptl/Makeconfig: ... here.
3110         * nptl/configure: File removed.
3111         * nptl/ANNOUNCE: File removed.
3112         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3113         * sysdeps/unix/sysv/linux/configure: Regenerated.
3115         * nptl/Makefile (routines): Add libc_pthread_init,
3116         libc_multiple_threads, register-atfork and unregister-atfork.
3117         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3118         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3119         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3120         pthread-pi-defines.sym, structsem.sym.
3121         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3122         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3123         [$(subdir) = nptl] (tests): Add tst-setgetname.
3124         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3125         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3126         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3127         [!LIBC_SIGACTION]: Remove aliases.
3128         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3129         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3130         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3131         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3132         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3133         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3134         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3135         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3136         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3137         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3138         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3139         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3140         __libc_allocate_rtsig_private.
3141         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3142         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3143         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3144         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3145         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3146         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3147         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3148         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3149         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3150         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3151         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3152         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3153         * nptl/internaltypes.h: ... here.
3154         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3155         * sysdeps/nptl/jmp-unwind.c: ... here.
3156         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3157         * nptl/libc-lowlevellock.c: ... here.
3158         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3159         * nptl/libc_multiple_threads.c: ... here.
3160         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3161         * nptl/libc_pthread_init.c: ... here.
3162         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3163         * nptl/lowlevelbarrier.sym: ... here.
3164         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3165         * nptl/lowlevelcond.sym: ... here.
3166         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3167         * nptl/lowlevellock.c: ... here.
3168         * nptl/lowlevellock.h: Moved ...
3169         * sysdeps/nptl/lowlevellock.h: ... here.
3170         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3171         * nptl/lowlevelrobustlock.c: ... here.
3172         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3173         * nptl/lowlevelrobustlock.sym: ... here.
3174         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3175         * nptl/lowlevelrwlock.sym: ... here.
3176         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3177         * nptl/pt-fork.c: ... here.
3178         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3179         * nptl/pthread-pi-defines.sym: ... here.
3180         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3181         * nptl/pthread_attr_getaffinity.c: ... here.
3182         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3183         * nptl/pthread_attr_setaffinity.c: ... here.
3184         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3185         * nptl/pthread_mutex_cond_lock.c: ... here.
3186         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3187         Update #include.
3188         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3189         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3190         * nptl/pthread_once.c: ... here, replacing old file.
3191         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3192         * nptl/pthread_yield.c: ... here.
3193         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3194         * nptl/register-atfork.c: ... here.
3195         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3196         * nptl/sem_post.c: ... here.
3197         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3198         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3199         * nptl/sem_timedwait.c: ... here.
3200         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3201         * nptl/sem_trywait.c: ... here.
3202         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3203         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3204         * nptl/sem_wait.c: ... here.
3205         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3206         * nptl/structsem.sym: ... here.
3207         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3208         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3209         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3210         * nptl/unregister-atfork.c: ... here.
3211         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3212         * nptl/unwindbuf.sym: ... here.
3213         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3214         * sysdeps/nptl/fork.c: ... here.
3215         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3216         * sysdeps/nptl/fork.h: ... here.
3217         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3218         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3219         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3220         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3221         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3222         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3223         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3224         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3225         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3226         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3227         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3228         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3229         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3230         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3231         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3232         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3233         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3234         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3235         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3236         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3237         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3238         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3239         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3240         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3241         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3242         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3243         * sysdeps/unix/sysv/linux/raise.c: ... here.
3244         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3245         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3246         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3247         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3248         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3249         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3250         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3251         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3252         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3253         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3254         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3255         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3256         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3257         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3258         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3260 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3262         * sysdeps/generic/memcopy.h: Add comment for
3263         MEMCPY_OK_FOR_FWD_MEMMOVE.
3265 2014-07-04  Will Newton  <will.newton@linaro.org>
3267         * string/memchr.c: Merge from gnulib.
3268         [_LIBC]: Remove conditionals.
3269         (__ptr_t): Remove define.
3270         (LONG_MAX_32_BITS): Likewise.
3271         (LONG_MAX): Likewise.
3272         (MEMCHR): Use ANSI prototype and optimize algorithm.
3274         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3276 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3278         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3279         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3281         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3282         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3283         in a bare environment with no <stdlib.h> installed.
3284         * sysdeps/nptl/configure: Regenerated.
3286         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3288         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3289         AC_EGREP_CPP for kernel header checks, so they only succeed if
3290         including <linux/version.h> actually works right.
3291         * sysdeps/unix/sysv/linux/configure: Regenerated.
3293         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3294         value so it's not diagnosed as unused.
3296         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3297         thing) with "ifeq ($(subdir),rt)".
3299 2014-07-03  Richard Henderson  <rth@redhat.com>
3301         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3302         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3303         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3305         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3306         (math_force_eval): New.
3308         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3309         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3311         * sysdeps/alpha/fpu/s_round.c: Remove file.
3312         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3314         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3315         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3316         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3317         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3318         (_dl_start, print_statistics): Likewise.
3319         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3320         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3322         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3323         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3324         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3325         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3326         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3327         (HP_SMALL_TIMING_AVAIL): Define.
3328         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3329         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3330         (HP_SMALL_TIMING_AVAIL): Define.
3331         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3332         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3334         * sysdeps/aarch64/hp-timing.h: New file.
3336         * sysdeps/generic/hp-timing.h: Remove dead comment.
3337         * sysdeps/generic/hp-timing-common.h: New file.
3338         * sysdeps/alpha/hp-timing.h: Include it.
3339         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3340         * sysdeps/i386/i686/hp-timing.h: Likewise.
3341         * sysdeps/ia64/hp-timing.h: Likewise.
3342         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3343         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3344         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3345         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3346         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3347         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3348         (hp_timing_t): New.
3350         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3351         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3352         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3353         * elf/rtld.c (_dl_start_final): Likewise.
3354         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3355         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3356         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3357         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3358         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3359         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3360         (HP_TIMING_DIFF_INIT): Remove.
3361         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3362         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3363         (HP_TIMING_DIFF_INIT): Remove.
3364         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3365         * sysdeps/i386/i686/hp-timing.c: Remove file.
3366         * sysdeps/x86_64/hp-timing.c: Remove file.
3367         * sysdeps/ia64/hp-timing.c: Remove file.
3368         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3369         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3370         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3371         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3373         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3374         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3375         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3376         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3377         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3378         (HP_TIMING_ACCUM): Remove.
3379         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3380         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3381         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3383         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3384         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3385         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3386         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3387         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3388         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3389         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3390         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3392         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3394 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
3396         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3398 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3400         Sync up with gettext.
3401         * intl/loadmsgcat.c: Define O_BINARY if not defined.
3402         [_MSC_VER]: Include malloc.h
3403         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3404         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3405         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
3406         TEMP_FAILURE_RETRY.  Cast return of alloca.
3407         [!_LIBC] Call gl_rwlock_init.
3408         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3410 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3412         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3413         before checking its value.
3415 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3417         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3419         * debug/memcpy_chk.c: Don't include pagecopy.h.
3420         * debug/mempcpy_chk.c: Likewise.
3421         * string/memcpy.c: Likewise.
3422         * string/memmove.c: Likewise.
3423         * sysdeps/powerpc/memmove.c: Likewise.
3424         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
3425         definition of PAGE_COPY_FWD_MAYBE here...
3426         * sysdeps/generic/pagecopy.h: ... from here.
3427         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3429 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3430             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3432         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3434         optimizations.
3435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3436         (__libc_ifunc_impl_list): Likewise.
3437         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3438         multiarch strcat for PPC64.
3439         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3440         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3442 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3444         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3446 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3448         * intl/loadmsgcat.c: Remove declaration of
3449         get_sysdep_segment_value.
3450         (get_sysdep_segment_value): Use ISO C style.
3451         (_nl_load_domain): Use ISO C style.  Get rid of redundant
3452         semicolon.  Fix typo and formatting in comment.
3453         (_nl_unload_domain): Use ISO C style.
3455         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3457 2014-07-02  Will Newton  <will.newton@linaro.org>
3459         * malloc/obstack.c: Merge from gnulib master.
3460         [HAVE_CONFIG_H]: Remove conditional code.
3461         [!_LIBC]: Include config.h.
3462         [!ELIDE_CODE]: Don't include inttypes.h, include
3463         stdint.h unconditionally.
3464         (print_and_abort): Mark as _Noreturn.
3465         (_obstack_allocated_p): Mark as __attribute_pure__.
3466         (obstack_free): Rename to __obstack_free.
3467         [!__attribute__]: Remove conditional code.
3468         * malloc/obstack.h: Merge from gnulib master.
3469         [__cplusplus]: Move conditional down.
3470         [!__attribute_pure__]: Define __attribute_pure__ here
3471         if it is not already defined.
3472         (_obstack_memory_used): Mark as __attribute_pure__.
3473         [!__obstack_free]: Define as obstack_free.
3474         [__GNUC__]: Remove check for ancient NeXT gcc.
3476 2014-07-02  Will Newton  <will.newton@linaro.org>
3477             Paul Eggert  <eggert@cs.ucla.edu>
3479         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3481 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3483         * resolv/gethnamaddr.c: Add comment warning that the file is
3484         not maintained.
3486 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
3488         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3489         entries.
3491         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3492         entry for aio_cancel and aio_cancel64.
3493         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3494         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3495         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3496         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3497         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3498         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3499         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3500         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3501         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3502         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3503         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3504         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3505         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3507 2014-07-01  Roland McGrath  <roland@hack.frob.com>
3509         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3510         * nptl/pthread_mutex_lock.c: Likewise.
3511         * nptl/pthread_mutex_timedlock.c: Likewise.
3512         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3514 2014-07-01  Richard henderson  <rth@redhat.com>
3516         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3517         (__isnan, __isnanl): Remove.
3518         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3520         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3522 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3524         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3526 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3528         * resolv/nss_dns/dns-host.c (getanswer_r)
3529         [MULTI_PTRS_ARE_ALIASES]: Remove code.
3531 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
3533         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3534         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3535         undefine.
3536         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3537         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3539 2014-07-01  Roland McGrath <roland@hack.frob.com>
3541         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3542         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3544         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3545         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3547         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3548         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3549         ... here.
3550         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3551         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3553         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3554         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3555         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3556         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3558         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3559         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3560         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3561         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3562         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3563         Moved ...
3564         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3565         ... here.
3566         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3567         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3568         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3569         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3570         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3571         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3572         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3573         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3574         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3575         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3576         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3577         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3578         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3579         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3580         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3581         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3582         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3583         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3584         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3585         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3586         ... here.
3587         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3588         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3589         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3590         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3591         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3592         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3593         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3594         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3596 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
3598         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3599         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3600         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3601         Add sysdep.
3603 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3607 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3609         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3610         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3612         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3614         * sysdeps/arm/libm-test-ulps: Regenerated.
3616 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3617             Roland McGrath <roland@hack.frob.com>
3619         * test-skeleton.c (signal_handler): Kill the whole process group
3620         before killing the child individually.
3621         (main): Report any failure on `setpgid'.
3623 2014-06-30  Roland McGrath  <roland@hack.frob.com>
3625         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3626         from _TLS_H to _ARM_NPTL_TLS_H.
3627         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3628         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3630 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3632         [BZ #16539]
3633         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3634         (__expm1l): Return argument unchanged when small but not
3635         subnormal.
3637         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3638         include macro name.
3639         (_FP_UNPACK_RAW_1_P): Likewise.
3640         (_FP_PACK_RAW_1): Likewise.
3641         (_FP_PACK_RAW_1_P): Likewise.
3642         (_FP_MUL_MEAT_1_wide): Likewise.
3643         (_FP_MUL_MEAT_DW_1_hard): Likewise.
3644         (_FP_MUL_MEAT_1_hard): Likewise.
3645         (_FP_DIV_MEAT_1_imm): Likewise.
3646         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3647         (_FP_DIV_MEAT_1_udiv): Likewise.
3648         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3649         (_FP_UNPACK_RAW_2): Likewise.
3650         (_FP_UNPACK_RAW_2_P): Likewise.
3651         (_FP_PACK_RAW_2): Likewise.
3652         (_FP_PACK_RAW_2_P): Likewise.
3653         (_FP_MUL_MEAT_DW_2_wide): Likewise.
3654         (_FP_MUL_MEAT_2_wide): Likewise.
3655         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3656         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3657         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3658         (_FP_MUL_MEAT_2_gmp): Likewise.
3659         (_FP_DIV_MEAT_2_udiv): Likewise.
3660         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3661         (_FP_FRAC_SRL_4): Likewise.
3662         (_FP_FRAC_SRST_4): Likewise.
3663         (_FP_FRAC_SRS_4): Likewise.
3664         (_FP_UNPACK_RAW_4): Likewise.
3665         (_FP_UNPACK_RAW_4_P): Likewise.
3666         (_FP_PACK_RAW_4): Likewise.
3667         (_FP_PACK_RAW_4_P): Likewise.
3668         (_FP_MUL_MEAT_DW_4_wide): Likewise.
3669         (_FP_MUL_MEAT_4_wide): Likewise.
3670         (_FP_MUL_MEAT_4_gmp): Likewise.
3671         (umul_ppppmnnn): Likewise.
3672         (_FP_DIV_MEAT_4_udiv): Likewise.
3673         (__FP_FRAC_ADD_4): Likewise.
3674         (__FP_FRAC_SUB_3): Likewise.
3675         (__FP_FRAC_SUB_4): Likewise.
3676         (__FP_FRAC_DEC_3): Likewise.
3677         (__FP_FRAC_DEC_4): Likewise.
3678         (__FP_FRAC_ADDI_4): Likewise.
3679         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3680         (_FP_FRAC_SRL_8): Likewise.
3681         (_FP_FRAC_SRS_8): Likewise.
3683         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3684         include macro name.
3685         (FP_UNPACK_RAW_EP): Likewise.
3686         (FP_PACK_RAW_E): Likewise.
3687         (FP_PACK_RAW_EP): Likewise.
3688         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3689         (_FP_ISSIGNAN): Likewise.
3690         (_FP_ADD_INTERNAL): Likewise.
3691         (_FP_FMA): Likewise.
3692         (_FP_CMP): Likewise.
3693         (_FP_SQRT): Likewise.
3694         (_FP_TO_INT): Likewise.
3695         (_FP_FROM_INT): Likewise.
3696         (FP_EXTEND): Likewise.
3697         (_FP_DIV_MEAT_N_loop): Likewise.
3699 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3701         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3702         throughout.
3704 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
3706         [BZ #17097]
3707         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3708         result with correct sign in case of exponents that produce
3709         overflow except for X very close to 1.
3711 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
3713         mktime: merge #if/#ifdef usage from glibc
3714         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3715         as that works with both Glibc's and Gnulib's style.
3716         See thread starting at Siddhesh Poyarekar's bug report at:
3717         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3719 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3721         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3722         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3723         * sysdeps/tile/tilegx/memmove.c: Remove file.
3725 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3727         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3728         abi-name definition.
3729         * scripts/soversions.awk: Do not handle or generate ABI lines.
3730         * shlib-versions: Remove ABI entries.
3731         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3732         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3734 2014-06-27  Roland McGrath  <roland@hack.frob.com>
3736         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3737         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3738         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3739         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3741         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3743         Moved ...
3744         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3745         ... here.
3746         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3747         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3749         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3751         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3753         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3755         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3757         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3758         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3759         Moved ...
3760         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3761         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3762         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3763         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3764         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3765         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3766         Moved ...
3767         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3769         Moved ...
3770         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3771         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3772         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3773         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3774         Moved ...
3775         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3777         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3779         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3780         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3781         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3782         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3783         Moved ...
3784         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3786         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3787         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3788         Moved ...
3789         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3790         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3791         Moved ...
3792         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3793         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3794         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3795         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3796         Moved ...
3797         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3798         ... here.
3799         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3800         Identical file removed.
3801         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3802         Moved ...
3803         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3804         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3805         Identical file removed.
3806         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3807         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3808         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3809         Moved ...
3810         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3811         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3812         Identical file removed.
3813         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3814         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3815         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3816         Identical file removed.
3817         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3818         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3819         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3820         Identical file removed.
3821         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3822         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3823         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3824         Identical file removed.
3825         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3826         Moved ...
3827         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3828         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3829         Identical file removed.
3830         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3831         Moved ...
3832         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3833         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3834         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3835         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3836         Identical file removed.
3837         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3838         Moved ...
3839         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3840         ... here.
3841         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3842         Identical file removed.
3843         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3844         Moved ...
3845         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3846         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3847         Identical file removed.
3848         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3849         Moved ...
3850         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3851         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3852         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3854         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3855         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3856         Moved ...
3857         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3858         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3859         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3861         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3862         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3863         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3864         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3865         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3867 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
3869         [BZ #17092]
3870         * nscd/nscd.c (monitor_child): Return exit status of child
3871         instead of return value from wait syscall.
3873 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3875         * configure.ac (libc_commonpagesize): Remove variable.
3876         (libc_relro_required): Likewise.
3877         (libc_cv_z_relro): Remove configure test.
3878         * configure: Regenerated.
3879         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3880         variable.
3881         (libc_relro_required): Likewise.
3882         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3883         (libc_relro_required): Likewise.
3884         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3885         (libc_relro_required): Likewise.
3886         * sysdeps/arm/preconfigure: Regenerated.
3887         * sysdeps/ia64/preconfigure: Remove file.
3888         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3889         variable.
3890         (libc_relro_required): Likewise.
3892         [BZ #16561]
3893         [BZ #16562]
3894         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3895         (__ieee754_yn): Set FE_TONEAREST mode internally and then
3896         recompute overflowing results in original rounding mode.
3897         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3898         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3899         recompute overflowing results in original rounding mode.
3900         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3901         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3902         recompute overflowing results in original rounding mode.
3903         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3904         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3905         recompute overflowing results in original rounding mode.
3906         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3907         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3908         recompute overflowing results in original rounding mode.
3909         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3910         (libc_feholdsetround_ctx): New macro.
3911         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3912         * sysdeps/i386/fpu/libm-test-ulps: Update.
3913         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3915 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3917         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3918         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3919         corresponding .cpsetup call.
3921 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3923         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3924         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3925         * sysdeps/arm/Makefile [$(subdir) = csu]
3926         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3927         (static-only-routines): Add aeabi_read_tp here.
3928         (shared-only-routines): Add libc-aeabi_read_tp here.
3929         (CFLAGS-libc-start.c): Add -fexceptions here.
3930         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3931         (sysdep_routines, static-only-routines, shared-only-routines):
3932         Don't add to these here.
3933         (CFLAGS-libc-start.c): Likewise.
3935         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3936         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3937         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3938         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3939         * sysdeps/arm/Makefile [$(subdir) = rt]
3940         (librt-sysdep_routines, librt-shared-only-routines):
3941         Append rt-aeabi_unwind_cpp_pr1 here.
3942         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3943         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3944         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3945         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3946         Append nptl-aeabi_unwind_cpp_pr1 here.
3947         (tests): Filter out tst-cleanupx4 here.
3948         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3949         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3950         Don't do those here.
3952 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3954         * scripts/list-sources.sh: Do not handle ports specially.
3956 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3958         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3959         * sysdeps/arm/feupdateenv.c: Likewise.
3961         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3963 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3965         * manual/texinfo.tex: Update to version 2014-05-05.10 with
3966         trailing whitespace removed.
3967         * scripts/config.guess: Update to version 2014-03-23.
3968         * scripts/config.sub: Update to version 2014-05-01
3969         * scripts/install-sh: Update to version 2013-12-25.23.
3970         * scripts/move-if-change: Update from gnulib.
3972 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3974         * debug/memmove_chk.c: Remove pagecopy.h include.
3976 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
3978         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
3979         identical to gnulib mktime.
3981 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3983         * configure.ac: Do not test for machine being rs6000.  Do not test
3984         for powerpc*-*soft.
3985         * configure: Regenerated.
3987         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3988         test.
3989         * configure: Regenerated.
3990         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3991         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3992         Remove configure test.
3993         * sysdeps/arm/configure: Regenerated.
3994         * sysdeps/nptl/configure.ac: Do not check
3995         libc_cv_asm_cfi_directives.
3996         * sysdeps/nptl/configure: Regenerated.
3997         * sysdeps/x86_64/nptl/configure.ac: Remove file.
3998         * sysdeps/x86_64/nptl/configure: Remove generated file.
3999         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4000         unconditional.
4001         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4003 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4005         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4006         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4007         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4008         it is defined.
4010         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4011         instead of whether it is defined.
4012         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4013         * sysdeps/hppa/dl-machine.h: Likewise.
4014         * sysdeps/ia64/dl-machine.h: Likewise.
4015         * sysdeps/m68k/dl-machine.h: Likewise.
4016         * sysdeps/microblaze/dl-machine.h: Likewise.
4017         * sysdeps/mips/dl-machine.: Likewise.
4018         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4019         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4020         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4021         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4022         * sysdeps/sh/dl-machine.h: Likewise.
4023         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4024         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4025         * sysdeps/tile/dl-machine.h: Likewise.
4026         * sysdeps/x86_64/dl-machine.h: Likewise.
4028         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4029         code.
4030         (verify_persistent_db): Likewise.
4032 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4035         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4037         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4039         Moved ...
4040         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4041         ... here.
4042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4043         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4045         Identical file removed.
4046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4047         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4049         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4051         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4053         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4055         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4057         Moved ...
4058         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4060         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4062         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4064         Moved ...
4065         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4067         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4069         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4071         Identical file removed.
4072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4073         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4075         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4077         Moved ...
4078         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4079         ... here.
4080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4081         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4083         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4085         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4087         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4089         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4091         Moved ...
4092         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4094         Moved ...
4095         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4097         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4099         Moved ...
4100         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4102         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4104         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4105         folded into ...
4106         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4107         * sysdeps/unix/sysv/linux/s390/Versions
4108         (libpthread: GLIBC_2.19): New version set.
4109         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4110         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4111         (librt: GLIBC_2.3.3): New version set.
4112         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4113         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4114         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4115         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4116         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4117         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4118         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4119         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4120         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4121         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4122         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4123         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4124         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4125         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4126         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4127         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4128         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4129         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4130         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4131         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4132         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4134         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4136         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4137         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4138         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4139         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4140         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4141         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4142         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4143         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4144         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4145         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4146         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4148         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4150         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4152         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4153         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4154         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4156         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4158         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4159         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4160         (__libc_vfork): Define the function under this name.
4161         [!NOT_IN_libc] (__vfork): Make this an alias.
4162         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4163         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4164         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4165         (__libc_vfork): Define the function under this name.
4166         [!NOT_IN_libc] (__vfork): Make this an alias.
4167         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4168         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4169         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4171         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4172         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4174         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4175         code that was previously under [RESET_PID].
4176         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4177         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4180         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4181         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4182         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4183         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4184         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4185         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4186         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4187         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4188         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4189         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4190         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4191         Moved ...
4192         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4193         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4194         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4195         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4196         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4197         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4198         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4199         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4200         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4201         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4202         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4203         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4204         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4205         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4206         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4207         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4208         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4209         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4210         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4211         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4212         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4213         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4214         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4215         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4216         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4217         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4218         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4219         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4220         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4222 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4224         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4225         that was previously under [RESET_PID].
4226         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4228 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4230         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4231         not undefine and redefine.
4232         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4233         [O_CLOEXEC]: Make code unconditional.
4234         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4235         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4236         <kernel-features.h>.
4237         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4238         conditional variable definition.
4239         (shm_open) [O_CLOEXEC]: Make code unconditional.
4240         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4241         code.
4243         * configure.ac (USE_REGPARMS): Don't define here.
4244         * configure: Regenerated.
4245         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4246         * sysdeps/i386/configure: Regenerated.
4248         * nptl/createthread.c: Don't include kernel-features.h.
4249         * nptl/pthread_cancel.c: Likewise.
4250         * nptl/pthread_condattr_setclock.c: Likewise.
4251         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4252         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4253         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4254         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4255         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4256         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4257         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4258         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4259         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4260         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4261         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4262         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4263         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4264         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4265         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4266         * nscd/gai.c: Likewise.
4267         * nss/nss_db/db-open.c: Likewise.
4268         * sysdeps/generic/ldsodefs.h: Likewise.
4269         * sysdeps/sh/nptl/tls.h: Likewise.
4270         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4271         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4272         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4273         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4274         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4275         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4276         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4277         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4278         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4279         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4280         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4281         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4282         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4283         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4284         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4285         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4286         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4287         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4288         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4289         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4290         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4291         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4292         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4293         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4295         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4296         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4297         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4298         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4299         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4300         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4301         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4302         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4303         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4304         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4305         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4306         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4307         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4308         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4309         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4310         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4311         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4312         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4313         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4314         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4315         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4316         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4317         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4318         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4319         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4320         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4321         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4322         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4323         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4324         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4325         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4326         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4327         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4350         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4351         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4352         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4353         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4354         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4355         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4356         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4357         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4358         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4359         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4360         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4361         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4362         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4363         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4364         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4365         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4366         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4367         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4368         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4369         * sysdeps/unix/sysv/linux/system.c: Likewise.
4370         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4371         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4372         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4373         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4374         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4375         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4376         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4378         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4379         * configure: Regenerated.
4380         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4382         * configure.ac (base_machine): Do not set specially for particular
4383         machines here.
4384         * configure: Regenerated.
4385         * sysdeps/powerpc/preconfigure: Move machine and base_machine
4386         settings from configure.ac.
4387         * sysdeps/i386/preconfigure: New file.
4388         * sysdeps/s390/preconfigure: Likewise.
4389         * sysdeps/sh/preconfigure: Likewise.
4390         * sysdeps/sparc/preconfigure: Likewise.
4392 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4394         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4395         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4396         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4397         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4398         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4399         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4400         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4401         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4402         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4403         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4404         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4405         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4406         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4407         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4408         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4409         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4410         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4411         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4412         * sysdeps/sparc/sparc64/Makefile: ... appended here.
4414         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4415         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4416         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4417         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4418         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4419         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4420         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4421         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4422         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4423         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4424         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4425         * sysdeps/sparc/sparc32/sem_post.c: ... here.
4426         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4427         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4428         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4429         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4430         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4431         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4432         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4433         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4434         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4435         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4437         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4439         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4440         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4441         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4442         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4443         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4444         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4445         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4446         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4447         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4448         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4449         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4450         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4451         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4454         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4456         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4458         Moved ...
4459         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4460         ... here.
4461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4462         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4464         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4466         Moved ...
4467         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4469         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4471         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4473         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4475         Moved ...
4476         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4478         Moved ...
4479         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4481         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4483         Moved ...
4484         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4486         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4488         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4490         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4492         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4494         Moved ...
4495         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4496         ... here.
4497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4498         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4500         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4502         Moved ...
4503         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4505         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4507         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4509         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4511         Moved ...
4512         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4514         Moved ...
4515         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4517         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4519         Moved ...
4520         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4522         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4524         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4526 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4528         * timezone/checktab.awk: Update from tzcode 2014e.
4529         * timezone/private.h: Likewise.
4530         * timezone/tzfile.h: Likewise.
4531         * timezone/zdump.c: Likewise.
4532         * timezone/zic.c: Likewise.
4534         * sysdeps/unix/sysv/linux/kernel-features.h
4535         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4536         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4537         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4538         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4539         Remove conditional code.
4541 2014-06-25  Will Newton  <will.newton@linaro.org>
4543         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4544         (_dl_arm_cap_flags): Add HWCAP2 values.
4545         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4546         (_DL_HWCAP_COUNT): Increase to 37.
4547         (_DL_HWCAP_LAST): New define.
4548         (_DL_HWCAP2_LAST): New define.
4549         (_dl_procinfo): Add support for printing
4550         AT_HWCAP2 entries.
4551         (_dl_string_hwcap): Use _dl_hwcap_string.
4553 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4557 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4559         * README: Do not mention ports directory.
4561         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4562         Remove macro.
4563         * sysdeps/unix/sysv/linux/futimes.c: Do not include
4564         <kernel-features.h>.
4565         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4566         conditional variable definition.
4567         (__futimes): Update comment.
4568         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4569         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4571         [BZ #16560]
4572         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4573         arguments close to 0.
4574         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4575         Likewise.
4576         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4577         Likewise.
4578         * math/auto-libm-test-in: Add more tests of exp10.
4579         * math/auto-libm-test-out: Regenerated.
4580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4582         * sysdeps/unix/sysv/linux/kernel-features.h
4583         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4584         * sysdeps/unix/sysv/linux/readv.c: Do not include
4585         <kernel-features.h>.
4586         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4587         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4588         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4589         unconditional.
4590         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4591         conditional code.
4592         * sysdeps/unix/sysv/linux/writev.c: Do not include
4593         <kernel-features.h>.
4594         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4595         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4596         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4597         unconditional.
4598         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4599         conditional code.
4601 2014-06-25  Will Newton  <will.newton@linaro.org>
4603         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4604         comment changes throughout the file.  Remove checks
4605         for HAVE_*_H definitions that are not required.
4606         (__gen_tempname): Call abort if an unknown kind value is
4607         passed.
4609 2014-06-25  Andreas Schwab  <schwab@suse.de>
4611         [BZ #17086]
4612         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4613         scalbln, scalblnf, scalblnl in libc.
4615 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4617         [BZ #17086]
4618         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4619         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4620         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4622 2014-06-24  Roland McGrath  <roland@hack.frob.com>
4624         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4625         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4626         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4627         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4628         Update #include.
4629         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4630         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4631         Update #include.
4632         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4633         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4634         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4635         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4636         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4637         * sysdeps/x86/bits/pthreadtypes.h: ... here.
4638         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4639         * sysdeps/x86/bits/semaphore.h: ... here.
4640         * sysdeps/x86/nptl/elide.h: Moved ...
4641         * sysdeps/x86/elide.h: ... here.
4642         * sysdeps/x86_64/nptl/Implies: File removed.
4643         * sysdeps/i386/nptl/Implies: File removed.
4645 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
4647         [BZ #16539]
4648         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4649         return the argument for normal arguments with exponent below -64.
4650         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4651         Likewise.
4652         * math/auto-libm-test-in: Add another test of expm1.
4653         * math/auto-libm-test-out: Regenerated.
4655         [BZ #16287]
4656         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4657         calling __erfcl for arguments at least 16.
4658         * math/auto-libm-test-in: Add more tests of erf.
4659         * math/auto-libm-test-out: Regenerated.
4661         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4662         individual architectures.
4663         * sysdeps/unix/sysv/linux/configure: Regenerated.
4664         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4665         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4666         * sysdeps/unix/sysv/linux/powerpc/configure.ac
4667         (ldd_rewrite_script): Define variable.
4668         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4670         file.
4671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4672         generated file.
4673         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4674         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4675         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4676         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4677         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4678         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4679         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4680         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4682 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4684         [BZ #17084]
4685         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4686         Rename member __data.d to __data.__elision_data.
4688 2014-06-24  Wilco  <wdijkstr@arm.com>
4690         * NEWS: Add 16918 to fixed bug list.
4692 2014-06-24  Wilco  <wdijkstr@arm.com>
4694         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4696 2014-06-24  Wilco  <wdijkstr@arm.com>
4698         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4699         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4700         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4701         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4702         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4703         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4704         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4705         Use _FPU_MASK_RM.
4707 2014-06-24  Wilco  <wdijkstr@arm.com>
4709         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4711 2014-06-24  Wilco  <wdijkstr@arm.com>
4713         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4714         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4715         * sysdeps/arm/fesetround.c (fesetround): Remove space.
4716         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4718 2014-06-24  Wilco  <wdijkstr@arm.com>
4720         [BZ #16918]
4721         * sysdeps/arm/feupdateenv.c (feupdateenv):
4722         Rewrite to reduce FPSCR accesses and fix return value.
4724 2014-06-24  Wilco  <wdijkstr@arm.com>
4726         * sysdeps/arm/fclrexcpt.c (feclearexcept):
4727         Optimize to avoid unnecessary FPSCR writes.
4728         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4729         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4730         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4731         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4733 2014-06-24  Wilco  <wdijkstr@arm.com>
4735         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4736         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4737         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4738         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4739         Call libc_fetestexcept_vfp.
4740         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4741         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4742         __SOFTFP__ ifdef so that they can be built for softfp.
4744 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4746         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4747         argument type signed char.
4749         * Makerules (check-abi): Dump diff of symlist if the test
4750         fails.
4752 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4754         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4755         using abort.
4757         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4758         Remove unused variable ST.
4760 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4762         [BZ #16354]
4763         [BZ #17061]
4764         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4765         small arguments before calling __expm1.
4766         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4767         small arguments before calling __expm1f.
4768         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4769         small arguments before calling __expm1l.
4770         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4771         Likewise.
4772         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4773         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
4774         spurious underflow for some cosh tests.
4775         * math/auto-libm-test-out: Regenerated.
4776         * sysdeps/i386/fpu/libm-test-ulps: Update.
4778         [BZ #17050]
4779         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4780         (__ieee754_y1): Set errno if return value overflows.
4781         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4782         (__ieee754_y1f): Set errno if return value overflows.
4783         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4784         (__ieee754_y1l): Set errno if return value overflows.
4785         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4786         (__ieee754_y1l): Set errno if return value overflows.
4787         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4788         * math/auto-libm-test-out: Regenerated.
4790         * math/gen-auto-libm-tests.c: Document use of
4791         ignore-zero-inf-sign.
4792         (input_flag_type): Add value flag_ignore_zero_inf_sign.
4793         (input_flags): Add ignore-zero-inf-sign.
4794         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4795         * math/gen-libm-test.pl (generate_testfile): Handle
4796         ignore-zero-inf-sign.
4797         * math/auto-libm-test-in: Mark some cpow tests with
4798         ignore-zero-inf-sign and some with xfail-rounding.
4799         * math/auto-libm-test-out: Regenerated.
4800         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4801         * sysdeps/i386/fpu/libm-test-ulps: Update.
4802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4804         [BZ #16315]
4805         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4806         overflowing or underflowing operations take place with sign of
4807         result.
4808         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4809         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4810         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4811         (__ieee754_pow): Recompute overflowing and underflowing results in
4812         original rounding mode.
4813         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4814         (__powl_helper): Allow negative argument X and scale negated value
4815         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
4816         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4817         overflowing or underflowing operations take place with sign of
4818         result.
4819         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4820         Include <math.h>.
4821         * math/auto-libm-test-in: Add more tests of pow.
4822         * math/auto-libm-test-out: Regenerated.
4823         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4824         (pow_tonearest_test_data): Remove.
4825         (pow_test_tonearest): Likewise.
4826         (pow_towardzero_test_data): Likewise.
4827         (pow_test_towardzero): Likewise.
4828         (pow_downward_test_data): Likewise.
4829         (pow_test_downward): Likewise.
4830         (pow_upward_test_data): Likewise.
4831         (pow_test_upward): Likewise.
4832         (main): Don't call removed functions.
4833         * sysdeps/i386/fpu/libm-test-ulps: Update.
4834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4836 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4839         Moved ...
4840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4842         Moved ...
4843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4845         Moved ...
4846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4848         Moved ...
4849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4851         File removed.
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4853         File removed.
4854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4855         File removed.
4856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4857         File removed.
4858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4859         File removed.
4860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4861         File removed.
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4863         File removed.
4864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4865         File removed.
4866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4867         File removed.
4868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4869         File removed.
4870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4871         File removed.
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4873         File removed.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4875         Moved ...
4876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4878         Moved ...
4879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4880         ... here.
4881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4882         Moved ...
4883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4885         Moved ...
4886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4888         Moved ...
4889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4891         Moved ...
4892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4894         Moved ...
4895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4897         Moved ...
4898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4900         Moved ...
4901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4904         ... here.
4905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4906         Moved ...
4907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4909         Moved ...
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4911         ... here.
4912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4913         Moved ...
4914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4915         ... here.
4916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4917         Moved ...
4918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4919         ... here.
4920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4921         Moved ...
4922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4924         Moved ...
4925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4929         Moved ...
4930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4931         ... here.
4932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4933         Moved ...
4934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4935         ... here.
4936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4937         Moved ...
4938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4940         Moved ...
4941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4943         Moved ...
4944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4946         Moved ...
4947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4949         Moved ...
4950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4951         ... here.
4952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4953         Moved ...
4954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4956         Moved ...
4957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4959         Moved ...
4960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4962         Moved ...
4963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4967         Moved ...
4968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4970         Moved ...
4971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4973         Moved ...
4974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4975         ... here.
4976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4977         Moved ...
4978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4979         ... here.
4980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4981         Moved ...
4982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4983         ... here.
4984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4985         Moved ...
4986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4988         Moved ...
4989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4991         Moved ...
4992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4994         Moved ...
4995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4996         ... here.
4997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4998         Moved ...
4999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5000         ... here.
5001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5002         Moved ...
5003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5004         ... here.
5005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5006         Moved ...
5007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5009         Moved ...
5010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5012 2014-06-23  Will Newton  <will.newton@linaro.org>
5013             Wilco  <wdijkstr@arm.com>
5015         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5016         implementation.  Include get-rounding-mode.h.
5017         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5018         [!libc_feholdsetround_noex_ctx]: Define
5019         libc_feholdsetround_noex_ctx.
5020         [!libc_feholdsetround_noexf_ctx]: Define
5021         libc_feholdsetround_noexf_ctx.
5022         [!libc_feholdsetround_noexl_ctx]: Define
5023         libc_feholdsetround_noexl_ctx.
5024         (libc_feholdsetround_ctx): New function.
5025         (libc_feresetround_ctx): New function.
5026         (libc_feholdsetround_noex_ctx): New function.
5027         (libc_feresetround_noex_ctx): New function.
5029 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5031         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5032         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5033         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5034         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5035         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5036         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5038         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5039         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5040         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5041         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5042         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5043         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5044         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5045         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5046         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5047         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5048         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5049         Moved ...
5050         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5051         ... here.
5052         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5053         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5054         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5055         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5056         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5057         Moved ...
5058         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5059         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5060         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5061         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5062         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5063         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5064         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5065         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5066         Moved ...
5067         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5068         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5069         Moved ...
5070         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5071         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5072         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5073         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5074         Moved ...
5075         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5076         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5077         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5078         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5079         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5080         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5081         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5082         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5083         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5084         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5085         Moved ...
5086         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5087         ... here.
5088         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5089         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5090         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5091         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5092         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5093         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5094         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5095         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5096         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5097         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5098         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5099         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5100         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5101         Moved ...
5102         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5104         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5105         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5106         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5107         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5108         Moved ...
5109         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5110         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5111         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5112         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5113         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5115         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5116         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5117         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5118         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5119         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5120         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5121         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5122         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5123         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5124         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5125         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5126         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5127         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5128         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5129         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5130         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5131         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5132         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5133         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5134         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5135         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5136         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5137         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5138         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5139         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5140         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5141         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5142         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5144 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5146         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5147         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5148         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5149         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5150         (IPV6_PMTUDISC_INTERFACE): Likewise.
5151         (IPV6_PMTUDISC_OMIT): Likewise.
5153 2014-06-23  Andreas Schwab  <schwab@suse.de>
5155         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5156         Remove unused errout label.
5158 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5160         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5161         macro: hardware supports Vector Crypto instructions.
5163 2014-06-23  Will Newton  <will.newton@linaro.org>
5165         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5166         rather than __builtin_expect.
5168         * elf/dl-lookup.c (undefined_msg): Remove variable.
5169         (_dl_lookup_symbol_x): Replace undefined_msg with string
5170         literal.
5172         * elf/dl-lookup.c (do_lookup_unique): New function.
5173         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5174         to a separate function.
5176 2014-06-23  Andreas Schwab  <schwab@suse.de>
5178         [BZ #17079]
5179         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5180         before reading the next line.
5182 2014-06-23  Will Newton  <will.newton@linaro.org>
5184         * test-skeleton.c (signal_handler): Use printf and %m
5185         rather than perror.  Use printf rather than fprintf to
5186         stderr.  Use puts rather than fputs to stderr.
5187         (main): Likewise.
5189 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5191         * nscd/nscd.c (thread_info_t): Remove typedef.
5192         (thread_info): Remove variable.
5194 2014-06-21  Allan McRae  <allan@archlinux.org>
5196         * NEWS: Mention CVE-2014-4043.
5198 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5200         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5201         * nptl/smp.h: ... here.
5203         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5205         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5206         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5207         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5208         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5210         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5211         * nptl/stack-aliasing.h: New file.
5212         * sysdeps/i386/i686/stack-aliasing.h: New file.
5213         * sysdeps/i386/i686/nptl/Makefile: File removed.
5214         * sysdeps/x86_64/stack-aliasing.h: New file.
5215         * sysdeps/x86_64/nptl/Makefile
5216         (CFLAGS-pthread_create.c): Variable removed.
5218         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5219         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5220         old file.
5221         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5222         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5223         old file.
5225 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5227         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5228         (__ASSUME_SIGFRAME_V2): Remove macro.
5229         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5230         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5231         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5232         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5233         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5234         Declare as function.  Remove conditional macro definitions.
5235         (__default_rt_sa_restorer): Likewise.
5236         (__default_sa_restorer_v1): Remove declaration.
5237         (__default_sa_restorer_v2): Likewise.
5238         (__default_rt_sa_restorer_v1): Likewise.
5239         (__default_rt_sa_restorer_v2): Likewise.
5240         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5241         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5242         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5244 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5246         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5247         (libpthread-routines): Add sysdep.
5248         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5249         * sysdeps/unix/sysv/linux/sparc/Versions
5250         (libpthread: GLIBC_2.3.3): New version set.
5251         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5252         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5253         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5254         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5255         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5256         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5257         Moved ...
5258         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5259         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5260         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5261         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5262         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5263         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5264         * sysdeps/sparc/nptl/sem_init.c: ... here.
5265         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5266         * sysdeps/sparc/nptl/sem_post.c: ... here.
5267         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5268         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5269         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5270         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5271         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5272         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5273         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5274         (libpthread-routines): Add cpu_relax.
5275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5276         File removed.
5277         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5278         (librt: GLIBC_2.3.3): New version set.
5279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5280         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5281         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5282         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5285         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5287         Moved ...
5288         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5290         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5292         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5294         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5296         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5298         Moved ...
5299         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5300         Update #include.
5301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5302         Moved ...
5303         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5304         Update #include.
5305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5306         Moved ...
5307         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5308         Update #include.
5309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5310         Moved ...
5311         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5312         Update #include.
5313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5314         Moved ...
5315         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5316         Update #include.
5317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5318         Moved ...
5319         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5320         Update #include.
5321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5322         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5324         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5328         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5330         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5332         Moved ...
5333         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5335         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5337         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5339 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5341         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5342         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5343         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5344         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5345         * nscd/nscd.c: Likewise.
5346         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5347         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5348         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5349         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5351         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5352         <kernel-features.h>.
5353         (init_mq_netlink): Remove conditional have_sock_cloexec
5354         definitions.  Remove code conditional on have_sock_cloexec < 0.
5355         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5356         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5357         * sysdeps/unix/sysv/linux/opensock.c: Do not include
5358         <kernel-features.h>.
5359         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5360         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5362 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5365         Add tests for memset_chk and memset.
5367         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5368         with AVX2_Usable.
5370 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5372         [BZ #16046]
5373         * elf/tst-dl-iter-static.c: New file.
5374         * elf/Makefile (tests-static): Add tst-dl-iter-static.
5376         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5377         error.
5379 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5381         * sysdeps/unix/sysv/linux/kernel-features.h
5382         (__ASSUME_F_GETOWN_EX): Remove macro.
5383         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5384         <kernel-features.h>.
5385         (miss_F_GETOWN_EX): Remove variable or macro.
5386         (do_fcntl): Do not check miss_F_GETOWN_EX.
5387         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5389         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5390         Remove macro.
5391         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5392         [!__ASSUME_AT_RANDOM]: Remove conditional code.
5393         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5395         * sysdeps/unix/sysv/linux/kernel-features.h
5396         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5397         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5398         [ADJ_OFFSET_SS_READ]: Make code unconditional.
5399         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5401 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5403         [BZ #17075]
5404         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5405         Fix calculation of the symbol's value.
5406         * sysdeps/arm/tst-armtlsdescloc.c: New file.
5407         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5408         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5409         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5410         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5411         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5412         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5413         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5414         (modules-names): Add `tst-armtlsdescmod',
5415         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5416         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5417         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5418         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5419         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5420         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5421         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5422         ($(objpfx)tst-armtlsdescloc): New dependency.
5423         ($(objpfx)tst-armtlsdescextnow): Likewise.
5424         ($(objpfx)tst-armtlsdescextlazy): Likewise.
5425         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5426         TLS scheme support.
5427         * sysdeps/arm/configure: Regenerate.
5429 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5431         * include/fcntl.h (__atfct_seterrno): Remove prototype.
5432         (__atfct_seterrno_2): Likewise.
5433         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5434         <kernel-features.h>.
5435         (__ASSUME_ATFCTS): Do not undefine and redefine.
5436         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5437         (__have_atfcts): Remove conditional definition.
5438         (__fxstatat([__NR_fstatat64]: Make code unconditional.
5439         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5440         unreachable if [__ASSUME_ATFCTS].
5441         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5442         not undefine and redefine.
5443         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5444         <kernel-features.h>.
5445         (faccessat) [__NR_faccessat]: Make code unconditional.
5446         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5447         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5448         <kernel-features.h>.
5449         (fchmodat) [__NR_fchmodat]: Make code unconditional.
5450         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5451         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5452         <kernel-features.h>.
5453         (fchownat) [__NR_fchownat]: Make code unconditional.
5454         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5455         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5456         <kernel-features.h>.
5457         (futimesat) [__NR_futimesat]: Make code unconditional.
5458         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5459         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5460         <kernel-features.h>.
5461         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5462         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5463         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5464         <kernel-features.h>.
5465         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5466         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5467         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5468         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5469         <kernel-features.h>.
5470         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5471         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5472         * sysdeps/unix/sysv/linux/linkat.c: Do not include
5473         <kernel-features.h>.
5474         (linkat) [__NR_linkat]: Make code unconditional.
5475         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5476         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5477         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5478         <kernel-features.h>.
5479         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5480         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5481         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5482         <kernel-features.h>.
5483         (mkdirat) [__NR_mkdirat]: Make code unconditional.
5484         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5485         * sysdeps/unix/sysv/linux/openat.c: Do not include
5486         <kernel-features.h>.
5487         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5488         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5489         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5490         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5491         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5492         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5493         <kernel-features.h>.
5494         (readlinkat) [__NR_readlinkat]: Make code unconditional.
5495         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
5496         result of INLINE_SYSCALL directly, not via int variable.
5497         * sysdeps/unix/sysv/linux/renameat.c: Do not include
5498         <kernel-features.h>.
5499         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5500         (renameat) [__NR_renameat]: Make code unconditional.
5501         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5502         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5503         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5504         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5505         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5506         (__ASSUME_ATFCTS): Do not undefine and redefine.
5507         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5508         <kernel-features.h>.
5509         (symlinkat) [__NR_symlinkat]: Make code unconditional.
5510         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5511         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5512         <kernel-features.h>.
5513         (unlinkat) [__NR_unlinkat]: Make code unconditional.
5514         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5515         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5516         (__ASSUME_ATFCTS): Do not undefine and redefine.
5517         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5518         <kernel-features.h>.
5519         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5520         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5521         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5522         <kernel-features.h>.
5523         (__xmknodat) [__NR_mknodat]: Make code unconditional.
5524         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5526 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5528         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5530 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
5532         [BZ #17069]
5533         * posix/regcomp.c (parse_reg_exp): Deallocate partially
5534         constructed tree before returning error.
5535         * posix/bug-regexp36.c: Expand test case.
5537 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5539         [BZ #6803]
5540         * math/libm-test.inc (scalbln_test_date):
5541         Add errno expectations.
5542         * math/w_scalblnf.c: New File.
5543         Add wrapper which checks for setting errno to ERANGE.
5544         Add weak_alias for corresponding scalbln function.
5545         * math/w_scalbln.c: Likewise.
5546         * math/w_scalblnl.c: Likewise.
5547         * math/Makefile (libm-calls): Add w_scalbln.
5548         * sysdeps/ieee754/flt-32/s_scalblnf.c:
5549         Remove weak_alias for corresponding scalbln function.
5550         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5551         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5552         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5553         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5554         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5555         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5556         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5557         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5558         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5559         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5560         Remove long_double_symbol for scalblnl function in libm, libc.
5561         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5562         Add wrapper which checks for setting errno to ERANGE.
5563         Add long_double_symbol for scalblnl function in libm, libc.
5564         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5565         Remove long_double_symbol for scalblnl in libm.
5566         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5567         Add wrapper which checks for setting errno to ERANGE.
5568         Add long_double_symbol for scalblnl function in libm.
5569         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5570         Do not use wrapper because of own implementation.
5572 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
5574         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5575         3 bytes for __pad1 for x32.
5576         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5578 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
5579             H.J. Lu  <hongjiu.lu@intel.com>
5581         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5582         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5583         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5584         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5585         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5587 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
5589         [BZ #17069]
5590         * posix/regcomp.c (parse_expression): Deallocate partially
5591         constructed tree before returning error.
5592         * posix/Makefile.c (tests): Add bug-regex36.
5593         (generated): Add bug-regex36.mtrace.
5594         (tests-special): Add $(objpfx)bug-regex36-mem.out
5595         (bug-regex36-ENV): New variable.
5596         ($(objpfx)bug-regex36-mem.out): New rule.
5597         * posix/bug-regex36.c: New file.
5599 2014-06-19  Will Newton  <will.newton@linaro.org>
5601         * malloc/malloc.c (systrim): If extra is zero then return
5602         early.
5604 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5606         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5608 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
5610         * sysdeps/aarch64/strchr.S: New file.
5612 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5614         [BZ #17022]
5615         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5616         from arguments -2 or below.
5617         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5618         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5620 2014-06-18  Andreas Schwab  <schwab@suse.de>
5622         [BZ #17062]
5623         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5624         of a bracket expr not to run off the end of the string.
5625         * posix/Makefile (tests): Add tst-fnmatch3.
5626         * posix/tst-fnmatch3.c: New file.
5628 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5630         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5631         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5632         [$(cross-compiling) = no]: Likewise.
5633         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5634         [$(cross-compiling) = no]: Likewise.
5636 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5638         [BZ #17031]
5639         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5640         double, adjusted for any remainder from the high double.
5641         * math/libm-test.inc (nearbyint): Add tests.
5642         (rint): Likewise.
5644 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5646         * nptl/sysdeps/powerpc/Makefile: Moved ...
5647         * sysdeps/powerpc/nptl/Makefile: ... here.
5648         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5649         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5650         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5651         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5652         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5653         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5654         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5655         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5656         * nptl/sysdeps/powerpc/tls.h: Moved ...
5657         * sysdeps/powerpc/nptl/tls.h: ... here.
5659 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
5661         [BZ #16681]
5662         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5663         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5664         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5665         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5666         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5667         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5668         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5669         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5670         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5672 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
5674         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5676 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
5678         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5679         defined operator.
5681         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5682         $TIMEOUTFACTOR.
5684 2014-06-16  Florian Weimer  <fweimer@redhat.com>
5686         [BZ #17058]
5687         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5688         non-executed part of the test.
5690 2014-06-16  Andreas Schwab  <schwab@suse.de>
5692         * string/bits/string2.h (strdup, strndup): Update feature guard.
5694 2014-06-14  David S. Miller  <davem@davemloft.net>
5696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5698 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5700         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5701         that was previously under [RESET_PID].
5702         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5704         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5705         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5706         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5707         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5708         (__libc_vfork): New strong alias.
5709         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5711 2014-06-14 Andi Kleen  <ak@linux.intel.com>
5713         * sysdeps/generic/elide.h: New file.
5715 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5717         * Makefile (installed-headers): Adjust path of pthread.h header.
5719 2014-06-13  Roland McGrath  <roland@hack.frob.com>
5721         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5722         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5723         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5724         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5726         * nptl/sysdeps/s390/Makefile: Moved ...
5727         * sysdeps/s390/nptl/Makefile: ... here.
5728         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5729         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5730         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5731         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5732         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5733         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5734         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5735         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5736         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5737         * sysdeps/s390/nptl/pthreaddef.h: ... here.
5738         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5739         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5740         * nptl/sysdeps/s390/tls.h: Moved ...
5741         * sysdeps/s390/nptl/tls.h: ... here.
5743         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5744         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5746 2014-06-13  David S. Miller  <davem@davemloft.net>
5748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5751         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5755         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5756         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5757         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5758         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5759         Remove RESET_PID cpp guards.
5760         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5761         Remove RESET_PID cpp guards.
5762         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5764 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
5766         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5767         __sp to uintptr_t.
5769 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5772         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5773         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5774         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5775         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5776         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5777         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5778         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5779         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5780         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5781         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5782         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5783         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5784         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5785         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5786         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5787         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5788         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5789         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5790         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5792         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5793         (pthread_rwlock_rdlock): Add elision.
5794         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5795         (pthread_rwlock_wrlock): Add elision.
5796         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5797         (pthread_rwlock_trywrlock): Add elision.
5798         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5799         (pthread_rwlock_tryrdlock): Add elision.
5800         * nptl/pthread_rwlock_unlock.c: Include elide.h.
5801         (pthread_rwlock_tryrdlock): Add elision unlock.
5802         * nptl/sysdeps/pthread/pthread.h:
5803         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5804         (PTHREAD_RWLOCK_INITIALIZER,
5805         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5806         Handle new elision field.
5807         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5808         * sysdeps/arm/nptl/bits/pthreadtypes.h
5809         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5810         * sysdeps/sh/nptl/bits/pthreadtypes.h
5811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5812         * sysdeps/tile/nptl/bits/pthreadtypes.h
5813         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5814         * sysdeps/a/nptl/bits/pthreadtypes.h
5815         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5816         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5817         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5818         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5819         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5820         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5821         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5822         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5823         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5824         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5825         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5826         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5827         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5828         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5829         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5830         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5831         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5832         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5833         (elision_init): Set try_xbegin to zero when no RTM.
5834         * sysdeps/x86/nptl/bits/pthreadtypes.h
5835         (pthread_rwlock_t): Change __pad1 to __rwelision.
5836         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5838 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5840         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5841         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5842         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5843         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5845 2014-06-13  Meador Inge  <meadori@codesourcery.com>
5847         [BZ #16996]
5848         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5849         that the cached result has been set before returning it.
5851 2014-06-12  Roland McGrath  <roland@hack.frob.com>
5853         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5854         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5855         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5856         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5857         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5858         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5860         * nptl/sysdeps/sparc/Makefile: Moved ...
5861         * sysdeps/sparc/nptl/Makefile: ... here.
5862         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5863         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5864         * nptl/sysdeps/sparc/tls.h: Moved ...
5865         * sysdeps/sparc/nptl/tls.h: ... here.
5866         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5867         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5868         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5869         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5870         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5871         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5872         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5873         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5874         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5875         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5876         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5877         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5878         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5879         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5880         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5881         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5882         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5883         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5884         Update #include.
5885         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5886         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5887         Update #include.
5888         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5889         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5890         Update #include.
5891         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5892         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5893         Update #include.
5895         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5897         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5898         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5900         * sysdeps/pthread/posix-timer.h: Include <list.h>.
5901         (struct list_links): Type removed.
5902         (struct thread_node, struct timer_node): Replace struct list_links
5903         with struct list_head.
5904         (list_unlink_ip): Likewise.
5905         * sysdeps/pthread/timer_routines.c
5906         (timer_free_list, thread_free_list, thread_active_list): Likewise.
5907         (list_append, list_insbefore): Likewise.
5908         (list_init): Function removed.
5909         (thread_init, init_module): Use INIT_LIST_HEAD instead.
5910         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5911         * sysdeps/pthread/Makefile: ... here, new file.
5913         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5914         * sysdeps/nptl/Implies: ... here.
5915         * sysdeps/unix/sysv/linux/Implies: Add nptl.
5916         * nptl/sysdeps/pthread/list.h: Moved ...
5917         * include/list.h: ... here.
5918         * nptl/sysdeps/pthread/createthread.c: Moved ...
5919         * nptl/createthread.c: ... here.
5920         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5921         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5922         * nptl/pt-longjmp.c: ... here.
5923         * nptl/sysdeps/pthread/Makefile: Moved ...
5924         * sysdeps/nptl/Makefile: ... here.
5925         * nptl/sysdeps/pthread/Subdirs: Moved ...
5926         * sysdeps/nptl/Subdirs: ... here.
5927         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5928         * sysdeps/nptl/aio_misc.h: ... here.
5929         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5930         * sysdeps/nptl/bits/libc-lock.h: ... here.
5931         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5932         * sysdeps/nptl/bits/libc-lockP.h: ... here.
5933         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5934         * sysdeps/nptl/bits/stdio-lock.h: ... here.
5935         * nptl/sysdeps/pthread/configure: Moved ...
5936         * sysdeps/nptl/configure: ... here.
5937         * nptl/sysdeps/pthread/configure.ac: Moved ...
5938         * sysdeps/nptl/configure.ac: ... here.
5939         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5940         * sysdeps/nptl/gai_misc.h: ... here.
5941         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5942         * sysdeps/nptl/librt-cancellation.c: ... here.
5943         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5944         * sysdeps/nptl/malloc-machine.h: ... here.
5945         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5946         * sysdeps/nptl/pthread-functions.h: ... here.
5947         * nptl/sysdeps/pthread/pthread.h: Moved ...
5948         * sysdeps/nptl/pthread.h: ... here.
5949         * nptl/sysdeps/pthread/setxid.h: Moved ...
5950         * sysdeps/nptl/setxid.h: ... here.
5951         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5952         * sysdeps/nptl/sigfillset.c: ... here.
5953         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5954         * sysdeps/nptl/tcb-offsets.h: ... here.
5955         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5956         * sysdeps/nptl/tst-mqueue8x.c: ... here.
5957         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5958         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5959         * nptl/sysdeps/pthread/allocalim.h: Moved ...
5960         * sysdeps/pthread/allocalim.h: ... here.
5961         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5962         * sysdeps/pthread/bits/sigthread.h: ... here.
5963         * nptl/sysdeps/pthread/flockfile.c: Moved ...
5964         * sysdeps/pthread/flockfile.c: ... here.
5965         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5966         * sysdeps/pthread/ftrylockfile.c: ... here.
5967         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5968         * sysdeps/pthread/funlockfile.c: ... here.
5969         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5970         * sysdeps/pthread/posix-timer.h: ... here.
5971         * nptl/sysdeps/pthread/timer_create.c: Moved ...
5972         * sysdeps/pthread/timer_create.c: ... here.
5973         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5974         * sysdeps/pthread/timer_delete.c: ... here.
5975         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5976         * sysdeps/pthread/timer_getoverr.c: ... here.
5977         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5978         * sysdeps/pthread/timer_gettime.c: ... here.
5979         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5980         * sysdeps/pthread/timer_routines.c: ... here.
5981         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5982         * sysdeps/pthread/timer_settime.c: ... here.
5983         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5984         * sysdeps/pthread/tst-timer.c: ... here.
5985         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5986         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5988         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5989         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5991         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5992         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5993         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5994         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5995         Update #include target.
5996         * nptl/sysdeps/i386/i686/Makefile: Moved ...
5997         * sysdeps/i386/i686/nptl/Makefile: ... here.
5998         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5999         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6000         Update #include target.
6001         * nptl/sysdeps/i386/i686/tls.h: Moved ...
6002         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
6003         * nptl/sysdeps/i386/Makefile: Moved ...
6004         * sysdeps/i386/nptl/Makefile: ... here.
6005         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6006         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6007         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6008         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6009         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6010         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6011         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6012         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6013         * sysdeps/i386/nptl/pthreaddef.h: ... here.
6014         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6015         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6016         * nptl/sysdeps/i386/tls.h: Moved ...
6017         * sysdeps/i386/nptl/tls.h: ... here.
6019         * sysdeps/sh/Makefile [$(subdir) = csu]
6020         (gen-as-const-headers): Add tcb-offsets.sym.
6021         * nptl/sysdeps/sh/Makefile: File removed.
6022         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6023         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6024         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6025         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6026         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6027         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6028         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6029         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6030         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6031         * sysdeps/sh/nptl/pthreaddef.h: ... here.
6032         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6033         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6034         * nptl/sysdeps/sh/tls.h: Moved ...
6035         * sysdeps/sh/nptl/tls.h: ... here.
6036         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6037         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6038         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6039         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6040         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6041         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6042         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6043         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6044         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6045         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6046         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6047         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6048         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6049         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6050         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6051         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6052         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6053         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6054         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6055         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6056         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6057         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6058         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6059         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6060         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6061         Moved ...
6062         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6063         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6064         Moved ...
6065         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6066         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6067         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6068         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6069         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6070         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6071         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6072         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6073         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6074         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6075         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6076         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6077         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6078         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6079         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6080         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6081         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6082         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6083         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6085 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6087         * posix/spawn_faction_addopen.c: Include string.h.
6089 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6091         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6092         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6093         * nptl/sysdeps/x86_64/Makefile: Moved ...
6094         * sysdeps/x86_64/nptl/Makefile: ... here.
6095         * nptl/sysdeps/x86_64/configure: Moved ...
6096         * sysdeps/x86_64/nptl/configure: ... here.
6097         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6098         * sysdeps/x86_64/nptl/configure.ac: ... here.
6099         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6100         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6101         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6102         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6103         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6104         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6105         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6106         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6107         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6108         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6109         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6110         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6111         * nptl/sysdeps/x86_64/tls.h: Moved ...
6112         * sysdeps/x86_64/nptl/tls.h: ... here.
6113         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6114         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6115         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6116         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6118         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6120 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6124 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6126         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6127         type.
6128         [POSIX] (off_t): Likewise.
6129         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6130         [POSIX] (S_ISBLK): Require macro.
6131         [POSIX] (S_ISCHR): Likewise.
6132         [POSIX] (S_ISDIR): Likewise.
6133         [POSIX] (S_ISFIFO): Likewise.
6134         [POSIX] (S_ISREG): Likewise.
6135         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6136         optional-macro.
6137         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6138         type.
6139         [POSIX] (time_t): Likewise.
6140         [POSIX] (timer_t): Likewise.
6142 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6144         [BZ #17048]
6145         * posix/spawn_int.h (struct __spawn_action): Make the path string
6146         non-const to support deallocation.
6147         * posix/spawn_faction_addopen.c
6148         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6149         * posix/spawn_faction_destroy.c
6150         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6151         path in all spawn_do_open actions.
6152         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6153         posix_spawn_file_actions_addopen.
6155 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6157         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6158         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6159         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6160         conditional code always true.
6161         (__libc_vfork): New alias.
6163 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6165         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6166         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6168         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6170         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6171         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6173         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6174         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6176         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6177         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6179 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6181         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6182         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6183         multiarch strcmp for PPC64.
6184         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6185         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6187         multiarch optimizations.
6188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6189         (__libc_ifunc_impl_list): Likewise.
6191 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6193         * benchtests/scripts/validate_benchout.py: New script.
6194         * benchtests/Makefile (bench-func): Call it.
6195         * benchtests/scripts/benchout.schema.json: New file.
6197 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6199         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6200         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6201         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6202         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6203         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6204         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6205         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6206         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6207         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6208         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6209         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6210         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6211         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6212         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6213         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6214         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6216         Moved ...
6217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6218         ... here.
6219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6220         Moved ...
6221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6223         Moved ...
6224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6225         ... here.
6226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6227         Moved ...
6228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6229         ... here.
6230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6231         Moved ...
6232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6234         Moved ...
6235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6236         ... here.
6237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6238         Moved ...
6239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6240         ... here.
6241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6242         Moved ...
6243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6245         Moved ...
6246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6247         ... here.
6248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6249         Moved ...
6250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6251         ... here.
6252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6253         Moved ...
6254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6255         ... here.
6256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6257         Moved ...
6258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6260         Moved ...
6261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6262         ... here.
6263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6264         Moved ...
6265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6266         ... here.
6267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6268         Moved ...
6269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6270         ... here.
6271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6272         Moved ...
6273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6275         Moved ...
6276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6277         ... here.
6278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6279         Moved ...
6280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6281         ... here.
6282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6283         Moved ...
6284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6286         Moved ...
6287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6288         ... here.
6289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6290         Moved ...
6291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6293         Moved ...
6294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6296         Moved ...
6297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6298         ... here.
6299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6300         Moved ...
6301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6302         ... here.
6303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6304         Moved ...
6305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6306         ... here.
6307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6308         Moved ...
6309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6311         Moved ...
6312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6313         ... here.
6314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6315         Moved ...
6316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6317         ... here.
6318         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6319         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6320         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6321         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6322         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6323         Moved ...
6324         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6325         ... here.
6326         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6327         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6328         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6329         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6330         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6331         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6332         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6333         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6334         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6335         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6336         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6337         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6338         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6339         Moved ...
6340         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6341         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6342         Moved ...
6343         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6344         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6345         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6346         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6347         Moved ...
6348         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6350         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6351         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6352         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6353         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6354         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6356 2014-06-10  Wilco  <wdijkstr@arm.com>
6358         * math/test-fenv-return.c: New file.
6359         * math/Makefile: Add new test test-fenv-return.
6361 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
6363         [BZ #17042]
6364         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6365         when x - 1 is zero.
6366         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6367         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6368         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6369         0.0L for an argument of 1.0L.
6370         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6371         Likewise.
6372         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6373         value when x - 1 is zero.
6374         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6375         * sysdeps/i386/fpu/libm-test-ulps: Update.
6376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6378 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
6380         [BZ #15119]
6381         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6383 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6385         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6386         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6388 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6390         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6391         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6393         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6394         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6396         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6397         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6399         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6400         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6402         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6403         if not already defined.
6404         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6405         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6406         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6407         (TLS_INIT_TP): Use it.
6408         (TLS_DEFINE_INIT_TP): New macro.
6409         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6411 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
6413         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6414         constant.
6415         [POSIX] (IXANY): Likewise.
6416         [POSIX] (OLCUC): Likewise.
6417         [POSIX || POSIX2008] (CBAUD): Do not allow.
6418         [POSIX || POSIX2008] (DEFECHO): Likewise.
6419         [POSIX || POSIX2008] (ECHOCTL): Likewise.
6420         [POSIX || POSIX2008] (ECHOKE): Likewise.
6421         [POSIX || POSIX2008] (ECHOPRT): Likewise.
6422         [POSIX || POSIX2008] (EXTA): Likewise.
6423         [POSIX || POSIX2008] (EXTB): Likewise.
6424         [POSIX || POSIX2008] (FLUSHO): Likewise.
6425         [POSIX || POSIX2008] (LOBLK): Likewise.
6426         [POSIX || POSIX2008] (PENDIN): Likewise.
6427         [POSIX || POSIX2008] (SWTCH): Likewise.
6428         [POSIX || POSIX2008] (VDISCARD): Likewise.
6429         [POSIX || POSIX2008] (VDSUSP): Likewise.
6430         [POSIX || POSIX2008] (VLNEXT): Likewise.
6431         [POSIX || POSIX2008] (VREPRINT): Likewise.
6432         [POSIX || POSIX2008] (VSTATUS): Likewise.
6433         [POSIX || POSIX2008] (VWERASE): Likewise.
6434         (B*): Change to B[0123456789]*.
6435         * conform/data/time.h-data [POSIX || UNIX98]
6436         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6437         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6438         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6439         [POSIX] (tm_*): Do not allow.
6441 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
6443         * Makefile (install): Don't set LANGUAGE.
6444         * Makefile.in (install): Likewise.
6445         * assert/Makefile (test-assert-ENV): Remove variable.
6446         (test-assert-perr-ENV): Likewise.
6447         * elf/Makefile (neededtest4-ENV): Likewise.
6448         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6449         [$(cross-compiling) = no]: Don't set LANGUAGE.
6450         * io/ftwtest-sh (LANG): Remove variable.
6451         * libio/Makefile (tst-widetext-ENV): Likewise.
6452         * manual/install.texi (Running make install): Don't refer to
6453         environment settings for make install.
6454         * INSTALL: Regenerated.
6455         * nptl/tst-tls6.sh: Don't set LANG.
6456         * posix/globtest.sh (LANG): Remove variable.
6457         * string/Makefile (tester-ENV): Likewise.
6458         (inl-tester-ENV): Likewise.
6459         (noinl-tester-ENV): Likewise.
6460         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6461         [$(cross-compiling) = no]: Don't set LANGUAGE.
6462         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6463         without explicit environment settings.
6465 2014-06-06  Roland McGrath  <roland@hack.frob.com>
6467         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6468         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6469         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6470         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6472 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
6474         * crypt/crypt-private.h [DOS]: Add some includes taken from the
6475         other files in the crypt directory.
6476         * crypt/crypt.c: Remove duplicate includes.
6477         * crypt/crypt-entry.c: Likewise.
6478         * crypt/crypt_util.c: Likewise.
6480 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
6482         * Makeconfig (run-program-env): New variable.
6483         (run-program-prefix-before-env): Likewise.
6484         (run-program-prefix-after-env): Likewise.
6485         (run-program-prefix): Define in terms of new variables.
6486         (built-program-cmd-before-env): New variable.
6487         (built-program-cmd-after-env): Likewise.
6488         (built-program-cmd): Define in terms of new variables.
6489         (test-program-prefix-before-env): New variable.
6490         (test-program-prefix-after-env): Likewise.
6491         (test-program-prefix): Define in terms of new variables.
6492         (test-program-cmd-before-env): New variable.
6493         (test-program-cmd-after-env): Likewise.
6494         (test-program-cmd): Define in terms of new variables.
6495         * Rules (make-test-out): Use $(run-program-env).
6496         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6497         (help): Do not mention environment variables.  Mention
6498         --timeoutfactor option.
6499         (timeoutfactor): New variable.
6500         (blacklist_exports): Remove function.
6501         (exports): Remove variable.
6502         (command): Do not include ${exports}.
6503         * manual/install.texi (Configuring and compiling): Do not mention
6504         test wrappers preserving environment variables.  Mention that last
6505         assignment to a variable must take precedence.
6506         * INSTALL: Regenerated.
6507         * benchtests/Makefile (run-bench): Use $(run-program-env).
6508         * catgets/Makefile ($(objpfx)test1.cat): Use
6509         $(built-program-cmd-before-env), $(run-program-env) and
6510         $(built-program-cmd-after-env).
6511         ($(objpfx)test2.cat): Do not specify environment variables
6512         explicitly.
6513         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6514         $(run-program-env) and $(built-program-cmd-after-env).
6515         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6516         $(run-program-env) and $(test-program-cmd-after-env).
6517         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6518         explicitly.
6519         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6520         run_program_env and test_program_cmd_after_env arguments.
6521         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6522         * elf/tst-pathopt.sh: Use run_program_env argument.
6523         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6524         $(test-wrapper-env) and $(run-program-env).
6525         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6526         run_program_env arguments.
6527         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6528         * intl/Makefile ($(objpfx)tst-gettext.out): Use
6529         $(test-program-prefix-before-env), $(run-program-env) and
6530         $(test-program-prefix-after-env).
6531         ($(objpfx)tst-gettext2.out): Likewise.
6532         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6533         run_program_env and test_program_prefix_after_env arguments.
6534         * intl/tst-gettext2.sh: Likewise.
6535         * intl/tst-gettext4.sh: Do not set environment variables
6536         explicitly.
6537         * intl/tst-gettext6.sh: Likewise.
6538         * intl/tst-translit.sh: Likewise.
6539         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6540         $(test-program-prefix-before-env), $(run-program-env) and
6541         $(test-program-prefix-after-env).
6542         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6543         run_program_env and test_program_prefix_after_env arguments.
6544         * math/Makefile (run-regen-ulps): Use $(run-program-env).
6545         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6546         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
6547         explicitly with each use of ${test_wrapper_env}.
6548         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6549         $(test-program-prefix-before-env), $(run-program-env) and
6550         $(test-program-prefix-after-env).
6551         * posix/tst-getconf.sh: Do not set environment variables
6552         explicitly.
6553         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6554         run_program_env and test_program_prefix_after_env arguments.
6555         * stdio-common/tst-printf.sh: Do not set environment variables
6556         explicitly.
6557         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6558         $(test-program-prefix-before-env), $(run-program-env) and
6559         $(test-program-prefix-after-env).
6560         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6561         run_program_env and test_program_prefix_after_env arguments.
6562         Split $test calls into $test_pre and $test.
6563         * timezone/Makefile (build-testdata): Use
6564         $(built-program-cmd-before-env), $(run-program-env) and
6565         $(built-program-cmd-after-env).
6567 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6569         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6570         strlen for non SHARED builds.
6572 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6574         * nptl/allocatestack.c (check_list): Inlined function...
6575         (__reclaim_stacks): ... here.
6577 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6579         [BZ #15698]
6580         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6581         memory overrun.
6583 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
6585         * Rules (make-test-out): Include
6586         LOCPATH=$(common-objpfx)localedata in default environment.
6587         * debug/Makefile (tst-chk1-ENV): Remove variable.
6588         (tst-chk2-ENV): Likewise.
6589         (tst-chk3-ENV): Likewise.
6590         (tst-chk4-ENV): Likewise.
6591         (tst-chk5-ENV): Likewise.
6592         (tst-chk6-ENV): Likewise.
6593         (tst-lfschk1-ENV): Likewise.
6594         (tst-lfschk2-ENV): Likewise.
6595         (tst-lfschk3-ENV): Likewise.
6596         (tst-lfschk4-ENV): Likewise.
6597         (tst-lfschk5-ENV): Likewise.
6598         (tst-lfschk6-ENV): Likewise.
6599         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6600         (tst-iconv7-ENV): Likewise.
6601         * intl/Makefile (LOCPATH-ENV): Likewise.
6602         (tst-codeset-ENV): Likewise.
6603         (tst-gettext3-ENV): Likewise.
6604         (tst-gettext5-ENV): Likewise.
6605         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6606         (tst-fopenloc-ENV): Likewise.
6607         (tst-fgetws-ENV): Remove variable.
6608         (tst-ungetwc1-ENV): Likewise.
6609         (tst-ungetwc2-ENV): Likewise.
6610         (bug-ungetwc2-ENV): Likewise.
6611         (tst-swscanf-ENV): Likewise.
6612         (bug-ftell-ENV): Likewise.
6613         (tst-fgetwc-ENV): Likewise.
6614         (tst-fseek-ENV): Likewise.
6615         (tst-ftell-partial-wide-ENV): Likewise.
6616         (tst-ftell-active-handler-ENV): Likewise.
6617         (tst-ftell-append-ENV): Likewise.
6618         * posix/Makefile (tst-fnmatch-ENV): Likewise.
6619         (tst-regexloc-ENV): Likewise.
6620         (bug-regex1-ENV): Likewise.
6621         (tst-regex-ENV): Likewise.
6622         (tst-regex2-ENV): Likewise.
6623         (bug-regex5-ENV): Likewise.
6624         (bug-regex6-ENV): Likewise.
6625         (bug-regex17-ENV): Likewise.
6626         (bug-regex18-ENV): Likewise.
6627         (bug-regex19-ENV): Likewise.
6628         (bug-regex20-ENV): Likewise.
6629         (bug-regex22-ENV): Likewise.
6630         (bug-regex23-ENV): Likewise.
6631         (bug-regex25-ENV): Likewise.
6632         (bug-regex26-ENV): Likewise.
6633         (bug-regex30-ENV): Likewise.
6634         (bug-regex32-ENV): Likewise.
6635         (bug-regex33-ENV): Likewise.
6636         (bug-regex34-ENV): Likewise.
6637         (bug-regex35-ENV): Likewise.
6638         (tst-rxspencer-ENV): Likewise.
6639         (tst-rxspencer-no-utf8-ENV): Likewise.
6640         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6641         (tst-sscanf-ENV): Likewise.
6642         (tst-swprintf-ENV): Likewise.
6643         (tst-swscanf-ENV): Likewise.
6644         (test-vfprintf-ENV): Likewise.
6645         (scanf13-ENV): Likewise.
6646         (bug14-ENV): Likewise.
6647         (tst-grouping-ENV): Likewise.
6648         * stdlib/Makefile (tst-strtod-ENV): Likewise.
6649         (tst-strtod3-ENV): Likewise.
6650         (tst-strtod4-ENV): Likewise.
6651         (tst-strtod5-ENV): Likewise.
6652         (testmb2-ENV): Likewise./
6653         * string/Makefile (tst-strxfrm-ENV): Likewise.
6654         (tst-strxfrm2-ENV): Likewise.
6655         (bug-strcoll1-ENV): Likewise.
6656         (test-strcasecmp-ENV): Likewise.
6657         (test-strncasecmp-ENV): Likewise.
6658         * time/Makefile (tst-strptime-ENV): Likewise.
6659         (tst-ftime_l-ENV): Likewise.
6660         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6661         (tst-mbrtowc-ENV): Likewise.
6662         (tst-wcrtomb-ENV): Likewise.
6663         (tst-mbrtowc2-ENV): Likewise.
6664         (tst-c16c32-1-ENV): Likewise.
6665         (tst-mbsnrtowcs-ENV): Likewise.
6667 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6669         * manual/resource.texi (How to get information about the memory
6670         subsystem?): Fix typo.
6671         Reported by Peon de la Parra Ivan <peon@keba.com>
6673 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
6675         [BZ #16882]
6676         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6677         (pthread_spin_lock): Branch out of spin loop to proper location.
6678         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6679         (pthread_spin_lock): Likewise.
6681         * nptl/tst-spin4.c: New test.
6682         * nptl/Makefile (tests): Add tst-spin4.
6684 2014-06-03  Andreas Schwab  <schwab@suse.de>
6686         [BZ #15946]
6687         * resolv/res_send.c (send_dg): Reload file descriptor after
6688         calling reopen.
6690 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
6692         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6694 2014-06-03  Richard Henderson  <rth@redhat.com>
6696         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6697         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6698         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6699         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
6700         in the SAVE_PID block.
6701         (__libc_vfork): New alias.
6702         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6704         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6705         child in registers, not on the stack.  Remove RESET_PID conditionals.
6706         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6708 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6710         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6712 2014-06-03  Wilco  <wdijkstr@arm.com>
6714         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6715         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6716         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6717         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6718         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6719         Likewise.
6721 2014-06-03  Wilco  <wdijkstr@arm.com>
6723         * sysdeps/aarch64/fpu/math_private.h
6724         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6725         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6726         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6727         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6728         Fix declarations.
6730 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6732         * crypt/crypt-private.h: Include ufc-crypt.h.
6733         (__b64_from_24bit): Declare extern.
6734         * crypt/crypt_util.c(__b64_from_24bit): New function.
6735         (b64t): New static const variable.
6736         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6737         (b64t): Remove variable.
6738         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6739         * crypt/sha256-crypt.c: Include crypt-private.h.
6740         (b64t): Remove variable.
6741         (__sha256_crypt_r): Remove b64_from_24bit and replace
6742         with __b64_from_24bit.
6743         * crypt/sha512-crypt.c: Likewise.
6745 2014-06-02  Roland McGrath  <roland@hack.frob.com>
6747         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6748         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6749         Label the code __libc_vfork rather than __vfork.
6750         [!NOT_IN_libc] (vfork): Define as weak alias.
6751         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6752         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6753         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6755 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6757         * malloc/malloc.c (malloc_info): Fix format specifier for
6758         n_mmaps.
6760 2014-06-02  Wilco  <wdijkstr@arm.com>
6762         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6763         FPCR write.
6765 2014-06-02  Wilco  <wdijkstr@arm.com>
6767         [BZ #17009]
6768         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6769         Rewrite to reduce FPCR/FPSR accesses.
6771 2014-06-01  David S. Miller  <davem@davemloft.net>
6773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6775 2014-05-31  David S. Miller  <davem@davemloft.net>
6777         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6778         to occur in round to nearest mode when |x| >= 2.0
6780 2014-05-30  Richard Henderson  <rth@twiddle.net>
6782         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6783         (PSEUDO_RET_NOERRNO): Remove.
6784         (ret): Don't redefine.
6785         (ret_NOERRNO): Define in terms of ret.
6786         (ret_ERRVAL): Likewise.
6788         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6789         use of PSEUDO_RET; perform the error check directly.
6791 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
6793         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6794         with __int128_t.
6796 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6798         * malloc/malloc (malloc_info): Fix formatting.
6800 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6801             Roland McGrath  <roland@hack.frob.com>
6803         * malloc/malloc (malloc_info): Also print mmapped statistics.
6805 2014-05-30  Roland McGrath  <roland@hack.frob.com>
6807         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6808         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6810 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
6812         * malloc/malloc.c (malloc_info): Inline mi_arena.
6814 2014-05-29  Richard Henderson  <rth@twiddle.net>
6816         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6817         Remove comma before expanding ASM_ARGS_##nr.
6818         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6819         Make _x0 a strict output; make _x8 a strict input; adjust expansion
6820         of ASM_ARGS_##nr.
6821         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6822         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6823         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6824         (ASM_ARGS_1): Add leading comma.
6826         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6827         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6828         to __errno_location.
6829         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6830         Remove the expected plt for __errno_location.
6832         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6833         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6834         call to __read_tp.
6836         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6837         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
6838         it and break it down.
6839         (DOCARGS_0, DOCARGS_1): Do nothing.
6840         (DOCARGS_2): Update to store into the new stack frame.
6841         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6842         (UNDOCARGS_1): Update to restore from the new stack frame.
6843         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6844         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6846         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6847         (SINGLE_THREAD_P): New parameter for result regno.
6848         (PSEUDO): Update to match; use cbz instead of beq.
6850         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6851         Use ENTRY to define the _nocancel entry point.  Share the syscall
6852         and syscall error check paths with the cancel path.
6853         (PSEUDO_END): New.
6855         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6856         whitespace; tabs before and after asm mnemonics.
6858 2014-05-29  Eric Wong  <normalperson@yhbt.net>
6860         [BZ #15132]
6861         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6862         Call fstat64 or stat64 internally, depending on arguments passed.
6863         Replace stat buffer argument with file descriptor argument.
6864         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6865         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6866         Pass fd to __internal_statvfs instead of calling fstat64.
6867         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6868         Pass fd to __internal_statvfs64 instead of calling fstat64.
6869         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6870         Pass -1 to __internal_statvfs instead of calling stat64.
6871         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6872         Pass -1 to __internal_statvfs64 instead of calling stat64.
6874 2014-05-28  Roland McGrath  <roland@hack.frob.com>
6876         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6877         that was previously under [RESET_PID].
6878         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6880         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6881         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6883 2014-05-27  Roland McGrath  <roland@hack.frob.com>
6885         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6887         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6888         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6890 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
6892         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6894 2014-05-27  Andreas Schwab  <schwab@suse.de>
6896         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6897         TLS_INIT_TP macro.
6898         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6899         * elf/rtld.c (init_tls, dl_main): Likewise.
6900         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6901         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6902         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6903         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6904         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6905         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6906         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6907         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6908         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6909         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6910         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6911         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6912         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6913         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6914         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6915         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6916         * sysdeps/generic/tls.h: Update description.
6918 2014-05-27  Will Newton  <will.newton@linaro.org>
6920         [BZ #16990]
6921         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6922         and restore r2 rather than just restoring.
6924 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6926         [BZ #16724]
6927         * libio/tst-ftell-append.c: New test case.
6928         * libio/Makefile (tests): Add test case.
6929         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6930         append mode.
6931         * libio/wfileops.c (do_ftell_wide): Likewise.
6933 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6937         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6938         ...
6939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6941         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6942         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6943         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6944         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6945         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6946         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6947         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6948         Moved ...
6949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6950         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6951         Moved ...
6952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6953         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6954         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6955         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6956         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6957         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6958         ...
6959         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6960         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6961         Moved ...
6962         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6963         here.
6964         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6965         ...
6966         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6967         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6968         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6970         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6971         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6972         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6973         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6976         merge into ...
6977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6978         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6979         ...
6980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6981         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6982         ...
6983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6985         Moved ...
6986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6987         here.
6988         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6989         Moved ...
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6992         Moved ...
6993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6996         conditional [RESET_PID].
6997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6998         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6999         removed.
7000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7001         removed.
7003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7004         <tcb-offsets.h>.
7005         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7006         (__libc_vfork): New strong alias.
7007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7008         removed.
7009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7010         Removed.
7012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7013         <tcb-offsets.h>.
7014         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7015         (__libc_vfork): New strong alias.
7016         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7017         removed.
7018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7019         removed.
7021 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
7023         * malloc/malloc.c (mi_arena): New function.
7024         (malloc_info): Remove nested function mi_arena. Call non-nosted
7025         function mi_arena.
7027 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7029         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7030         by insrwi.
7031         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7032         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7033         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7034         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7035         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7036         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7037         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7039 2014-05-26  Andreas Schwab  <schwab@suse.de>
7041         [BZ #16984]
7042         * locale/programs/repertoire.c (repertoire_read): Add slash
7043         between I18NPATH element and file name.
7044         * locale/programs/locfile.c (locfile_read): Likewise.
7046 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7048         * nptl/pthread_mutexattr_settype.c
7049         (__pthread_mutexattr_settype):
7050         Disable lock elision for PTHREAD_MUTEX_NORMAL.
7052 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7054         * nptl/tst-mutex5 (do_test):
7055         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7057 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7059         * benchtests/README: Document 'init' directive.
7060         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7061         BENCH_INIT.
7062         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7063         (parse_file): Recognize 'init' directive.
7065 2014-05-26  Kyle McMartin  <kyle@redhat.com>
7067         [BZ #16796]
7068         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7069         alignment of struct pthread.
7071 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7073         [BZ #16878]
7074         * nscd/netgroupcache.c (addgetnetgrentX): Look for
7075         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7076         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7077         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7079 2014-05-25  Richard Henderson  <rth@twiddle.net>
7081         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7082         (SINGLE_THREAD_P_PIC): Remove.
7083         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7084         (SINGLE_THREAD_P_PIC): Remove.
7086         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7087         branch to syscall error ...
7088         (PSEUDO): ... here.
7089         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7090         from __local_syscall_error to .Lsyscall_error.
7091         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7092         (SYSCALL_ERROR): Update label name.
7094         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7095         Do not use DOARGS/UNDOARGS.
7096         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7097         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7098         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7099         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7100         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7102         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7103         block comment.
7105         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7106         define if !NOT_IN_libc.
7107         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7108         define with non-default symbol versions.
7110 2014-05-23  Richard Henderson  <rth@twiddle.net>
7112         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7113         (vfork, __vfork): Define via compat_symbol.
7115         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7116         [!HAVE_IFUNC] (vfork_compat): Remove.
7117         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7119 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7121         [BZ #16978]
7122         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7123         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7124         variable.
7126 2014-05-23  Richard Henderson  <rth@twiddle.net>
7128         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7129         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7130         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7131         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7133         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7134         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7135         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7136         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7137         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7138         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7139         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7140         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7141         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7142         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7143         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7144         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7145         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7146         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7147         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7148         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7149         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7150         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7151         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7152         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7153         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7154         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7155         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7156         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7157         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7158         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7159         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7160         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7161         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7162         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7163         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7164         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7165         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7166         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7167         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7168         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7169         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7170         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7171         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7172         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7173         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7174         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7175         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7176         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7177         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7178         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7180         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7182         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7183         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7184         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7185         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7186         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7187         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7188         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7190         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7191         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7192         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7193         before exiting on error.
7194         (__libc_vfork): New strong alias.
7195         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7196         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7198         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7199         that was previously under [RESET_PID].
7200         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7202         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7204 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7206         [BZ #16977]
7207         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7208         value when x - 1 is zero.
7209         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7210         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7211         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7212         0.0L for an argument of 1.0L.
7213         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7214         Likewise.
7215         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7216         value when x - 1 is zero.
7217         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7218         * sysdeps/i386/fpu/libm-test-ulps: Update.
7219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7221 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7223         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7224         alphasort and versionsort.
7226 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7228         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7229         macro.
7230         [copysignf]: Likewise.
7232 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7234         * crypt/md5-crypt.c: Fix formatting.
7236 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7238         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7239         (b64_from_24bit): New function.
7241 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7243         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7244         libc_hidden_builtin_def to ifunc.
7245         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7246         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7248 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7250         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7251         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7253 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7255         * nscd/Depend (linuxthreads): Remove.
7256         (nptl): Add.
7257         * resolv/Depend (linuxthreads): Remove.
7258         * rt/Depend (linuxthreads): Remove.
7260         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7261         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7262         $(common-objpfx)elf/.
7263         (link-libc-before-gnulib): Likewise.
7264         (elfobjdir): Remove variable.
7265         * Makefile (install): Use $(elf-objpfx) instead of
7266         $(common-objpfx)elf/.
7267         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7268         $(elfobjdir)/.
7269         (link-libc-deps): Likewise.
7270         ($(common-objpfx)libc.so): Likewise.
7271         ($(common-objpfx)linkobj/libc.so): Likewise.
7272         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7273         instead of $(common-objpfx)elf/.
7274         (symbolic-link-list): Likewise.
7275         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7276         [$(cross-compiling) = no]: Likewise.
7277         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7278         $(elfobjdir)/.
7279         (static-gnulib-arch): Likewise.
7280         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7281         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7282         $(common-objpfx)elf/.
7284 2014-05-21  Richard Henderson  <rth@redhat.com>
7286         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7287         (SINGLE_THREAD_P): Use the correct width load.  Fold
7288         into the ldr offset.
7290         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7291         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7293 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7295         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7296         (libgcc_s_resume): Use __attribute_used__.
7297         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7298         Likewise.
7300 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7302         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7303         optimization when used with float constants.
7305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7307 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
7309         [BZ #16915]
7310         * locale/nl_langinfo_l.c: Make direct reference to every
7311         _nl_current_CATEGORY symbol.
7312         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7313         (tests-static): Add tst-langinfo-static.
7314         (tests-special): Add tst-langinfo-static.out.
7315         ($(objpfx)tst-langinfo.out): Redirect output.
7316         ($(objpfx)tst-langinfo-static.out): New.
7317         * localedata/tst-langinfo.sh: Send output to stdout.
7318         * localedata/tst-langinfo-static.c: New file.
7320         [BZ #16965]
7321         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7322         when the shift amount is modulo the limb size.
7324 2014-05-20  Richard Henderson  <rth@redhat.com>
7326         [BZ #16967]
7327         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7328         Change type of sa_flags from unsigned int to int.
7330         [BZ #16966]
7331         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7333         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7335 2014-05-20  Will Newton  <will.newton@linaro.org>
7337         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7338         Test the return value of the system call in the nocancel case.
7340 2014-05-20  Will Newton  <will.newton@linaro.org>
7341             Yvan Roux  <yvan.roux@linaro.org>
7343         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7344         #include of asm/ptrace.h.
7345         (PTRACE_GET_THREAD_AREA): Remove #undef.
7346         (PTRACE_GETHBPREGS): Likewise.
7347         (PTRACE_SETHBPREGS): Likewise.
7348         (struct user_regs_struct): New structure.
7349         (struct user_fpsimd_struct): New structure.
7350         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7351         #include of asm/ptrace.h and second #include of sys/user.h.
7352         (PTRACE_GET_THREAD_AREA): Remove #undef.
7353         (PTRACE_GETHBPREGS): Likewise.
7354         (PTRACE_SETHBPREGS): Likewise.
7355         (ELF_NGREG): Use new struct user_regs_struct.
7356         (elf_fpregset_t): Use new struct user_fpsimd_struct.
7358 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7360         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7361         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7363 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
7365         [BZ #16958]
7366         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7367         membar to avoid block loads/stores to overlap previous stores.
7369 2014-05-17  Richard Henderson  <rth@redhat.com>
7371         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7372         Create the __##syscall_name##_nocancel entry point.
7373         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7374         Remove; let the sysdep-cancel.h code create it.
7376 2014-05-17  David S. Miller  <davem@davemloft.net>
7378         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7379         Protect with __USE_GNU.
7380         (TIOCSET_TEMPT): Likewise.
7381         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7382         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7383         these are already provided in bits/ioctl-types.h
7385 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7387         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7388         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7390         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7391         Use wait4 regardless of [__NR_waitpid].
7393 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7395         PR libgcc/60166
7396         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7397         (_FP_NANSIGN_Q): Set the quiet bit.
7399 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
7401         * benchtests/Makefile
7402         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7403         not $(common-objpfx)math/libm.so.
7404         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7405         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7406         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7407         $(common-objpfx)dlfcn/libdl.so.
7408         ($(objpfx)tst-audit8): Depend on $(libm), not
7409         $(common-objpfx)math/libm.so.
7410         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7411         not $(common-objpfx)dlfcn/libdl.so.
7412         * math/Makefile
7413         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7414         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
7415         [$(build-shared) = yes].
7416         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7417         $(common-objpfx)nptl/libpthread.so.
7418         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7419         $(common-objpfx)math/libm.so$(libm.so-version) or
7420         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7421         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7422         $(common-objpfx)dlfcn/libdl.so.
7423         * setjmp/Makefile (link-libm): Remove variable.
7424         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7425         * stdio-common/Makefile (link-libm): Remove variable.
7426         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7427         * stdlib/Makefile (link-libm): Remove variable.
7428         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7429         ($(objpfx)tst-strtod-round): Likewise.
7430         ($(objpfx)tst-tininess): Likewise.
7431         ($(objpfx)tst-strtod-underflow): Likewise.
7432         ($(objpfx)tst-strtod6): Likewise.
7433         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7434         $(libdl), not $(common-objpfx)nptl/libpthread.so and
7435         $(common-objpfx)dlfcn/libdl.so.
7437 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7439         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7440         BSD terminal modes definitions.
7442 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7444         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7445         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7447         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7448         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7449         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7450         Don't do #include_next.
7451         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7452         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7453         Don't do #include_next.
7454         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7455         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7456         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7457         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7459 2014-05-16  Allan McRae  <allan@archlinux.org>
7461         * po/sv.po: Update Swedish translation from translation project.
7463         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7464         in sed expression.
7466 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
7468         [BZ #16917]
7469         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7470         errno if the TIOCGPTN ioctl fails with an error different than
7471         EINVAL.
7472         * login/tst-ptsname.c: New file.
7473         * login/Makefile (tests): Add tst-ptsname.
7475         [BZ #16943]
7476         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7477         and prlimit64.
7479 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7481         [BZ #16849]
7482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7483         herrno to return EAI_AGAIN.
7485 2014-05-14  Roland McGrath  <roland@hack.frob.com>
7487         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7488         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7489         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7490         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7491         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7492         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7493         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7494         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7495         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7496         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7497         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7498         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7499         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7500         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7501         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7502         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7503         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7504         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7505         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7506         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7507         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7508         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7509         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7510         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7511         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7512         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7513         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7514         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7515         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7516         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7518         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7520         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7522         Moved ...
7523         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7525         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7527         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7529         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7531         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7533         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7535         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7537         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7539         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7541         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7543         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7545         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7547         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7549         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7551         Moved ...
7552         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7554         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7556         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7558         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7560         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7562         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7564         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7566         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7568         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7570         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7572         Moved ...
7573         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7575         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7577         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7578         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7579         (libpthread-sysdep_routines): Add elision-related stuff here instead.
7580         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7581         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7582         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7583         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7584         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7585         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7586         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7587         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7588         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7589         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7590         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7591         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7592         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7593         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7594         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7595         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7596         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7597         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7598         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7599         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7600         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7601         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7602         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7603         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7604         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7605         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7606         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7607         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7609         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7610         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7612         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7613         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7614         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7615         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7616         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7617         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7618         Moved ...
7619         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7620         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7621         Moved ...
7622         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7623         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7624         Moved ...
7625         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7626         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7627         Moved ...
7628         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7629         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7630         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7631         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7632         Moved ...
7633         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7634         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7635         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7636         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7637         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7638         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7639         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7640         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7641         Moved ...
7642         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7643         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7644         Moved ...
7645         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7646         ... here.
7647         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7648         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7649         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7650         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7651         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7652         Moved ...
7653         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7654         ... here.
7655         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7656         Moved ...
7657         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7658         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7659         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7660         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7661         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7662         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7663         Moved ...
7664         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7665         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7666         Moved ...
7667         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7668         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7669         Moved ...
7670         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7671         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7672         Moved ...
7673         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7674         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7675         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7676         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7677         Moved ...
7678         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7679         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7680         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7681         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7682         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7683         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7684         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7685         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7686         Moved ...
7687         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7688         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7689         Moved ...
7690         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7691         ... here.
7692         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7693         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7694         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7695         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7696         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7697         Moved ...
7698         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7699         ... here.
7700         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7701         Moved ...
7702         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7703         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7704         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7705         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7706         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7707         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7708         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7709         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7710         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7711         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7712         Moved ...
7713         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7714         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7715         Moved ...
7716         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7717         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7718         Moved ...
7719         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7720         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7721         Moved ...
7722         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7723         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7724         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7725         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7726         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7727         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7728         Moved ...
7729         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7730         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7731         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7732         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7733         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7734         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7735         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7736         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7737         Moved ...
7738         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7739         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7740         Moved ...
7741         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7742         ... here.
7743         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7744         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7745         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7746         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7747         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7748         Moved ...
7749         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7750         ... here.
7751         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7752         Moved ...
7753         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7754         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7755         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7756         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7757         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7758         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7759         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7760         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7761         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7762         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7763         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7765         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7766         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7768         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7769         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7771         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7772         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7773         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7774         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7775         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7776         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7777         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7778         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7779         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7780         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7781         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7782         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7783         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7784         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7785         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7786         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7787         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7788         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7789         Moved ...
7790         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7791         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7792         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7793         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7794         Moved ...
7795         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7796         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7797         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7798         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7799         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7800         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7801         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7802         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7803         Moved ...
7804         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7805         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7806         Moved ...
7807         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7808         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7809         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7810         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7811         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7812         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7813         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7814         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7815         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7816         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7817         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7818         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7819         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7820         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7821         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7822         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7823         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7825         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7826         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7827         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7828         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7829         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7831         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7832         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7833         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7834         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7835         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7836         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7837         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7838         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7839         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7840         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7843         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7845         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7846         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7847         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7848         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7849         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7850         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7851         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7852         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7853         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7854         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7855         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7856         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7857         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7858         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7860         Update #include.
7861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7862         Likewise.
7863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7864         Likewise.
7865         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7866         Likewise.
7867         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7868         Likewise.
7869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7870         Likewise.
7871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7872         Likewise.
7873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7874         Likewise.
7875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7876         Likewise.
7877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7878         Likewise.
7879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7882         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7884         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7885         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7886         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7887         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7888         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7889         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7890         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7891         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7892         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
7893         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
7895         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7896         that was previously under [RESET_PID].
7897         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7898         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7899         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7901         * sysdeps/i386/nptl/Implies: New file.
7902         * sysdeps/x86_64/nptl/Implies: New file.
7903         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7904         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7905         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7906         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7908         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7909         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7910         (__libc_vfork): New strong alias.
7911         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7912         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7914         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7915         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7916         (__libc_vfork): New strong alias.
7917         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7918         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7920         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7921         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7922         (__libc_vfork): New strong alias.
7923         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7924         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7925         * nptl/pt-vfork.c: New file.
7926         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7927         (libpthread: GLIBC_2.20): New version set (empty).
7929 2014-05-14  Will Newton  <will.newton@linaro.org>
7931         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7932         rather than #if.
7934 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7936         [BZ #16564]
7937         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7938         arguments with exponent 65 or above.
7939         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7940         arguments 0x1p113L or above.
7941         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7942         to arguments 0x1p107L or above.
7943         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7944         positive arguments with exponent 65 or above.
7945         * math/auto-libm-test-in: Add more tests of log1p.
7946         * math/auto-libm-test-out: Regenerated.
7948         [BZ #16928]
7949         * math/s_cacos.c (__cacos): Ensure zero real part of result from
7950         non-finite arguments is +0.
7951         * math/s_cacosf.c (__cacosf): Likewise.
7952         * math/s_cacosl.c (__cacosl): Likewise.
7953         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7954         * sysdeps/i386/fpu/libm-test-ulps: Update.
7955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7957         [BZ #16927]
7958         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7959         value.
7960         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7961         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7962         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7963         for explicit high bit of mantissa when testing for argument equal
7964         to 1.
7965         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7966         * sysdeps/i386/fpu/libm-test-ulps: Update.
7967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7969         [BZ #16516]
7970         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7971         (__erf): Scale by 16 instead of 8 in potentially underflowing
7972         case.  Ensure exception if result actually underflows.
7973         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7974         (__erff): Scale by 16 instead of 8 in potentially underflowing
7975         case.  Ensure exception if result actually underflows.
7976         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7977         (efx8): Remove variable.
7978         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7979         case.  Ensure exception if result actually underflows.
7980         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7981         (efx8): Remove variable.
7982         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7983         case.  Ensure exception if result actually underflows.
7984         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7985         (efx8): Remove variable.
7986         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7987         case.  Ensure exception if result actually underflows.
7988         * math/auto-libm-test-in: Add more tests of erf.
7989         * math/auto-libm-test-out: Regenerated.
7991 2014-05-14  Andreas Schwab  <schwab@suse.de>
7993         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7994         Remove code conditionalized on USE___THREAD.
7996         * config.h.in (HAVE_PT_CHOWN): Define as 0.
7997         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7998         not definedness.
8000 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8002         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8003         Define unconditionally.
8004         (__ASSUME_O_CLOEXEC): Likewise.
8005         (__ASSUME_SOCK_CLOEXEC): Likewise.
8006         (__ASSUME_IN_NONBLOCK): Likewise.
8007         (__ASSUME_PIPE2): Likewise.
8008         (__ASSUME_EVENTFD2): Likewise.
8009         (__ASSUME_SIGNALFD4): Likewise.
8010         (__ASSUME_DUP3): Likewise.
8011         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8012         (__ASSUME_DUP3): Do not define.
8013         (__ASSUME_EVENTFD2): Likewise.
8014         (__ASSUME_IN_NONBLOCK): Likewise.
8015         (__ASSUME_O_CLOEXEC): Likewise.
8016         (__ASSUME_PIPE2): Likewise.
8017         (__ASSUME_SIGNALFD4): Likewise.
8018         (__ASSUME_SOCK_CLOEXEC): Likewise.
8019         (__ASSUME_UTIMES): Undefine.
8020         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8021         (__ASSUME_UTIMES): Do not define.
8022         (__ASSUME_O_CLOEXEC): Likewise.
8023         (__ASSUME_SOCK_CLOEXEC): Likewise.
8024         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8025         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8026         0x020621].
8027         (__ASSUME_PIPE2): Likewise.
8028         (__ASSUME_EVENTFD2): Likewise.
8029         (__ASSUME_SIGNALFD4): Likewise.
8030         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8031         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8032         Do not define.
8033         (__ASSUME_EVENTFD2): Likewise.
8034         (__ASSUME_SIGNALFD4): Likewise.
8035         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8036         (__ASSUME_32BITUIDS): Likewise.
8037         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8038         (__ASSUME_IPC64): Likewise.
8039         (__ASSUME_ST_INO_64_BIT): Likewise.
8040         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8041         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8042         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8043         (__ASSUME_UTIMES): Do not define.
8044         (__ASSUME_PSELECT): Likewise.
8045         (__ASSUME_PPOLL): Likewise.
8046         (__ASSUME_O_CLOEXEC): Likewise.
8047         (__ASSUME_SOCK_CLOEXEC): Likewise.
8048         (__ASSUME_IN_NONBLOCK): Likewise.
8049         (__ASSUME_PIPE2): Likewise.
8050         (__ASSUME_EVENTFD2): Likewise.
8051         (__ASSUME_SIGNALFD4): Likewise.
8052         (__ASSUME_DUP3): Likewise.
8053         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8054         (__ASSUME_UTIMES): Likewise.
8055         (__ASSUME_O_CLOEXEC): Likewise.
8056         (__ASSUME_SOCK_CLOEXEC): Likewise.
8057         (__ASSUME_IN_NONBLOCK): Likewise.
8058         (__ASSUME_PIPE2): Likewise.
8059         (__ASSUME_EVENTFD2): Likewise.
8060         (__ASSUME_SIGNALFD4): Likewise.
8061         (__ASSUME_DUP3): Likewise.
8062         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8063         (__ASSUME_UTIMES): Likewise.
8064         (__ASSUME_O_CLOEXEC): Likewise.
8065         (__ASSUME_SOCK_CLOEXEC): Likewise.
8066         (__ASSUME_IN_NONBLOCK): Likewise.
8067         (__ASSUME_PIPE2): Likewise.
8068         (__ASSUME_EVENTFD2): Likewise.
8069         (__ASSUME_SIGNALFD4): Likewise.
8070         (__ASSUME_DUP3): Likewise.
8071         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8072         Likewise.
8073         (__ASSUME_UTIMES): Likewise.
8074         (__ASSUME_EVENTFD2): Likewise.
8075         (__ASSUME_SIGNALFD4): Likewise.
8076         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8077         (__ASSUME_O_CLOEXEC): Likewise.
8078         (__ASSUME_SOCK_CLOEXEC): Likewise.
8079         (__ASSUME_IN_NONBLOCK): Likewise.
8080         (__ASSUME_PIPE2): Likewise.
8081         (__ASSUME_EVENTFD2): Likewise.
8082         (__ASSUME_SIGNALFD4): Likewise.
8083         (__ASSUME_DUP3): Likewise.
8084         (__ASSUME_UTIMES): Undefine.
8086         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8087         feclearexcept.  Remove symbol versioning code.
8088         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
8089         symbol versioning code.
8090         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
8091         symbol versioning code.
8092         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8093         feupdateenv.  Remove symbol versioning code.
8094         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8095         fegetexceptflag.  Remove symbol versioning code.
8096         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8097         fesetexceptflag.  Remove symbol versioning code.
8098         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8099         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8100         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8101         (__posix_fadvise64_l32): Remove prototype.
8102         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8103         code.
8105 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8107         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8108         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8109         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8110         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8112 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8114         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8115         current working directory
8117 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8119         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8120         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8121         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8122         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8123         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8124         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8125         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8126         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8127         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8128         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8129         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8130         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8131         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8132         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8133         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8134         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8135         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8136         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8137         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8138         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8139         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8140         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8141         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8142         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8143         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8144         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8145         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8146         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8147         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8148         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8149         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8150         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8151         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8152         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8153         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8154         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8155         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8156         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8157         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8158         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8159         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8160         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8162         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8163         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8165         * sysdeps/unix/sysv/linux/arm/Makefile
8166         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8167         Add rt-aeabi_unwind_cpp_pr1.
8168         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8169         Add nptl-aeabi_unwind_cpp_pr1.
8170         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8171         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8172         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8173         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8174         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8175         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8177         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8178         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8179         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8180         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8182         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8183         Deconditionalize the code that was previously under [RESET_PID].
8184         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8186         * sysdeps/generic/exit-thread.h: New file.
8187         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8188         * include/unistd.h (__exit_thread): Remove declaration.
8189         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8190         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8191         * csu/libc-start.c: Include <exit-thread.h>.
8192         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8193         * nptl/pthread_create.c: Include <exit-thread.h>.
8194         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8195         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8196         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8197         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8198         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8199         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8200         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8201         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8202         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8203         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8204         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8205         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8206         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8207         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8208         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8209         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8210         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8212 2014-05-13  Andreas Schwab  <schwab@suse.de>
8214         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8216 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8218         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8219         (__ASSUME_UTIMES): Do not condition on kernel version.
8220         (__ASSUME_PSELECT): Define unconditionally.
8221         (__ASSUME_PPOLL): Likewise.
8222         (__ASSUME_ATFCTS): Likewise.
8223         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8224         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8225         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8226         (__ASSUME_UTIMENSAT): Define unconditionally.
8227         (__ASSUME_PRIVATE_FUTEX): Likewise.
8228         (__ASSUME_FALLOCATE): Likewise.
8229         (__ASSUME_O_CLOEXEC): Likewise.
8230         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8231         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8232         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8233         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8234         (__ASSUME_IN_NONBLOCK): Likewise.
8235         (__ASSUME_PIPE2): Likewise.
8236         (__ASSUME_EVENTFD2): Likewise.
8237         (__ASSUME_SIGNALFD4): Likewise.
8238         (__ASSUME_DUP3): Likewise.
8239         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8240         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8241         (__ASSUME_AT_RANDOM): Likewise.
8242         (__ASSUME_PREADV): Likewise.
8243         (__ASSUME_PWRITEV): Likewise.
8244         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8245         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8246         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8247         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8248         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8249         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8250         (__ASSUME_O_CLOEXEC): Define unconditionally.
8251         (__ASSUME_PSELECT): Do not undefine conditionally.
8252         (__ASSUME_PPOLL): Likewise.
8253         (__ASSUME_ATFCTS): Likewise.
8254         (__ASSUME_SET_ROBUST_LIST): Likewise.
8255         (__ASSUME_UTIMENSAT): Likewise.
8256         (__ASSUME_FDATASYNC): Define unconditionally.
8257         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8258         (__ASSUME_SIGFRAME_V2): Likewise.
8259         )__ASSUME_EVENTFD2): Likewise.
8260         (__ASSUME_SIGNALFD4): Likewise.
8261         (__ASSUME_PSELECT): Do not undefine conditionally.
8262         (__ASSUME_PPOLL): Likewise.
8263         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8264         (__ASSUME_PSELECT): Define unconditionally.
8265         (__ASSUME_PPOLL): Likewise.
8266         (__ASSUME_O_CLOEXEC): Likewise.
8267         (__ASSUME_SOCK_CLOEXEC): Likewise.
8268         (__ASSUME_IN_NONBLOCK): Likewise.
8269         (__ASSUME_PIPE2): Likewise.
8270         (__ASSUME_EVENTFD2): Likewise.
8271         (__ASSUME_SIGNALFD4): Likewise.
8272         (__ASSUME_DUP3): Likewise.
8273         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8274         (__ASSUME_O_CLOEXEC): Likewise.
8275         (__ASSUME_SOCK_CLOEXEC): Likewise.
8276         (__ASSUME_IN_NONBLOCK): Likewise.
8277         (__ASSUME_PIPE2): Likewise.
8278         (__ASSUME_EVENTFD2): Likewise.
8279         (__ASSUME_SIGNALFD4): Likewise.
8280         (__ASSUME_DUP3): Likewise.
8281         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8282         (__ASSUME_EVENTFD2): Likewise.
8283         (__ASSUME_SIGNALFD4): Likewise.
8284         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8286 2014-05-12  Andreas Schwab  <schwab@suse.de>
8288         [BZ #16932]
8289         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8290         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8291         than maximum RPC packet size.
8292         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8293         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8294         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8295         (_nss_nis_getservbyport_r): Likewise.
8297 2014-05-12  Will Newton  <will.newton@linaro.org>
8299         * malloc/Makefile (tests): Add tst-mallopt.
8300         * malloc/tst-mallopt.c: New file.
8302 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8304         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8305         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8307 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8309         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8310         (tst-tlsmod6.so): Likewise.
8312 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8314         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8316 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
8318         [BZ #16064]
8319         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8320         and <dl-procinfo.h>.
8321         (__fegetenv): Save SSE state in envp->__eip if supported.
8322         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8323         envp->__eip if supported.
8324         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8325         and <dl-procinfo.h>.
8326         (__fesetenv): Always set __eip, __cs_selector, __opcode,
8327         __data_offset and __data_selector in environment to 0.  Set SSE
8328         state if supported.
8329         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8330         test-fenv-sse.
8331         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8332         -mfpmath=sse.
8333         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8335 2014-05-09  Will Newton  <will.newton@linaro.org>
8337         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8338         and libc_relro_required for ARM.
8339         * sysdeps/arm/preconfigure: Regenerate.
8341 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8342             Stefan Liebler  <stli@linux.vnet.ibm.com>
8344         * config.make.in (enable-lock-elision): New Makefile variable.
8345         * configure.ac: Likewise.
8346         * configure: Regenerate.
8347         * sysdeps/s390/configure.ac:
8348         Add check for gcc transactions support.
8349         * sysdeps/s390/configure: Regenerate.
8350         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8351         Build elision files if enabled.
8352         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8353         Add lock elision support for s390.
8354         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8355         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8356         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8357         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8358         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8359         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8360         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8361         Likewise.
8362         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8363         Likewise.
8364         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8365         Likewise.
8366         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8367         Likewise.
8368         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8369         (__lll_timedlock_elision, __lll_lock_elision)
8370         (__lll_unlock_elision, __lll_trylock_elision)
8371         (lll_timedlock_elision, lll_lock_elision)
8372         (lll_unlock_elision, lll_trylock_elision): Add.
8373         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8374         (pthread_mutex_t): Add lock elision support for s390.
8376 2014-05-14  Wilco  <wdijkstr@arm.com>
8378         * sysdeps/arm/fclrexcpt.c: Cleanup.
8379         * sysdeps/arm/fedisblxcpt.c: Cleanup.
8380         * sysdeps/arm/feenablxcpt.c: Cleanup.
8381         * sysdeps/arm/fegetenv.c: Cleanup.
8382         * sysdeps/arm/fegetexcept.c: Cleanup.
8383         * sysdeps/arm/fegetround.c: Cleanup.
8384         * sysdeps/arm/feholdexcpt.c: Cleanup.
8385         * sysdeps/arm/fesetenv.c: Cleanup.
8386         * sysdeps/arm/fesetround.c: Cleanup.
8387         * sysdeps/arm/feupdateenv.c: Cleanup.
8388         * sysdeps/arm/fgetexcptflg.c: Cleanup.
8389         * sysdeps/arm/fraiseexcpt.c: Cleanup.
8390         * sysdeps/arm/fsetexcptflg.c: Cleanup.
8391         * sysdeps/arm/ftestexcept.c: Cleanup.
8392         * sysdeps/arm/get-rounding-mode.h: Cleanup.
8393         * sysdeps/arm/setfpucw.c: Cleanup.
8395 2014-05-09  Will Newton  <will.newton@linaro.org>
8397         * sysdeps/arm/armv7/strcmp.S: New file.
8398         * NEWS: Mention addition of ARMv7 optimized strcmp.
8400 2014-05-08  Roland McGrath  <roland@hack.frob.com>
8402         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8403         look for %.ac rather than %.in.
8405         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8406         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8407         * sysdeps/mach/hurd/configure: Regenerated.
8408         * sysdeps/unix/sysv/linux/configure: Regenerated.
8410         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8412 2014-05-07  Steve Ellcey  <sellcey@mips.com>
8414         [BZ# 16922]
8415         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8416         (LONG_SUB): Ditto.
8417         (PTR_SUB): Ditto.
8419 2014-05-07  Andreas Schwab  <schwab@suse.de>
8421         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8422         when skipping over non-matching result from nscd.
8424 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
8426         [BZ #16876]
8427         * nptl/sockperf.c (client): Check socket return value.
8429         [BZ #16877]
8430         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8431         nscd security class.
8433 2014-05-06  Roland McGrath  <roland@hack.frob.com>
8435         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8436         * sysdeps/arm/unwind.h: ... here.
8438 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
8440         [BZ# 16916]
8441         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8442         Define.
8444 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8446         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8447         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8448         multiarch strncpy for PPC64.
8449         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8450         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8452         multiarch optimizations.
8453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8454         (__libc_ifunc_impl_list): Likewise.
8455         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8456         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8457         multiarch stpncpy for PPC64.
8458         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8459         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8461 2014-05-06  Andreas Schwab  <schwab@suse.de>
8463         [BZ #16912]
8464         * gmon/mcount.c (_MCOUNT_DECL): Use
8465         atomic_compare_and_exchange_bool_acq instead of
8466         catomic_compare_and_exchange_bool_acq.
8468 2014-05-05  Roland McGrath  <roland@hack.frob.com>
8470         * elf/Makefile (others, install-bin): Remove pldd.
8471         (pldd-modules): Variable removed.
8472         ($(objpfx)pldd): Target removed.
8473         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8474         (others, install-bin): Append pldd here.
8475         ($(objpfx)pldd): New target.
8477         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8478         to 0, so the first #if test emitted later doesn't see it undefined.
8479         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8480         * sysdeps/gnu/errlist.c: Regenerated.
8482 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8484         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8485         [libc_hidden_builtin_def]: Define to empty value.
8486         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8487         [libc_hidden_builtin_def]: Likewise.
8488         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8489         [libc_hidden_builtin_def]: Likewise.
8490         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8491         [libc_hidden_builtin_def]: Likewise.
8492         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8493         __redirect_memcpy and define ifunc as default hidden symbol.
8494         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8495         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8497 2014-05-04  Adam Conrad  <adconrad@0c3.net>
8499         * locale/iso-4217.def: Reintroduce XDR currency.
8501 2014-05-04  Allan McRae  <allan@archlinux.org>
8503         * po/eo.po: Update Esperanto translation from translation project.
8505 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
8507         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8508         and FEATURE_INDEX_MAX to 1.
8509         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8511 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8513         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8514         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8515         * iconvdata/big5.c (ONE_DIRECTION): Define.
8516         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8517         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8518         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8519         * iconvdata/cp932.c (ONE_DIRECTION): Define.
8520         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8521         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8522         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8523         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8524         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8525         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8526         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8527         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8528         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8529         * iconvdata/gbk.c (ONE_DIRECTION): Define.
8530         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8531         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8532         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8533         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8534         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8535         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8536         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8537         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8538         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8539         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8540         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8541         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8542         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8543         * iconvdata/iso646.c (ONE_DIRECTION): Define.
8544         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8545         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8546         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8547         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8548         * iconvdata/johab.c (ONE_DIRECTION): Define.
8549         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8550         * iconvdata/sjis.c (ONE_DIRECTION): Define.
8551         * iconvdata/t.61.c (ONE_DIRECTION): Define.
8552         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8553         * iconvdata/tscii.c (ONE_DIRECTION): Define.
8554         * iconvdata/uhc.c (ONE_DIRECTION): Define.
8555         * iconvdata/unicode.c (ONE_DIRECTION): Define.
8556         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8557         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8558         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8560 2014-05-01  Roland McGrath  <roland@hack.frob.com>
8562         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8563         (_IO_JUMPS_OFFSET): Define to 0.
8565         * nptl/sysdeps/pthread/bits/libc-lock.h
8566         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8567         (__libc_lock_define_initialized_recursive): Always define using
8568         initializer.  Modern compilers treat uninitialized (implicit zero) and
8569         explicit zero initializers the same (i.e. put the datum in bss).
8571 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8573         * nscd/nscd-client.h: Include <string.h>.
8575 2014-05-01  David S. Miller  <davem@davemloft.net>
8577         [BZ #16885]
8578         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8579         multiple zero bytes exist at the end of a string.
8580         Reported by Aurelien Jarno <aurelien@aurel32.net>
8582         * string/test-strcmp.c (check): Add explicit test for situations where
8583         there are multiple zero bytes after the first.
8585 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8587         [BZ #16890]
8588         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8589         when compiling wprintf.
8590         * stdio-common/tstdiomisc.c (t3): New function.
8591         (main): Call it.
8593 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8595         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8596         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8597         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8598         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8600 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8602         * stdlib/longlong.h: Updated from GCC.
8604 2014-05-01  Will Newton  <will.newton@linaro.org>
8605             Bernard Ogden  <bernie.ogden@linaro.org>
8607         * NEWS: Update fixed bug list.
8609         [BZ #15119]
8610         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8612 2014-04-30  David S. Miller  <davem@davemloft.net>
8614         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8615         (libc_feholdexcept_setround_sparc_ctx): New function.
8616         (libc_fesetenv_sparc_ctx): Likewise.
8617         (libc_feupdateenv_sparc_ctx): Likewise.
8618         (libc_feholdsetround_sparc_ctx): Likewise.
8619         (libc_feholdexcept_setround_ctx): Define.
8620         (libc_feholdexcept_setroundf_ctx): Likewise.
8621         (libc_feholdexcept_setroundl_ctx): Likewise.
8622         (libc_fesetenv_ctx): Likewise.
8623         (libc_fesetenvf_ctx): Likewise.
8624         (libc_fesetenvl_ctx): Likewise.
8625         (libc_feupdateenv_ctx): Likewise.
8626         (libc_feupdateenvf_ctx): Likewise.
8627         (libc_feupdateenvl_ctx): Likewise.
8628         (libc_feresetround_ctx): Likewise.
8629         (libc_feresetroundf_ctx): Likewise.
8630         (libc_feresetroundl_ctx): Likewise.
8631         (libc_feholdsetround_ctx): Likewise.
8632         (libc_feholdsetroundf_ctx): Likewise.
8633         (libc_feholdsetroundl_ctx): Likewise.
8635         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8636         with __USE_GNU instead of XOPEN cpp guards.
8638         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8639         0.
8641         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8642         with XOPEN cpp guards.
8644 2014-04-30  Julian Brown  <julian@codesourcery.com>
8646         [BZ #16888]
8647         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8648         handling.
8650 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
8652         [BZ #9894]
8653         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8654         Change to 2.6.32.
8655         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8656         * sysdeps/unix/sysv/linux/configure: Regenerated.
8657         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8658         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8659         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8660         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8661         * README: Update reference to required Linux kernel version.
8662         * manual/install.texi (Linux): Update reference to required Linux
8663         kernel headers version.
8664         * INSTALL: Regenerated.
8666         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8667         header inclusion.
8668         [POSIX] (limits.h): Likewise.
8669         [POSIX] (math.h): Likewise.
8670         [POSIX] (sys/wait.h): Likewise.
8671         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8672         function.
8673         [POSIX] (stddef.h): Do not allow header inclusion.
8675 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8677         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8679 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
8681         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8682         Return immediately after lll_futex_wake.
8684 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8686         [BZ #16791]
8687         * nscd/nscd-client.h (datahead_init_common): Initialize entire
8688         structure.
8689         (datahead_init_pos): Call datahead_init_common early.
8690         (datahead_init_neg): Likewise.
8692         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8693         datahead_init_neg): New functions.
8694         * nscd/aicache.c (addhstaiX): Use them.
8695         * nscd/grpcache.c (cache_addgr): Likewise.
8696         * nscd/hstcache.c (cache_addhst): Likewise.
8697         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8698         * nscd/netgroupcache.c (do_notfound): Likewise.
8699         (addgetnetgrentX): Likewise.
8700         (addinnetgrX): Likewise.
8701         * nscd/pwdcache.c (cache_addpw): Likewise.
8702         * nscd/servicescache.c (cache_addserv): Likewise.
8704 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8705             Atsushi Onoe  <atsushi@onoe.org>
8707         [BZ #14308]
8708         [BZ #12994]
8709         [BZ #13651]
8710         * resolv/res_query.c (__libc_res_nsearch): Return if at least
8711         one response is valid.
8712         * resolv/res_send.c (send_dg): Check for validity of other
8713         response if the current response is a referral.
8715 2014-04-29  Steve Ellcey  <sellcey@mips.com>
8717         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8719 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
8721         [BZ #16823]
8722         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8723         Always divide by positive zero when computing -Inf result.
8724         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8725         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8727 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8729         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8730         FPSCR if value do not change.
8731         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8732         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8733         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8734         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8735         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8736         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8737         function.
8739 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
8741         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8742         * sysdeps/unix/sysv/linux/hppa: Move directory from
8743         ports/systeps/unix/sysv/linux/hppa.
8744         * README: Update listing for hppa-*-linux-gnu.
8746 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
8748         [BZ #16754]
8749         * manual/stdio.texi (Hook functions): Fix types of stream hook
8750         functions.
8751         [BZ #16854]
8752         * socket/sys/socket.h: Fix typo in comment.
8754 2014-04-28  Wilco  <wdijkstr@arm.com>
8756         * sysdeps/arm/fenv_private.h: New file.
8757         * sysdeps/arm/math_private.h: New file.
8758         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8760 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
8762         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8763         with __int128_t.
8764         (La_x86_64_retval): Likewise.
8766 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
8768         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8769         fpsr if value didn't change.
8770         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8771         to fpcr if value didn't change.
8772         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8773         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8774         fpsr or fpcr if value didn't change.
8775         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8776         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8777         fpcr if value didn't change.
8778         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8779         to fpsr if value didn't change.
8781 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8783         * nptl/tst-sem3.c: Use test-skeleton.c
8784         (main): Rename to do_test.  Use return instead of
8785         exit.
8786         * nptl/tst-sem4.c: Use test-skeleton.c
8787         (main): Rename to do_test.
8789 2014-04-22  David S. Miller  <davem@davemloft.net>
8791         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8792         (struct sigaction): New struct member __glibc_reserved0, change
8793         type of sa_flags to int.
8795 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
8797         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8798         (COUNT_LEADING_ZEROS_0): Define for AArch64.
8800 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8802         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8803         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8805 2014-04-22  Will Newton  <will.newton@linaro.org>
8806             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
8808         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8809         (__longjmp): Add longjmp and longjmp_target SystemTap
8810         probes.
8811         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8812         (__sigsetjmp): Add setjmp SystemTap probe.
8814 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
8816         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8817         match manual order.
8819 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8821         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8823         * sysdeps/powerpc/fpu/fenv_private.h
8824         (libc_feholdexcept_setroundl_ctx): Define to
8825         libc_feholdexcept_setround_ppc_ctx.
8826         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8827         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8828         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8829         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8831 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8833         * sysdeps/aarch64/math-tests.h: New file.
8835 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
8837         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8838         New.
8839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8840         Check and set bit_AVX2_Usable.
8841         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8842         macro.
8843         (bit_AVX2): Likewise.
8844         (index_AVX2_Usable): Likewise.
8845         (CPUID_AVX2): Likewise.
8846         (HAS_AVX2): Likewise.
8848 2014-04-17  Will Newton  <will.newton@linaro.org>
8850         * manual/setjmp.texi (System V contexts): Add note that
8851         calling setcontext on a context created by a call to a
8852         signal handler is undefined.  Update text to note that
8853         setcontext from a signal handler is possible but not
8854         recommended.
8856         [BZ #16629]
8857         * stdlib/tst-setcontext.c: Include signal.h.
8858         (main): Check that the signal stack before and
8859         after swapcontext is the same.
8861         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8862         Re-implement to restore registers in user code and avoid
8863         rt_sigreturn system call.
8865 2014-04-17  Wilco  <wdijkstr@arm.com>
8867         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8868         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8869         * math/test-fenv.c: Skip exception trap tests on targets which only
8870         support non-stop mode.
8872 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8873             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8875         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8876         (libc_feholdsetround_aarch64_ctx)
8877         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8878         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8879         (libc_feresetround_ctx, libc_feresetroundf_ctx)
8880         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8881         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8882         (libc_feresetround_noexl_ctx): Define.
8884 2014-04-16  Richard Henderson  <rth@redhat.com>
8886         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8888         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8889         unwind tables.
8891         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8892         const from the non-libc, non-ldso copy.
8894         * sysdeps/alpha/libm-test-ulps: Regenerate.
8896 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
8897             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8899         * sysdeps/aarch64/fpu/math_private.h: New file.
8901 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8903         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8905 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
8907         [BZ #16275]
8908         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8909         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8910         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8911         Intel MPX bound registers before _dl_profile_fixup.
8912         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8913         registers after _dl_profile_fixup.  Save and restore bound
8914         registers bnd0/bnd1 when calling _dl_call_pltexit.
8915         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8916         (LR_BND_OFFSET): Likewise.
8917         (LRV_BND0_OFFSET): Likewise.
8918         (LRV_BND1_OFFSET): Likewise.
8920 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8922         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8923         to...
8924         * sysdeps/mach/hurd/i386/tls.h: ... here.
8925         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8926         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8927         fields.
8929 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8931         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8933 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8935         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8937 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8939         [BZ #14770]
8940         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8941         * sysdeps/s390/configure: Regenerate.
8943         [BZ #16824]
8944         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8945         Set round-to-nearest internally to reduce error accumulation.
8947 2014-04-16  Alan Modra  <amodra@gmail.com>
8949         [BZ #16740]
8950         [BZ #16619]
8951         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8952         * math/libm-test.inc (frexp_test_data): Add tests.
8953         * NEWS: Update fixed bug list.
8955 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8957         * benchtests/Makefile: Depend on libraries in build directory.
8958         (bench-math): Separate out math tests.
8959         (bench-pthread): Separate out pthread tests.
8960         (bench): Include math and pthread tests.
8962 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
8964         [BZ #16831]
8965         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8966         _dl_debug_initialize.
8968         * configure.ac: Remove SELinux header check.
8969         * configure: Regenerate.
8970         * nscd/selinux.c (perms): Array of const char* to permission names.
8971         (nscd_request_avc_has_perm): Call security_deny_unknown to find
8972         default policy. Call string_to_security_class and string_to_av_perm to
8973         translate strings. Enforce default policy and call avs_has_perm with
8974         results of translated strings.
8976 2014-04-13  David S. Miller  <davem@davemloft.net>
8978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8980 2014-04-12  Allan McRae  <allan@archlinux.org>
8982         [BZ #16838]
8983         * manual/string.texi (Collation Functions): Fix qsort argument
8984         order in example.
8985         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8987 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
8989         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8990         Make the test a no-op if there are no exceptions defined.
8992 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8994         * elf/Makefile (tests): make tst-dlopen-aout conditional on
8995         enable-hardcoded-path-in-tests
8997 2014-04-11  Will Newton  <will.newton@linaro.org>
8999         * benchtests/Makefile (extra-objs): Add json-lib.o.
9000         (bench-func): Tidy up JSON output.
9001         * benchtests/bench-skeleton.c: Include json-lib.h.
9002         (main): Use JSON library functions to do output of
9003         benchmark results.
9004         * benchtests/bench-timing-type.c (main): Output the
9005         timing type simply, leaving formatting to the user.
9006         * benchtests/json-lib.c: New file.
9007         * benchtests/json-lib.h: Likewise.
9009 2014-04-11  Torvald Riegel  <triegel@redhat.com>
9011         [BZ #15215]
9012         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9013         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
9014         memory barriers.  Add comments.
9015         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9016         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9017         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9018         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9019         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9020         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9022 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9024         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9025         * sysdeps/s390/s390-64/configure.ac: ... this ...
9026         * sysdeps/s390/configure.ac: ... to here.
9027         * sysdeps/s390/s390-32/configure: Delete file.
9028         * sysdeps/s390/s390-64/configure: Delete file.
9029         * sysdeps/s390/configure: Regenerate.
9031 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
9033         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9035 2014-04-11  Will Newton  <will.newton@linaro.org>
9037         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9038         to zero if it is not defined elsewhere.  (mtrim): Test
9039         the value of MALLOC_DEBUG with #if rather than #ifdef.
9041 2014-04-10 Torvald Riegel  <triegel@redhat.com>
9043         * benchtests/pthread_once-inputs: New file.
9044         * benchtests/pthread_once-source.c: New file.
9045         * benchtests/README: Update documentation.
9047 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9048             H.J. Lu  <hongjiu.lu@intel.com>
9050         [BZ #16275]
9051         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9052         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9053         * sysdeps/x86_64/configure: Regenerated.
9054         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9055         macro.
9056         (REGISTER_SAVE_RAX): Likewise.
9057         (REGISTER_SAVE_RCX): Likewise.
9058         (REGISTER_SAVE_RDX): Likewise.
9059         (REGISTER_SAVE_RSI): Likewise.
9060         (REGISTER_SAVE_RDI): Likewise.
9061         (REGISTER_SAVE_R8): Likewise.
9062         (REGISTER_SAVE_R9): Likewise.
9063         (REGISTER_SAVE_BND0): Likewise.
9064         (REGISTER_SAVE_BND1): Likewise.
9065         (REGISTER_SAVE_BND2): Likewise.
9066         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
9067         bound registers when calling _dl_fixup.
9069 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9071         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9072         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9073         of its definition.
9074         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9075         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9076         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9077         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9078         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9079         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9080         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9082 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
9084         [BZ #15514]
9085         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9086         pathconf(_PC_NAME_MAX).
9088 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9090         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9091         Remove macro usage.
9092         (__PTHREAD_SPINS): Move definition to ...
9093         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9094         (__PTHREAD_SPINS): ... here.
9095         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9096         (__PTHREAD_SPIN): Likewise.
9097         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9098         (__PTHREAD_SPIN): Likewise.
9099         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9100         (__PTHREAD_SPIN): Likewise.
9101         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9102         (__PTHREAD_SPIN): Likewise.
9103         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9104         (__PTHREAD_SPIN): Likewise.
9105         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9106         (__PTHREAD_SPIN): Likewise.
9107         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9108         (__PTHREAD_SPIN): Likewise.
9109         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9110         (__PTHREAD_SPIN): Likewise.
9111         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9112         (__PTHREAD_SPIN): Likewise.
9113         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9114         (__PTHREAD_SPIN): Likewise.
9115         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9116         (__PTHREAD_SPIN): Likewise.
9117         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9118         (__PTHREAD_SPIN): Likewise.
9120         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9121         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9122         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9123         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9124         imply folder.
9125         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9126         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9127         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9128         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9129         correct imply path.
9130         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9131         strlen symbol for non multi-arch builds.
9132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9133         missing hidden_def and weak_alias.
9135 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9137         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9139 2014-04-07  Will Newton  <will.newton@linaro.org>
9141         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9142         and contents.  [!_LIBC] Remove #ifndef and contents.
9143         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9144         * string/memccpy.c (__memccpy): Use ANSI prototype.
9145         * string/memfrob.c (memfrob): Likewise.
9146         * string/strcoll.c (STRCOLL): Likewise.
9147         * string/strlen.c (strlen): Likewise.
9148         * string/strtok.c (STRTOK): Likewise.
9149         * string/strcat.c: Remove unused #include of memcopy.h.
9150         (strcat): Use ANSI prototype.
9151         * string/strchr.c: Remove unused #include of memcopy.h.
9152         (strchr): Use ANSI prototype.
9153         * string/strcmp.c: Remove unused #include of memcopy.h.
9154         (strcmp): Use ANSI prototype.
9155         * string/strcpy.c: Remove unused #include of memcopy.h.
9156         (strcpy): Use ANSI prototype.
9158 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9160         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9161         * config.make.in (config-extra-cppflags): Set it from
9162         libc_extra_cppflags.
9163         * configure.ac (libc_extra_cflags): Make it accumulate over
9164         configure fragments.
9165         (libc_extra_cppflags): New flag.
9166         * configure. Regenerate.
9167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9168         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9169         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9172         [BZ #16815]
9173         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9174         result for FE_DOWNWARD rounding mode.
9175         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9176         Likewise.
9177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9179 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9181         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9182         in function argument name.
9184 2014-04-03  David Svoboda  <svoboda@cert.org>
9186         [BZ #5666]
9187         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9188         explicitly.
9190 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9192         * elf/dl-unmap-segments.h: New file.
9193         * sysdeps/generic/ldsodefs.h
9194         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9195         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9196         * elf/dl-fptr.c: Likewise.
9197         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9198         * sysdeps/aarch64/tlsdesc.c: Likewise.
9199         * sysdeps/arm/tlsdesc.c: Likewise.
9200         * sysdeps/i386/tlsdesc.c: Likewise.
9201         * sysdeps/tile/dl-runtime.c: Likewise.
9202         * sysdeps/x86_64/tlsdesc.c: Likewise.
9203         * elf/dl-load.h: New file.
9204         * elf/dl-load.c: Include it.
9205         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9206         Macros moved to dl-load.h.
9207         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9208         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9209         Use _dl_unmap_segments in place of __munmap.
9210         Break out segment-mapping loop into ...
9211         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9213 2014-04-03  Will Newton  <will.newton@linaro.org>
9215         * elf/dl-lookup.c (do_lookup_x): Remove comment
9216         referring to nested function and move variable
9217         declarations down to before first use.
9219 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9221         [BZ #16799]
9222         [BZ #16800]
9223         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9224         with 0 numerator.
9225         * math/s_catanf.c (__catanf): Likewise.
9226         * math/s_catanh.c (__catanh): Likewise.
9227         * math/s_catanhf.c (__catanhf): Likewise.
9228         * math/s_catanhl.c (__catanhl): Likewise.
9229         * math/s_catanl.c (__catanl): Likewise.
9230         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9231         by positive zero when computing -Inf result.
9232         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9233         (catanh_test): Likewise.
9234         * sysdeps/i386/fpu/libm-test-ulps: Update.
9235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9237         [BZ #16789]
9238         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9239         instead of using underflowing value in computing result.
9240         * math/s_clog10.c (__clog10): Likewise.
9241         * math/s_clog10f.c (__clog10f): Likewise.
9242         * math/s_clog10l.c (__clog10l): Likewise.
9243         * math/s_clogf.c (__clogf): Likewise.
9244         * math/s_clogl.c (__clogl): Likewise.
9245         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9246         (clog10_test): Likewise.
9247         * sysdeps/i386/fpu/libm-test-ulps: Update.
9248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9250 2014-04-02  Alan Modra  <amodra@gmail.com>
9252         [BZ #16739]
9253         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9254         output when value is near a power of two.  Use int64_t for lx and
9255         remove casts.  Use decimal rather than hex exponent constants.
9256         Don't use long double multiplication when double will suffice.
9257         * math/libm-test.inc (nextafter_test_data): Add tests.
9258         * NEWS: Add 16739 and 16786 to bug list.
9260         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9262         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9264 2014-04-01  Will Newton  <will.newton@linaro.org>
9266         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9267         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9269 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9271         [BZ #13347]
9272         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9273         * nptl/tst-setuid2.c: New file.
9274         * nptl/Makefile (xtests): Add tst-setuid2.
9276 2014-04-01  Alan Modra  <amodra@gmail.com>
9278         [BZ #16786]
9279         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9281 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9283         [BZ #6803]
9284         [BZ #6804]
9285         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9286         set errno as appropriate.
9287         * math/w_scalbf.c (__scalbf): Likewise.
9288         * math/w_scalbl.c (__scalbl): Likewise.
9289         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9290         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9291         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9292         Add more NaN tests.
9294         [BZ #16349]
9295         * math/w_atan2.c: Include <errno.h>.
9296         (__atan2): Set errno for result underflowing to zero.
9297         * math/w_atan2f.c: Include <errno.h>.
9298         (__atan2f): Set errno for result underflowing to zero.
9299         * math/w_atan2l.c: Include <errno.h>.
9300         (__atan2l): Set errno for result underflowing to zero.
9301         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9302         tests.
9303         * math/auto-libm-test-out: Regenerated.
9305 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9307         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9308         Encode instruction correctly in little endian.
9309         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9310         Likewise.
9311         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9312         Likewise.
9313         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9314         Likewise.
9315         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9316         Likewise.
9318 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9320         [BZ #9894]
9321         * sysdeps/unix/sysv/linux/kernel-features.h
9322         [__sparc__ && !__arch64__ && !__sparc_v9__]
9323         (__ASSUME_SET_ROBUST_LIST): Do not define.
9324         [__sparc__ && !__arch64__ && !__sparc_v9__]
9325         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9326         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9327         Likewise.
9328         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9329         (__ASSUME_FUTEX_LOCK_PI): Undefine.
9330         (__ASSUME_REQUEUE_PI): Likewise.
9331         (__ASSUME_SET_ROBUST_LIST): Likewise.
9332         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9333         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9334         Undefine.
9335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9336         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9337         Likewise.
9338         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9339         Likewise.
9340         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9341         Likewise.
9342         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9343         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9344         Undefine.
9345         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9346         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9347         Likewise.
9349         [BZ #16648]
9350         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9351         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9352         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9354 2014-03-31  Will Newton  <will.newton@linaro.org>
9356         * benchtests/Makefile (bench): Add ffs and ffsll to list
9357         of tests.
9358         * benchtests/ffs-inputs: New file.
9359         * benchtests/ffsll-inputs: Likewise.
9361 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
9363         [BZ #16770]
9364         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9365         too large before casting to int.
9366         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9367         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9368         * math/libm-test.inc (scalb_test_data): Add more tests.
9370 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9372         * benchtests/Makefile (DETAILED_OPT): New make option.
9373         (bench-func): Run benchmark program with -d if DETAILED_OPT is
9374         set.
9375         * benchtests/bench-skeleton.c: Include stdbool.h.
9376         (main): Store and print timings per input.
9377         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9378         member to each argument value.
9379         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9380         (_print_arg_data): Initialize per-input timing to 0.
9382         * benchtests/Makefile (timing-type): New binary.
9383         (bench-clean): Also remove bench-timing-type.
9384         (bench): New target for timing-type.
9385         (bench-func): Print output in JSON format.
9386         * benchtests/bench-skeleton.c (main): Print output in JSON
9387         format.
9388         * benchtests/bench-timing-type.c: New file.
9389         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9390         (TIMING_PRINT_STATS): Remove.
9391         * benchtests/scripts/bench.py (_print_arg_data): Store variant
9392         name separately.
9394         * benchtests/bench-modf.c: Remove.
9395         * benchtests/modf-inputs: New inputs file.
9397 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
9399         [BZ #16362]
9400         * math/s_clog10.c (M_PI_LOG10E): New macro.
9401         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9402         imaginary parts are 0.
9403         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9404         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9405         imaginary parts are 0.
9406         * math/s_clog10l.c (M_PI_LOG10El): New macro.
9407         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9408         imaginary parts are 0.
9409         * math/libm-test.inc (clog10_test_data): Update expected results
9410         for when real and imaginary parts are 0.
9412 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
9414         * elf/dl-load.c: Finish conversion of __builtin_expect into
9415         __glibc_{un}likely.
9417 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
9419         [BZ #16348]
9420         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9421         1+x for argument with exponent below -67.
9422         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9423         Likewise.
9424         * math/auto-libm-test-in: Add more tests of exp.
9425         * math/auto-libm-test-out: Regenerated.
9427 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9429         [BZ #16759]
9430         * inet/getnetgrent_r.c (get_nonempty_val): New function.
9431         (nscd_getnetgrent): Use it.
9433         [BZ #16760]
9434         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9435         of stpcpy.
9437 2014-03-27  Andi Kleen  <ak@linux.intel.com>
9439         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9440         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9441         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9442         (lll_robust_unlock): Remove out of line section. Use cfi
9443         intrinsics.
9444         (LLL_STUB_UNWIND_INFO*): Remove.
9445         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9446         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9447         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9448         (lll_robust_unlock): Remove out of line section. Use cfi
9449         intrinsics.
9450         (LLL_STUB_UNWIND_INFO*): Remove.
9452 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9454         [BZ #16758]
9455         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9456         blank values.
9458 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9460         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9462 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
9464         [BZ #16198]
9465         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9466         fnstenv.
9467         * math/test-fenv-preserve.c: New file.
9468         * math/Makefile (tests): Add test-fenv-preserve.
9470 2014-03-26  Will Newton <will.newton@linaro.org>
9472         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9474 2014-03-25  Roland McGrath  <roland@hack.frob.com>
9476         * scripts/versionlist.awk: Partition the version sets and emit all
9477         GLIBC_* (sorted) before all others (sorted).
9479 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9481         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9482         GLIBC_2.2.5 version.
9484 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9486         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9487         calls.
9489         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9490         previous change.
9492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9494 2014-03-25  Andreas Schwab  <schwab@suse.de>
9496         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9497         label to be used after in6ailist is initialized.
9499 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9501         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9502         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9504 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9506         [BZ #16357]
9507         [BZ #16599]
9508         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9509         min_plus_half.
9510         (fp_formats): Update initializers.
9511         (init_fp_formats): Initialize new field.
9512         (output_for_one_input_case): Allow underflow for results up to
9513         min_plus_half.
9514         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9515         * math/auto-libm-test-in: Don't mark some underflows from asin and
9516         atanh as spurious.
9517         * math/auto-libm-test-out: Regenerated.
9518         * sysdeps/i386/fpu/libm-test-ulps: Update.
9519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9521 2014-03-25  Andreas Schwab  <schwab@suse.de>
9523         * libio/Makefile (tst-ftell-partial-wide-ENV)
9524         (tst-ftell-active-handler-ENV): Define.
9526 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
9528         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9530 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9532         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9534 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9536         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9537         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9538         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9540 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9542         [BZ #16634]
9543         * elf/dl-load.c (open_verify): Add mode parameter.
9544         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9545         (open_path): Change from boolean 'secure' to complete flag 'mode'
9546         (_dl_map_object): Adjust.
9547         * elf/Makefile (tests): Add tst-dlopen-aout.
9548         * elf/tst-dlopen-aout.c: New test.
9550 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
9552         [BZ #16714]
9553         * sysdeps/unix/sysv/linux/s390/bits/stat.h
9554         (struct stat): Rename member pad0 to __glibc_reserved0.
9556         [BZ #16712]
9557         * sysdeps/s390/s390-32/bits/wordsize.h
9558         (__WORDSIZE32_SIZE_ULONG): New define.
9559         * sysdeps/s390/s390-64/bits/wordsize.h
9560         (__WORDSIZE32_SIZE_ULONG): Likewise.
9561         * sysdeps/generic/stdint.h (SIZE_MAX):
9562         Define as UL if __WORDSIZE32_SIZE_ULONG.
9564         [BZ #16713]
9565         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9566         (__glibc_reserved0): New variable.
9567         (sa_flags): Change type to int.
9569         * posix/Makefile (before-compile): Use += before-compile instead
9570         of a :=.
9572         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9573         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9575 2014-03-20  Andreas Schwab  <schwab@suse.de>
9577         [BZ #16743]
9578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9579         non-matching result from nscd.
9581 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9583         * scripts/bench.py: Moved to ...
9584         * benchtests/scripts/bench.py: ... here.
9585         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9587 2014-03-24  Andreas Schwab  <schwab@suse.de>
9589         [BZ #16002]
9590         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9591         alloca_account and account alloca use for struct in6ailist.
9593 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9595         [BZ #16284]
9596         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9597         rounding mode to recompute results that overflow to infinity or
9598         underflow to zero.
9599         * math/auto-libm-test-in: Don't mark tests as expected to fail for
9600         bug 16284.
9601         * math/auto-libm-test-out: Regenerated.
9602         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9603         (ccosh_test): Likewise.
9604         (csin_test_data): Use plus_oflow.
9605         (csin_test): Use ALL_RM_TEST.
9606         (csinh_test_data): Use plus_oflow.
9607         (csinh_test): Use ALL_RM_TEST.
9608         * sysdeps/i386/fpu/libm-test-ulps: Update.
9609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9611 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
9613         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9614         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9615         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9617         [BZ #16731]
9618         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9619         when x - 1 is zero.
9620         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9621         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9622         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9623         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9624         argument is 1.
9625         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9626         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9627         zero.
9628         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9629         * sysdeps/i386/fpu/libm-test-ulps: Update.
9630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9632 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9634         * scripts/bench.pl: Remove file.
9635         * scripts/bench.py: New benchmark script.
9636         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9637         * benchtests/README: Mention python dependency.
9638         * scripts/pylintrc: New file.
9639         * scripts/pylint: New file.
9641         * bits/mathdef.h: Use #ifdef instead of #if.
9642         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9643         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9644         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9645         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9646         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9647         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9649 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9650             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9652         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9654         and strpbrk-ppc64 objects.
9655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9656         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9657         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9658         multiarch strpbrk for POWER7.
9659         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9660         multiarch strpbrk for PPC64.
9661         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9662         ifunc selector.
9663         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9664         strpbrk for POWER7.
9666 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9668         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9669         (atan_test): Likewise.
9670         (atanh_test_data): Use NO_TEST_INLINE for two tests.
9671         (atanh_test): Use ALL_RM_TEST.
9672         (atan2_test_data): Likewise.
9673         (cabs_test): Likewise.
9674         (cacosh_test): Likewise.
9675         (carg_test): Likewise.
9676         (casin_test): Likewise.
9677         (casinh_test): Likewise.
9678         (cbrt_test): Likewise.
9679         (csqrt_test): Likewise.
9680         (erf_test): Likewise.
9681         (erfc_test): Likewise.
9682         (pow10_test): Likewise.
9683         (exp2_test): Likewise.
9684         (hypot_test): Likewise.
9685         (j0_test): Likewise.
9686         (j1_test): Likewise.
9687         (lgamma_test): Likewise.
9688         (gamma_test): Likewise.
9689         (sincos_test): Likewise.
9690         (tanh_test): Likewise.
9691         (y0_test): Likewise.
9692         (y1_test): Likewise.
9693         * sysdeps/i386/fpu/libm-test-ulps: Update.
9694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9696 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9698         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9700         and strcspn-ppc64 objects.
9701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9702         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9703         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9704         multiarch strcspn for POWER7.
9705         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9706         multiarch strcspn for PPC64.
9707         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9708         ifunc selector.
9709         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9710         strcspn for POWER7.
9712 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9714         * math/gen-libm-test.pl (generate_testfile): Expect only function
9715         name as argument to AUTO_TESTS_* and pass results for all rounding
9716         modes to parse_args.
9717         (parse_auto_input): Separate inputs of automatic tests from
9718         outputs before storing in %auto_tests.
9719         * math/libm-test.inc (acos_test_data): Update call to
9720         AUTO_TESTS_f_f.
9721         (acos_test): Use ALL_RM_TEST.
9722         (acos_tonearest_test_data): Remove.
9723         (acos_test_tonearest): Likewise.
9724         (acos_towardzero_test_data): Likewise.
9725         (acos_test_towardzero): Likewise.
9726         (acos_downward_test_data): Likewise.
9727         (acos_test_downward): Likewise.
9728         (acos_upward_test_data): Likewise.
9729         (acos_test_upward): Likewise.
9730         (acosh_test_data): Update call to AUTO_TESTS_f_f.
9731         (asin_test_data): Likewise.
9732         (asin_test): Use ALL_RM_TEST.
9733         (asin_tonearest_test_data): Remove.
9734         (asin_test_tonearest): Likewise.
9735         (asin_towardzero_test_data): Likewise.
9736         (asin_test_towardzero): Likewise.
9737         (asin_downward_test_data): Likewise.
9738         (asin_test_downward): Likewise.
9739         (asin_upward_test_data): Likewise.
9740         (asin_test_upward): Likewise.
9741         (asinh_test_data): Update call to AUTO_TESTS_f_f.
9742         (atan_test_data): Likewise.
9743         (atanh_test_data): Likewise.
9744         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9745         (cabs_test_data): Update call to AUTO_TESTS_c_f.
9746         (carg_test_data): Likewise.
9747         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9748         (ccos_test_data): Update call to AUTO_TESTS_c_c.
9749         (ccosh_test_data): Likewise.
9750         (cexp_test_data): Likewise.
9751         (clog_test_data): Likewise.
9752         (clog10_test_data): Likewise.
9753         (cos_test_data): Update call to AUTO_TESTS_f_f.
9754         (cos_test): Use ALL_RM_TEST.
9755         (cos_tonearest_test_data): Remove.
9756         (cos_test_tonearest): Likewise.
9757         (cos_towardzero_test_data): Likewise.
9758         (cos_test_towardzero): Likewise.
9759         (cos_downward_test_data): Likewise.
9760         (cos_test_downward): Likewise.
9761         (cos_upward_test_data): Likewise.
9762         (cos_test_upward): Likewise.
9763         (cosh_test_data): Update call to AUTO_TESTS_f_f.
9764         (cosh_test): Use ALL_RM_TEST.
9765         (cosh_tonearest_test_data): Remove.
9766         (cosh_test_tonearest): Likewise.
9767         (cosh_towardzero_test_data): Likewise.
9768         (cosh_test_towardzero): Likewise.
9769         (cosh_downward_test_data): Likewise.
9770         (cosh_test_downward): Likewise.
9771         (cosh_upward_test_data): Likewise.
9772         (cosh_test_upward): Likewise.
9773         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9774         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9775         (ctan_test_data): Likewise.
9776         (ctan_test): Use ALL_RM_TEST.
9777         (ctan_tonearest_test_data): Remove.
9778         (ctan_test_tonearest): Likewise.
9779         (ctan_towardzero_test_data): Likewise.
9780         (ctan_test_towardzero): Likewise.
9781         (ctan_downward_test_data): Likewise.
9782         (ctan_test_downward): Likewise.
9783         (ctan_upward_test_data): Likewise.
9784         (ctan_test_upward): Likewise.
9785         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9786         (ctanh_test): Use ALL_RM_TEST.
9787         (ctanh_tonearest_test_data): Remove.
9788         (ctanh_test_tonearest): Likewise.
9789         (ctanh_towardzero_test_data): Likewise.
9790         (ctanh_test_towardzero): Likewise.
9791         (ctanh_downward_test_data): Likewise.
9792         (ctanh_test_downward): Likewise.
9793         (ctanh_upward_test_data): Likewise.
9794         (ctanh_test_upward): Likewise.
9795         (erf_test_data): Update call to AUTO_TESTS_f_f.
9796         (erfc_test_data): Likewise.
9797         (exp_test_data): Likewise.
9798         (exp_test): Use ALL_RM_TEST.
9799         (exp_tonearest_test_data): Remove.
9800         (exp_test_tonearest): Likewise.
9801         (exp_towardzero_test_data): Likewise.
9802         (exp_test_towardzero): Likewise.
9803         (exp_downward_test_data): Likewise.
9804         (exp_test_downward): Likewise.
9805         (exp_upward_test_data): Likewise.
9806         (exp_test_upward): Likewise.
9807         (exp10_test_data): Update call to AUTO_TESTS_f_f.
9808         (exp10_test): Use ALL_RM_TEST.
9809         (exp10_tonearest_test_data): Remove.
9810         (exp10_test_tonearest): Likewise.
9811         (exp10_towardzero_test_data): Likewise.
9812         (exp10_test_towardzero): Likewise.
9813         (exp10_downward_test_data): Likewise.
9814         (exp10_test_downward): Likewise.
9815         (exp10_upward_test_data): Likewise.
9816         (exp10_test_upward): Likewise.
9817         (exp2_test_data): Update call to AUTO_TESTS_f_f.
9818         (expm1_test_data): Likewise.
9819         (expm1_test): Use ALL_RM_TEST.
9820         (expm1_tonearest_test_data): Remove.
9821         (expm1_test_tonearest): Likewise.
9822         (expm1_towardzero_test_data): Likewise.
9823         (expm1_test_towardzero): Likewise.
9824         (expm1_downward_test_data): Likewise.
9825         (expm1_test_downward): Likewise.
9826         (expm1_upward_test_data): Likewise.
9827         (expm1_test_upward): Likewise.
9828         (fma_test_data): Update call to AUTO_TESTS_fff_f.
9829         (fma_test): Use ALL_RM_TEST.
9830         (fma_towardzero_test_data): Remove.
9831         (fma_test_towardzero): Likewise.
9832         (fma_downward_test_data): Likewise.
9833         (fma_test_downward): Likewise.
9834         (fma_upward_test_data): Likewise.
9835         (fma_test_upward): Likewise.
9836         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9837         (j0_test_data): Update call to AUTO_TESTS_f_f.
9838         (j1_test_data): Likewise.
9839         (jn_test_data): Update call to AUTO_TESTS_if_f.
9840         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9841         (log_test_data): Update call to AUTO_TESTS_f_f.
9842         (log10_test_data): Likewise.
9843         (log1p_test_data): Likewise.
9844         (log2_test_data): Likewise.
9845         (pow_test_data): Update call to AUTO_TESTS_ff_f.
9846         (pow_tonearest_test_data): Likewise.
9847         (sin_test_data): Update call to AUTO_TESTS_f_f.
9848         (sin_test): Use ALL_RM_TEST.
9849         (sin_tonearest_test_data): Remove.
9850         (sin_test_tonearest): Likewise.
9851         (sin_towardzero_test_data): Likewise.
9852         (sin_test_towardzero): Likewise.
9853         (sin_downward_test_data): Likewise.
9854         (sin_test_downward): Likewise.
9855         (sin_upward_test_data): Likewise.
9856         (sin_test_upward): Likewise.
9857         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9858         (sinh_test_data): Update call to AUTO_TESTS_f_f.
9859         (sinh_test): Use ALL_RM_TEST.
9860         (sinh_tonearest_test_data): Remove.
9861         (sinh_test_tonearest): Likewise.
9862         (sinh_towardzero_test_data): Likewise.
9863         (sinh_test_towardzero): Likewise.
9864         (sinh_downward_test_data): Likewise.
9865         (sinh_test_downward): Likewise.
9866         (sinh_upward_test_data): Likewise.
9867         (sinh_test_upward): Likewise.
9868         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9869         (sqrt_test): Use ALL_RM_TEST.
9870         (sqrt_tonearest_test_data): Remove.
9871         (sqrt_test_tonearest): Likewise.
9872         (sqrt_towardzero_test_data): Likewise.
9873         (sqrt_test_towardzero): Likewise.
9874         (sqrt_downward_test_data): Likewise.
9875         (sqrt_test_downward): Likewise.
9876         (sqrt_upward_test_data): Likewise.
9877         (sqrt_test_upward): Likewise.
9878         (tan_test_data): Update call to AUTO_TESTS_f_f.
9879         (tan_test): Use ALL_RM_TEST.
9880         (tan_tonearest_test_data): Remove.
9881         (tan_test_tonearest): Likewise.
9882         (tan_towardzero_test_data): Likewise.
9883         (tan_test_towardzero): Likewise.
9884         (tan_downward_test_data): Likewise.
9885         (tan_test_downward): Likewise.
9886         (tan_upward_test_data): Likewise.
9887         (tan_test_upward): Likewise.
9888         (tanh_test_data): Update call to AUTO_TESTS_f_f.
9889         (tgamma_test_data): Likewise.
9890         (y0_test_data): Likewise.
9891         (y1_test_data): Likewise.
9892         (yn_test_data): Update call to AUTO_TESTS_if_f.
9893         (main): Do not call removed functions.
9895 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9897         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9898         (ldexp_test_data): Remove.
9899         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
9900         scalbn_test_data.
9901         (scalb_test): Use ALL_RM_TEST.
9903 2014-03-19  Andreas Schwab  <schwab@suse.de>
9905         * nscd/nscd.service: Also invalidate netgroup cache on reload.
9907 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9909         [BZ #16649]
9910         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9911         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9912         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9913         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9914         (__ASSUME_PREADV): Undefine.
9915         (__ASSUME_PWRITEV): Likewise.
9917 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9919         * bits/mman-linux.h: Add comment about non-Linux use.
9920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9921         bits/mman-linux.h resting place.
9923         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9924         * bits/mman-linux.h: ... here.
9926 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9928         * conform/conformtest.pl: Add standard definition when calling C
9929         preprocessor on data files.
9930         (checknamespace): Remove unused variable.
9932 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9934         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9935         minus_oflow, plus_uflow and minus_uflow in expected results.
9936         * math/libm-test.inc (scalbn_test_data): Add more tests of
9937         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
9938         minus_uflow.
9939         (scalbn_test): Use ALL_RM_TEST.
9940         (scalbln_test_data): Add more tests of negative arguments.  Use
9941         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9942         (scalbln_test): Use ALL_RM_TEST.
9944 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9946         * scripts/abilist.awk: Ignore symbols marked with .hidden.
9948 2014-03-18  Will Newton  <will.newton@linaro.org>
9950         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9951         inaccurate comment.
9953 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9955         * Makerules [!subdir] (check-abi): Exit with error status if a
9956         test failed.
9958 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9960         * math/libm-test.inc (nearbyint_test_data): Include all tests used
9961         for rint.  Include results for all rounding modes.
9962         (nearbyint_test): Use ALL_RM_TEST.
9963         (rint_test_data): Include all tests used for nearbyint.
9965 2014-03-17  Will Newton  <will.newton@linaro.org>
9967         * nptl/sysdeps/pthread/pthread.h: Revert previous
9968         change.
9970         * sysdeps/generic/ldsodefs.h: Revert previous
9971         change.
9973         * libio/genops.c: Revert previous change.
9974         * libio/libioP.h: Likewise.
9975         * stdio-common/vfprintf.c: Likewise.
9977         * sysdeps/generic/math_private.h: Revert previous
9978         change.
9980         * sysdeps/generic/math_private.h: Check whether
9981         HAVE_RM_CTX is defined with #ifdef rather
9982         than #if.
9984         * argp/argp-fmtstream.h: Check whether
9985         __STRICT_ANSI__ is defined with #ifdef rather
9986         than #if.
9987         * argp/argp.h: Likewise.
9989         * libio/genops.c: Check whether
9990         _IO_JUMPS_OFFSET is defined with #ifdef rather
9991         than #if.
9992         * libio/libioP.h: Likewise.
9993         * stdio-common/vfprintf.c: Likewise.
9995         * sysdeps/generic/ldsodefs.h: Check whether
9996         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9997         than #if.
9999         * nptl/sysdeps/pthread/pthread.h: Check
10000         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10001         its value.
10003 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10005         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10006         setting O_APPEND.
10007         * libio/tst-ftell-active-handler.c (do_append_test): Add a
10008         test case.
10010         [BZ #16680]
10011         * libio/fileops.c (_IO_file_open): Seek to end of file but
10012         don't cache the offset.
10013         (get_file_offset): Remove function.
10014         (do_ftell): Use cached offset when available.
10015         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10016         don't cache the offset.
10017         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10018         case.
10019         (do_one_test): Call it.
10020         (do_ftell_test): Fix up expected old offset for a+ mode.
10021         * libio/wfileops.c (do_ftell_wide): Used cached offset when
10022         available.
10024         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10025         up test status with function return status.
10026         (do_write_test): Likewise.
10027         (do_append_test): Likewise.
10029         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10030         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10031         Remove.
10033 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10035         * math/gen-libm-test.pl (parse_args): Handle results specified for
10036         each rounding mode separately.
10037         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10038         tests and results from lrint_tonearest_test_data,
10039         lrint_towardzero_test_data, lrint_downward_test_data and
10040         lrint_upward_test_data.
10041         (lrint_test): Use ALL_RM_TEST.
10042         (lrint_tonearest_test_data): Remove.
10043         (lrint_test_tonearest): Likewise.
10044         (lrint_towardzero_test_data): Likewise.
10045         (lrint_test_towardzero): Likewise.
10046         (lrint_downward_test_data): Likewise.
10047         (lrint_test_downward): Likewise.
10048         (lrint_upward_test_data): Likewise.
10049         (lrint_test_upward): Likewise.
10050         (llrint_test_data): Merge in per-rounding-mode tests and results
10051         from llrint_tonearest_test_data, llrint_towardzero_test_data,
10052         llrint_downward_test_data and llrint_upward_test_data.
10053         (llrint_test): Use ALL_RM_TEST.
10054         (llrint_tonearest_test_data): Remove.
10055         (llrint_test_tonearest): Likewise.
10056         (llrint_towardzero_test_data): Likewise.
10057         (llrint_test_towardzero): Likewise.
10058         (llrint_downward_test_data): Likewise.
10059         (llrint_test_downward): Likewise.
10060         (llrint_upward_test_data): Likewise.
10061         (llrint_test_upward): Likewise.
10062         (rint_test_data): Merge in per-rounding-mode tests and results
10063         from rint_tonearest_test_data, rint_towardzero_test_data,
10064         rint_downward_test_data and rint_upward_test_data.  Add
10065         per-rounding-mode results for tests not in those arrays.
10066         (rint_test): Use ALL_RM_TEST.
10067         (rint_tonearest_test_data): Remove.
10068         (rint_test_tonearest): Likewise.
10069         (rint_towardzero_test_data): Likewise.
10070         (rint_test_towardzero): Likewise.
10071         (rint_downward_test_data): Likewise.
10072         (rint_test_downward): Likewise.
10073         (rint_upward_test_data): Likewise.
10074         (rint_test_upward): Likewise.
10075         (main): Don't call removed functions.
10077 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10079         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10080         "Compiled on ..." crapola.  It is anti-useful.
10082 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
10084         * scripts/evaluate-test.sh: Handle fourth argument to determine
10085         whether test run should stop on failure.
10086         * Makeconfig (stop-on-test-failure): New variable.
10087         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10088         $(stop-on-test-failure).
10089         * Makefile (tests): Give a summary of results from testing and
10090         exit with failure status if they include an ERROR or FAIL.
10091         (xtests): Likewise.
10092         * manual/install.texi (Configuring and compiling): Mention
10093         stop-on-test-failure=y.
10094         * INSTALL: Regenerated.
10096 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10098         * scripts/versionlist.awk: New file.
10099         * Makerules [$(build-shared) = yes]
10100         (postclean-generated): Add Versions.def, not Versions.def.v and
10101         Versions.def.v.i.
10102         ($(common-objpfx)Versions.def.v.i): Target removed.
10103         ($(common-objpfx)Versions.def): New target.
10104         ($(common-objpfx)Versions.all): Depend on that rather that
10105         $(common-objpfx)Versions.def.v.
10106         * Versions.def: File removed.
10108         * Makeconfig (+gccwarn): Add -Wundef.
10109         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10110         a dl-sysdep.h breaking its contract.
10111         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10112         * include/stackinfo.h: New file.
10113         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10114         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10115         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10116         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10117         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10118         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10119         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10120         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10121         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10122         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10123         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10124         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10125         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10126         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10127         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10129 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10131         [BZ #16707]
10132         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10133         implementation.
10134         * math/libm-test.inc (round_test_data): Add more tests.
10136         [BZ #16706]
10137         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10138         implementation.
10139         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10141         [BZ #16701]
10142         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10143         implementation.
10144         * math/libm-test.inc (ceil_test_data): Add more tests.
10146         * math/libm-test.inc (trunc_test_data): Add more tests related to
10147         BZ#16414.
10149 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10151         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10152         with #if rather than #ifdef.
10153         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10155 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10157         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10158         first.  Disable AVX-512 GCC support if assembler doesn't support
10159         it.
10160         * sysdeps/x86_64/configure: Regenerated.
10162 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10164         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10165         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10166         (__old_pthread_attr_setstack): Likewise.
10167         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10168         [!_STACK_GROWS_DOWN]: Likewise.
10170 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10172         * config.make.in (have-bash2): Delete.
10173         * configure.ac (libc_cv_have_bash2): Delete.
10174         * configure: Regenerate.
10175         * elf/Makefile (common-ldd-rewrite): Rename to ...
10176         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10177         (sh-ldd-rewrite): Delete.
10178         (bash-ldd-rewrite): Delete.
10179         (have-bash2): Delete checks.
10180         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10181         ldd-rewrite.
10183         * config.make.in (have-ksh): Delete.
10184         (KSH): Delete.
10185         * configure.ac (libc_cv_have_ksh): Delete.
10186         * configure: Regenerate.
10188         * elf/Makefile: Delete $(have-ksh) check.
10189         ($(objpfx)sotruss): Change KSH to BASH.
10190         * elf/sotruss.ksh: Rename to ...
10191         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10192         function style to match POSIX.  Drop ksh vim mode setting.
10194         * manual/time.texi (Specifying the Time Zone with TZ): Change
10195         Tuesday to Thursday.
10197         * debug/tst-longjmp_chk2.c: Update header comment.
10198         (stackoverflow_handler): Add comment.  Call assert on pass value.
10200 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10202         [BZ #16194]
10203         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10204         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10205         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10206         (La_x86_64_vector): Add zmm.
10207         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10208         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10209         ($(objpfx)tst-audit10): New target.
10210         ($(objpfx)tst-audit10.out): Likewise.
10211         (tst-audit10-ENV): New.
10212         (AVX512-CFLAGS): Likewise.
10213         (CFLAGS-tst-audit10.c): Likewise.
10214         (CFLAGS-tst-auditmod10a.c): Likewise.
10215         (CFLAGS-tst-auditmod10b.c): Likewise.
10216         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10217         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10218         * sysdeps/x86_64/configure: Regenerated.
10219         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10220         AVX-512 zmm register support.
10221         (_dl_x86_64_save_sse): Likewise.
10222         (_dl_x86_64_restore_sse): Likewise.
10223         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10224         size vector registers.
10225         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10226         (ZMM_SIZE): Likewise.
10227         * sysdeps/x86_64/tst-audit10.c: New file.
10228         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10229         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10231 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10233         * configure.ac (HAVE_EHDR_START): New check.
10234         * configure: Regenerated.
10235         * config.h.in (HAVE_EHDR_START): New #undef.
10236         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10237         assuming the lowest-addressed segment maps the start of the file.
10239 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10241         * INSTALL: Regenerated.
10243 2014-03-13  Will Newton  <will.newton@linaro.org>
10245         * manual/setjmp.texi (System V contexts): Improve
10246         clarity and grammar of documentation.
10248 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10250         [BZ #16381]
10251         * elf/Makefile (tests): Add tst-pie2.
10252         (tests-pie): Add tst-pie2.
10253         * elf/tst-pie2.c: New file.
10254         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10255         for ET_EXEC.
10256         * elf/rtld.c (map_doit): Load executable as lt_executable.
10257         (dl_main): Likewise.
10259 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10261         [BZ #16642]
10262         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10263         (__ASSUME_PSELECT): Undefine.
10265 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10267         [BZ #16689]
10268         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10269         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10270         static build.
10271         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10272         selector for static builds.
10274 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10276         [BZ #16695]
10277         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10278         key in the buffer.
10280 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10282         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10283         IFUNC selector for static builds.
10285 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10287         * sysdeps/mips/math_private.h [__mips_hard_float]
10288         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10289         libc_feresetround_mips_ctx.
10290         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10291         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10292         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10294         [BZ #16677]
10295         * math/s_nextafter.c (__nextafter): Do not return value from
10296         overflowing computation.
10297         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10298         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10299         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10300         Likewise.
10301         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10302         Likewise.
10303         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10304         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10306 2014-03-11  Roland McGrath  <roland@hack.frob.com>
10308         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10309         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10310         Move sfi_sp use from the load-multiple (that no longer sets sp) to
10311         the new mov targetting sp.
10313 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10315         [BZ #16683]
10316         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10317         Define it for static builds as well.
10318         (NO_BZERO_IMPL): Likewise.
10320 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10322         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10323         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10324         multiarch strspn for PPC64.
10325         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10326         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10328         (__libc_ifunc_impl_list): Likewise.
10329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10330         multiarch optimizations
10331         * string/strspn.c (strspn): Using macro to redefine symbol name.
10333 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10334             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10336         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10337         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10338         multiarch strncat for PPC64.
10339         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10340         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10342         (__libc_ifunc_impl_list): Likewise.
10343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10344         multiarch optimizations
10346 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10348         [BZ #16639]
10349         * nscd/nscd.service: Make service type forking.
10351 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10353         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10354         sign in non default rounding modes.
10355         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10357 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
10359         * math/libm-test.inc (ALL_RM_TEST): New macro.
10360         (ceil_test): Use ALL_RM_TEST.
10361         (cimag_test): Likewise.
10362         (conj_test): Likewise.
10363         (copysign_test): Likewise.
10364         (cproj_test): Likewise.
10365         (creal_test): Likewise.
10366         (fabs_test): Likewise.
10367         (floor_test): Likewise.
10368         (fmax_test): Likewise.
10369         (fmin_test): Likewise.
10370         (fmod_test): Likewise.
10371         (fpclassify_test): Likewise.
10372         (frexp_test): Likewise.
10373         (ilogb_test): Likewise.
10374         (isfinite_test): Likewise.
10375         (finite_test): Likewise.
10376         (isgreater_test): Likewise.
10377         (isgreaterequal_test): Likewise.
10378         (isinf_test): Likewise.
10379         (isless_test): Likewise.
10380         (islessequal_test): Likewise.
10381         (islessgreater_test): Likewise.
10382         (isnan_test): Likewise.
10383         (isnormal_test): Likewise.
10384         (issignaling_test): Likewise.
10385         (isunordered_test): Likewise.
10386         (logb_test): Likewise.
10387         (logb_downward_test_data): Remove.
10388         (logb_test_downward): Likewise.
10389         (lround_test): Use ALL_RM_TEST.
10390         (llround_test): Likewise.
10391         (modf_test): Likewise.
10392         (nexttoward_test): Likewise.
10393         (remainder_test): Likewise.
10394         (drem_test): Likewise.
10395         (remainder_tonearest_test_data): Likewise.
10396         (remainder_test_tonearest): Likewise.
10397         (drem_test_tonearest): Likewise.
10398         (remainder_towardzero_test_data): Likewise.
10399         (remainder_test_towardzero): Likewise.
10400         (drem_test_towardzero): Likewise.
10401         (remainder_downward_test_data): Likewise.
10402         (remainder_test_downward): Likewise.
10403         (drem_test_downward): Likewise.
10404         (remainder_upward_test_data): Likewise.
10405         (remainder_test_upward): Likewise.
10406         (drem_test_upward): Likewise.
10407         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
10408         (round_test): Use ALL_RM_TEST.
10409         (signbit_test): Likewise.
10410         (trunc_test): Likewise.
10411         (significand_test): Likewise.
10412         (main): Don't call removed functions.
10414 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10416         [BZ #16674]
10417         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10418         || __USE_XOPEN2K8].
10419         (ILL_ILLOPN): Likewise.
10420         (ILL_ILLADR): Likewise.
10421         (ILL_ILLTRP): Likewise.
10422         (ILL_PRVOPC): Likewise.
10423         (ILL_PRVREG): Likewise.
10424         (ILL_COPROC): Likewise.
10425         (ILL_BADSTK): Likewise.
10426         (FPE_INTDIV): Likewise.
10427         (FPE_INTOVF): Likewise.
10428         (FPE_FLTDIV): Likewise.
10429         (FPE_FLTOVF): Likewise.
10430         (FPE_FLTUND): Likewise.
10431         (FPE_FLTRES): Likewise.
10432         (FPE_FLTINV): Likewise.
10433         (FPE_FLTSUB): Likewise.
10434         (SEGV_MAPERR): Likewise.
10435         (SEGV_ACCERR): Likewise.
10436         (BUS_ADRALN): Likewise.
10437         (BUS_ADRERR): Likewise.
10438         (BUS_OBJERR): Likewise.
10439         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10440         (TRAP_TRACE): Likewise.
10441         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10442         __USE_XOPEN2K8].
10443         (CLD_KILLED): Likewise.
10444         (CLD_DUMPED): Likewise.
10445         (CLD_TRAPPED): Likewise.
10446         (CLD_STOPPED): Likewise.
10447         (CLD_CONTINUED): Likewise.
10448         (POLL_IN): Likewise.
10449         (POLL_OUT): Likewise.
10450         (POLL_MSG): Likewise.
10451         (POLL_ERR): Likewise.
10452         (POLL_PRI): Likewise.
10453         (POLL_HUP): Likewise.
10454         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10455         Likewise.
10456         (ILL_ILLOPN): Likewise.
10457         (ILL_ILLADR): Likewise.
10458         (ILL_ILLTRP): Likewise.
10459         (ILL_PRVOPC): Likewise.
10460         (ILL_PRVREG): Likewise.
10461         (ILL_COPROC): Likewise.
10462         (ILL_BADSTK): Likewise.
10463         (FPE_INTDIV): Likewise.
10464         (FPE_INTOVF): Likewise.
10465         (FPE_FLTDIV): Likewise.
10466         (FPE_FLTOVF): Likewise.
10467         (FPE_FLTUND): Likewise.
10468         (FPE_FLTRES): Likewise.
10469         (FPE_FLTINV): Likewise.
10470         (FPE_FLTSUB): Likewise.
10471         (SEGV_MAPERR): Likewise.
10472         (SEGV_ACCERR): Likewise.
10473         (BUS_ADRALN): Likewise.
10474         (BUS_ADRERR): Likewise.
10475         (BUS_OBJERR): Likewise.
10476         (BUS_MCEERR_AR): Likewise.
10477         (BUS_MCEERR_AO): Likewise.
10478         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10479         (TRAP_TRACE): Likewise.
10480         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10481         __USE_XOPEN2K8].
10482         (CLD_KILLED): Likewise.
10483         (CLD_DUMPED): Likewise.
10484         (CLD_TRAPPED): Likewise.
10485         (CLD_STOPPED): Likewise.
10486         (CLD_CONTINUED): Likewise.
10487         (POLL_IN): Likewise.
10488         (POLL_OUT): Likewise.
10489         (POLL_MSG): Likewise.
10490         (POLL_ERR): Likewise.
10491         (POLL_PRI): Likewise.
10492         (POLL_HUP): Likewise.
10493         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10494         (ILL_ILLOPN): Likewise.
10495         (ILL_ILLADR): Likewise.
10496         (ILL_ILLTRP): Likewise.
10497         (ILL_PRVOPC): Likewise.
10498         (ILL_PRVREG): Likewise.
10499         (ILL_COPROC): Likewise.
10500         (ILL_BADSTK): Likewise.
10501         (FPE_INTDIV): Likewise.
10502         (FPE_INTOVF): Likewise.
10503         (FPE_FLTDIV): Likewise.
10504         (FPE_FLTOVF): Likewise.
10505         (FPE_FLTUND): Likewise.
10506         (FPE_FLTRES): Likewise.
10507         (FPE_FLTINV): Likewise.
10508         (FPE_FLTSUB): Likewise.
10509         (SEGV_MAPERR): Likewise.
10510         (SEGV_ACCERR): Likewise.
10511         (BUS_ADRALN): Likewise.
10512         (BUS_ADRERR): Likewise.
10513         (BUS_OBJERR): Likewise.
10514         (BUS_MCEERR_AR): Likewise.
10515         (BUS_MCEERR_AO): Likewise.
10516         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10517         (TRAP_TRACE): Likewise.
10518         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10519         __USE_XOPEN2K8].
10520         (CLD_KILLED): Likewise.
10521         (CLD_DUMPED): Likewise.
10522         (CLD_TRAPPED): Likewise.
10523         (CLD_STOPPED): Likewise.
10524         (CLD_CONTINUED): Likewise.
10525         (POLL_IN): Likewise.
10526         (POLL_OUT): Likewise.
10527         (POLL_MSG): Likewise.
10528         (POLL_ERR): Likewise.
10529         (POLL_PRI): Likewise.
10530         (POLL_HUP): Likewise.
10531         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10532         Likewise.
10533         (ILL_ILLOPN): Likewise.
10534         (ILL_ILLADR): Likewise.
10535         (ILL_ILLTRP): Likewise.
10536         (ILL_PRVOPC): Likewise.
10537         (ILL_PRVREG): Likewise.
10538         (ILL_COPROC): Likewise.
10539         (ILL_BADSTK): Likewise.
10540         (ILL_BADIADDR): Likewise.
10541         (ILL_BREAK): Likewise.
10542         (FPE_INTDIV): Likewise.
10543         (FPE_INTOVF): Likewise.
10544         (FPE_FLTDIV): Likewise.
10545         (FPE_FLTOVF): Likewise.
10546         (FPE_FLTUND): Likewise.
10547         (FPE_FLTRES): Likewise.
10548         (FPE_FLTINV): Likewise.
10549         (FPE_FLTSUB): Likewise.
10550         (FPE_DECOVF): Likewise.
10551         (FPE_DECDIV): Likewise.
10552         (FPE_DECERR): Likewise.
10553         (FPE_INVASC): Likewise.
10554         (FPE_INVDEC): Likewise.
10555         (SEGV_MAPERR): Likewise.
10556         (SEGV_ACCERR): Likewise.
10557         (SEGV_PSTKOVF): Likewise.
10558         (BUS_ADRALN): Likewise.
10559         (BUS_ADRERR): Likewise.
10560         (BUS_OBJERR): Likewise.
10561         (BUS_MCEERR_AR): Likewise.
10562         (BUS_MCEERR_AO): Likewise.
10563         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10564         (TRAP_TRACE): Likewise.
10565         (TRAP_BRANCH): Likewise.
10566         (TRAP_HWBKPT): Likewise.
10567         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10568         __USE_XOPEN2K8].
10569         (CLD_KILLED): Likewise.
10570         (CLD_DUMPED): Likewise.
10571         (CLD_TRAPPED): Likewise.
10572         (CLD_STOPPED): Likewise.
10573         (CLD_CONTINUED): Likewise.
10574         (POLL_IN): Likewise.
10575         (POLL_OUT): Likewise.
10576         (POLL_MSG): Likewise.
10577         (POLL_ERR): Likewise.
10578         (POLL_PRI): Likewise.
10579         (POLL_HUP): Likewise.
10580         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10581         (ILL_ILLOPN): Likewise.
10582         (ILL_ILLADR): Likewise.
10583         (ILL_ILLTRP): Likewise.
10584         (ILL_PRVOPC): Likewise.
10585         (ILL_PRVREG): Likewise.
10586         (ILL_COPROC): Likewise.
10587         (ILL_BADSTK): Likewise.
10588         (FPE_INTDIV): Likewise.
10589         (FPE_INTOVF): Likewise.
10590         (FPE_FLTDIV): Likewise.
10591         (FPE_FLTOVF): Likewise.
10592         (FPE_FLTUND): Likewise.
10593         (FPE_FLTRES): Likewise.
10594         (FPE_FLTINV): Likewise.
10595         (FPE_FLTSUB): Likewise.
10596         (SEGV_MAPERR): Likewise.
10597         (SEGV_ACCERR): Likewise.
10598         (BUS_ADRALN): Likewise.
10599         (BUS_ADRERR): Likewise.
10600         (BUS_OBJERR): Likewise.
10601         (BUS_MCEERR_AR): Likewise.
10602         (BUS_MCEERR_AO): Likewise.
10603         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10604         (TRAP_TRACE): Likewise.
10605         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10606         __USE_XOPEN2K8].
10607         (CLD_KILLED): Likewise.
10608         (CLD_DUMPED): Likewise.
10609         (CLD_TRAPPED): Likewise.
10610         (CLD_STOPPED): Likewise.
10611         (CLD_CONTINUED): Likewise.
10612         (POLL_IN): Likewise.
10613         (POLL_OUT): Likewise.
10614         (POLL_MSG): Likewise.
10615         (POLL_ERR): Likewise.
10616         (POLL_PRI): Likewise.
10617         (POLL_HUP): Likewise.
10618         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10619         (ILL_ILLOPN): Likewise.
10620         (ILL_ILLADR): Likewise.
10621         (ILL_ILLTRP): Likewise.
10622         (ILL_PRVOPC): Likewise.
10623         (ILL_PRVREG): Likewise.
10624         (ILL_COPROC): Likewise.
10625         (ILL_BADSTK): Likewise.
10626         (FPE_INTDIV): Likewise.
10627         (FPE_INTOVF): Likewise.
10628         (FPE_FLTDIV): Likewise.
10629         (FPE_FLTOVF): Likewise.
10630         (FPE_FLTUND): Likewise.
10631         (FPE_FLTRES): Likewise.
10632         (FPE_FLTINV): Likewise.
10633         (FPE_FLTSUB): Likewise.
10634         (SEGV_MAPERR): Likewise.
10635         (SEGV_ACCERR): Likewise.
10636         (BUS_ADRALN): Likewise.
10637         (BUS_ADRERR): Likewise.
10638         (BUS_OBJERR): Likewise.
10639         (BUS_MCEERR_AR): Likewise.
10640         (BUS_MCEERR_AO): Likewise.
10641         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10642         (TRAP_TRACE): Likewise.
10643         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10644         __USE_XOPEN2K8].
10645         (CLD_KILLED): Likewise.
10646         (CLD_DUMPED): Likewise.
10647         (CLD_TRAPPED): Likewise.
10648         (CLD_STOPPED): Likewise.
10649         (CLD_CONTINUED): Likewise.
10650         (POLL_IN): Likewise.
10651         (POLL_OUT): Likewise.
10652         (POLL_MSG): Likewise.
10653         (POLL_ERR): Likewise.
10654         (POLL_PRI): Likewise.
10655         (POLL_HUP): Likewise.
10656         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10657         (ILL_ILLOPN): Likewise.
10658         (ILL_ILLADR): Likewise.
10659         (ILL_ILLTRP): Likewise.
10660         (ILL_PRVOPC): Likewise.
10661         (ILL_PRVREG): Likewise.
10662         (ILL_COPROC): Likewise.
10663         (ILL_BADSTK): Likewise.
10664         (FPE_INTDIV): Likewise.
10665         (FPE_INTOVF): Likewise.
10666         (FPE_FLTDIV): Likewise.
10667         (FPE_FLTOVF): Likewise.
10668         (FPE_FLTUND): Likewise.
10669         (FPE_FLTRES): Likewise.
10670         (FPE_FLTINV): Likewise.
10671         (FPE_FLTSUB): Likewise.
10672         (SEGV_MAPERR): Likewise.
10673         (SEGV_ACCERR): Likewise.
10674         (BUS_ADRALN): Likewise.
10675         (BUS_ADRERR): Likewise.
10676         (BUS_OBJERR): Likewise.
10677         (BUS_MCEERR_AR): Likewise.
10678         (BUS_MCEERR_AO): Likewise.
10679         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10680         (TRAP_TRACE): Likewise.
10681         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10682         __USE_XOPEN2K8].
10683         (CLD_KILLED): Likewise.
10684         (CLD_DUMPED): Likewise.
10685         (CLD_TRAPPED): Likewise.
10686         (CLD_STOPPED): Likewise.
10687         (CLD_CONTINUED): Likewise.
10688         (POLL_IN): Likewise.
10689         (POLL_OUT): Likewise.
10690         (POLL_MSG): Likewise.
10691         (POLL_ERR): Likewise.
10692         (POLL_PRI): Likewise.
10693         (POLL_HUP): Likewise.
10694         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10695         (ILL_ILLOPN): Likewise.
10696         (ILL_ILLADR): Likewise.
10697         (ILL_ILLTRP): Likewise.
10698         (ILL_PRVOPC): Likewise.
10699         (ILL_PRVREG): Likewise.
10700         (ILL_COPROC): Likewise.
10701         (ILL_BADSTK): Likewise.
10702         (ILL_DBLFLT): Likewise.
10703         (ILL_HARDWALL): Likewise.
10704         (FPE_INTDIV): Likewise.
10705         (FPE_INTOVF): Likewise.
10706         (FPE_FLTDIV): Likewise.
10707         (FPE_FLTOVF): Likewise.
10708         (FPE_FLTUND): Likewise.
10709         (FPE_FLTRES): Likewise.
10710         (FPE_FLTINV): Likewise.
10711         (FPE_FLTSUB): Likewise.
10712         (SEGV_MAPERR): Likewise.
10713         (SEGV_ACCERR): Likewise.
10714         (BUS_ADRALN): Likewise.
10715         (BUS_ADRERR): Likewise.
10716         (BUS_OBJERR): Likewise.
10717         (BUS_MCEERR_AR): Likewise.
10718         (BUS_MCEERR_AO): Likewise.
10719         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10720         (TRAP_TRACE): Likewise.
10721         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10722         __USE_XOPEN2K8].
10723         (CLD_KILLED): Likewise.
10724         (CLD_DUMPED): Likewise.
10725         (CLD_TRAPPED): Likewise.
10726         (CLD_STOPPED): Likewise.
10727         (CLD_CONTINUED): Likewise.
10728         (POLL_IN): Likewise.
10729         (POLL_OUT): Likewise.
10730         (POLL_MSG): Likewise.
10731         (POLL_ERR): Likewise.
10732         (POLL_PRI): Likewise.
10733         (POLL_HUP): Likewise.
10734         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10735         (ILL_ILLOPN): Likewise.
10736         (ILL_ILLADR): Likewise.
10737         (ILL_ILLTRP): Likewise.
10738         (ILL_PRVOPC): Likewise.
10739         (ILL_PRVREG): Likewise.
10740         (ILL_COPROC): Likewise.
10741         (ILL_BADSTK): Likewise.
10742         (FPE_INTDIV): Likewise.
10743         (FPE_INTOVF): Likewise.
10744         (FPE_FLTDIV): Likewise.
10745         (FPE_FLTOVF): Likewise.
10746         (FPE_FLTUND): Likewise.
10747         (FPE_FLTRES): Likewise.
10748         (FPE_FLTINV): Likewise.
10749         (FPE_FLTSUB): Likewise.
10750         (SEGV_MAPERR): Likewise.
10751         (SEGV_ACCERR): Likewise.
10752         (BUS_ADRALN): Likewise.
10753         (BUS_ADRERR): Likewise.
10754         (BUS_OBJERR): Likewise.
10755         (BUS_MCEERR_AR): Likewise.
10756         (BUS_MCEERR_AO): Likewise.
10757         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10758         (TRAP_TRACE): Likewise.
10759         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10760         __USE_XOPEN2K8].
10761         (CLD_KILLED): Likewise.
10762         (CLD_DUMPED): Likewise.
10763         (CLD_TRAPPED): Likewise.
10764         (CLD_STOPPED): Likewise.
10765         (CLD_CONTINUED): Likewise.
10766         (POLL_IN): Likewise.
10767         (POLL_OUT): Likewise.
10768         (POLL_MSG): Likewise.
10769         (POLL_ERR): Likewise.
10770         (POLL_PRI): Likewise.
10771         (POLL_HUP): Likewise.
10772         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10773         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10775         [BZ #16670]
10776         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10777         before #include of <time.h>.
10778         [!__USE_XOPEN2K] (__need_timespec): Likewise.
10779         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10780         (test-xfail-UNIX98/sched.h/conform): Likewise.
10782 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10784         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10785         error absence of trapping exception support.
10786         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10788 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10790         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10791         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10792         * timezone/Makefile (testdata): Move definition above include of
10793         Rules.
10794         (test-zones): New variable.
10795         (tests-special): Add zone files.
10796         (build-testdata): Use $(evaluate-test).
10798         * elf/Makefile (tests-special): Rename tests to end with .out.
10799         ($(objpfx)noload-mem): Likewise.
10800         ($(objpfx)tst-leaks1-mem): Likewise.
10801         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10802         * iconv/Makefile (xtests-special): Change test-iconvconfig to
10803         $(objpfx)test-iconvconfig.out.
10804         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
10805         set -e inside subshell and redirect output to file.
10806         * iconvdata/Makefile (generated): Rename tests to end with .out.
10807         Correct type.
10808         (tests-special): Rename tests to end with .out.
10809         ($(objpfx)mtrace-tst-loading): Likewise.
10810         * intl/Makefile (generated): Likewise.
10811         (tests-special): Likewise.
10812         ($(objpfx)mtrace-tst-gettext): Likewise.
10813         * misc/Makefile (generated): Likewise.
10814         (tests-special): Likewise.
10815         ($(objpfx)tst-error1-mem): Likewise.
10816         * nptl/Makefile (tests-special): Likewise.
10817         ($(objpfx)tst-stack3-mem): Likewise.
10818         (generated): Likewise.
10819         * posix/Makefile (generated): Likewise.
10820         (tests-special): Likewise.
10821         (xtests-special): Likewise.
10822         ($(objpfx)tst-fnmatch-mem): Likewise.
10823         ($(objpfx)bug-regex2-mem): Likewise.
10824         ($(objpfx)bug-regex14-mem): Likewise.
10825         ($(objpfx)bug-regex21-mem): Likewise.
10826         ($(objpfx)bug-regex31-mem): Likewise.
10827         ($(objpfx)tst-vfork3-mem): Likewise.
10828         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10829         ($(objpfx)tst-pcre-mem): Likewise.
10830         ($(objpfx)tst-boost-mem): Likewise.
10831         ($(objpfx)bug-ga2-mem): Likewise.
10832         ($(objpfx)bug-glob2-mem): Likewise.
10833         * resolv/Makefile (generate): Likewise.
10834         (tests-special): Likewise.
10835         (xtests-special): Likewise.
10836         (generated): Likewise.
10837         ($(objpfx)mtrace-tst-leaks): Likewise.
10838         ($(objpfx)mtrace-tst-leaks2): Likewise.
10840         * scripts/merge-test-results.sh: New file.
10841         * Makefile (tests-special-notdir): New variable.
10842         (tests): Run merge-test-results.sh.
10843         (xtests): Likewise.
10844         * Rules (tests-special-notdir): New variable.
10845         (xtests-special-notdir): Likewise.
10846         (tests): Run merge-test-results.sh
10847         (xtests): Likewise.
10849         * Makeconfig (test-xfail-name): New variable.
10850         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10851         compute variable name for expected failures.
10852         * conform/Makefile (conformtest-headers-data): New variable.
10853         (conformtest-standards): Likewise.
10854         (conformtest-headers-ISO): Likewise.
10855         (conformtest-headers-ISO99): Likewise.
10856         (conformtest-headers-ISO11): Likewise.
10857         (conformtest-headers-POSIX): Likewise.
10858         (conformtest-headers-XPG3): Likewise.
10859         (conformtest-headers-XPG4): Likewise.
10860         (conformtest-headers-UNIX98): Likewise.
10861         (conformtest-headers-XOPEN2K): Likewise.
10862         (conformtest-headers-POSIX2008): Likewise.
10863         (conformtest-headers-XOPEN2K8): Likewise.
10864         (conformtest-header-list-base): Likewise.
10865         (conformtest-header-list-tests): Likewise.
10866         (conformtest-header-base): Likewise.
10867         (conformtest-header-tests): Likewise.
10868         (tests-special): Add $(conformtest-header-list-tests).  If
10869         [$(fast-check) && !$(cross-compiling)], add
10870         $(conformtest-header-tests) instead of
10871         $(objpfx)run-conformtest.out.
10872         (generated): Add $(conformtest-header-list-base).  If
10873         [$(fast-check) && !$(cross-compiling)], add
10874         $(conformtest-header-base).  Remove previous setting.
10875         ($(conformtest-header-list-tests)): New target.
10876         (test-xfail-run-conformtest): Remove variable.
10877         ($(objpfx)run-conformtest.out): Remove target.
10878         (test-xfail-ISO11/complex.h/conform): New variable.
10879         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10880         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10881         (test-xfail-XPG3/varargs.h/conform): Likewise.
10882         (test-xfail-XPG4/varargs.h/conform): Likewise.
10883         (test-xfail-UNIX98/varargs.h/conform): Likewise.
10884         (test-xfail-XPG4/ndbm.h/conform): Likewise.
10885         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10886         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10887         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10888         (test-xfail-XPG3/fcntl.h/conform): Likewise.
10889         (test-xfail-XPG3/ftw.h/conform): Likewise.
10890         (test-xfail-XPG3/grp.h/conform): Likewise.
10891         (test-xfail-XPG3/langinfo.h/conform): Likewise.
10892         (test-xfail-XPG3/limits.h/conform): Likewise.
10893         (test-xfail-XPG3/pwd.h/conform): Likewise.
10894         (test-xfail-XPG3/search.h/conform): Likewise.
10895         (test-xfail-XPG3/signal.h/conform): Likewise.
10896         (test-xfail-XPG3/stdio.h/conform): Likewise.
10897         (test-xfail-XPG3/stdlib.h/conform): Likewise.
10898         (test-xfail-XPG3/string.h/conform): Likewise.
10899         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10900         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10901         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10902         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10903         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10904         (test-xfail-XPG3/sys/types.h/conform): Likewise.
10905         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10906         (test-xfail-XPG3/termios.h/conform): Likewise.
10907         (test-xfail-XPG3/time.h/conform): Likewise.
10908         (test-xfail-XPG3/unistd.h/conform): Likewise.
10909         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10910         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10911         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10912         (test-xfail-XPG4/netdb.h/conform): Likewise.
10913         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10914         (test-xfail-XPG4/signal.h/conform): Likewise.
10915         (test-xfail-XPG4/stdio.h/conform): Likewise.
10916         (test-xfail-XPG4/stdlib.h/conform): Likewise.
10917         (test-xfail-XPG4/stropts.h/conform): Likewise.
10918         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10919         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10920         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10921         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10922         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10923         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10924         (test-xfail-XPG4/sys/time.h/conform): Likewise.
10925         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10926         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10927         (test-xfail-XPG4/termios.h/conform): Likewise.
10928         (test-xfail-XPG4/ucontext.h/conform): Likewise.
10929         (test-xfail-XPG4/unistd.h/conform): Likewise.
10930         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10931         (test-xfail-POSIX/sched.h/conform): Likewise.
10932         (test-xfail-POSIX/signal.h/conform): Likewise.
10933         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10934         (test-xfail-POSIX/tar.h/conform): Likewise.
10935         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10936         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10937         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10938         (test-xfail-UNIX98/netdb.h/conform): Likewise.
10939         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10940         (test-xfail-UNIX98/sched.h/conform): Likewise.
10941         (test-xfail-UNIX98/signal.h/conform): Likewise.
10942         (test-xfail-UNIX98/stdio.h/conform): Likewise.
10943         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10944         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10945         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10946         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10947         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10948         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10949         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10950         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10951         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10952         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10953         (test-xfail-UNIX98/unistd.h/conform): Likewise.
10954         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10955         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10956         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10957         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10958         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10959         (test-xfail-XOPEN2K/math.h/conform): Likewise.
10960         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10961         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10962         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10963         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10964         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10965         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10966         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10967         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10968         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10969         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10970         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10971         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10972         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10973         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10974         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10975         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10976         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10977         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10978         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10979         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10980         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10981         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10982         (test-xfail-POSIX2008/signal.h/conform): Likewise.
10983         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10984         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10985         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10986         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10987         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10988         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10989         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10990         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10991         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10992         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10993         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10994         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10995         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10996         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10997         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10998         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10999         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11000         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11001         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11002         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11003         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11004         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11005         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11006         (conformtest-cc-flags): Likewise.
11007         ($(conformtest-header-tests): New target.
11008         * conform/check-header-lists.sh: New file.
11009         * conform/run-conformtest.sh: Remove.
11011         * conform/conformtest.pl: Allow ' and \ in values given for
11012         constants.
11013         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11014         inclusion.
11015         [POSIX] (sys/types.h): Likewise.
11016         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11017         inclusion.
11018         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11019         inclusion.
11020         * conform/data/signal.h-data (SIGIO): Remove expectation.
11021         [XPG3] (SIGBUS): Do not expect.
11022         [POSIX || XPG3] (SIGPOLL): Likewise.
11023         [POSIX || XPG3] (SIGPROF): Likewise.
11024         [POSIX || XPG3] (SIGSYS): Likewise.
11025         [XPG3] (SIGTRAP): Likewise.
11026         [POSIX || XPG3] (SIGURG): Likewise.
11027         [POSIX || XPG3] (SIGVTALRM): Likewise.
11028         [POSIX || XPG3] (SIGXCPU): Likewise.
11029         [POSIX || XPG3] (SIGXFSZ): Likewise.
11030         [POSIX] (SA_SIGINFO): Expect.
11031         [XPG3] (siginfo_t): Do not expect type or contents.
11032         [POSIX] (si_pid): Do not expect element.
11033         [POSIX] (si_uid): Likewise.
11034         [POSIX] (si_addr): Likewise.
11035         [POSIX] (si_status): Likewise.
11036         [POSIX] (si_band): Likewise.
11037         [XPG4] (si_value): Likewise.
11038         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11039         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11040         [POSIX || XPG3] (ILL_ILLADR): Likewise.
11041         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11042         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11043         [POSIX || XPG3] (ILL_PRVREG): Likewise.
11044         [POSIX || XPG3] (ILL_COPROC): Likewise.
11045         [POSIX || XPG3] (ILL_BADSTK): Likewise.
11046         [POSIX || XPG3] (FPE_INTDIV): Likewise.
11047         [POSIX || XPG3] (FPE_INTOVF): Likewise.
11048         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11049         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11050         [POSIX || XPG3] (FPE_FLTUND): Likewise.
11051         [POSIX || XPG3] (FPE_FLTRES): Likewise.
11052         [POSIX || XPG3] (FPE_FLTINV): Likewise.
11053         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11054         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11055         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11056         [POSIX || XPG3] (BUS_ADRALN): Likewise.
11057         [POSIX || XPG3] (BUS_ADRERR): Likewise.
11058         [POSIX || XPG3] (BUS_OBJERR): Likewise.
11059         [POSIX || XPG3] (CLD_EXITED): Likewise.
11060         [POSIX || XPG3] (CLD_KILLED): Likewise.
11061         [POSIX || XPG3] (CLD_DUMPED): Likewise.
11062         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11063         [POSIX || XPG3] (CLD_STOPPED): Likewise.
11064         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11065         [POSIX || XPG3] (POLL_IN): Likewise.
11066         [POSIX || XPG3] (POLL_OUT): Likewise.
11067         [POSIX || XPG3] (POLL_MSG): Likewise.
11068         [POSIX || XPG3] (POLL_ERR): Likewise.
11069         [POSIX || XPG3] (POLL_PRI): Likewise.
11070         [POSIX || XPG3] (POLL_HUP): Likewise.
11071         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11072         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11073         (SIG*): Do not allow.
11074         [XPG3] (si_*): Likewise.
11075         [XPG3] (SI_*): Likewise.
11076         [XPG3 || XPG4] (sigev_*): Likewise.
11077         [XPG3 || XPG4] (SIGEV_*): Likewise.
11078         [XPG3 || XPG4] (sival_*): Likewise.
11079         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11080         [POSIX || XPG3] (BUS_*): Likewise.
11081         [POSIX || XPG3] (CLD_*): Likewise.
11082         [POSIX || XPG3] (FPE_*): Likewise.
11083         [POSIX || XPG3] (ILL_*): Likewise.
11084         [POSIX || XPG3] (POLL_*): Likewise.
11085         [POSIX || XPG3] (SEGV_*): Likewise.
11086         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11087         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11088         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11089         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11090         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11091         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11092         Specify type and value.
11093         (TVERSLEN): Likewise.
11094         (REGTYPE): Likewise.
11095         (AREGTYPE): Likewise.
11096         (LNKTYPE): Likewise.
11097         (SYMTYPE): Likewise.
11098         (CHRTYPE): Likewise.
11099         (BLKTYPE): Likewise.
11100         (DIRTYPE): Likewise.
11101         (FIFOTYPE): Likewise.
11102         (CONTTYPE): Likewise.
11103         (TSUID): Likewise.
11104         (TSGID): Likewise.
11105         (TSVTX): Likewise.
11106         (TUREAD): Likewise.
11107         (TUWRITE): Likewise.
11108         (TUEXEC): Likewise.
11109         (TGREAD): Likewise.
11110         (TGWRITE): Likewise.
11111         (TGEXEC): Likewise.
11112         (TOREAD): Likewise.
11113         (TOWRITE): Likewise.
11114         (TOEXEC): Likewise.
11115         [POSIX] (TSVTX): Expect constant.
11117 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11119         * Makefile (tests): Change dependencies to ....
11120         (tests-special): ... additions to this variable.
11121         (tests): Depend on $(tests-special).
11122         * Makerules (check-abi-list): New variable.
11123         (check-abi): Depend on $(check-abi-list).
11124         [$(subdir) = elf] (tests-special): Add
11125         $(objpfx)check-abi-libc.out.
11126         [$(build-shared) = yes && subdir] (tests-special): Add
11127         $(check-abi-list).
11128         [$(build-shared) = yes && subdir] (tests): Do not depend on
11129         check-abi.
11130         * Rules (tests): Depend on $(tests-special).
11131         (xtests): Depend on $(xtests-special).
11132         * catgets/Makefile (tests): Change dependencies to ....
11133         (tests-special): ... additions to this variable.
11134         * conform/Makefile (tests): Change dependencies to ....
11135         (tests-special): ... additions to this variable.
11136         * elf/Makefile (tests): Change dependencies to ....
11137         (tests-special): ... additions to this variable.
11138         * grp/Makefile (tests): Change dependencies to ....
11139         (tests-special): ... additions to this variable.
11140         * iconv/Makefile (xtests): Change dependencies to ....
11141         (xtests-special): ... additions to this variable.
11142         * iconvdata/Makefile (tests): Change dependencies to ....
11143         (tests-special): ... additions to this variable.
11144         * intl/Makefile (tests): Change dependencies to ....
11145         (tests-special): ... additions to this variable.  Also add
11146         $(objpfx)tst-gettext.out.
11147         * io/Makefile (tests): Change dependencies to ....
11148         (tests-special): ... additions to this variable.
11149         * libio/Makefile (tests): Change dependencies to ....
11150         (tests-special): ... additions to this variable.
11151         * malloc/Makefile (tests): Change dependencies to ....
11152         (tests-special): ... additions to this variable.
11153         * misc/Makefile (tests): Change dependencies to ....
11154         (tests-special): ... additions to this variable.
11155         * nptl/Makefile (tests): Change dependencies to ....
11156         (tests-special): ... additions to this variable.
11157         * nptl_db/Makefile (tests): Change dependencies to ....
11158         (tests-special): ... additions to this variable.
11159         * posix/Makefile (tests): Change dependencies to ....
11160         (tests-special): ... additions to this variable.
11161         (xtests): Change dependencies to ....
11162         (xtests-special): ... additions to this variable.
11163         * resolv/Makefile (tests): Change dependencies to ....
11164         (tests-special): ... additions to this variable.
11165         (xtests): Change dependencies to ....
11166         (xtests-special): ... additions to this variable.
11167         * stdio-common/Makefile (tests): Change dependencies to ....
11168         (tests-special): ... additions to this variable.
11169         (do-tst-unbputc): Remove target.
11170         (do-tst-printf): Likewise.
11171         * stdlib/Makefile (tests): Change dependencies to ....
11172         (tests-special): ... additions to this variable.
11173         * string/Makefile (tests): Change dependencies to ....
11174         (tests-special): ... additions to this variable.
11175         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11176         (tests-special): ... additions to this variable.
11178         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11179         whole file.
11180         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11181         whole file.
11182         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11183         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11185         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11186         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11187         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11188         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11189         * conform/data/libgen.h-data [XPG3]: Likewise.
11190         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11191         * conform/data/ndbm.h-data [XPG3]: Likewise.
11192         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11193         * conform/data/netdb.h-data [XPG3]: Likewise.
11194         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11195         * conform/data/poll.h-data [XPG3]: Likewise.
11196         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11197         * conform/data/strings.h-data [XPG3]: Likewise.
11198         * conform/data/stropts.h-data [XPG3]: Likewise.
11199         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11200         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11201         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11202         Likewise.
11203         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11204         * conform/data/sys/time.h-data [XPG3]: Likewise.
11205         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11206         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11207         * conform/data/sys/un.h-data [XPG3]: Likewise.
11208         * conform/data/syslog.h-data [XPG3]: Likewise.
11209         * conform/data/ucontext.h-data [XPG3]: Likewise.
11210         * conform/data/utmpx.h-data [XPG3]: Likewise.
11211         * conform/data/varargs.h-data [UNIX98]: Enable file.
11213         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11215         * math/libm-test.inc (struct test_f_f_data): Move expected results
11216         into structure for each rounding mode.
11217         (struct test_ff_f_data): Likewise.
11218         (struct test_ff_f_data_nexttoward): Likewise.
11219         (struct test_fi_f_data): Likewise.
11220         (struct test_fl_f_data): Likewise.
11221         (struct test_if_f_data): Likewise.
11222         (struct test_fff_f_data): Likewise.
11223         (struct test_c_f_data): Likewise.
11224         (struct test_f_f1_data): Likewise.
11225         (struct test_fF_f1_data): Likewise.
11226         (struct test_ffI_f1_data): Likewise.
11227         (struct test_c_c_data): Likewise.
11228         (struct test_cc_c_data): Likewise.
11229         (struct test_f_i_data): Likewise.
11230         (struct test_ff_i_data): Likewise.
11231         (struct test_f_l_data): Likewise.
11232         (struct test_f_L_data): Likewise.
11233         (struct test_fFF_11_data): Likewise.
11234         (RM_): New macro.
11235         (RM_FE_DOWNWARD): Likewise.
11236         (RM_FE_TONEAREST): Likewise.
11237         (RM_FE_TOWARDZERO): Likewise.
11238         (RM_FE_UPWARD): Likewise.
11239         (RUN_TEST_LOOP_f_f): Update references to expected results.
11240         (RUN_TEST_LOOP_2_f): Likewise.
11241         (RUN_TEST_LOOP_fff_f): Likewise.
11242         (RUN_TEST_LOOP_c_f): Likewise.
11243         (RUN_TEST_LOOP_f_f1): Likewise.
11244         (RUN_TEST_LOOP_fF_f1): Likewise.
11245         (RUN_TEST_LOOP_fI_f1): Likewise.
11246         (RUN_TEST_LOOP_ffI_f1): Likewise.
11247         (RUN_TEST_LOOP_c_c): Likewise.
11248         (RUN_TEST_LOOP_cc_c): Likewise.
11249         (RUN_TEST_LOOP_f_i): Likewise.
11250         (RUN_TEST_LOOP_f_i_tg): Likewise.
11251         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11252         (RUN_TEST_LOOP_f_b): Likewise.
11253         (RUN_TEST_LOOP_f_b_tg): Likewise.
11254         (RUN_TEST_LOOP_f_l): Likewise.
11255         (RUN_TEST_LOOP_f_L): Likewise.
11256         (RUN_TEST_LOOP_fFF_11): Likewise.
11257         * math/gen-libm-test.pl (parse_args): Output four copies of
11258         expected results for each test.
11260         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11261         (__ASSUME_UTIMES): Remove.
11262         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11263         (__ASSUME_UTIMES): Likewise.
11265         * math/gen-auto-libm-tests.c: Update comment on output format.
11266         (output_for_one_input_case): Generate before-rounding and
11267         after-rounding information as conditions on output flags not
11268         floating-point format.
11269         * math/auto-libm-test-out: Regenerated.
11270         * math/gen-libm-test.pl (cond_value): New function.
11271         (or_cond_value): Use cond_value.
11272         (generate_testfile): Handle conditional exceptions.
11274 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11276         * math/libm-test.inc (max_valid_error): New variable.
11277         (init_max_error): Take new argument specifying whether function
11278         results are exactly determined.  Set max_valid_error and bound
11279         other variables for errors based on this argument.
11280         (set_max_error): Do not record results above max_valid_error.
11281         (check_float_internal): Only accept errors of up to 0.5ulps if
11282         also at most max_valid_error.
11283         (START): Take new argument EXACT and pass it to init_max_error.
11284         (acos_test): Update call to START.
11285         (acos_test_tonearest): Likewise.
11286         (acos_test_towardzero): Likewise.
11287         (acos_test_downward): Likewise.
11288         (acos_test_upward): Likewise.
11289         (acosh_test): Likewise.
11290         (asin_test): Likewise.
11291         (asin_test_tonearest): Likewise.
11292         (asin_test_towardzero): Likewise.
11293         (asin_test_downward): Likewise.
11294         (asin_test_upward): Likewise.
11295         (asinh_test): Likewise.
11296         (atan_test): Likewise.
11297         (atanh_test): Likewise.
11298         (atan2_test): Likewise.
11299         (cabs_test): Likewise.
11300         (cacos_test): Likewise.
11301         (cacosh_test): Likewise.
11302         (carg_test): Likewise.
11303         (casin_test): Likewise.
11304         (casinh_test): Likewise.
11305         (catan_test): Likewise.
11306         (catanh_test): Likewise.
11307         (cbrt_test): Likewise.
11308         (ccos_test): Likewise.
11309         (ccosh_test): Likewise.
11310         (ceil_test): Likewise.
11311         (cexp_test): Likewise.
11312         (cimag_test): Likewise.
11313         (clog_test): Likewise.
11314         (clog10_test): Likewise.
11315         (conj_test): Likewise.
11316         (copysign_test): Likewise.
11317         (cos_test): Likewise.
11318         (cos_test_tonearest): Likewise.
11319         (cos_test_towardzero): Likewise.
11320         (cos_test_downward): Likewise.
11321         (cos_test_upward): Likewise.
11322         (cosh_test): Likewise.
11323         (cosh_test_tonearest): Likewise.
11324         (cosh_test_towardzero): Likewise.
11325         (cosh_test_downward): Likewise.
11326         (cosh_test_upward): Likewise.
11327         (cpow_test): Likewise.
11328         (cproj_test): Likewise.
11329         (creal_test): Likewise.
11330         (csin_test): Likewise.
11331         (csinh_test): Likewise.
11332         (csqrt_test): Likewise.
11333         (ctan_test): Likewise.
11334         (ctan_test_tonearest): Likewise.
11335         (ctan_test_towardzero): Likewise.
11336         (ctan_test_downward): Likewise.
11337         (ctan_test_upward): Likewise.
11338         (ctanh_test): Likewise.
11339         (ctanh_test_tonearest): Likewise.
11340         (ctanh_test_towardzero): Likewise.
11341         (ctanh_test_downward): Likewise.
11342         (ctanh_test_upward): Likewise.
11343         (erf_test): Likewise.
11344         (erfc_test): Likewise.
11345         (exp_test): Likewise.
11346         (exp_test_tonearest): Likewise.
11347         (exp_test_towardzero): Likewise.
11348         (exp_test_downward): Likewise.
11349         (exp_test_upward): Likewise.
11350         (exp10_test): Likewise.
11351         (exp10_test_tonearest): Likewise.
11352         (exp10_test_towardzero): Likewise.
11353         (exp10_test_downward): Likewise.
11354         (exp10_test_upward): Likewise.
11355         (pow10_test): Likewise.
11356         (exp2_test): Likewise.
11357         (expm1_test): Likewise.
11358         (expm1_test_tonearest): Likewise.
11359         (expm1_test_towardzero): Likewise.
11360         (expm1_test_downward): Likewise.
11361         (expm1_test_upward): Likewise.
11362         (fabs_test): Likewise.
11363         (fdim_test): Likewise.
11364         (floor_test): Likewise.
11365         (fma_test): Likewise.
11366         (fma_test_towardzero): Likewise.
11367         (fma_test_downward): Likewise.
11368         (fma_test_upward): Likewise.
11369         (fmax_test): Likewise.
11370         (fmin_test): Likewise.
11371         (fmod_test): Likewise.
11372         (fpclassify_test): Likewise.
11373         (frexp_test): Likewise.
11374         (hypot_test): Likewise.
11375         (ilogb_test): Likewise.
11376         (isfinite_test): Likewise.
11377         (finite_test): Likewise.
11378         (isgreater_test): Likewise.
11379         (isgreaterequal_test): Likewise.
11380         (isinf_test): Likewise.
11381         (isless_test): Likewise.
11382         (islessequal_test): Likewise.
11383         (islessgreater_test): Likewise.
11384         (isnan_test): Likewise.
11385         (isnormal_test): Likewise.
11386         (issignaling_test): Likewise.
11387         (isunordered_test): Likewise.
11388         (j0_test): Likewise.
11389         (j1_test): Likewise.
11390         (jn_test): Likewise.
11391         (ldexp_test): Likewise.
11392         (lgamma_test): Likewise.
11393         (gamma_test): Likewise.
11394         (lrint_test): Likewise.
11395         (lrint_test_tonearest): Likewise.
11396         (lrint_test_towardzero): Likewise.
11397         (lrint_test_downward): Likewise.
11398         (lrint_test_upward): Likewise.
11399         (llrint_test): Likewise.
11400         (llrint_test_tonearest): Likewise.
11401         (llrint_test_towardzero): Likewise.
11402         (llrint_test_downward): Likewise.
11403         (llrint_test_upward): Likewise.
11404         (log_test): Likewise.
11405         (log10_test): Likewise.
11406         (log1p_test): Likewise.
11407         (log2_test): Likewise.
11408         (logb_test): Likewise.
11409         (logb_test_downward): Likewise.
11410         (lround_test): Likewise.
11411         (llround_test): Likewise.
11412         (modf_test): Likewise.
11413         (nearbyint_test): Likewise.
11414         (nextafter_test): Likewise.
11415         (nexttoward_test): Likewise.
11416         (pow_test): Likewise.
11417         (pow_test_tonearest): Likewise.
11418         (pow_test_towardzero): Likewise.
11419         (pow_test_downward): Likewise.
11420         (pow_test_upward): Likewise.
11421         (remainder_test): Likewise.
11422         (drem_test): Likewise.
11423         (remainder_test_tonearest): Likewise.
11424         (drem_test_tonearest): Likewise.
11425         (remainder_test_towardzero): Likewise.
11426         (drem_test_towardzero): Likewise.
11427         (remainder_test_downward): Likewise.
11428         (drem_test_downward): Likewise.
11429         (remainder_test_upward): Likewise.
11430         (drem_test_upward): Likewise.
11431         (remquo_test): Likewise.
11432         (rint_test): Likewise.
11433         (rint_test_tonearest): Likewise.
11434         (rint_test_towardzero): Likewise.
11435         (rint_test_downward): Likewise.
11436         (rint_test_upward): Likewise.
11437         (round_test): Likewise.
11438         (scalb_test): Likewise.
11439         (scalbn_test): Likewise.
11440         (scalbln_test): Likewise.
11441         (signbit_test): Likewise.
11442         (sin_test): Likewise.
11443         (sin_test_tonearest): Likewise.
11444         (sin_test_towardzero): Likewise.
11445         (sin_test_downward): Likewise.
11446         (sin_test_upward): Likewise.
11447         (sincos_test): Likewise.
11448         (sinh_test): Likewise.
11449         (sinh_test_tonearest): Likewise.
11450         (sinh_test_towardzero): Likewise.
11451         (sinh_test_downward): Likewise.
11452         (sinh_test_upward): Likewise.
11453         (sqrt_test): Likewise.
11454         (sqrt_test_tonearest): Likewise.
11455         (sqrt_test_towardzero): Likewise.
11456         (sqrt_test_downward): Likewise.
11457         (sqrt_test_upward): Likewise.
11458         (tan_test): Likewise.
11459         (tan_test_tonearest): Likewise.
11460         (tan_test_towardzero): Likewise.
11461         (tan_test_downward): Likewise.
11462         (tan_test_upward): Likewise.
11463         (tanh_test): Likewise.
11464         (tgamma_test): Likewise.
11465         (trunc_test): Likewise.
11466         (y0_test): Likewise.
11467         (y1_test): Likewise.
11468         (yn_test): Likewise.
11469         (significand_test): Likewise.
11471         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11472         individual tests in comment.
11473         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11474         (prev_max_error): New variable.
11475         (prev_real_max_error): Likewise.
11476         (prev_imag_max_error): Likewise.
11477         (compare_ulp_data): Don't refer to test names in comment.
11478         (find_test_ulps): Remove function.
11479         (find_function_ulps): Likewise.
11480         (find_complex_function_ulps): Likewise.
11481         (init_max_error): Take function name as argument.  Look up ulps
11482         for that function.
11483         (print_ulps): Remove function.
11484         (print_max_error): Use prev_max_error instead of calling
11485         find_function_ulps.
11486         (print_complex_max_error): Use prev_real_max_error and
11487         prev_imag_max_error instead of calling find_complex_function_ulps.
11488         (check_float_internal): Take max_ulp parameter instead of calling
11489         find_test_ulps.  Don't call print_ulps.
11490         (check_float): Update call to check_float_internal.
11491         (check_complex): Update calls to check_float_internal.
11492         (START): Pass argument to init_max_error.
11493         * math/gen-libm-test.pl (%results): Don't include "kind"
11494         information.
11495         (parse_ulps): Don't handle ulps of individual tests.
11496         (print_ulps_file): Likewise.
11497         (output_ulps): Likewise.
11498         * math/README.libm-test: Update.
11499         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11500         individual tests.
11501         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11502         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11503         * sysdeps/arm/libm-test-ulps: Likewise.
11504         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11505         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11506         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11507         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11508         * sysdeps/microblaze/libm-test-ulps: Likewise.
11509         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11510         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11511         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11512         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11513         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11514         * sysdeps/sh/libm-test-ulps: Likewise.
11515         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11516         * sysdeps/tile/libm-test-ulps: Likewise.
11517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11519 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
11521         * math/libm-test.inc (print_complex_max_error): Check separately
11522         whether real and imaginary errors are within allowed range and
11523         pass 0 to print_complex_function_ulps instead of value within
11524         allowed range.
11526 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11528         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11529         formatting.
11530         (get_handles_fopen): Likewise.
11531         (do_write_test): Likewise.
11533         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11535         * libio/fileops.c (do_ftell): Use cached offset when
11536         available.
11537         * libio/iofwide.c (do_ftell_wide): Likewise.
11538         * libio/iofdopen.c (_IO_new_fdopen): Don't use
11539         _IO_file_attach.
11540         * libio/wfileops.c (_IO_fwide): Don't cache offset.
11542         [BZ #16532]
11543         * libio/libioP.h (get_file_offset): New function.
11544         * libio/fileops.c (get_file_offset): Likewise.
11545         (do_ftell): Likewise.
11546         (_IO_new_file_seekoff): Split out ftell logic.
11547         * libio/wfileops.c (do_ftell_wide): Likewise.
11548         (_IO_wfile_seekoff): Split out ftell logic.
11549         * libio/tst-ftell-active-handler.c: New test case.
11550         * libio/Makefile (tests): Add it.
11552 2014-03-03  Roland McGrath  <roland@hack.frob.com>
11554         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11555         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11557 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11559         [BZ #16639]
11560         * nscd/connections.c (nscd_init): Call do_exit.
11561         (start_threads): Call do_exit and notify_parent.
11562         (begin_drop_privileges): Call do_exit.
11563         (finish_drop_privileges): Likewise.
11564         * nscd/selinux.c (preserve_capabilities): Likewise.
11565         (install_real_capabilities): Likewise.
11566         (nscd_selinux_enabled): Likewise.
11567         (avc_create_thread): Likewise.
11568         (avc_alloc_lock): Likewise.
11569         (nscd_avc_init): Likewise.
11570         * nscd/nscd.c (parent_fd): New static variable.
11571         (main): Create a pipe between parent and child processes.
11572         Skip closing parent_fd.
11573         (monitor_child): New function.
11574         (do_exit): Likewise.
11575         (notify_parent): Likewise.
11576         * nscd/nscd.h (notify_parent): Likewise.
11577         (do_exit): Likewise.
11579 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
11581         * malloc/malloc.c (__libc_calloc): Revert last change.
11583 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11587 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11589         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11591         implementation.
11592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11593         (__libc_ifunc_impl_list): Likewise.
11594         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11595         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11596         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11597         * string/strrchr.c: Define STRRCHR.
11599 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
11601         * benchtest/bench-strtok.c (simple_strtok): Delete.
11602         (strtok_string): Use as benchmark.
11603         * string/strtok (STRTOK): New macro.
11605 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
11607         * manual/threads.texi: Add header and standard comments to all
11608         functions.
11610         * elf/dl-lookup.c (check_match): New function.
11611         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11612         (do_lookup_x): Remove nested function check_match. Use non-nested
11613         function check_match.
11615 2014-02-28  Roland McGrath  <roland@hack.frob.com>
11617         * csu/Makefile (generated, before-compile): Use += rather than =.
11618         * catgets/Makefile (generated, generated-dirs): Likewise.
11619         * debug/Makefile (generated): Likewise.
11620         * dlfcn/Makefile (generated): Likewise.
11621         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11622         * iconvdata/Makefile (before-compile, generated): Likewise.
11623         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11624         * libio/Makefile (generated): Likewise.
11625         * malloc/Makefile (generated): Likewise.
11626         * manual/Makefile (generated, generated-dirs): Likewise.
11627         * misc/Makefile (generated): Likewise.
11628         * posix/Makefile (generated): Likewise.
11629         * resolv/Makefile (generated): Likewise.
11630         * sunrpc/Makefile (generated, generated-dirs): Likewise.
11631         * timezone/Makefile (generated, generated-dirs): Likewise.
11633         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11635 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11638         power8 implementation.
11639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11640         file: POWER8 llround ifunc implementation.
11641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11642         (__lllround): Add POWER8 implementation.
11643         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11644         POWER8 llround implementation.
11646         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11647         power8 implementation.
11648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11649         file: POWER8 llrint ifunc implementation.
11650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11651         Add POWER8 implementation.
11652         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11653         POWER8 llrint implementation.
11655         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11656         power8 implementation.
11657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11658         file: POWER8 finite ifunc implementation.
11659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11660         Add POWER8 implementation.
11661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11662         Likewise.
11663         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11664         POWER8 finite implementation.
11665         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11668         power8 implementation.
11669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11670         file: POWER8 isinf ifunc implementation.
11671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11672         POWER8 implementation.
11673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11674         Likewise.
11675         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11676         isinf implementation.
11677         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11679         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11680         (INIT_ARCH): Add hwcap2 initialization.
11681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11682         power8 implementation.
11683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11684         file: POWER8 isnan ifunc implementation.
11685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11686         POWER8 implementation.
11687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11688         Likewise.
11689         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11690         isnan implementation.
11691         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11693 2014-02-27  Joey Ye  <joey.ye@arm.com>
11695         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11696         (_FP_NANFRAC_Q): Set to zero.
11698 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11700         [BZ #16623]
11701         * math/auto-libm-test-in: New test inputs.
11702         * math/auto-libm-test-out: Regenerate.
11703         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11704         and DA.
11705         (__cos): Likewise.
11706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11708 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
11710         * scripts/evaluate-test.sh: Take new argument indicating whether
11711         failure is expected.
11712         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11713         indicating whether failure is expected.
11714         * conform/Makefile (test-xfail-run-conformtest): New variable.
11715         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11716         level.
11717         * posix/Makefile (test-xfail-annexc): New variable.
11718         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11720 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
11722         * argp/Makefile: Include Makeconfig immediately after defining
11723         subdir.
11724         * assert/Makefile: Likewise.
11725         * benchtests/Makefile: Likewise.
11726         * catgets/Makefile: Likewise.
11727         * conform/Makefile: Likewise.
11728         * crypt/Makefile: Likewise.
11729         * csu/Makefile: Likewise.
11730         (all): Remove target.
11731         * ctype/Makefile: Include Makeconfig immediately after defining
11732         subdir.
11733         * debug/Makefile: Likewise.
11734         * dirent/Makefile: Likewise.
11735         * dlfcn/Makefile: Likewise.
11736         * gmon/Makefile: Likewise.
11737         * gnulib/Makefile: Likewise.
11738         * grp/Makefile: Likewise.
11739         * gshadow/Makefile: Likewise.
11740         * hesiod/Makefile: Likewise.
11741         * hurd/Makefile: Likewise.
11742         (all): Remove target.
11743         * iconvdata/Makefile: Include Makeconfig immediately after
11744         defining subdir.
11745         * inet/Makefile: Likewise.
11746         * intl/Makefile: Likewise.
11747         * io/Makefile: Likewise.
11748         * libio/Makefile: Likewise.
11749         (all): Remove target.
11750         * locale/Makefile: Include Makeconfig immediately after defining
11751         subdir.
11752         * login/Makefile: Likewise.
11753         * mach/Makefile: Likewise.
11754         (all): Remove target.
11755         * malloc/Makefile: Include Makeconfig immediately after defining
11756         subdir.
11757         (all): Remove target.
11758         * manual/Makefile: Include Makeconfig immediately after defining
11759         subdir.
11760         * math/Makefile: Likewise.
11761         * misc/Makefile: Likewise.
11762         * nis/Makefile: Likewise.
11763         * nss/Makefile: Likewise.
11764         * po/Makefile: Likewise.
11765         (all): Remove target.
11766         * posix/Makefile: Include Makeconfig immediately after defining
11767         subdir.
11768         * pwd/Makefile: Likewise.
11769         * resolv/Makefile: Likewise.
11770         * resource/Makefile: Likewise.
11771         * rt/Makefile: Likewise.
11772         * setjmp/Makefile: Likewise.
11773         * shadow/Makefile: Likewise.
11774         * signal/Makefile: Likewise.
11775         * socket/Makefile: Likewise.
11776         * soft-fp/Makefile: Likewise.
11777         * stdio-common/Makefile: Likewise.
11778         * stdlib/Makefile: Likewise.
11779         * streams/Makefile: Likewise.
11780         * string/Makefile: Likewise.
11781         * sunrpc/Makefile: Likewise.
11782         (all): Remove target.
11783         * sysvipc/Makefile: Include Makeconfig immediately after defining
11784         subdir.
11785         * termios/Makefile: Likewise.
11786         * time/Makefile: Likewise.
11787         * timezone/Makefile: Likewise.
11788         (all): Remove target.
11789         * wcsmbs/Makefile: Include Makeconfig immediately after defining
11790         subdir.
11791         * wctype/Makefile: Likewise.
11793 2014-02-26  Steve Ellcey  <sellcey@mips.com>
11795         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11796         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11797         (libc_feholdexcept_setround_mips): Ditto.
11798         (libc_feholdsetround): New.
11799         (libc_feholdsetroundf): New.
11800         (libc_feholdsetroundl): New.
11801         (libc_feupdateenv_test_mips): New.
11802         (libc_feupdateenv_test): New.
11803         (libc_feupdateenv_testf): New.
11804         (libc_feupdateenv_testl): New.
11805         (libc_feresetround): New.
11806         (libc_feresetroundf): New.
11807         (libc_feresetroundl): New.
11808         (libc_fetestexcept_mips): New.
11809         (libc_fetestexcept): New.
11810         (libc_fetestexceptf): New.
11811         (libc_fetestexceptl): New.
11812         (HAVE_RM_CTX): New.
11813         (libc_feholdexcept_setround_mips_ctx): New.
11814         (libc_feholdexcept_setround_ctx): New.
11815         (libc_feholdexcept_setroundf_ctx): New.
11816         (libc_feholdexcept_setroundl_ctx): New.
11817         (libc_fesetenv_mips_ctx): New.
11818         (libc_fesetenv_ctx): New.
11819         (libc_fesetenv_ctxf): New.
11820         (libc_fesetenv_ctxl): New.
11821         (libc_feupdateenv_mips_ctx): New.
11822         (libc_feupdateenv_ctx): New.
11823         (libc_feupdateenvf_ctx): New.
11824         (libc_feupdateenvl_ctx): New.
11825         (libc_feholdsetround_mips_ctx): New.
11826         (libc_feholdsetround_ctx): New.
11827         (libc_feholdsetroundf_ctx): New.
11828         (libc_feholdsetroundl_ctx): New.
11829         (libc_feresetround_mips_ctx): New.
11830         (libc_feresetround_ctx): New.
11831         (libc_feresetroundf_ctx): New.
11832         (libc_feresetroundl_ctx): New.
11834 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
11836         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11838         * manual/ipc.texi: New file.
11839         * manual/Makefile (chapters): Add ipc.
11840         * manual/job.texi: Add "Inter-Process Communication" to next.
11841         * manual/process.texi: Add "Inter-Process Communication" to prev.
11843 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11847 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
11849         * malloc/malloc.c (__libc_calloc): Simplify implementation.
11851         * manual/arith.texi: Fix spaces after sentences.
11852         * manual/charset.texi: Likewise.
11853         * manual/errno.texi: Likewise.
11854         * manual/install.texi: Likewise.
11855         * manual/llio.texi: Likewise.
11856         * manual/locale.texi: Likewise.
11857         * manual/maint.texi: Likewise.
11858         * manual/math.texi: Likewise.
11859         * manual/memory.texi: Likewise.
11860         * manual/message.texi: Likewise.
11861         * manual/probes.texi: Likewise.
11862         * manual/resource.texi: Likewise.
11863         * manual/signal.texi: Likewise.
11864         * manual/socket.texi: Likewise.
11865         * manual/stdio.texi: Likewise.
11866         * manual/string.texi: Likewise.
11867         * manual/time.texi: Likewise.
11868         * manual/users.texi: Likewise.
11870 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
11872         [BZ #16632]
11873         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11874         _DEFAULT_SOURCE is defined.
11876 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
11877             Carlos O'Donell  <carlos@redhat.com>
11879         [BZ #16613]
11880         * elf/dl-tls.c (_dl_count_modids): New function.
11881         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11882         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11883         audit library and increment generation counter.
11884         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11885         * elf/tst-audit9.c: New file.
11886         * elf/tst-auditmod9a.c: New file.
11887         * elf/tst-auditmod9b.c: New file.
11888         * elf/Makefile: Add rules to build and run tst-audit9.
11890 2014-02-25  Florian Weimer  <fweimer@redhat.com>
11892         [BZ #15347]
11893         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11895 2014-02-25  Will Newton  <will.newton@linaro.org>
11897         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11898         (__longjmp): Restore sp and lr before restoring callee
11899         saved registers.  Add longjmp and longjmp_target
11900         SystemTap probe point.
11901         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11902         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11903         Define to zero to match jmpbuf layout.
11904         * sysdeps/arm/setjmp.S: Include stap-probe.h.
11905         (__sigsetjmp): Save sp and lr before saving callee
11906         saved registers.  Add setjmp SystemTap probe point.
11908 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11910         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11912 2014-02-24  Andreas Schwab  <schwab@suse.de>
11914         [BZ #15804]
11915         * elf/pldd.c (wait_for_ptrace_stop): New function.
11916         (main): Call it after attaching.
11918 2014-02-22  Roland McGrath  <roland@hack.frob.com>
11920         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11921         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11922         Versions files is now verboten.
11923         * hurd/Versions (libc: GLIBC_2.0):
11924         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11925         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11926         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11927         * mach/Versions: Likewise.
11929         * csu/Versions: Remove unused %include.
11930         * resolv/Versions: Likewise.
11932 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
11934         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11935         ($(objpfx)check-local-headers.out): Likewise.
11936         ($(objpfx)begin-end-check.out): Likewise.
11937         * Makerules (check-abi-%.out): Likewise.
11938         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11939         ($(objpfx)test2.cat): Likewise.
11940         ($(objpfx)de/libc.cat): Likewise.
11941         ($(objpfx)test-gencat.out): Likewise.
11942         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11943         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11944         ($(objpfx)noload-mem): Likewise.
11945         ($(objpfx)tst-pathopt.out): Likewise.
11946         ($(objpfx)tst-rtld-load-self.out): Likewise.
11947         ($(objpfx)tst-array1-cmp.out): Likewise.
11948         ($(objpfx)tst-array1-static-cmp.out): Likewise.
11949         ($(objpfx)tst-array2-cmp.out): Likewise.
11950         ($(objpfx)tst-array3-cmp.out): Likewise.
11951         ($(objpfx)tst-array4-cmp.out): Likewise.
11952         ($(objpfx)tst-array5-cmp.out): Likewise.
11953         ($(objpfx)tst-array5-static-cmp.out): Likewise.
11954         ($(objpfx)check-textrel.out): Likewise.
11955         ($(objpfx)check-execstack.out): Likewise.
11956         ($(objpfx)check-localplt.out): Likewise.
11957         ($(objpfx)order2-cmp.out): Likewise.
11958         ($(objpfx)tst-leaks1-mem): Likewise.
11959         ($(objpfx)tst-leaks1-static-mem): Likewise.
11960         ($(objpfx)tst-initorder-cmp.out): Likewise.
11961         ($(objpfx)tst-initorder2-cmp.out): Likewise.
11962         ($(objpfx)tst-unused-dep.out): Likewise.
11963         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11964         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11965         * iconv/Makefile (test-iconvconfig): Likewise.
11966         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11967         ($(objpfx)iconv-test.out): Likewise.
11968         ($(objpfx)tst-tables.out): Likewise.
11969         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11970         ($(objpfx)tst-gettext.out): Likewise.
11971         ($(objpfx)tst-translit.out): Likewise.
11972         ($(objpfx)tst-gettext2.out): Likewise.
11973         ($(objpfx)tst-gettext4.out): Likewise.
11974         ($(objpfx)tst-gettext6.out): Likewise.
11975         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11976         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11977         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11978         ($(objpfx)tst-fopenloc-mem.out): Likewise.
11979         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11980         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11981         * posix/Makefile ($(objpfx)globtest.out): Likewise.
11982         ($(objpfx)wordexp-tst.out): Likewise.
11983         ($(objpfx)annexc.out): Likewise.
11984         ($(objpfx)tst-fnmatch-mem): Likewise.
11985         ($(objpfx)bug-regex2-mem): Likewise.
11986         ($(objpfx)bug-regex14-mem): Likewise.
11987         ($(objpfx)bug-regex21-mem): Likewise.
11988         ($(objpfx)bug-regex31-mem): Likewise.
11989         ($(objpfx)tst-vfork3-mem): Likewise.
11990         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11991         ($(objpfx)tst-pcre-mem): Likewise.
11992         ($(objpfx)tst-boost-mem): Likewise.
11993         ($(objpfx)tst-getconf.out): Likewise.
11994         ($(objpfx)bug-ga2-mem): Likewise.
11995         ($(objpfx)bug-glob2-mem): Likewise.
11996         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11997         ($(objpfx)mtrace-tst-leaks2): Likewise.
11998         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11999         ($(objpfx)tst-printf.out): Likewise.
12000         ($(objpfx)tst-setvbuf1.out): Likewise.
12001         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12002         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12003         ($(objpfx)tst-fmtmsg.out): Likewise.
12004         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12005         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12007         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12008         * bits/sigaction.h [__USE_MISC]: Likewise.
12009         * bits/waitstatus.h: Update #endif comments.
12010         * ctype/ctype.h: Likewise.
12011         * dirent/dirent.h: Likewise.
12012         [__USE_MISC]: Remove redundant conditionals.
12013         * grp/grp.h: Update #endif comments.
12014         [__USE_GNU]: Remove redundant conditionals.
12015         [__USE_MISC]: Likewise.
12016         * inet/netinet/in.h [__USE_GNU]: Likewise.
12017         * io/sys/stat.h [__USE_MISC]: Likewise.
12018         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12019         * libio/bits/stdio.h: Update #endif comments.
12020         [__USE_MISC]: Remove redundant conditionals.
12021         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12022         * libio/stdio.h: Update #endif comments.
12023         [__USE_MISC]: Remove redundant conditionals.
12024         * math/bits/math-finite.h [__USE_MISC]: Likewise.
12025         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12026         * math/math.h: Update #else and #endif comments.
12027         [__USE_MISC]: Remove redundant conditionals.
12028         * misc/sys/uio.h: Update #endif comments.
12029         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12030         * posix/glob.h [__USE_MISC]: Likewise.
12031         * posix/sys/types.h: Update #endif comments.
12032         [__USE_MISC]: Remove redundant conditionals.
12033         * posix/sys/wait.h: Update #endif comments.
12034         [__USE_MISC]: Remove redundant conditionals.
12035         * posix/unistd.h: Update #endif comments.
12036         [__USE_MISC]: Remove redundant conditionals.
12037         * pwd/pwd.h [__USE_GNU]: Likewise.
12038         [__USE_MISC]: Likewise.
12039         * resolv/netdb.h [__USE_GNU]: Likewise.
12040         * signal/signal.h: Update #endif comments.
12041         [__USE_MISC]: Remove redundant conditionals.
12042         * stdlib/stdlib.h: Update #else and #endif comments.
12043         [__USE_MISC]: Remove redundant conditionals.
12044         [__USE_GNU]: Likewise.
12045         * string/bits/string2.h [__USE_MISC]: Likewise.
12046         * string/string.h: Update #endif comments.
12047         [__USE_MISC]: Remove redundant conditionals.
12048         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12049         Likewise.
12050         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12051         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12052         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12053         Likewise.
12054         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12055         Likewise.
12056         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12057         comments.
12058         [__USE_MISC]: Remove redundant conditionals.
12059         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12060         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12061         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12062         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12063         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12064         Likewise.
12065         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12066         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12067         Likewise.
12068         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12069         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12070         Likewise.
12071         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12072         Likewise.
12073         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12074         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12075         Likewise.
12076         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12077         Likewise.
12078         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12079         * sysdeps/x86/bits/string.h: Update #endif comments.
12080         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12081         conditionals.
12082         * time/sys/time.h: Update #endif comments.
12083         * time/time.h: Likewise.
12084         [__USE_MISC]: Remove redundant conditionals.
12086 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
12088         [BZ #16600]
12089         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12091 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
12093         * Versions.def (librt): Add GLIBC_2.17.
12095 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12097         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12098         synonym for _SYS_AUXV_H to allow direct inclusion.
12099         * sysdeps/sparc/bits/hwcap.h: Likewise.
12100         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12101         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12102         * sysdeps/sparc/sysdep.h: Likewise.
12104 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12106         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12108 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12110         * benchtests/bench-strrchr.c: Print length instead of position.
12112 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12114         [BZ #16611]
12115         * sysdeps/unix/sysv/linux/kernel-features.h
12116         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12117         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12118         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12119         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12120         Likewise.
12121         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12122         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12123         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12124         (__ASSUME_SENDMMSG): Define instead of using previous
12125         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12126         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12127         (__ASSUME_SENDMMSG_SYSCALL): Define.
12128         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12129         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12130         Likewise.
12131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12132         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12133         Likewise.
12134         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12135         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12136         Likewise.
12137         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12138         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12139         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12140         [__ASSUME_SENDMMSG]: Change conditionals to
12141         [__ASSUME_SENDMMSG_SOCKETCALL].
12142         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12143         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12144         Define.
12145         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12146         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12147         Likewise.
12148         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12149         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12150         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12151         [!__ASSUME_SENDMMSG]: Change conditional to
12152         [!__ASSUME_SENDMMSG_SOCKETCALL].
12153         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12154         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12155         Define.
12157         [BZ #16610]
12158         * sysdeps/unix/sysv/linux/kernel-features.h
12159         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12160         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12161         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12162         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12163         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12164         [__i386__ || __sparc__]
12165         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12166         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12167         (__ASSUME_RECVMMSG): Define instead of using previous
12168         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12169         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12170         (__ASSUME_RECVMMSG_SYSCALL): Define.
12171         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12172         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12173         Likewise.
12174         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12175         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12176         Likewise.
12177         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12178         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12179         Likewise.
12180         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12181         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12182         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12183         [__ASSUME_RECVMMSG]: Change condition to
12184         [__ASSUME_RECVMMSG_SOCKETCALL].
12185         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12186         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12187         Define.
12188         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12189         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12190         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12191         Likewise.
12192         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12193         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12194         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12195         [!__ASSUME_RECVMMSG]: Change condition to
12196         [!__ASSUME_RECVMMSG_SOCKETCALL].
12197         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12198         (__ASSUME_RECVMMSG_SYSCALL): Define.
12200         [BZ #16609]
12201         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12202         __powerpc__ || __s390__ || __sh__ || __sparc__]
12203         (__ASSUME_SOCKETCALL): Define.
12204         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12205         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12206         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12207         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12208         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12209         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12210         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12211         (__ASSUME_ACCEPT4): Define instead of using previous
12212         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12213         __powerpc__ || __sparc__ || __s390__)] condition.
12214         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12215         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12216         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12217         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12218         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12219         [!__ASSUME_ACCEPT4]: Change condition to
12220         [!__ASSUME_ACCEPT4_SOCKETCALL].
12221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12222         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12223         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12224         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12225         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12226         __ASSUME_ACCEPT4_SYSCALL.
12227         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12228         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12229         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12230         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12231         __ASSUME_ACCEPT4_SYSCALL.
12232         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12233         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12234         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12235         [__ASSUME_ACCEPT4]: Change condition to
12236         [__ASSUME_ACCEPT4_SOCKETCALL].
12237         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12238         (__ASSUME_SOCKETCALL): Define.
12239         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12240         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12241         (__ASSUME_SOCKETCALL): Define.
12242         (__ASSUME_ACCEPT4): Remove.
12243         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12244         Define.
12245         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12246         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12247         Likewise.
12248         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12249         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12251         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12252         macro.
12253         (HWCAP_ARM_LPAE): Likewise.
12254         (HWCAP_ARM_EVTSTRM): Likewise.
12255         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12256         Add vpfd32, lpae and evtstrm.
12257         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12258         Increase to 22.
12260 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12262         * math/auto-libm-test-in: Add tests of clog10.
12263         * math/auto-libm-test-out: Regenerated.
12264         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12265         * sysdeps/i386/fpu/libm-test-ulps: Update.
12266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12268 2014-02-18  Andreas Schwab  <schwab@suse.de>
12270         [BZ #16574]
12271         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12272         Store non-zero if the second buffer was newly allocated.
12273         (send_dg): Likewise.
12274         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12275         to send_vc and send_dg.
12276         (res_nsend): Pass NULL for ansp2_malloced.
12277         * resolv/res_query.c (__libc_res_nquery): Add parameter
12278         answerp2_malloced and pass it down to __libc_res_nsend.
12279         (res_nquery): Pass additional NULL to __libc_res_nquery.
12280         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12281         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12282         second answer buffer if answerp2_malloced was set.
12283         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12284         (__libc_res_nquerydomain): Add parameter
12285         answerp2_malloced and pass it down to __libc_res_nquery.
12286         (res_nquerydomain): Pass additional NULL to
12287         __libc_res_nquerydomain.
12288         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12289         additional NULL to __libc_res_nsend and __libc_res_nquery.
12290         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12291         additional NULL to __libc_res_nsearch.
12292         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12293         parameter of __libc_res_nsearch to check for separately allocated
12294         second buffer.
12295         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12296         __libc_res_nquery.
12297         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12298         additional NULL to __libc_res_nquery.
12299         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12300         __libc_res_nsearch.
12301         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12302         * include/resolv.h: Update prototypes of __libc_res_nquery,
12303         __libc_res_nsearch, __libc_res_nsend.
12305 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
12307         * math/auto-libm-test-in: Add tests of fma.
12308         * math/auto-libm-test-out: Regenerated.
12309         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12310         (fma_towardzero_test_data): Likewise.
12311         (fma_downward_test_data): Likewise.
12312         (fma_upward_test_data): Likewise.
12313         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12314         mpc_mode.
12315         (rounding_modes): Add values for new field.
12316         (func_calc_method): Add value mpfr_fff_f.
12317         (func_calc_desc): Add mpfr_fff_f union field.
12318         (test_function): Add field exact_args.
12319         (FUNC): Add macro argument EXACT_ARGS.
12320         (FUNC_mpfr_f_f): Update call to FUNC.
12321         (FUNC_mpfr_f_f): Likewise.
12322         (FUNC_mpfr_ff_f): Likewise.
12323         (FUNC_mpfr_if_f): Likewise.
12324         (FUNC_mpc_c_f): Likewise.
12325         (FUNC_mpc_c_c): Likewise.
12326         (test_functions): Add fma.  Update calls to FUNC.
12327         (handle_input_arg): Add argument exact_args.
12328         (add_test): Update call to handle_input_arg.
12329         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
12330         (output_for_one_input_case): Update call to calc_generic_results.
12331         Recalculate exact zero results in each rounding mode.
12333         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12334         non-negative before setting low bit.
12335         * math/auto-libm-test-in: Mark one asin test possibly having
12336         spurious underflow.
12337         * math/auto-libm-test-out: Regenerated.
12338         * sysdeps/i386/fpu/libm-test-ulps: Update.
12339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12341 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
12343         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12344         * sysdeps/unix/sysv/linux/microblaze: Move directory from
12345         ports/sysdeps/unix/sysv/linux/microblaze.
12346         * README: Add missing listing for microblaze*-*-linux-gnu.
12348 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
12350         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12351         duplicate code
12353 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
12355         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12356         * sysdeps/unix/sysv/linux/ia64: Move directory from
12357         ports/sysdeps/unix/sysv/linux/ia64.
12358         * README: Update listing for ia64-*-linux-gnu.
12360 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
12361             Joseph Myers  <joseph@codesourcery.com>
12363         * Makeconfig (test-name): New variable.
12364         (evaluate-test): Likewise.
12365         * Makerules (do-test-clean): Remove .test-result files.
12366         (common-mostlyclean): Likewise.
12367         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12368         * scripts/evaluate-test.sh: New file.
12370 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
12372         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12373         separate $(objpfx)tst-fopenloc-cmp.out and
12374         $(objpfx)tst-fopenloc-mem.out targets.
12375         (tests): Update dependencies.
12376         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12377         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12378         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12379         (tst-rxspencer-no-utf8-ARGS): New variable.
12380         (tst-rxspencer-no-utf8-ENV): Likewise.
12381         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12382         instead of $(objpfx)tst-rxspencer-mem.
12383         ($(objpfx)tst-rxspencer-mem): Change target to
12384         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
12385         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12386         * posix/tst-rxspencer-no-utf8.c: New file.
12388         * elf/Makefile ($(objpfx)order.out): Remove rule.
12389         [$(run-built-tests) = yes] (tests): Depend on
12390         $(objpfx)order-cmp.out.
12391         ($(objpfx)order-cmp.out): New rule.
12392         [$(run-built-tests) = yes] (tests): Depend on
12393         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12394         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12395         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12396         $(objpfx)tst-array5-static-cmp.out.
12397         ($(objpfx)tst-array1.out): Remove rule.
12398         ($(objpfx)tst-array1-cmp.out): New rule.
12399         ($(objpfx)tst-array1-static.out): Remove rule.
12400         ($(objpfx)tst-array1-static-cmp.out): New rule.
12401         ($(objpfx)tst-array2.out): Remove rule.
12402         ($(objpfx)tst-array2-cmp.out): New rule.
12403         ($(objpfx)tst-array3.out): Remove rule.
12404         ($(objpfx)tst-array3-cmp.out): New rule.
12405         ($(objpfx)tst-array4.out): Remove rule.
12406         ($(objpfx)tst-array4-cmp.out): New rule.
12407         ($(objpfx)tst-array5.out): Remove rule.
12408         ($(objpfx)tst-array5-cmp.out): New rule.
12409         ($(objpfx)tst-array5-static.out): Remove rule.
12410         ($(objpfx)tst-array5-static-cmp.out): New rule.
12411         [$(run-built-tests) = yes] (tests): Depend on
12412         $(objpfx)order2-cmp.out.
12413         ($(objpfx)order2.out): Remove rule.
12414         ($(objpfx)order2-cmp.out): New rule.
12415         ($(objpfx)tst-initorder.out): Remove rule.
12416         [$(run-built-tests) = yes] (tests): Depend on
12417         $(objpfx)tst-initorder-cmp.out.
12418         ($(objpfx)tst-initorder-cmp.out): New rule.
12419         ($(objpfx)tst-initorder2.out): Remove rule.
12420         [$(run-built-tests) = yes] (tests): Depend on
12421         $(objpfx)tst-initorder2-cmp.out.
12422         ($(objpfx)tst-initorder2-cmp.out): New rule.
12423         [$(run-built-tests) = yes] (tests): Depend on
12424         $(objpfx)tst-unused-dep-cmp.out.
12425         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12426         ($(objpfx)tst-unused-dep-cmp.out): New rule.
12427         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12428         on $(objpfx)tst-setvbuf1-cmp.out.
12429         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12430         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12431         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12432         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12433         ($(objpfx)tst-svc.out): Remove rule.
12434         ($(objpfx)tst-svc-cmp.out): New rule.
12436 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
12438         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12439         * ctype/ctype.h [__USE_MISC]: Likewise.
12440         * dirent/dirent.h [__USE_MISC]: Likewise.
12441         * grp/grp.h [__USE_MISC]: Likewise.
12442         * io/fcntl.h [__USE_MISC]: Likewise.
12443         * io/sys/stat.h [__USE_MISC]: Likewise.
12444         * libio/stdio.h [__USE_MISC]: Likewise.
12445         * posix/unistd.h [__USE_MISC]: Likewise.
12446         * pwd/pwd.h [__USE_MISC]: Likewise.
12447         * stdlib.h [__USE_MISC]: Likewise.
12448         * string/bits/string2.h [__USE_MISC]: Likewise.
12449         * string/string.h [__USE_MISC]: Likewise.
12450         * time/time.h [__USE_MISC]: Likewise.
12452 2014-02-13  Andreas Schwab  <schwab@suse.de>
12454         [BZ #16574]
12455         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12456         second answer buffer if it was separately allocated.
12458 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
12460         * sysdeps/mips/math-tests.h: Include <features.h>.
12461         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12462         (ROUNDING_TESTS_long_double): Do not define.
12463         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12464         (EXCEPTION_TESTS_long_double): Likewise.
12465         * sysdeps/mips/mips64/libm-test-ulps: Update.
12467         * include/features.h (__USE_BSD): Remove macro definitions.
12468         (__USE_SVID): Likewise.
12469         (_BSD_SOURCE): Likewise.
12470         (_SVID_SOURCE): Likewise.
12471         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12472         from definition of _DEFAULT_SOURCE.
12473         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12474         [_DEFAULT_SOURCE].
12475         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12476         * bits/mman.h [__USE_BSD]: Likewise.
12477         * bits/termios.h [__USE_BSD]: Likewise.
12478         * bits/waitstatus.h [__USE_BSD]: Likewise.
12479         * ctype/ctype.h [__USE_SVID]: Likewise.
12480         * dirent/dirent.h [__USE_BSD]: Likewise.
12481         * grp/grp.h [__USE_SVID]: Likewise.
12482         [__USE_BSD]: Likewise.
12483         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12484         * io/fcntl.h [__USE_BSD]: Likewise.
12485         * io/ftw.h [__USE_BSD]: Likewise.
12486         * io/sys/stat.h [__USE_BSD]: Likewise.
12487         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12488         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12489         * libio/stdio.h [__USE_SVID]: Likewise.
12490         [__USE_BSD]: Likewise.
12491         * math/math.h [__USE_SVID]: Likewise.
12492         [__USE_BSD]: Likewise.
12493         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12494         * misc/bits/syslog.h [__USE_BSD]: Likewise.
12495         * misc/search.h [__USE_SVID]: Likewise.
12496         * misc/sys/mman.h [__USE_BSD]: Likewise.
12497         * misc/sys/syslog.h [__USE_BSD]: Likewise.
12498         * misc/sys/uio.h [__USE_BSD]: Likewise.
12499         * posix/bits/unistd.h [__USE_BSD]: Likewise.
12500         * posix/glob.h [__USE_BSD]: Likewise.
12501         * posix/regex.h [__USE_BSD]: Likewise.
12502         * posix/sys/types.h [__USE_BSD]: Likewise.
12503         [__USE_SVID]: Likewise.
12504         * posix/sys/utsname.h [__USE_SVID]: Likewise.
12505         * posix/sys/wait.h [__USE_BSD]: Likewise.
12506         [__USE_SVID]: Likewise.
12507         * posix/unistd.h [__USE_BSD]: Likewise.
12508         [__USE_SVID]: Likewise.
12509         * pwd/pwd.h [__USE_SVID]: Likewise.
12510         * resolv/netdb.h [__USE_BSD]: Likewise.
12511         * setjmp/setjmp.h [__USE_BSD]: Likewise.
12512         * signal/signal.h [__USE_BSD]: Likewise.
12513         [__USE_SVID]: Likewise.
12514         * socket/sys/socket.h [__USE_BSD]: Likewise.
12515         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12516         * stdlib/stdlib.h [__USE_BSD]: Likewise.
12517         [__USE_SVID]: Likewise.
12518         * string/bits/string2.h [__USE_BSD]: Likewise.
12519         [__USE_SVID]: Likewise.
12520         * string/bits/string3.h [__USE_BSD]: Likewise.
12521         * string/endian.h [__USE_BSD]: Likewise.
12522         * string/string.h [__USE_SVID]: Likewise.
12523         [__USE_BSD]: Likewise.
12524         * string/strings.h [__USE_BSD]: Likewise.
12525         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12526         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12527         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12528         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12529         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12530         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12531         Likewise.
12532         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12533         Likewise.
12534         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12535         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12536         Likewise.
12537         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12538         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12539         Likewise.
12540         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12541         Likewise.
12542         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12543         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12544         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12545         Likewise.
12546         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12547         Likewise.
12548         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12549         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12550         * termios/termios.h [__USE_BSD]: Likewise.
12551         * time/sys/time.h [__USE_BSD]: Likewise.
12552         * time/time.h [__USE_BSD]: Likewise.
12553         [__USE_SVID]: Likewise.
12555         * Makefile (subdir_targets): Remove subdir_lint.out.
12557         * stdio-common/Makefile (do-tst-unbputc): Remove target.
12558         (do-tst-printf): Likewise.
12559         (tests): Depend directly on $(objpfx)tst-unbputc.out and
12560         $(objpfx)tst-printf.out.
12562         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12564         * Makerules (check-abi-%): Change target to
12565         $(objpfx)check-abi-%.out.
12566         (check-abi target): Update dependencies.
12567         (check-abi-pattern variable): Redirect output of diff to $@.
12568         (check-abi variable): Likewise.
12569         * elf/Makefile (check-abi): Update dependencies.
12571         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12572         unused.
12573         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12574         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12575         subnormal range.
12576         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12577         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12578         value has largest subnormal exponent.
12579         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12580         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12581         * sysdeps/aarch64/soft-fp/sfp-machine.h
12582         (_FP_TININESS_AFTER_ROUNDING): New macro.
12583         * sysdeps/alpha/soft-fp/sfp-machine.h
12584         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12585         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12586         Likewise.
12587         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12588         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12589         * sysdeps/mips/soft-fp/sfp-machine.h
12590         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12591         * sysdeps/powerpc/soft-fp/sfp-machine.h
12592         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12593         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12594         Likewise.
12595         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12596         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12597         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12598         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12599         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12600         Likewise.
12602 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
12604         [BZ #16545]
12605         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12606         model 1.
12608 2014-02-12  Richard Henderson  <rth@redhat.com>
12610         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12611         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12612         * sysdeps/unix/sysv/linux/alpha: Move directory from
12613         ports/sysdeps/unix/sysv/linux/alpha.
12614         * README: Update listing for alpha-*-linux-gnu.
12616 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
12618         * include/features.h: Update comment documenting feature test
12619         macros.
12620         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
12621         _DEFAULT_SOURCE.
12622         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12623         (_SVID_SOURCE): Likewise.
12624         (_DEFAULT_SOURCE): Update description of default features.
12625         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12626         with _GNU_SOURCE.
12627         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12628         (S_ISVTX): Likewise.
12629         * manual/math.texi (Mathematical Constants): Likewise.
12630         * manual/signal.texi (Interrupted Primitives): Likewise.
12631         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12632         * math/test-matherr.c (_SVID_SOURCE): Do not define.
12633         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12634         Don't refer to _SVID_SOURCE in warning text.
12636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12638         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12639         already defined.
12640         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12641         * sysdeps/mips/dl-lookup.c: Remove.
12642         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12644 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12646         [BZ #16447]
12647         * math/auto-libm-test-in: Add testcase for expl.
12648         * math/auto-libm-test-out: Regenerate.
12649         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12650         calculation of unsafe.
12651         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12653 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12655         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12656         * sysdeps/unix/sysv/linux/aarch64: Move directory from
12657         ports/sysdeps/unix/sysv/linux/aarch64.
12658         * README: Update listing for aarch64*-*-linux-gnu.
12660 2014-02-11  Will Newton  <will.newton@linaro.org>
12662         * manual/probes.texi (Mathematical Function Probes): Use
12663         "triggered" instead of "hit".
12665         * manual/probes.texi (Internal Probes): Add documentation
12666         of setjmp, longjmp and longjmp_target probes.
12668         * include/stap-probe.h: Add comment about probe argument
12669         format.
12671         * malloc/mtrace.c (attribute_hidden): Remove unused macro
12672         definition.  (tr_where, tr_freehook, tr_mallochook,
12673         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12675 2014-02-11  David S. Miller  <davem@davemloft.net>
12677         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12678         processing int_tests.
12680 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
12682         * sysdeps/mips: Move directory from ports/sysdeps/mips.
12683         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12684         * sysdeps/unix/sysv/linux/mips: Move directory from
12685         ports/sysdeps/unix/sysv/linux/mips.
12686         * README: Update listing for mips-*-linux-gnu and
12687         mips64-*-linux-gnu.
12689 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12691         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12692         * sysdeps/unix/sysv/linux/m68k: Move directory from
12693         ports/sysdeps/unix/sysv/linux/m68k.
12694         * README: Update listing for m68k-*-linux-gnu.
12696 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
12698         * sysdeps/tile: Move directory from ports/sysdeps/tile.
12699         * sysdeps/unix/sysv/linux/generic: Move directory from
12700         ports/sysdeps/unix/sysv/linux/generic.
12701         * sysdeps/unix/sysv/linux/tile: Move directory from
12702         ports/sysdeps/unix/sysv/linux/tile.
12703         * README: Update listing for tile*-*-linux-gnu.
12705 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
12707         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12708         __builtin_expect.
12709         * benchtests/bench-memmem.c (simple_memmem): Likewise.
12710         * catgets/open_catalog.c (__open_catalog): Likewise.
12711         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12712         * debug/confstr_chk.c: Likewise.
12713         * debug/fread_chk.c (__fread_chk): Likewise.
12714         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12715         * debug/getgroups_chk.c: Likewise.
12716         * debug/mbsnrtowcs_chk.c: Likewise.
12717         * debug/mbsrtowcs_chk.c: Likewise.
12718         * debug/mbstowcs_chk.c: Likewise.
12719         * debug/memcpy_chk.c: Likewise.
12720         * debug/memmove_chk.c: Likewise.
12721         * debug/mempcpy_chk.c: Likewise.
12722         * debug/memset_chk.c: Likewise.
12723         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12724         * debug/strcat_chk.c (__strcat_chk): Likewise.
12725         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12726         * debug/strncat_chk.c (__strncat_chk): Likewise.
12727         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12728         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12729         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12730         * debug/wcpncpy_chk.c: Likewise.
12731         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12732         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12733         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12734         * debug/wcsncpy_chk.c: Likewise.
12735         * debug/wcsnrtombs_chk.c: Likewise.
12736         * debug/wcsrtombs_chk.c: Likewise.
12737         * debug/wcstombs_chk.c: Likewise.
12738         * debug/wmemcpy_chk.c: Likewise.
12739         * debug/wmemmove_chk.c: Likewise.
12740         * debug/wmempcpy_chk.c: Likewise.
12741         * debug/wmemset_chk.c: Likewise.
12742         * dirent/scandirat.c (SCANDIRAT): Likewise.
12743         * dlfcn/dladdr1.c (dladdr1): Likewise.
12744         * dlfcn/dladdr.c (dladdr): Likewise.
12745         * dlfcn/dlclose.c (dlclose_doit): Likewise.
12746         * dlfcn/dlerror.c (__dlerror): Likewise.
12747         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12748         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12749         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12750         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12751         * dlfcn/dlsym.c (dlsym_doit): Likewise.
12752         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12753         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12754         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12755         Likewise.
12756         * elf/dl-conflict.c: Likewise.
12757         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12758         * elf/dl-dst.h: Likewise.
12759         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12760         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12761         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12762         * elf/dl-init.c (call_init, _dl_init): Likewise.
12763         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12764         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12765         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12766         Likewise.
12767         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12768         Likewise.
12769         * elf/dl-minimal.c (__libc_memalign): Likewise.
12770         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12771         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12772         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12773         * elf/dl-sym.c (do_sym): Likewise.
12774         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12775         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12776         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12777         * elf/dl-writev.h (_dl_writev): Likewise.
12778         * elf/ldconfig.c (search_dir): Likewise.
12779         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12780         (dl_main): Likewise.
12781         * elf/setup-vdso.h (setup_vdso): Likewise.
12782         * grp/compat-initgroups.c (compat_call): Likewise.
12783         * grp/fgetgrent.c (fgetgrent): Likewise.
12784         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12785         * grp/putgrent.c (putgrent): Likewise.
12786         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12787         Likewise.
12788         * hurd/hurdinit.c: Likewise.
12789         * iconvdata/8bit-gap.c (struct): Likewise.
12790         * iconvdata/ansi_x3.110.c : Likewise.
12791         * iconvdata/big5.c : Likewise.
12792         * iconvdata/big5hkscs.c : Likewise.
12793         * iconvdata/cp1255.c: Likewise.
12794         * iconvdata/cp1258.c : Likewise.
12795         * iconvdata/cp932.c : Likewise.
12796         * iconvdata/euc-cn.c: Likewise.
12797         * iconvdata/euc-jisx0213.c : Likewise.
12798         * iconvdata/euc-jp.c: Likewise.
12799         * iconvdata/euc-jp-ms.c : Likewise.
12800         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12801         * iconvdata/gb18030.c : Likewise.
12802         * iconvdata/gbbig5.c (const): Likewise.
12803         * iconvdata/gbgbk.c: Likewise.
12804         * iconvdata/gbk.c : Likewise.
12805         * iconvdata/ibm1364.c : Likewise.
12806         * iconvdata/ibm930.c : Likewise.
12807         * iconvdata/ibm932.c: Likewise.
12808         * iconvdata/ibm933.c : Likewise.
12809         * iconvdata/ibm935.c : Likewise.
12810         * iconvdata/ibm937.c : Likewise.
12811         * iconvdata/ibm939.c : Likewise.
12812         * iconvdata/ibm943.c: Likewise.
12813         * iconvdata/iso_11548-1.c: Likewise.
12814         * iconvdata/iso-2022-cn.c : Likewise.
12815         * iconvdata/iso-2022-cn-ext.c : Likewise.
12816         * iconvdata/iso-2022-jp-3.c: Likewise.
12817         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12818         * iconvdata/iso-2022-kr.c : Likewise.
12819         * iconvdata/iso646.c (gconv_end): Likewise.
12820         * iconvdata/iso_6937-2.c : Likewise.
12821         * iconvdata/iso_6937.c : Likewise.
12822         * iconvdata/iso8859-1.c: Likewise.
12823         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12824         * iconvdata/shift_jisx0213.c : Likewise.
12825         * iconvdata/sjis.c : Likewise.
12826         * iconvdata/t.61.c : Likewise.
12827         * iconvdata/tcvn5712-1.c : Likewise.
12828         * iconvdata/tscii.c: Likewise.
12829         * iconvdata/uhc.c : Likewise.
12830         * iconvdata/unicode.c (gconv_end): Likewise.
12831         * iconvdata/utf-16.c (gconv_end): Likewise.
12832         * iconvdata/utf-32.c (gconv_end): Likewise.
12833         * iconvdata/utf-7.c (base64): Likewise.
12834         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12835         * iconv/gconv_close.c (__gconv_close): Likewise.
12836         * iconv/gconv_open.c (__gconv_open): Likewise.
12837         * iconv/gconv_simple.c (internal_ucs4_loop_single)
12838         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12839         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12840         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12841         (ucs4le_internal_loop_single): Likewise.
12842         * iconv/iconv.c (iconv): Likewise.
12843         * iconv/iconv_close.c: Likewise.
12844         * iconv/loop.c (SINGLE): Likewise.
12845         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12846         * include/atomic.h: Likewise.
12847         * inet/inet6_option.c (option_alloc): Likewise.
12848         * intl/bindtextdom.c (set_binding_values): Likewise.
12849         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12850         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12851         * intl/localealias.c (read_alias_file): Likewise.
12852         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12853         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12854         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12855         * libio/fmemopen.c (fmemopen): Likewise.
12856         * libio/iofgets.c (_IO_fgets): Likewise.
12857         * libio/iofgets_u.c (fgets_unlocked): Likewise.
12858         * libio/iofgetws.c (fgetws): Likewise.
12859         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12860         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12861         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12862         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12863         * locale/findlocale.c (_nl_find_locale): Likewise.
12864         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12865         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12866         Likewise.
12867         * locale/setlocale.c (setlocale): Likewise.
12868         * login/programs/pt_chown.c (main): Likewise.
12869         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12870         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12871         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12872         (mmap, mmap64, mremap, munmap): Likewise.
12873         * math/e_exp2l.c: Likewise.
12874         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12875         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12876         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12877         * math/s_catan.c (__catan): Likewise.
12878         * math/s_catanf.c (__catanf): Likewise.
12879         * math/s_catanh.c (__catanh): Likewise.
12880         * math/s_catanhf.c (__catanhf): Likewise.
12881         * math/s_catanhl.c (__catanhl): Likewise.
12882         * math/s_catanl.c (__catanl): Likewise.
12883         * math/s_ccosh.c (__ccosh): Likewise.
12884         * math/s_ccoshf.c (__ccoshf): Likewise.
12885         * math/s_ccoshl.c (__ccoshl): Likewise.
12886         * math/s_cexp.c (__cexp): Likewise.
12887         * math/s_cexpf.c (__cexpf): Likewise.
12888         * math/s_cexpl.c (__cexpl): Likewise.
12889         * math/s_clog10.c (__clog10): Likewise.
12890         * math/s_clog10f.c (__clog10f): Likewise.
12891         * math/s_clog10l.c (__clog10l): Likewise.
12892         * math/s_clog.c (__clog): Likewise.
12893         * math/s_clogf.c (__clogf): Likewise.
12894         * math/s_clogl.c (__clogl): Likewise.
12895         * math/s_csin.c (__csin): Likewise.
12896         * math/s_csinf.c (__csinf): Likewise.
12897         * math/s_csinh.c (__csinh): Likewise.
12898         * math/s_csinhf.c (__csinhf): Likewise.
12899         * math/s_csinhl.c (__csinhl): Likewise.
12900         * math/s_csinl.c (__csinl): Likewise.
12901         * math/s_csqrt.c (__csqrt): Likewise.
12902         * math/s_csqrtf.c (__csqrtf): Likewise.
12903         * math/s_csqrtl.c (__csqrtl): Likewise.
12904         * math/s_ctan.c (__ctan): Likewise.
12905         * math/s_ctanf.c (__ctanf): Likewise.
12906         * math/s_ctanh.c (__ctanh): Likewise.
12907         * math/s_ctanhf.c (__ctanhf): Likewise.
12908         * math/s_ctanhl.c (__ctanhl): Likewise.
12909         * math/s_ctanl.c (__ctanl): Likewise.
12910         * math/w_pow.c: Likewise.
12911         * math/w_powf.c: Likewise.
12912         * math/w_powl.c: Likewise.
12913         * math/w_scalb.c (sysv_scalb): Likewise.
12914         * math/w_scalbf.c (sysv_scalbf): Likewise.
12915         * math/w_scalbl.c (sysv_scalbl): Likewise.
12916         * misc/error.c (error_tail): Likewise.
12917         * misc/pselect.c (__pselect): Likewise.
12918         * nis/nis_callback.c (__nis_create_callback): Likewise.
12919         * nis/nis_call.c (__nisfind_server): Likewise.
12920         * nis/nis_creategroup.c (nis_creategroup): Likewise.
12921         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12922         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12923         * nis/nis_getservlist.c (nis_getservlist): Likewise.
12924         * nis/nis_lookup.c (nis_lookup): Likewise.
12925         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12926         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12927         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12928         * nis/nis_xdr.c (xdr_endpoint): Likewise.
12929         * nis/nss_compat/compat-grp.c (getgrent_next_file)
12930         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12931         * nis/nss_compat/compat-initgroups.c (add_group)
12932         (internal_getgrent_r): Likewise.
12933         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12934         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12935         * nis/nss_compat/compat-spwd.c (getspent_next_file)
12936         (internal_getspnam_r): Likewise.
12937         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12938         (_nss_nis_getaliasbyname_r): Likewise.
12939         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12940         (_nss_nis_getntohost_r): Likewise.
12941         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12942         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12943         (_nss_nis_getgrgid_r): Likewise.
12944         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12945         (internal_nis_gethostent_r, internal_gethostbyname2_r)
12946         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12947         (_nss_nis_gethostbyname4_r): Likewise.
12948         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12949         (initgroups_netid): Likewise.
12950         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12951         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12952         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12953         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12954         (_nss_nis_getprotobynumber_r): Likewise.
12955         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12956         (_nss_nis_getsecretkey): Likewise.
12957         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12958         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12959         (_nss_nis_getpwuid_r): Likewise.
12960         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12961         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12962         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12963         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12964         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12965         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12966         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12967         Likewise.
12968         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12969         (_nss_nisplus_getntohost_r): Likewise.
12970         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12971         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12972         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12973         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12974         Likewise.
12975         * nis/nss_nisplus/nisplus-initgroups.c
12976         (_nss_nisplus_initgroups_dyn): Likewise.
12977         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12978         (_nss_nisplus_getnetbyaddr_r): Likewise.
12979         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12980         (_nss_nisplus_getprotobynumber_r): Likewise.
12981         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12982         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12983         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12984         Likewise.
12985         * nis/nss_nisplus/nisplus-service.c
12986         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12987         (_nss_nisplus_getservbyport_r): Likewise.
12988         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12989         (_nss_nisplus_getspnam_r): Likewise.
12990         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12991         Likewise.
12992         * nscd/aicache.c (addhstaiX): Likewise.
12993         * nscd/cache.c (cache_search, prune_cache): Likewise.
12994         * nscd/connections.c (register_traced_file, send_ro_fd)
12995         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12996         (main_loop_epoll): Likewise.
12997         * nscd/grpcache.c (addgrbyX): Likewise.
12998         * nscd/hstcache.c (addhstbyX): Likewise.
12999         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13000         * nscd/mem.c (gc, mempool_alloc): Likewise.
13001         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13002         (addinnetgrX): Likewise.
13003         * nscd/nscd-client.h (__nscd_acquire_maplock)
13004         (__nscd_drop_map_ref): Likewise.
13005         * nscd/nscd_getai.c (__nscd_getai): Likewise.
13006         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13007         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13008         Likewise.
13009         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13010         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13011         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13012         (__nscd_get_map_ref): Likewise.
13013         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13014         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13015         Likewise.
13016         * nscd/pwdcache.c (addpwbyX): Likewise.
13017         * nscd/selinux.c (preserve_capabilities): Likewise.
13018         * nscd/servicescache.c (addservbyX): Likewise.
13019         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13020         * posix/fnmatch.c (fnmatch): Likewise.
13021         * posix/getopt.c (_getopt_internal_r): Likewise.
13022         * posix/glob.c (glob, glob_in_dir): Likewise.
13023         * posix/wordexp.c (exec_comm_child): Likewise.
13024         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13025         (getanswer_r, gaih_getanswer_slice): Likewise.
13026         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13027         * resolv/res_init.c: Likewise.
13028         * resolv/res_mkquery.c (res_nmkquery): Likewise.
13029         * resolv/res_query.c (__libc_res_nquery): Likewise.
13030         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13031         Likewise.
13032         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13033         * stdio-common/perror.c (perror): Likewise.
13034         * stdio-common/printf_fp.c (___printf_fp): Likewise.
13035         * stdio-common/tmpnam.c (tmpnam): Likewise.
13036         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13037         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13038         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13039         Likewise.
13040         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13041         * stdlib/putenv.c (putenv): Likewise.
13042         * stdlib/setenv.c (__add_to_environ): Likewise.
13043         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13044         * stdlib/strtol_l.c (INTERNAL): Likewise.
13045         * string/memmem.c (memmem): Likewise.
13046         * string/strerror.c (strerror): Likewise.
13047         * string/strnlen.c (__strnlen): Likewise.
13048         * string/test-memmem.c (simple_memmem): Likewise.
13049         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13050         * sunrpc/pm_getport.c (__get_socket): Likewise.
13051         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13052         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13053         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13054         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13055         Likewise.
13056         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13057         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13058         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13059         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13060         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13061         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13062         Likewise.
13063         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13064         Likewise.
13065         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13066         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13067         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13068         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13069         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13071         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13072         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13073         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13074         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13075         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13076         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13077         Likewise.
13078         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13079         Likewise.
13080         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13081         Likewise.
13082         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13083         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13084         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13085         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13086         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13087         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13088         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13089         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13090         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13091         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13092         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13093         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13094         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13095         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13096         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13097         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13098         Likewise.
13099         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13100         Likewise.
13101         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13102         Likewise.
13103         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13104         Likewise.
13105         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13106         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13107         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13108         Likewise.
13109         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13110         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13111         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13112         * sysdeps/posix/sleep.c: Likewise.
13113         * sysdeps/posix/tempname.c: Likewise.
13114         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13115         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13116         Likewise.
13117         * sysdeps/powerpc/powerpc32/dl-machine.h
13118         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13119         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13120         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13121         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13122         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13123         Likewise.
13124         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13125         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13126         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13127         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13128         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13129         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13130         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13131         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13132         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13133         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13134         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13135         (elf_machine_lazy_rel): Likewise.
13136         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13137         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13138         (elf_machine_lazy_rel): Likewise.
13139         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13140         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13141         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13142         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13143         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13144         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13145         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13146         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13147         Likewise.
13148         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13149         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13150         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13151         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13152         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13153         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13154         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13155         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13156         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13157         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13158         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13159         Likewise.
13160         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13161         (__posix_fallocate64_l64): Likewise.
13162         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13163         (posix_fallocate): Likewise.
13164         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13165         Likewise.
13166         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13167         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13168         (getifaddrs_internal): Likewise.
13169         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13170         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13171         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13172         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13173         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13174         (__posix_fallocate64_l64): Likewise.
13175         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13176         Likewise.
13177         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13178         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13179         (__get_clockfreq): Likewise.
13180         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13181         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13182         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13184         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13185         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13186         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13187         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13188         Likewise.
13189         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13190         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13191         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13192         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13193         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13194         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13195         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13196         Likewise.
13197         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13198         (posix_fallocate): Likewise.
13199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13200         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13201         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13202         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13203         (elf_machine_rela, elf_machine_rela_relative)
13204         (elf_machine_lazy_rel): Likewise.
13205         * time/asctime.c (asctime_internal): Likewise.
13206         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13207         * time/tzset.c (__tzset_parse_tz): Likewise.
13208         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13209         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13210         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13211         * wcsmbs/wcsmbsload.h: Likewise.
13213         [BZ #15894]
13214         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13216         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13217         (arena_get2): Remove THREAD_STATS conditionals.
13218         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13219         (__malloc_stats, int): Likewise.
13221 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13223         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13224         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13226         * manual/setjmp.texi: Fix typos/grammar errors.
13228         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13229         Only return early when n is <= 0.  Delete unused return statement.
13231         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13232         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13233         * debug/tst-longjmp_chk3.c: New file.
13235         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13236         (test_main): Replace code with set_fortify_handler call.
13237         * debug/test-strcpy_chk.c: Likewise.
13238         * debug/tst-chk1.c: Likewise.
13239         * debug/tst-longjmp_chk.c: Likewise.
13240         * test-skeleton.c: Include fcntl.h & paths.h
13241         (set_fortify_handler): Define.
13243         * debug/tst-longjmp_chk.c: Add header comment and include
13244         ../test-skeleton.c.
13245         (do_test): Mark static.
13246         (TEST_FUNCTION): Define.
13248         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13249         (IP_PMTUDISC_INTERFACE): Likewise.
13250         (IP_MULTICAST_IF): Likewise.
13251         (IP_MULTICAST_TTL): Likewise.
13252         (IP_MULTICAST_LOOP): Likewise.
13253         (IP_ADD_MEMBERSHIP): Likewise.
13254         (IP_DROP_MEMBERSHIP): Likewise.
13255         (IP_UNBLOCK_SOURCE): Likewise.
13256         (IP_BLOCK_SOURCE): Likewise.
13257         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13258         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13259         (IP_MSFILTER): Likewise.
13260         (MCAST_JOIN_GROUP): Likewise.
13261         (MCAST_BLOCK_SOURCE): Likewise.
13262         (MCAST_UNBLOCK_SOURCE): Likewise.
13263         (MCAST_LEAVE_GROUP): Likewise.
13264         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13265         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13266         (MCAST_MSFILTER): Likewise.
13267         (IP_MULTICAST_ALL): Likewise.
13268         (IP_UNICAST_IF): Likewise.
13270         * timezone/Makefile: Delete $(have-ksh) check.
13271         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13272         * timezone/tzselect.ksh: Add +x mode bits.
13274         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13275         (ANON_INODE_FS_MAGIC): Likewise.
13276         (BDEVFS_MAGIC): Likewise.
13277         (BINFMTFS_MAGIC): Likewise.
13278         (BTRFS_TEST_MAGIC): Likewise.
13279         (CRAMFS_MAGIC_WEND): Likewise.
13280         (DEBUGFS_MAGIC): Likewise.
13281         (ECRYPTFS_SUPER_MAGIC): Likewise.
13282         (EXT3_SUPER_MAGIC): Likewise.
13283         (EXT4_SUPER_MAGIC): Likewise.
13284         (FUTEXFS_SUPER_MAGIC): Likewise.
13285         (HOSTFS_SUPER_MAGIC): Likewise.
13286         (HUGETLBFS_MAGIC): Likewise.
13287         (MINIX3_SUPER_MAGIC): Likewise.
13288         (MTD_INODE_FS_MAGIC): Likewise.
13289         (NILFS_SUPER_MAGIC): Likewise.
13290         (OPENPROM_SUPER_MAGIC): Likewise.
13291         (PIPEFS_MAGIC): Likewise.
13292         (PSTOREFS_MAGIC): Likewise.
13293         (QNX6_SUPER_MAGIC): Likewise.
13294         (RAMFS_MAGIC): Likewise.
13295         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13296         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13297         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13298         (SECURITYFS_MAGIC): Likewise.
13299         (SELINUX_MAGIC): Likewise.
13300         (SMACK_MAGIC): Likewise.
13301         (SOCKFS_MAGIC): Likewise.
13302         (SQUASHFS_MAGIC): Likewise.
13303         (STACK_END_MAGIC): Likewise.
13304         (TMPFS_MAGIC): Likewise.
13305         (USBDEVICE_SUPER_MAGIC): Likewise.
13306         (V9FS_MAGIC): Likewise.
13307         (XENFS_SUPER_MAGIC): Likewise.
13308         (CRAMFS_MAGIC): Fix typo in comment.
13309         (EXT2_SUPER_MAGIC): Update comment.
13310         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13312 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
13314         * sysdeps/arm: Move directory from ports/sysdeps/arm.
13315         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13316         * sysdeps/unix/sysv/linux/arm: Move directory from
13317         ports/sysdeps/unix/sysv/linux/arm.
13318         * README: Update listing for arm-*-linux-gnueabi.
13320         * README: Remove mention of am33.
13322 2014-02-07  Roland McGrath  <roland@hack.frob.com>
13324         * bits/sigset.h (__sigemptyset): Use a statement expression rather
13325         than the comma operator, to avoid "rhs of comma has no effect"
13326         compiler warnings.
13327         (__sigfillset, __sigandset, __sigorset): Likewise.
13328         * include/signal.h (__sigemptyset): Likewise.
13329         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13331 2014-02-07  Allan McRae  <allan@archlinux.org>
13333         * version.h (RELEASE): Set to "development".
13334         (VERSION): Set to "2.19.90"
13335         * NEWS: Add 2.20 section.
13337 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
13339         [BZ #16529]
13340         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13342 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13344         * manual/contrib.texi: Update entry for Carlos O'Donell,
13345         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13347 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
13349         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13351         * sysdeps/unix/sysv/linux/kernel-features.h
13352         [__LINUX_KERNEL_VERSION >= 0x020621]
13353         (__ASSUME_PROC_PID_TASK_COMM): Define.
13355 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13357         [BZ #16398]
13358         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13359         conversion when destination buffer does not have enough space.
13360         * libio/tst-ftell-partial-wide.c: New test case.
13361         * libio/Makefile (tests): Add tst-ftell-partial-wide.
13363         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13364         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13365         Leonard and Allan McRae.
13367 2014-02-04  David S. Miller  <davem@davemloft.net>
13369         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13370         32-bit.
13372 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13375         New file
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13377         New file
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13379         New file.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13381         New file.
13382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13383         New file.
13384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13385         New file.
13386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13387         New file.
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13389         New file.
13390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13391         New file.
13392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13393         New file.
13394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13395         New file.
13396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13397         New file.
13398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13399         New file.
13401 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13403         * nptl/shlib-versions: Change powerpc*le start to 2.17.
13404         * shlib-versions: Likewise.
13406 2014-02-04  Roland McGrath  <roland@hack.frob.com>
13407             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13409         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13410         (abilist-pattern): New variable, set to %-le.abilist.
13412         * Makerules (abilist-pattern): New variable.
13413         (vpath): Use $(abilist-pattern) in place of %.abilist.
13414         (check-abi-% pattern rule): Likewise.
13415         (check-abi, update-abi): Likewise.
13417 2014-02-04  Eric Wong  <normalperson@yhbt.net>
13419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13421 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
13423         * manual/startup.texi: Add next, previous, and top entries for
13424         the `Program Arguments' and `Environment Variables' nodes.
13426 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
13428         * manual/macros.texi: Add comments before MTASC-safety macros.
13430         * manual/users.texi: Document MTASC-safety properties.
13432         * manual/threads.texi (pthread_key_create, pthread_key_delete)
13433         (pthread_getspecific, pthread_setspecific): Format with
13434         @deftypefun, and add @safety note.
13435         * manual/signal.texi: Move comments that analyze the above
13436         functions to their home place.
13438 2014-02-03  Allan McRae  <allan@archlinux.org>
13440         * po/sl.po: Update Slovenian translation from translation project.
13442 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
13444         * manual/time.texi (timegm): Add missing blank after @c.
13445         Reported by Joseph Myers <joseph@codesourcery.com>.
13447 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
13449         * manual/check-safety.sh: New.
13450         * manual/Makefile ($(objpfx)stamp-summary): Run it.
13452         * manual/terminal.texi: Document MTASC-safety properties.
13454         * manual/filesys.texi: Document MTASC-safety properties.
13456         * manual/errno.texi: Document MTASC-safety properties.
13458         * manual/intro.texi: Document safety identifiers and
13459         conditionals.
13461         * manual/string.texi (wcstok): Fix prototype.
13462         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13464         * manual/time.texi: Document MTASC-safety properties.
13466         * manual/string.texi: Document MTASC-safety properties.
13468         * manual/threads.texi: Document MTASC-safety properties.
13470         * manual/stdio.texi: Document MTASC-safety properties.
13472         * manual/syslog.texi: Document MTASC-safety properties.
13474         * manual/sysinfo.texi: Document MTASC-safety properties.
13476         * manual/startup.texi: Document MTASC-safety properties.
13478         * manual/socket.texi: Document MTASC-safety properties.
13480         * manual/signal.texi: Document MTASC-safety properties.
13482 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
13484         * manual/setjmp.texi: Document MTASC-safety properties.
13486         * manual/search.texi: Document MTASC-safety properties.
13488         * manual/resource.texi: Document MTASC-safety properties.
13490         * manual/process.texi: Document MTASC-safety properties.
13492         * manual/platform.texi: Document MTASC-safety properties.
13494         * manual/pipe.texi: Document MTASC-safety properties.
13496         * manual/pattern.texi: Document MTASC-safety properties.
13498         * manual/message.texi: Document MTASC-safety properties.
13500         [BZ #12751]
13501         * manual/memory.texi: Document MTASC-safety properties.
13503         * manual/math.texi: Document MTASC-safety properties.
13505         * manual/locale.texi: Document MTASC-safety properties.
13507         * manual/llio.texi: Document MTASC-safety properties.
13509         * manual/libdl.texi: New.
13511         * manual/lang.texi: Document MTASC-safety properties.
13513         * manual/job.texi: Document MTASC-safety properties.
13515         * manual/getopt.texi: Document MTASC-safety properties.
13517         * manual/ctype.texi: Document MTASC-safety properties.
13519 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
13521         [BZ #16046]
13522         * csu/libc-tls.c (static_map): Remove variable.
13523         (__libc_setup_tls): Use main executable's link map for TLS data.
13524         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13525         casing for LM_ID_BASE and GL(dl_nns).
13526         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13527         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
13528         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13529         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13530         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13531         member.
13532         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13533         l_phnum members.
13535 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
13537         * manual/debug.texi: Document MTASC-safety properties.
13539 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
13541         [BZ #16510]
13542         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13543         of __x86_64__ when disabling x87 inline functions.
13545 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13547         * manual/charset.texi: Document MTASC-safety properties.
13549         * manual/crypt.texi: Document MTASC-safety properties.
13551         * manual/conf.texi: Document MTASC-safety properties.
13553         * manual/arith.texi: Document MTASC-safety properties.
13555         * manual/argp.texi: Document MTASC-safety properties.
13557         * manual/macros.texi: Introduce macros to document multi
13558         thread, asynchronous signal and asynchronous cancellation
13559         safety properties.
13560         * manual/intro.texi: Introduce the properties themselves.
13562 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13564         * sysdeps/sh/sh4/Makefile: New file.
13566 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
13568         * math/gen-libm-test.pl ($srcdir): New variable.
13569         ($auto_input): Use it.
13571 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13573         [BZ #16506]
13574         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13575         access beyond array bounds when parsing netgroups file.
13577         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13578         the old buffer before realloc.
13580 2014-01-27  Allan McRae  <allan@archlinux.org>
13582         * po/fr.po: Update French translation from translation project.
13584 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13586         * sysdeps/sh/libm-test-ulps: Regenerate.
13588 2014-01-24  David S. Miller  <davem@davemloft.net>
13590         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13592 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13594         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13595         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13597 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13599         [BZ #16474]
13600         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13601         string pointers after reallocation.
13603 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13605         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13606         __SH4A__ instead of __SH_FPU_ANY__.
13608 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13610         * sysdeps/sh/fpu_control.h: New file.
13611         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13612         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13613         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13614         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13615         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13616         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13617         * sysdeps/sh/sys/ucontext.h: Remove.
13618         * sysdeps/sh/sys: Remove directory.
13620 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13622         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13623         s390/sys/ucontext.h.
13624         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13625         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13627 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
13629         [BZ #15605]
13630         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13632 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13634         [BZ#16431]
13635         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13636         Adjust the vDSO correctly for internal calls.
13637         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13639 2014-01-20  Allan McRae  <allan@archlinux.org>
13641         * po/ca.po: Update Catalan translation from translation project.
13643 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
13645         * sysdeps/s390/sotruss-lib.c: New file.
13647 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13649         [BZ#16430]
13650         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13651         (__GI___gettimeofday): Alias for a different internal symbol to avoid
13652         local calls issues by not having a PLT stub required for IFUNC calls.
13653         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13655 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
13657         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13658         * math/test-fpucw-static.c: Likewise.
13660 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13662         [BZ #16453]
13663         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13665 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13667         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13668         implementation for powerpc.
13670 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
13672         [BZ #14782]
13673         * sysdeps/posix/system.c (__libc_system): Do not enable
13674         asynchronous cancellation.
13676 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13678         [BZ #16427]
13679         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13680         handling only for numbers special also in the IEEE case.
13682 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13684         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13686 2014-01-11  Allan McRae  <allan@archlinux.org>
13688         * po/bg.po: Update Bulgarian translation from translation project.
13690         * po/de.po: Update German translation from translation project.
13692 2014-01-10  Roland McGrath  <roland@hack.frob.com>
13694         * sysdeps/generic/gcc-compat.h: New file.
13696 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13698         * benchtests/asin-inputs: Correct slow inputs.
13699         * benchtests/acos-inputs: Likewise.
13701 2014-01-10  Allan McRae  <allan@archlinux.org>
13703         * po:sv.po: Update Swedish translation from translation project.
13705         * po/vi.po: Update Vietnamese translation from translation project.
13707         * po/eo.po: Update Esperanto translation from translation project.
13709         * po/cs.po: Update Czech translation from translation project.
13711         * po/nl.po: Update Dutch translation from translation project.
13713         * po/pl.po: Update Polish translation from translation project.
13715         * po/ru.po: Update Russian translation from translation project.
13717         * po/uk.po: Update Ukrainian translation from translation project.
13719 2014-01-08  Brooks Moses  <bmoses@google.com>
13721         * elf/dl-load.c: Fix comment typo.
13723 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
13725         * po/header.pot: Rename to...
13726         * po/pot.header: ... this.
13727         * po/Makefile: Use pot.header.
13729 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
13730             Maxim Kuvyrkov  <maxim@kugelworks.com>
13732         [BZ #16394]
13733         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13734         SRC and DEST against LEN.
13736 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13738         [BZ #16414]
13739         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13740         implementation.
13741         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13743 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13747 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
13749         [BZ #16408]
13750         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13751         for large positive arguments.
13753 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
13755         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13757         * math/auto-libm-test-in: Mark various tests with
13758         xfail-rounding:ldbl-128ibm.
13759         * math/auto-libm-test-out: Regenerated.
13761         [BZ #16407]
13762         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13763         Increase overflow threshold.
13765 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
13767         [BZ #14286]
13768         * stdio-common/vfprintf.c: Check for integer overflow.
13770 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13772         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13773         the first argument and return value of __tls_get_addr_internal.
13775 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13777         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13778         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13780 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13782         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13783         * sysdeps/s390/rtld-global-offsets.sym: New file.
13784         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13785         GLIBC_2.19 symbol.
13786         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13787         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13788         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13789         ... this.
13790         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13791         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13792         ... this.
13793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13794         Regenerate.
13795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13796         Regenerate.
13797         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13798         halfs of GPRs for high_gprs contexts.
13799         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13800         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
13801         field.
13802         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13803         uc_flags field.
13804         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13805         64 bit versions:
13806         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13807         for high GPRs (uc_high_gprs) and for future extensions
13808         (__reserved).
13809         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13810         for future extensions (__reserved).
13811         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13812         64 bit versions:
13813         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13814         SC_HIGHGPRS offset definition.
13815         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13816         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13818         * Versions.def: Add GLIBC_2.19 for libpthread.
13819         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13820         siglongjmp for libpthread with GLIBC_2.19 symver.
13821         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13822         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13823         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13824         * sysdeps/s390/__longjmp.c: New file.
13825         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13826         * sysdeps/s390/longjmp.c: New file.
13827         * sysdeps/s390/setjmp.S: New file.
13828         * sysdeps/s390/sigjmp.S: New file.
13829         * sysdeps/s390/v1-longjmp.c: New file.
13830         * sysdeps/s390/v1-setjmp.h: New file.
13831         * sysdeps/s390/v1-sigjmp.c: New file.
13832         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13833         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13834         GLIBC_2.19 version.
13835         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13836         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13837         versioned symbols for ____longjmp_chk.
13838         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13839         Likewise.
13840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13841         Regenerate.
13842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13843         Regenerate.
13844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13845         Regenerate.
13846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13847         Regenerate.
13848         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13849         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13850         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13851         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13852         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13853         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13854         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13855         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13856         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13857         * sysdeps/s390/rtld-__longjmp.c: New file.
13858         * sysdeps/s390/rtld-setjmp.S: New file.
13860 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
13862         [BZ #16400]
13863         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13864         Return -__logl (x) for small positive arguments without evaluating
13865         a polynomial.
13867 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
13869         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13870         Rename to ...
13871         (__ptrace_peeksiginfo_args): ... this.
13872         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13873         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13874         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13876 2014-01-06  Allan McRae  <allan@archlinux.org>
13878         * inet/netinet/in.h: Fix typo in comment.
13880 2014-01-05  Andreas Jaeger  <aj@suse.de>
13882         * sysdeps/i386/fpu/libm-test-ulps: Update.
13884 2014-01-05  Allan McRae  <allan@archlinux.org>
13886         * po/libc.pot: Regenerated.
13888         * malloc/memusagestat.c: Fix gettext call formatting.
13890 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
13892         * nscd/nscd.c: Improve usage() output.
13894 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
13896         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13897         * sysdeps/unix/sysv/linux/configure: Regenerated.
13898         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13899         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13901 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13903         [BZ #16390]
13904         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13905         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13907 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13909         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13910         extra tokens at end of #undef directive.
13911         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13912         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13913         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13915 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13917         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13919         * math/auto-libm-test-in: Mark various tests with
13920         xfail-rounding:ldbl-128ibm.
13921         * math/auto-libm-test-out: Regenerated.
13923 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
13925         [BZ #16386]
13926         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13927         numbers with subnormal high part when calculating exponent.
13929         [BZ #16385]
13930         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13931         fabs.
13933         [BZ #16384]
13934         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13935         M_LN2l.
13936         (__ieee754_acoshl): Use __log1pl not __log1p.
13938 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
13940         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13941         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13942         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13943         (grow_heap, heap_trim, _int_new_arena, get_free_list)
13944         (reused_arena, arena_get2): Convert to GNU style.
13945         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13946         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13947         (memalign_check, __malloc_set_state): Likewise.
13948         * malloc/mallocbug.c (main): Likewise.
13949         * malloc/malloc.c (__malloc_assert, malloc_init_state)
13950         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13951         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13952         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13953         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13954         (__posix_memalign, malloc_info): Likewise.
13955         * malloc/malloc.h: Likewise.
13956         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13957         (mallochook, memalignhook, reallochook, mabort): Likewise.
13958         * malloc/mcheck.h: Likewise.
13959         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13960         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13961         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13962         * malloc/morecore.c (__default_morecore): Likewise.
13963         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13964         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13965         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13966         (print_and_abort): Likewise.
13967         * malloc/obstack.h: Likewise.
13968         * malloc/set-freeres.c (__libc_freeres): Likewise.
13969         * malloc/tst-mallocstate.c (main): Likewise.
13970         * malloc/tst-mtrace.c (main): Likewise.
13971         * malloc/tst-realloc.c (do_test): Likewise.
13973 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13975         [BZ #16366]
13976         * nscd/netgroupcache.c (do_notfound): New function.
13977         (addgetnetgrentX): Use it.
13979         [BZ # 16365]
13980         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13981         NSS_STATUS_NOTFOUND.
13983 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
13985         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13988 2014-01-01  Allan McRae  <allan@archlinux.org>
13990         * scripts/update-copyrights: Update configure input file suffix.
13992         * NEWS: Update copyright year.
13993         * catgets/gencat.c: Likewise.
13994         * csu/version.c: Likewise.
13995         * debug/catchsegv.sh: Likewise.
13996         * debug/pcprofiledump.c: Likewise.
13997         * debug/xtrace.sh: Likewise.
13998         * elf/ldconfig.c: Likewise.
13999         * elf/ldd.bash.in: Likewise.
14000         * elf/pldd.c: Likewise.
14001         * elf/sotruss.ksh: Likewise.
14002         * elf/sprof.c: Likewise.
14003         * iconv/iconv_prog.c: Likewise.
14004         * iconv/iconvconfig.c: Likewise.
14005         * locale/programs/locale.c: Likewise.
14006         * locale/programs/localedef.c: Likewise.
14007         * login/programs/pt_chown.c: Likewise.
14008         * malloc/memusage.sh: Likewise.
14009         * malloc/memusagestat.c: Likewise.
14010         * malloc/mtrace.pl: Likewise.
14011         * manual/libc.texinfo: Likewise.
14012         * nscd/nscd.c: Likewise.
14013         * nss/getent.c: Likewise.
14014         * nss/makedb.c: Likewise.
14015         * posix/getconf.c: Likewise.
14016         * scripts/test-installation.pl: Likewise.
14018         * All files with FSF copyright notices: Update copyright dates
14019         using scripts/update-copyrights.
14020         * intl/plural.c: Regenerated.
14021         * locale/programs/charmap-kw.h: Likewise.
14022         * locale/programs/locfile-kw.h: Likewise.
14024 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
14026         * sysdeps/unix/sysv/linux/configure: Regenerated.
14027         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14028         the linux/fanotify.h header.
14029         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14030         HAVE_LINUX_FANOTIFY_H is defined.
14032 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14034         * benchtests/cos-inputs: New inputs.
14035         * benchtests/sin-inputs: Likewise.
14037         * benchtests/atan-inputs: New inputs. Fix name of multiple
14038         precision fallback inputs.
14040         * benchtests/atanh-inputs: New inputs.
14041         * benchtests/tanh-inputs: Likewise.
14043         * benchtests/acosh-inputs: New inputs.
14044         * benchtests/asinh-inputs: Likewise.
14046         * benchtests/cosh-inputs: New inputs.
14047         * benchtests/sinh-inputs: Likewise.
14049         * benchtests/acos-inputs: Add more inputs.
14050         * benchtests/asin-inputs: Likewise.
14052 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
14054         [BZ #16375]
14055         * manual/arith.texi: Fix spelling.
14056         * manual/charset.texi: Likewise.
14057         * manual/errno.texi: Likewise.
14058         * manual/filesys.texi: Likewise.
14059         * manual/lang.texi: Likewise.
14060         * manual/llio.texi: Likewise.
14061         * manual/locale.texi: Likewise.
14062         * manual/message.texi: Likewise.
14063         * manual/resource.texi: Likewise.
14064         * manual/search.texi: Likewise.
14065         * manual/setjmp.texi: Likewise.
14066         * manual/stdio.texi: Likewise.
14067         * manual/string.texi: Likewise.
14068         * manual/sysinfo.texi: Likewise.
14069         * manual/time.texi: Likewise.
14071 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
14073         * po/sl.po: New file.
14075 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
14077         * .gitignore: Add core/.gdbinit/.gdb_history.
14079 2013-12-27  Allan McRae  <allan@archlinux.org>
14081         [BZ #16369]
14082         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14083         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14085 2013-12-24  Brooks Moses  <bmoses@google.com>
14087         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14088         all compilers that claim C++98 compliance, not just GCC.
14089         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14090         Likewise.
14092 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14094         * NEWS: Restore accidentally deleted bug-fix entries.
14096 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14097             Ondřej Bílka  <neleai@seznam.cz>
14099         [BZ #15073]
14100         * malloc/malloc.c (_int_free): Perform sanity check only if we
14101         have_lock.
14103 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14105         [BZ #12986]
14106         * manual/stdio.texi (String Input Conversions): Clarify that character
14107         classes are not supported.
14109 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14113 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14115         [BZ #16337]
14116         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14117         Calculate results for small negative arguments directly rather
14118         than using reflection formula with special underflow handling.
14120         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14121         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14122         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14123         (fchflags): Likewise.
14124         (revoke): Likewise.
14125         (setlogin): Likewise.
14126         (sigaltstack): Likewise.
14127         (wait4): Likewise.
14128         (sigblock): Remove.
14129         (sigsetmask): Likewise.
14130         (wait3): Likewise.
14131         (waitpid): Likewise.
14132         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14133         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14134         file.
14135         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14136         * sysdeps/unix/bsd/Makefile: ... here.
14137         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14138         * sysdeps/unix/bsd/Versions: ... here.
14139         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14140         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14141         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14142         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14143         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14144         * sysdeps/unix/bsd/sigblock.c: ... here.
14145         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14146         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14147         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14148         * sysdeps/unix/bsd/sigvec.c: ... here.
14149         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14150         * sysdeps/unix/bsd/tcdrain.c: ... here.
14151         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14152         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14153         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14154         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14155         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14156         * sysdeps/unix/bsd/wait.c: ... here.
14157         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14158         * sysdeps/unix/bsd/wait3.c: ... here.
14159         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14160         * sysdeps/unix/bsd/waitpid.c: ... here.
14162 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14164         [BZ #16356]
14165         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14166         round-to-nearest for [!USE_AS_EXPM1L].
14167         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14168         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14169         more tests of exp and exp10.  Expect some exp10 tests to miss
14170         exceptions or fail in directed rounding modes.
14171         * math/auto-libm-test-out: Regenerated.
14172         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14173         (exp10_test_tonearest): New function.
14174         (exp10_towardzero_test_data): New array.
14175         (exp10_test_towardzero): New function.
14176         (exp10_downward_test_data): New array.
14177         (exp10_test_downward): New function.
14178         (exp10_upward_test_data): New array.
14179         (exp10_test_upward): New function.
14180         (main): Call the new functions.
14181         * sysdeps/i386/fpu/libm-test-ulps: Update.
14182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14184 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14186         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14187         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14188         * math/auto-libm-test-out: Regenerated.
14189         * math/libm-test.inc (acosh_test_data): Add more tests.
14190         (atanh_test_data): Likewise.
14191         (ceil_test_data): Likewise.
14192         (copysign_test_data): Likewise.
14193         * sysdeps/i386/fpu/libm-test-ulps: Update.
14194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14196         * timezone/checktab.awk: Update from tzcode 2013i.
14197         * timezone/private.h: Likewise.
14198         * timezone/scheck.c: Likewise.
14199         * timezone/tzfile.h: Likewise.
14200         * timezone/tzselect.ksh: Likewise.
14201         * timezone/zdump.c: Likewise.
14202         * timezone/zic.c: Likewise.
14204         * math/auto-libm-test-in: Add tests of cpow.
14205         * math/auto-libm-test-out: Regenerated.
14206         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14207         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14208         mpc_cc_c.
14209         (func_calc_desc): Add mpc_cc_c union field.
14210         (test_functions): Add cpow.
14211         (special_fill_2pi): New function.
14212         (special_real_inputs): Add 2pi.
14213         (calc_generic_results): Handle mpc_cc_c.
14214         * sysdeps/i386/fpu/libm-test-ulps: Update.
14215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14217         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14218         csqrt, ctan and ctanh.
14219         * math/auto-libm-test-out: Regenerated.
14220         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14221         (TEST_COND_x86): Likewise.
14222         (ccos_test_data): Use AUTO_TESTS_c_c.
14223         (ccosh_test_data): Likewise.
14224         (cexp_test_data): Likewise.
14225         (clog_test_data): Likewise.
14226         (csqrt_test_data): Likewise.
14227         (ctan_test_data): Likewise.
14228         (ctan_tonearest_test_data): Likewise.
14229         (ctan_towardzero_test_data): Likewise.
14230         (ctan_downward_test_data): Likewise.
14231         (ctan_upward_test_data): Likewise.
14232         (ctanh_test_data): Likewise.
14233         (ctanh_tonearest_test_data): Likewise.
14234         (ctanh_towardzero_test_data): Likewise.
14235         (ctanh_downward_test_data): Likewise.
14236         (ctanh_upward_test_data): Likewise.
14237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14238         mpc_c_c.
14239         (func_calc_desc): Add mpc_c_c union field.
14240         (FUNC_mpc_c_c): New macro.
14241         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14242         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14243         ctanh.
14244         (special_fill_min_subnorm_p120): New function.
14245         (special_real_inputs): Add min_subnorm_p120.
14246         (calc_generic_results): Handle mpc_c_c.
14247         * sysdeps/i386/fpu/libm-test-ulps: Update.
14248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14250 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14252         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14253         (do_sin_slow): New functions.
14254         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14255         (cslow2, csloww1, csloww2): Use the new functions.
14257         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14258         Use M to change sign of result instead of X.  Assume X is
14259         positive.
14260         (csloww1): Likewise.
14261         (__sin): Adjust.
14262         (__cos): Adjust.
14264         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14265         arguments A and DA.
14266         (__sin): Adjust.
14267         (__cos): Likewise.
14269         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14270         (__cos): Likewise.
14271         (sloww1): Don't adjust sign of DX.
14272         (csloww1): Likewise.
14273         (sloww2): Use X directly and don't adjust sign of DX.
14274         (csloww2): Likewise.
14276 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14278         * math/auto-libm-test-in: Add tests of cabs and carg.
14279         * math/auto-libm-test-out: Regenerated.
14280         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14281         (carg_test_data): Likewise.
14282         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14283         mpc_c_f.
14284         (func_calc_desc): Add mpc_c_f union field.
14285         (test_functions): Add cabs and carg.
14286         (calc_generic_results): Handle mpc_c_f.
14288         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14289         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14290         as a macro and a compat symbol.
14291         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14292         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14293         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14294         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14295         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14296         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14297         not use .hidden.
14298         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14299         Likewise.
14300         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14301         Likewise.
14302         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14303         Likewise.
14304         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14305         Likewise.
14306         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14307         Likewise.
14308         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14309         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14310         from GLIBC_2.3.2.
14312 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14316 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14318         * manual/texinfo.tex: Update to version 2013-11-26.10 with
14319         trailing whitespace removed.
14320         * scripts/config.guess: Update to version 2013-11-29.
14321         * scripts/config.sub: Update to version 2013-10-01.
14323         * math/auto-libm-test-in: Add tests of sincos.
14324         * math/auto-libm-test-out: Regenerated.
14325         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14326         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14327         mpfr_f_11.
14328         (func_calc_desc): Add mpfr_f_11 union field.
14329         (test_functions): Add sincos.
14330         (calc_generic_results): Handle mpfr_f_11.
14331         * sysdeps/i386/fpu/libm-test-ulps: Update.
14332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14334 2013-12-19  Andreas Schwab  <schwab@suse.de>
14336         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14337         CALL_MCOUNT.
14338         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14339         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14340         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14342 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14344         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14345         * sysdeps/i386/fpu/libm-test-ulps: Update.
14346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14348         [BZ #16293]
14349         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14350         round-to-nearest mode when using frndint.
14351         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14352         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14353         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14354         Likewise.
14355         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
14356         sinh test to fail.
14357         * math/auto-libm-test-out: Regenerated.
14358         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14359         (TEST_COND_x86): Likewise.
14360         (expm1_tonearest_test_data): New array.
14361         (expm1_test_tonearest): New function.
14362         (expm1_towardzero_test_data): New array.
14363         (expm1_test_towardzero): New function.
14364         (expm1_downward_test_data): New array.
14365         (expm1_test_downward): New function.
14366         (expm1_upward_test_data): New array.
14367         (expm1_test_upward): New function.
14368         (main): Run the new test functions.
14369         * sysdeps/i386/fpu/libm-test-ulps: Update.
14370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14372         * include/features.h: Update comment documenting feature test
14373         macros.  Mention _DEFAULT_SOURCE in comment.
14374         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14375         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14376         _BSD_SOURCE and _SVID_SOURCE.
14377         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14378         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14379         !_SVID_SOURCE]: Likewise.
14380         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14381         (__USE_POSIX_IMPLICITLY): Define.
14382         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14383         (_POSIX_SOURCE): Undefine and redefine.
14384         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14385         (_POSIX_C_SOURCE): Likewise.
14386         * manual/creature.texi (_DEFAULT_SOURCE): Document.
14387         (Feature Test Macros): Update documentation of default features.
14389 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14391         * benchtests/Makefile: Add bench-strtok.
14392         * benchtests/bench-strtok.c: New file: strtok benchtest.
14394 2013-12-19  Allan McRae  <allan@archlinux.org>
14396         * manual/install.texi: Suppress menu for plain text output.
14397         * INSTALL: Regenerated.
14399 2013-12-18  Brooks Moses  <bmoses@google.com>
14401         [BZ #15846]
14402         * misc/getauxval.c: Include errno.h.
14403         (__getauxval): Set errno to ENOENT if the requested type is not
14404         found.
14405         * misc/sys/auxv.h (getauxval): Document that it may set errno;
14406         don't declare with __attribute_const__.
14407         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14408         * manual/startup.texi: Document that getauxval sets errno.
14410 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14412         * math/auto-libm-test-in: Add tests of jn and yn.
14413         * math/auto-libm-test-out: Regenerated.
14414         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14415         (yn_test_data): Likewise.
14416         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14417         mpfr_if_f.
14418         (func_calc_desc): Add mpfr_if_f union field.
14419         (FUNC_mpfr_if_f): New macro.
14420         (test_functions): Add jn and yn.
14421         (calc_generic_results): Assert type of second input for
14422         mpfr_ff_f.  Handle mpfr_if_f.
14423         (output_for_one_input_case): Disable all checking for arguments
14424         fitting floating-point types in case of an integer argument.
14425         * sysdeps/i386/fpu/libm-test-ulps: Update.
14426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14429         Don't expect fegetround reference in libm.so.
14431 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14433         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14434         $(config-cflags-nofma).
14436 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14438         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14439         * math/auto-libm-test-out: Regenerated.
14441         [BZ #16338]
14442         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14443         to determine exponent and adjust argument to have exponent of -1.
14444         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14445         log2.
14446         * math/auto-libm-test-out: Regenerated.
14447         * sysdeps/i386/fpu/libm-test-ulps: Update.
14448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14450 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
14452         * manual/probes.texi: Remove cases when per-thread arenas are
14453         disabled.
14455 2013-12-18  Andreas Schwab  <schwab@suse.de>
14457         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14458         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14459         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14460         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14461         * sysdeps/i386/i686/multiarch/Makefile: Update.
14462         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14464 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14466         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14467         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14469 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
14471         [BZ #15968]
14472         Support TZ transition times < 00:00:00.
14473         This is needed for version-3 tz-format files; it supports time
14474         stamps past 2037 for America/Godthab (the only entry in the tz
14475         database for which this change is relevant).
14476         * manual/time.texi (TZ Variable): Document transition times
14477         from -167:59:59 through -00:00:01.
14478         * time/tzset.c (tz_rule): Time of day is now signed.
14479         (__tzset_parse_tz): Parse negative time of day.
14481         Document TZ transition times >= 25:00:00.
14482         * manual/time.texi (TZ Variable): Document transition times from
14483         25:00:00 through 167:59:59.  These are already supported, and this
14484         support will help with version-3 tz-format files.
14486         * manual/time.texi (TZ Variable): Modernize North America example
14487         to reflect current (i.e., 2007-and-later) daylight saving rules.
14489         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14491 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14493         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14494         * sysdeps/unix/bsd/bits/stat.h: Likewise.
14495         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14496         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14497         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14498         * sysdeps/unix/bsd/bsdstat.h: Likewise.
14499         * sysdeps/unix/bsd/clock.c: Likewise.
14500         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14501         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14502         * sysdeps/unix/bsd/init-posix.c: Likewise.
14503         * sysdeps/unix/bsd/poll.c: Likewise.
14504         * sysdeps/unix/bsd/ptsname.c: Likewise.
14505         * sysdeps/unix/bsd/seekdir.c: Likewise.
14506         * sysdeps/unix/bsd/setegid.c: Likewise.
14507         * sysdeps/unix/bsd/seteuid.c: Likewise.
14508         * sysdeps/unix/bsd/setgid.c: Likewise.
14509         * sysdeps/unix/bsd/setrgid.c: Likewise.
14510         * sysdeps/unix/bsd/setruid.c: Likewise.
14511         * sysdeps/unix/bsd/setsid.c: Likewise.
14512         * sysdeps/unix/bsd/setuid.c: Likewise.
14513         * sysdeps/unix/bsd/sigaction.c: Likewise.
14514         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14515         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14516         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14517         * sysdeps/unix/bsd/telldir.c: Likewise.
14518         * sysdeps/unix/bsd/times.c: Likewise.
14519         * sysdeps/unix/bsd/usleep.c: Likewise.
14521         * misc/Makefile (install-lib): Remove libbsd-compat.a.
14522         ($(objpfx)libbsd-compat.a): Remove rule.
14524         * include/features.h (__FAVOR_BSD): Do not define.
14525         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14526         features conflicting with POSIX.
14527         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14528         (_BSD_SOURCE): Remove description of not being a subset of other
14529         feature test macros.
14530         * manual/job.texi (getpgrp): Do not document BSD version.
14531         (getpgid): Do not document by reference to BSD getpgrp.
14532         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14533         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14534         * signal/signal.h [__FAVOR_BSD]: Likewise.
14535         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14536         instead of making contents conditional on [__FAVOR_BSD].
14537         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14539 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14543 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14545         [BZ #16314]
14546         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14547         values below 2**-450, not 2**-500.
14548         * math/auto-libm-test-in: Don't allow spurious underflow from
14549         hypot.
14550         * math/auto-libm-test-out: Regenerated.
14552         [BZ #16316]
14553         [BZ #16330]
14554         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14555         values of ha and hb and sort them after adjusting subnormal
14556         arguments.
14557         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14558         Likewise.
14559         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14560         values of ea and eb and sort them after adjusting subnormal
14561         arguments.
14562         * math/auto-libm-test-in: Do not expect some hypot tests of
14563         subnormals to fail.  Add more hypot tests.
14564         * math/auto-libm-test-out: Regenerated.
14566 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14568         [BZ #13304]
14569         * sysdeps/sh/s_fma.c: New file.
14570         * sysdeps/sh/s_fmaf.c: New file.
14571         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
14572         version.
14573         * sysdeps/sh/Implies: Add sh/soft-fp.
14575 2013-12-16  Roland McGrath  <roland@hack.frob.com>
14577         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
14578         level of indirection to members `objname', `errstring', `malloced'.
14579         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14580         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
14581         it as the __longjmp argument (just pass 1 instead).
14582         (_dl_catch_error): Initialize C with argument pointers and address of
14583         volatile local ERRCODE rather than copying values out of C at return.
14585 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
14587         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14588         * math/auto-libm-test-out: Regenerated.
14589         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14590         (hypot_test_data): Likewise.
14591         (pow_test_data): Likewise.
14592         (pow_tonearest_test_data): Likewise.
14593         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14594         mpfr_ff_f.
14595         (func_calc_desc): Add mpfr_ff_f union field.
14596         (FUNC_mpfr_ff_f): New macro.
14597         (test_functions): Add atan2, hypot and pow.
14598         (special_fill_min): New function.
14599         (special_fill_minus_min): Likewise.
14600         (special_fill_min_subnorm): Likewise.
14601         (special_fill_minus_min_subnorm): Likewise.
14602         (special_real_inputs): Add min, -min, min_subnorm and
14603         -min_subnorm.
14604         (calc_generic_results): Handle mpfr_ff_f.
14605         * sysdeps/i386/fpu/libm-test-ulps: Update.
14606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14608 2013-12-16  Will Newton  <will.newton@linaro.org>
14610         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14611         (Aligned Memory Blocks): Add documentation for aligned_alloc
14612         and suggest it as an alternative to posix_memalign.
14613         (Hooks for Malloc): Document __memalign_hook is also called
14614         for aligned_alloc.  (Summary of Malloc): Add summary for
14615         aligned alloc.  Document __memalign_hook is also called
14616         for aligned_alloc.
14618 2013-12-16  Will Newton  <will.newton@linaro.org>
14620         * manual/memory.texi (Malloc Examples): Clarify default
14621         alignment documentation.  Suggest posix_memalign rather
14622         than memalign or valloc.
14623         (Aligned Memory Blocks): Remove suggestion to use memalign
14624         or valloc.  Remove obsolete comment about BSD.
14625         Document memalign errno values and mark the function obsolete.
14626         Document posix_memalign returned error codes.  Mark valloc
14627         as obsolete.  (Hooks for Malloc): __memalign_hook is also
14628         called for posix_memalign and valloc.
14629         (Summary of Malloc): Add posix_memalign to function summary.
14630         __memalign_hook is also called for posix_memalign and valloc.
14632 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14634         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14635         TAYLOR_SIN.
14636         (__sin): Adjust.
14637         (__cos): Likewise.
14638         (sloww): Use mynumber union.  Expand ternary operator into
14639         if-else statements.
14640         (cslow): use mynumber union.
14642 2013-12-16  Allan McRae  <allan@archlinux.org>
14644         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14645         * configure: Regenerated.
14647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14649         [BZ #14120]
14650         * configure.ac: Added --enable-maintainer-mode. Check for
14651         autoconf when enabled.
14652         * configure: Regenerated.
14654         * nscd/nscd.service: New file.
14655         * nscd/nscd.tmpfiles: New file.
14657 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
14659         [BZ #12100]
14660         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14661         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14662         * sysdeps/x86_64/multiarch/strstr.c: ... here.
14663         (strstr): Add __strstr_sse2_unaligned ifunc.
14664         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14665         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14666         (strcasestr): Remove __strcasestr_sse42 ifunc.
14667         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14671 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14673         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14674         * sysdeps/sh/bits/fenv.h: ... here.
14675         * sysdeps/sh/sh4/fpu/bits: Remove directory.
14677 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14679         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14682         hypotf multiarch implementations.
14683         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14684         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14685         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14686         multiarch hypot for PPC64.
14687         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14688         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14689         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14690         multiarch hypotf for PPC64.
14692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14693         modff multiarch implementations.
14694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14697         multiarch modf for PPC64.
14698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14701         multiarch modff for PPC64.
14703         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14704         and logl multiarch implementations.
14705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14708         multiarch logb for PPC64.
14709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14712         multiarch logb for PPC64.
14713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14716         multiarch logb for PPC64.
14718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14719         isinff multiarch implementation.
14720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14721         file.
14722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14724         multiarch isinf for PPC64.
14725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14726         file.
14727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14728         multiarch isinff for PPC64.
14730         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14731         finitef multiarch implementation.
14732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14733         file.
14734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14736         multiarch finite for PPC64.
14737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14738         file.
14739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14740         multiarch finitef for PPC64.
14742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14743         lrint multiarch implementation.
14744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14745         file.
14746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14748         multiarch llrint for PPC64.
14749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14750         multiarch lrint for PPC64.
14752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14753         copysignf multiarch implementation.
14754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14755         file.
14756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14757         file.
14758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14759         multiarch copysign for PPC64.
14760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14761         multiarch copysignf for PPC64.
14763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14764         multiarch implementation.
14765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14766         file.
14767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14768         file.
14769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14770         file.
14771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14772         file.
14773         multiarch llround for PPC64.
14774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14775         multiarch trunc for PPC64.
14776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14777         multiarch truncf for PPC64.
14779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14780         multiarch implementation.
14781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14782         file.
14783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14784         file.
14785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14786         file.
14787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14788         file.
14789         multiarch llround for PPC64.
14790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14791         multiarch round for PPC64.
14792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14793         multiarch roundf for PPC64.
14795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14796         multiarch implementation.
14797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14798         file.
14799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14800         file.
14801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14802         file.
14803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14804         file.
14805         multiarch llround for PPC64.
14806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14807         multiarch floor for PPC64.
14808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14809         multiarch floorf for PPC64.
14811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14812         multiarch implementation.
14813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14814         file.
14815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14816         file.
14817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14818         file.
14819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14820         file.
14821         multiarch llround for PPC64.
14822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14823         multiarch ceil for PPC64.
14824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14825         multiarch ceilf for PPC64.
14827         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14828         multiarch implementation.
14829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14830         file.
14831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14832         file.
14833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14834         file.
14835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14836         multiarch llround for PPC64.
14837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14838         multiarch lround for PPC64.
14840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14841         multiarch implementation.
14842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14845         file.
14846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14849         multiarch isnan for PPC64.
14850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14851         multiarch isnanf for PPC64.
14853         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14854         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14855         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14856         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14857         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14860         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14861         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14862         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14863         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14866         multiarch implementations.
14867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14868         (__libc_ifunc_impl_list): Likewise.
14869         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14870         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14871         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14872         multiarch stpcpy for PPC64.
14874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14875         multiarch implementations.
14876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14877         (__libc_ifunc_impl_list): Likewise.
14878         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14879         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14880         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14881         multiarch strcpy for PPC64.
14883         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14884         redefine function name.
14885         (_wordcopy_fwd_dest_aligned): Likewise.
14886         (_wordcopy_bwd_aligned): Likewise.
14887         (_wordcopy_bwd_dest_aligned): Likewise.
14888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14889         multiarch implementations.
14890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14891         (__libc_ifunc_impl_list): Likewise.
14892         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14893         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14894         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14895         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14896         multiarch wcscpy for PPC64.
14898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14899         multiarch implementations.
14900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14901         (__libc_ifunc_impl_list): Likewise.
14902         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14903         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14904         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14905         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14906         multiarch wcscpy for PPC64.
14908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14909         multiarch implementations.
14910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14911         (__libc_ifunc_impl_list): Likewise.
14912         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14913         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14914         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14915         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14916         multiarch wcsrchr for PPC64.
14918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14919         multiarch implementations.
14920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14921         (__libc_ifunc_impl_list): Likewise.
14922         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14923         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14924         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14925         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14926         multiarch wcschr for PPC64.
14928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14929         multiarch implementations.
14930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14931         (__libc_ifunc_impl_list): Likewise.
14932         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14933         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14934         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14935         multiarch strchrnul for PPC64.
14937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14938         implementations.
14939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14940         (__libc_ifunc_impl_list): Likewise.
14941         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14942         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14943         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14944         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14945         strchr for PPC64.
14947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14948         implementations.
14949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14950         (__libc_ifunc_impl_list): Likewise.
14951         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14952         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14953         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14954         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14955         strncmp for PPC64.
14957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14958         multiarch implementations.
14959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14960         (__libc_ifunc_impl_list): Likewise.
14961         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14962         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14963         strncasecmp for PPC64.
14964         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14965         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14966         multiarch strncasecmp_l for PPC64.
14968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14969         multiarch implementations.
14970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14971         (__libc_ifunc_impl_list): Likewise.
14972         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14973         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14974         multiarch strcasecmp for PPC64.
14975         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14976         file.
14977         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14978         multiarch strcasecmp_l for PPC64.
14980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14981         implementations.
14982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14983         (__libc_ifunc_impl_list): Likewise.
14984         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14985         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14986         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14987         strnlen for PPC64.
14989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14990         implementations.
14991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14992         (__libc_ifunc_impl_list): Likewise.
14993         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14994         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14995         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14996         strlen for PPC64.
14998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14999         implementations.
15000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15001         (__libc_ifunc_impl_list): Likewise.
15002         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15003         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15004         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15005         rawmemrchr for PPC64.
15007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15008         implementation.
15009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15010         (__libc_ifunc_impl_list): Likewise.
15011         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15012         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15013         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15014         memrchr for PPC64.
15016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15017         implementation.
15018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15019         (__libc_ifunc_impl_list): Likewise.
15020         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15021         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15022         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15023         memchr for PPC64.
15025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15026         implementation.
15027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15028         (__libc_ifunc_impl_list): Likewise.
15029         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15030         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15031         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15032         mempcpy for PPC64.
15034         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15035         avoid cretion of __bzero symbol.
15036         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15037         Likewise.
15038         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15039         Likewise.
15040         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15041         Likewise.
15042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15043         multiarch implementations.
15044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15045         (__libc_ifunc_impl_list): Likewise.
15046         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15047         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15048         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15049         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15050         bzero for PPC32.
15051         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15052         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15053         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15054         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15055         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15056         memset for PPC64.
15057         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15059         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15061         implementations.
15062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15063         (__libc_ifunc_impl_list): Likewise.
15064         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15065         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15066         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15067         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15068         memcmp for PPC64.
15070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15071         multiarch for POWER/PPC64.
15072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15073         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15074         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15075         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15076         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15077         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15078         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15079         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15080         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15081         memcpy for PPC64.
15083         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15084         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15085         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15086         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15087         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15088         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15089         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15090         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15091         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15092         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15093         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15094         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15095         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15096         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15097         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15106 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15108         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15110 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15112         * benchtests/Makefile (bench): Add exp2 and log2.
15113         (LDLIBS-bench-exp2): Add -lm.
15114         (LDLIBS-bench-log2): Likewise.
15115         * benchtests/exp2-inputs: New inputs file.
15116         * benchtests/log2-inputs: New inputs file.
15117         * benchtests/log-inputs: Add new inputs.
15118         * benchtests/tan-inputs: Likewise.
15120 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15122         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15123         definition...
15124         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15125         (csloww2): ... from here.
15127         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15128         instead of structures.
15129         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15130         (POLYNOMIAL): Likewise.
15131         (TAYLOR_SLOW): Likewise.
15132         (__sin): Likewise.
15133         (__cos): Likewise.
15134         (slow1): Likewise.
15135         (slow2): Likewise.
15136         (sloww): Likewise.
15137         (sloww1); Likewise.
15138         (sloww2): Likewise.
15139         (bsloww1): Likewise.
15140         (bsloww2): Likewise.
15141         (cslow2): Likewise.
15142         (csloww): Likewise.
15143         (csloww1): Likewise.
15144         (csloww2): Likewise.
15146 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15148         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15149         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15150         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15151         * malloc/hooks.c (realloc_check): Likewise.
15153         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15154         * malloc/arena.c: Remove PER_THREAD conditional.
15155         [!PER_THREAD]: Remove code.
15156         (ptmalloc_unlock_all2): Likewise.
15157         (ptmalloc_init): Likewise.
15158         (_int_new_arena): Likewise.
15159         (arena_get2): Likewise.
15160         * malloc/hooks.c (__malloc_get_state): Likewise.
15161         (__malloc_set_state): Likewise.
15162         * malloc/malloc.c: Likewise.
15163         (struct malloc_state): Likewise.
15164         (struct malloc_par): Likewise.
15165         (__libc_realloc): Likewise.
15166         (__libc_mallopt): Likewise.
15168 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15170         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15172 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15174         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15175         macro to a function.  Check for zero perturb_byte.
15176         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15178         * malloc/malloc.c: (force_reg): Remove.
15179         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15180         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15181         force_reg by atomic_forced_read.
15182         * malloc/arena.c (ptmalloc_init): Likewise.
15183         * malloc/hooks.c (top_check): Likewise.
15185 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15189 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15193 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15195         * math/auto-libm-test-in: Add tests of lgamma.
15196         * math/auto-libm-test-out: Regenerated.
15197         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15198         (M_LOG_2_SQRT_PIl): Likewise.
15199         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15200         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15201         mpfr_f_f1.
15202         (func_calc_desc): Add mpfr_f_f1 union field.
15203         (ARGS1): New macro.
15204         (ARGS2): Likewise.
15205         (ARGS3): Likewise.
15206         (ARGS4): Likewise.
15207         (RET1): Likewise.
15208         (RET2): Likewise.
15209         (CALC): Likewise.
15210         (FUNC): Likewise.
15211         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15212         (test_functions): Add lgamma.
15213         (calc_generic_results): Handle mpfr_f_f1.
15214         * sysdeps/i386/fpu/libm-test-ulps: Update.
15215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15217 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15219         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15220         __mpn_add_n for PowerPC64/POWER7.
15221         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15222         __mpn_sub_n for PowerPC64/POWER7.
15224         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15225         __mpn_addmul_1 for PowerPC64.
15226         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15227         __mpn_submul_1 for PowerPC64.
15228         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15229         for PowerPC64.
15230         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15231         for PowerPC64.
15233 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15235         [BZ #15089]
15236         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15238 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15240         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15242         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15243         add multiarch folders.
15244         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15245         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15246         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15247         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15248         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15249         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15250         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15251         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15252         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15253         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15254         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15263         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15265         New file.
15266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15267         New file.
15268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15269         multiarch __ieee754_hypot for PowerPC32.
15270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15271         New file.
15272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15273         New file.
15274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15275         multiarch __ieee754_hypotf for PowerPC32.
15277         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15278         long_double_symbol only if __logbl is defined.
15279         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15280         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15281         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15282         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15283         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15284         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15285         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15286         path for implementation.
15287         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15288         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15290         logb, and logbl multiarch implementations for PowerPC32.
15291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15292         file.
15293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15294         file.
15295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15296         multiarch logb for PowerPC32.
15297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15298         file.
15299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15300         file.
15301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15302         multiarch logbf for PowerPC32.
15303         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15305         file.
15306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15307         multiarch logbl implementation for PowerPC32.
15309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15310         and modff multiarch implementations.
15311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15312         New file.
15313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15314         New file.
15315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15316         multiarch modf for PowerPC32.
15317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15318         New file.
15319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15320         New file.
15321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15322         multiarch modff for PowerPC32.
15324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15325         and lrintf multiarch implementations.
15326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15327         New file.
15328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15329         New file.
15330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15331         multiarch lrint for PowerPC32.
15332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15333         file: multiarch lrintf for PowerPC32.
15335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15336         and lroundf multiarch implementations.
15337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15338         New file.
15339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15340         New file.
15341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15342         New file.
15343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15344         multiarch lround for PowerPC32.
15345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15346         file: multiarch lroundf for PowerPC32.
15348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15349         copysign and copysignf multiarch implementations.
15350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15351         New file.
15352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15353         New file.
15354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15355         file: multiarch copysign for PowerPC32.
15356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15357         file: multiarch copysignf for PowerPC32.
15359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15360         and truncf multiarch implementations.
15361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15362         New file.
15363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15364         file.
15365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15366         multiarch trunc for PowerPC32.
15367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15368         New file.
15369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15370         New file.
15371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15372         multiarch truncf for PowerPC32.
15374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15375         and roundf multiarch implementations.
15376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15377         New file.
15378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15379         file.
15380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15381         multiarch round for PowerPC32.
15382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15383         New file.
15384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15385         New file.
15386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15387         multiarch roundf for PowerPC32.
15389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15390         and floorf multiarch implementations.
15391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15392         New file.
15393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15394         file.
15395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15396         multiarch floor for PowerPC32.
15397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15398         New file.
15399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15400         New file.
15401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15402         multiarch floorf for PowerPC32.
15404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15405         and ceilf multiarch implementations.
15406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15407         New file.
15408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15409         file.
15410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15411         multiarch ceil for PowerPC32.
15412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15413         New file.
15414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15415         file.
15416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15417         multiarch ceilf for PowerPC32.
15419         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15420         is defined.
15421         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15422         FINITEF is defined.
15423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15424         and finitef multiarch implementations.
15425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15426         New file.
15427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15428         file.
15429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15430         multiarch finite for PowerPC32.
15431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15432         New file.
15433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15434         file: multiarch finitef for PowerPC32.
15436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15437         and isinff multiarch implementations.
15438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15439         file.
15440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15441         file.
15442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15443         multiarch isinf for PowerPC32.
15444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15445         New file.
15446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15447         multiarch isinff for PowerPC32.
15449         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15450         alias when __isnan is defined.
15451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15452         and isnanf multiarch implementations.
15453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15454         file.
15455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15456         file.
15457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15458         file.
15459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15460         file.
15461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15462         multiarch isnan for PowerPC32.
15463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15464         New file.
15465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15466         New file.
15467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15468         multiarch isnanf for PowerPC32.
15470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15471         and sqrtf multiarch implementations.
15472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15473         file.
15474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15475         file.
15476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15477         multiarch sqrt for PowerPC32.
15478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15479         file.
15480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15481         file.
15482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15483         multiarch sqrtf for PowerPC32.
15485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15486         and llroundf multiarch implementations.
15487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15488         New file.
15489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15490         New file.
15491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15492         New file.
15493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15494         file: multiarch llround for PowerPC32.
15495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15496         file: multiarch llroundf for PowerPC32.
15498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15499         multiarch PowerPC32 fpu implementations.
15500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15501         New file.
15502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15503         New file.
15504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15505         multiarch llrint for PowerPC32.
15506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15507         New file.
15508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15509         New file.
15510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15511         file.
15513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15515         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15516         file.
15517         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15518         file.
15519         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15520         file.
15521         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15522         multiarch wordcopy for PPC32.
15523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15524         wordcopy objects.
15525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15526         (__libc_ifunc_impl_list): Likewise.
15527         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15528         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15529         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15530         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15531         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15532         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15534         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15536         file.
15537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15538         file.
15539         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15540         file.
15541         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15542         multiarch wcscpy for PPC32.
15543         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15544         multiarch objects.
15545         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15546         (__libc_ifunc_impl_list): Likewise.
15547         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15548         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15549         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15550         sysdeps/powerpc/power6/wcscpy.c.
15552         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15553         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15554         file.
15555         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15556         file.
15557         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15558         file.
15559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15560         multiarch wcsrchr for PPC32.
15561         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15562         multiarch objects.
15563         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15564         (__libc_ifunc_impl_list): Likewise.
15565         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15566         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15567         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15568         sysdeps/powerpc/power6/wcsrchr.c.
15570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15571         file.
15572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15573         file.
15574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15576         multiarch wcschr for PPc32.
15577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15578         multiarch objects.
15579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15580         (__libc_ifunc_impl_list): Likewise.
15581         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15582         * sysdeps/powerpc/power6/wcschr.c: ... to here.
15583         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15584         sysdeps/powerpc/power6/wcschr.c.
15586         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15587         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15588         file.
15589         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15590         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15591         file: multiarch strchr for PPC32.
15592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15593         multiarch objects.
15594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15595         (__libc_ifunc_impl_list): Likewise.
15597         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15598         name.
15599         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15600         file.
15601         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15602         file.
15603         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15604         multiarch strchrnul for PPC32.
15605         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15606         multiarch objects.
15607         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15608         (__libc_ifunc_impl_list): Likewise.
15610         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15611         file.
15612         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15613         multiarch strncasecmp for PPC32.
15614         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15615         file.
15616         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15617         multiarch strncasecmp_l for PPC32.
15618         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15619         strncasecmp multiarch objects.
15620         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15621         (__libc_ifunc_impl_list): Likewise.
15623         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15624         file.
15625         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15626         multiarch strncasecmp for PPC32.
15627         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15628         New file.
15629         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15630         multiarch strcasecmp_l for PPC32.
15631         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15632         multiarch objects.
15633         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15634         (__libc_ifunc_impl_list): Likewise.
15636         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15637         file.
15638         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15639         file.
15640         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15641         multiarch strncmp for PPC32.
15642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15643         multiarch objects.
15644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15645         (__libc_ifunc_impl_list): Likewise.
15647         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15648         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15649         file.
15650         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15651         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15653         multiarch objects.
15654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15655         (__libc_ifunc_impl_list): Likewise.
15657         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15658         file.
15659         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15660         file.
15661         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15663         multiarch objects.
15664         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15665         (__libc_ifunc_impl_list): Likewise.
15667         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15668         file.
15669         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15670         file.
15671         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15672         multiarch rawmemchr for PPC32.
15673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15674         multiarch objects.
15675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15676         (__libc_ifunc_impl_list): Likewise.
15678         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15679         file.
15680         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15681         file.
15682         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15683         file: memrchr multiarch for PPC32.
15684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15685         multiarch objects.
15686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15687         (__libc_ifunc_impl_list): Likewise.
15689         * string/memchr.c (__memchr): Using macro to redefine symbol name.
15690         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15691         file.
15692         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15693         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15694         multiarch memchr for PPC32.
15695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15696         multiarch objects.
15697         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15698         (__libc_ifunc_impl_list): Likewise.
15700         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15701         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15702         file.
15703         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15704         file.
15705         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15706         file: multiarch mempcpy for PPC32.
15707         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15708         multiarch objects.
15709         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15710         (__libc_ifunc_impl_list): Likewise.
15712         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15713         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15714         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15715         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15716         multiarch bzero for PPC32.
15717         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15718         file.
15719         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15720         file.
15721         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15722         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15723         file: multiarch memset for PPC32.
15724         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15726         memset multiarch objects.
15727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15728         (__libc_ifunc_impl_list): Likewise.
15730         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15731         file.
15732         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15733         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15734         memcmp for PPC32.
15735         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15737         multiarch objects.
15738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15739         (__libc_ifunc_impl_list): Likewise.
15741         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15742         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15743         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15744         file.
15745         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15746         file.
15747         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15748         file.
15749         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15750         multiarch memcpy for PPC32.
15751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15752         multiarch objects.
15753         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15754         (__libc_ifunc_impl_list): Likewise.
15756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15757         support multiarch for POWER/PPC32.
15758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15759         Likewise.
15760         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15762         Implies file to make multiarch folder appers before the fpu and
15763         default folder for power4 configuration.
15765 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15767         * scripts/bench.pl: Append volatile keyword to type.
15769 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15771         * sysdeps/sh/sotruss-lib.c: New file.
15772         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15774 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15778 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
15780         [BZ #6810]
15781         * math/w_tgamma.c: Include <errno.h>.
15782         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
15783         * math/w_tgammaf.c: Include <errno.h>.
15784         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
15785         * math/w_tgammal.c: Include <errno.h>.
15786         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
15787         * math/auto-libm-test-in: Do not allow missing errno on tgamma
15788         underflow.  Add more tgamma tests.
15789         * math/auto-libm-test-out: Regenerated.
15790         * sysdeps/i386/fpu/libm-test-ulps: Update.
15791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15793         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15794         sin, sinh, tan, tanh, tgamma, y0 and y1.
15795         * math/auto-libm-test-out: Regenerated.
15796         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15797         (TEST_COND_x86): Likewise.
15798         (M_E2l): Remove macro.
15799         (M_E3l): Likewise.
15800         (M_2_SQRT_PIl): Likewise.
15801         (M_SQRT_PIl): Likewise.
15802         (M_1_DIV_El): Likewise.
15803         (log_test_data): Use AUTO_TESTS_f_f.
15804         (log10_test_data): Likewise.
15805         (log1p_test_data): Likewise.
15806         (log2_test_data): Likewise.
15807         (sin_test_data): Likewise.
15808         (sin_tonearest_test_data): Likewise.
15809         (sin_towardzero_test_data): Likewise.
15810         (sin_downward_test_data): Likewise.
15811         (sin_upward_test_data): Likewise.
15812         (sinh_test_data): Likewise.
15813         (sinh_tonearest_test_data): Likewise.
15814         (sinh_towardzero_test_data): Likewise.
15815         (sinh_downward_test_data): Likewise.
15816         (sinh_upward_test_data): Likewise.
15817         (tan_test_data): Likewise.
15818         (tan_tonearest_test_data): Likewise.
15819         (tan_towardzero_test_data): Likewise.
15820         (tan_downward_test_data): Likewise.
15821         (tan_upward_test_data): Likewise.
15822         (tanh_test_data): Likewise.
15823         (tgamma_test_data): Likewise.
15824         (y0_test_data): Likewise.
15825         (y1_test_data): Likewise.
15826         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15827         (special_real_inputs): Add pi/4.
15828         * sysdeps/i386/fpu/libm-test-ulps: Update.
15829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15831 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15833         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15834         "longjmp_target" static probes.
15835         (__longjmp): Rename to __longjmp_symbol.
15836         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15837         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15838         on which longjmp to generate.
15839         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15840         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15841         probe.
15842         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15843         (__sigjmp_save): Rename to __sigjmp_save_symbol.
15844         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15845         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15846         and __sigjmp_save_symbol based on which sigsetjmp to generated.
15847         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15849         __longjmp_symbol based on which __longjmp to generate.
15850         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15851         probe.
15852         (setjmp): Rename to setjmp_symbol.
15853         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15854         (_setjmp): Rename to _setjmp_symbol.
15855         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15856         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15857         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15858         which setjmp to generate.
15859         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15860         "longjmp_target" static probes.
15862 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15864         * benchtests/README: Add note about output arguments.
15865         * benchtests/bench-sincos.c: Remove file.
15866         * benchtests/sincos-inputs: New file.
15867         * scripts/bench.pl: Identify output arguments and define
15868         static variables for them.
15870         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15872         [BZ #15941]
15873         * Makefile (INSTALL): Add install-plain.texi as the primary
15874         dependency.
15875         * manual/install-plain.texi: New file.
15876         * manual/install.texi: Include node directive only for
15877         non-plaintext output.
15879 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
15881         * stdlib/longlong.h: Update from GCC.
15883         [BZ #6807]
15884         [BZ #15901]
15885         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15886         * math/w_j0f.c (y0f): Likewise.
15887         * math/w_j0l.c (__y0l): Likewise.
15888         * math/w_j1.c (y1): Likewise.
15889         * math/w_j1f.c (y1f): Likewise.
15890         * math/w_j1l.c (__y1l): Likewise
15891         * math/w_jn.c (yn): Likewise.
15892         * math/w_jnf.c (ynf): Likewise.
15893         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15894         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
15895         value for Bessel function domain errors outside _SVID_ mode.
15896         Adjust sign of return value for yn (negative integer, 0).
15897         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15898         by zero in return for negative x and set sign appropriately for
15899         negative n.
15900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15901         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15902         * math/libm-test.inc (y0_test_data): Add more tests and adjust
15903         expectations in error cases.
15904         (y1_test_data): Likewise.
15905         (yn_test_data): Likewise.
15906         * sysdeps/i386/fpu/libm-test-ulps: Update.
15907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15909 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15911         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15912         "64" to "64-v1".  Add "64-v2".
15913         (abi-64-options): Rename to ...
15914         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
15915         (abi-64-condition): Rename to ...
15916         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
15917         (abi-64-ld-soname): Rename to ...
15918         (abi-64-v1-ld-soname): ... this.
15919         (abi-64-v2-options): Define.
15920         (abi-64-v2-condition): Likewise.
15921         (abi-64-v2-ld-soname): Likewise.
15922         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15923         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15928 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15929             Alan Modra  <amodra@gmail.com>
15931         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15932         New versions for use with the ELFv2 ABI.
15933         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15934         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15935         declaration.
15936         (struct La_ppc64v2_retval): Likewise.
15937         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15938         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15939         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15940         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15941         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15942         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15943         Do not save or restore CR.
15944         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15945         (_dl_profile_resolve): Do no save or restore CR.  Support extended
15946         return values for ELFv2 ABI.  Fix location of FPR return registers.
15947         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15948         updated values for _CALL_ELF == 2.
15949         (La_regs, La_retval, int_retval): Likewise.
15951 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15953         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15954         (FRAME_MIN_SIZE_PARM): Likewise.
15955         (FRAME_BACKCHAIN): Likewise.
15956         (FRAME_CR_SAVE): Likewise.
15957         (FRAME_LR_SAVE): Likewise.
15958         (FRAME_TOC_SAVE): Likewise.
15959         (FRAME_PARM_SAVE): Likewise.
15960         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15961         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15962         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15963         (call_mcount_parm_offset): New macro.
15964         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15965         (PROF): Use symbolic stack frame offsets.
15966         (TAIL_CALL_SYSCALL_ERROR): Likewise.
15967         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15968         Redefine in terms of FRAME_MIN_SIZE.
15969         (_dl_runtime_resolve): Use symbolic stack frame offsets.
15970         (_dl_profile_resolve): Likewise.  Update comment.
15971         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15972         symbols stack frame offsets.
15973         (__sigsetjmp): Likewise.
15974         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15975         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15976         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15977         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15980         (FRAME_BACKCHAIN): Remove.
15981         (FRAME_CR_SAVE): Likewise.
15982         (FRAME_LR_SAVE): Likewise.
15983         (FRAME_COMPILER_DW): Likewise.
15984         (FRAME_LINKER_DW): Likewise.
15985         (FRAME_TOC_SAVE): Likewise.
15986         (FRAME_PARM_SAVE): Likewise.
15987         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15988         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15989         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15991         (CHECK_SP): Use symbolic stack frame offsets.
15992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15993         zone" instead of caller's parameter save area for temp storage.
15994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15995         Likewise.  Also, use symbolic stack frame offsets.
15996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15997         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15998         our own stack frame instead of the caller's.
15999         (__socket): Use symbolic stack frame offsets.
16001 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16002             Alan Modra  <amodra@gmail.com>
16004         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16005         Define.
16006         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16007         (PPC64_LOCAL_ENTRY_OFFSET): Define.
16008         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16009         New function.
16010         (elf_machine_fixup_plt): Call it.
16011         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
16012         reloc arguments.
16013         (elf_machine_rela): Update call to elf_machine_plt_conflict.
16014         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16015         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16016         r2 before calling target.
16018 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16019             Alan Modra  <amodra@gmail.com>
16021         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16022         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16023         versions of macros to support ELFv2 ABI.
16024         (LOCALENTRY): New macro.
16025         (ENTRY, EALIGN): Use it.
16026         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16027         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16028         fall through into ENTRY entry point.
16029         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16030         Only define if _CALL_ELF != 2.
16032         (elf_machine_matches_host): Verify ABI version matches.
16033         (RTLD_START): Use LOCALENTRY.
16034         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16035         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16036         (PLT_ENTRY_WORDS): New macro.
16037         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16038         (elf_machine_runtime_setup): Support ELFv2 ABI.
16039         (elf_machine_fixup_plt): Likewise.
16040         (elf_machine_plt_conflict): Likewise.
16041         (resolve_ifunc): Likewise.
16042         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16043         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16044         Likewise.
16045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16046         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16048         (makecontext): Support ELFv2 ABI.
16049         * elf/elf.h (EF_PPC64_ABI): Define.
16051 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16053         * sysdeps/powerpc/powerpc64/sysdep.h
16054         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16055         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16056         (ENTRY) [ASSEMBLER]: ... but instead here ...
16057         (EALIGN) [ASSEMBLER]: ... and here.
16058         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16059         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16060         (ENTRY_2) [!ASSEMBLER]: Use it.
16061         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16062         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
16063         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16064         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16065         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16067         Use PPC64_LOAD_FUNCPTR.
16069         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16071 2013-12-04  Alan Modra  <amodra@gmail.com>
16073         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16074         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16075         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16076         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16078         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16079         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16080         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16081         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16082         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16083         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16085 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16088         (__makecontext): Fix incorrect CFI when backtracing out of
16089         context created via makecontext.
16090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16091         (__setcontext): Fix incorrect CFI during switch to new context.
16092         (__novec_setcontext): Likewise.
16094 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16096         [BZ #4772]
16097         * time/strptime_l.c (__strptime_internal): Allow modifiers
16098         in strptime.
16099         * time/tst-strptime.c (day_tests): Add testcase.
16101 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16103         * scripts/bench.pl: Skip over blank lines.
16105 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16107         [BZ #926]
16108         * manual/time.texi (Calendar Time): Clarify what timezone functions
16109         use.
16111 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16115 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16117         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16118         implementation.
16119         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16120         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16121         * debug/memset_chk.c (__memset_chk): Likewise.
16122         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16123         * debug/strncpy_chk.c: Likewise.
16125 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16127         [BZ #15268]
16128         [BZ #15425]
16129         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16130         (__ieee754_exp): For possibly underflowing results, check size of
16131         result and force underflow exception if required.
16132         * math/auto-libm-test-in: Add more tests of exp.
16133         * math/auto-libm-test-out: Regenerated.
16134         * sysdeps/i386/fpu/libm-test-ulps: Update.
16135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16137         [BZ #16283]
16138         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16139         * math/w_exp2f.c (__exp2f): Likewise.
16140         * math/w_exp2l.c (__exp2l): Likewise.
16141         * math/auto-libm-test-in: Do not allow missing errno on exp2
16142         underflow.
16143         * math/auto-libm-test-out: Regenerated.
16145 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16147         [BZ #16274]
16148         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16149         handle filename validation.
16150         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16151         (do_open): Delete.
16153 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16155         [BZ #6786]
16156         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16157         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16158         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16159         <float.h>.
16160         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16161         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16162         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16163         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16164         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16165         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16166         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16167         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16168         Add more erfc tests.
16169         * math/auto-libm-test-out: Regenerated.
16170         * sysdeps/i386/fpu/libm-test-ulps: Update.
16171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16173         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16174         exp2, expm1, j0 and j1.
16175         * math/auto-libm-test-out: Regenerated.
16176         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16177         (erfc_test_data): Likewise.
16178         (exp_test_data): Likewise.
16179         (exp_tonearest_test_data): Likewise.
16180         (exp_towardzero_test_data): Likewise.
16181         (exp_downward_test_data): Likewise.
16182         (exp_upward_test_data): Likewise.
16183         (exp10_test_data): Likewise.
16184         (exp2_test_data): Likewise.
16185         (expm1_test_data): Likewise.
16186         (j0_test_data): Likewise.
16187         (j1_test_data): Likewise.
16188         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16189         (input_flag_type): Add flag_xfail_rounding.
16190         (input_flags): Add xfail-rounding.
16191         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16192         (output_for_one_input_case): Handle flag_xfail_rounding.
16193         * sysdeps/i386/fpu/libm-test-ulps: Update.
16194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16196 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16198         [BZ #16289]
16199         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16200         division by 0.
16202 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16204         [BZ #16195]
16205         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16206         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16207         (STAP_PROBE0): New macro.
16208         (STAP_PROBE1): Likewise.
16209         (STAP_PROBE2): Likewise.
16210         (STAP_PROBE3): Likewise.
16211         (STAP_PROBE4): Likewise.
16213 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16215         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16217 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16219         * benchtests/Makefile (bench): Add sqrt.
16220         (LDLIBS-bench-sqrt): New.
16221         * benchtests/sqrt-input: New.
16223 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16225         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16226         (GAIH_EAI): Likewise.
16227         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16228         (gaih_inet): Likewise.
16229         (getaddrinfo): Don't use GAIH_EAI.
16231         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16232         (struct gaih): Remove definition.
16234 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16236         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16237         Use HERRNOP directly.
16239 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16243 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16245         * math/gen-auto-libm-tests.c (test_functions): Add more
16246         single-argument functions.
16247         (special_fill_pi_2): New function.
16248         (special_fill_minus_pi_2): Likewise.
16249         (special_fill_pi_6): Likewise.
16250         (special_fill_minus_pi_6): Likewise.
16251         (special_fill_pi_3): Likewise.
16252         (special_fill_2pi_3): Likewise.
16253         (special_fill_e): Likewise.
16254         (special_fill_1_e): Likewise.
16255         (special_fill_e_minus_1): Likewise.
16256         (special_real_inputs): Add more special inputs.
16257         (output_for_one_input_case): Do not require ERANGE on underflow to
16258         zero if round-to-nearest result does not underflow to zero, unless
16259         exact results required.
16260         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16261         atan, atanh, cbrt, cos and cosh.
16262         * math/auto-libm-test-out: Regenerated.
16263         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16264         (acos_tonearest_test_data): Likewise.
16265         (acos_towardzero_test_data): Likewise.
16266         (acos_downward_test_data): Likewise.
16267         (acos_upward_test_data): Likewise.
16268         (acosh_test_data): Likewise.
16269         (asin_test_data): Likewise.
16270         (asin_tonearest_test_data): Likewise.
16271         (asin_towardzero_test_data): Likewise.
16272         (asin_upward_test_data): Likewise.
16273         (asinh_test_data): Likewise.
16274         (atan_test_data): Likewise.
16275         (atanh_test_data): Likewise.
16276         (cbrt_test_data): Likewise.
16277         (cos_test_data): Likewise.
16278         (cos_tonearest_test_data): Likewise.
16279         (cos_towardzero_test_data): Likewise.
16280         (cos_downward_test_data): Likewise.
16281         (cos_upward_test_data): Likewise.
16282         (cosh_test_data): Likewise.
16283         (cosh_tonearest_test_data): Likewise.
16284         (cosh_towardzero_test_data): Likewise.
16285         (cosh_downward_test_data): Likewise.
16286         (cosh_upward_test_data): Likewise.
16287         * sysdeps/i386/fpu/libm-test-ulps: Update.
16288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16290 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16292         [BZ #6787]
16293         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16294         * math/w_exp10f.c (__exp10f): Likewise.
16295         * math/w_exp10l.c (__exp10l): Likewise.
16296         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16297         errno settings in existing tests.
16299         [BZ #14032]
16300         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16301         precision control set to double precision.
16302         * sysdeps/i386/fpu/w_sqrt.c: New file.
16303         * math/auto-libm-test-in: Add more tests.
16304         * math/auto-libm-test-out: Update.
16306         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16307         (sqrt_test_tonearest): New function.
16308         (sqrt_towardzero_test_data): New variable.
16309         (sqrt_test_towardzero): New function.
16310         (sqrt_downward_test_data): New variable.
16311         (sqrt_test_downward): New function.
16312         (sqrt_upward_test_data): New variable.
16313         (sqrt_test_upward): New function.
16314         (main): Call the new functions.
16316         * math/gen-auto-libm-tests.c: New file.
16317         * math/auto-libm-test-in: Likewise.
16318         * math/auto-libm-test-out: New generated file.
16319         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16320         variables.
16321         (%beautify): Add generated representations of zero.
16322         (top level): Set $auto_input and call parse_auto_input.
16323         (beautify): Remove trailing "f" from hex float constants.
16324         (parse_args): Handle XFAIL_TEST.
16325         (convert_condition): New function.
16326         (or_value): Likewise.
16327         (or_cond_value): Likewise.
16328         (generate_testfile): Handle AUTO_TESTS_* lines.
16329         (parse_auto_input): New function.
16330         * math/libm-test.inc (XFAIL_TEST): New macro.
16331         (ERRNO_UNCHANGED): Update value.
16332         (ERRNO_EDOM): Likewise.
16333         (ERRNO_ERANGE): Likewise.
16334         (IGNORE_RESULT): Likewise.
16335         (TEST_COND_flt_32): New macro.
16336         (TEST_COND_dbl_64): Likewise.
16337         (TEST_COND_ldbl_96_intel): Likewise.
16338         (TEST_COND_ldbl_96_m68k): Likewise.
16339         (TEST_COND_ldbl_128): Likewise.
16340         (TEST_COND_ldbl_128ibm): Likewise.
16341         (TEST_COND_long32): Likewise.
16342         (TEST_COND_long64): Likewise.
16343         (TEST_COND_before_rounding): Likewise.
16344         (TEST_COND_after_rounding): Likewise.
16345         (enable_test): Handle XFAIL_TEST flag.
16346         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16347         with finite results.
16348         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16349         auto-libm-test-out.
16351 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16352             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16354         [BZ #16214]
16355         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16356         __tls_get_addr_internal instead of __tls_get_offset in order to
16357         avoid GOT pointer dependency.  Make rtld export
16358         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16359         __tls_get_addr since we are a __tls_get_offset platform.
16360         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16361         GOT pointer being set up before.
16362         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16364 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
16366         * manual/math.texi (Errors in Math Functions): Document accuracy
16367         goals.
16369         [BZ #15004]
16370         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16371         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16372         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16373         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16374         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16375         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16376         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16377         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16378         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16379         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16380         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16381         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16382         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16383         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16384         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16385         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16387         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16388         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16389         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16390         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16391         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16392         Likewise.
16393         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16394         Likewise.
16395         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16396         Likewise.
16397         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16398         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16399         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16400         atomic-feupdateenv and flt-rounds.
16401         * sysdeps/powerpc/nofpu/Versions (libc): Add
16402         __atomic_feholdexcept, __atomic_feclearexcept,
16403         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16404         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16405         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16406         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16407         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16408         here.
16409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16410         Update.
16412         * manual/arith.texi (FP Exceptions): Document that exceptions may
16413         not be raised when matherr is used.
16414         (Math Error Reporting): Document overflow in directed rounding
16415         modes.  Document that errno may not be set when finite values are
16416         returned on overflow.  Document intent to set errno on underflow
16417         only for underflow to zero.
16419         [BZ #16271]
16420         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16421         round-to-nearest then adjust result for other rounding modes.
16422         * include/fenv.h (fegetround): Use libm_hidden_proto.
16423         * math/fegetround.c (fegetround): Use libm_hidden_def.
16424         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16425         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16426         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16427         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16428         Likewise.
16429         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16430         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16431         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16432         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16434 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16436         [BZ #16077]
16437         * nss/Versions (libnss_files): Add
16438         _nss_files_gethostbyname3_r.
16439         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16440         New function.
16441         (HOST_DB_LOOKUP): Remove macro.
16442         (_nss_files_gethostbyname_r): Implement function without the
16443         HOST_DB_LOOKUP macro.
16444         (_nss_files_gethostbyname2_r): Likewise.
16446 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
16448         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16450 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
16452         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16453         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16454         warning.
16456 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16458         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16459         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16460         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16461         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16462         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16463         __fe_nomask_env_priv and attribute_hidden.
16464         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16465         (libc_feupdateenv_test_ppc): Likewise.
16466         (libc_feresetround_ppc): Likewise.
16467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16468         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16469         compat_symbol macro.
16470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16471         (__fe_nomask_env): Likewise.
16472         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16474 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16476         * string/Makefile: Remove ifunc tests.
16477         * string/test-string.h: Define TEST_IFUNC.
16478         * string/test-bcopy-ifunc.c: Remove.
16479         * string/test-bzero-ifunc.c: Likewise.
16480         * string/test-memccpy-ifunc.c: Likewise.
16481         * string/test-memchr-ifunc.c: Likewise.
16482         * string/test-memcmp-ifunc.c: Likewise.
16483         * string/test-memcpy-ifunc.c: Likewise.
16484         * string/test-memmem-ifunc.c: Likewise.
16485         * string/test-memmove-ifunc.c: Likewise.
16486         * string/test-mempcpy-ifunc.c: Likewise.
16487         * string/test-memrchr-ifunc.c: Likewise.
16488         * string/test-memset-ifunc.c: Likewise.
16489         * string/test-rawmemchr-ifunc.c: Likewise.
16490         * string/test-stpcpy-ifunc.c: Likewise.
16491         * string/test-stpncpy-ifunc.c: Likewise.
16492         * string/test-strcasecmp-ifunc.c: Likewise.
16493         * string/test-strcasestr-ifunc.c: Likewise.
16494         * string/test-strcat-ifunc.c: Likewise.
16495         * string/test-strchr-ifunc.c: Likewise.
16496         * string/test-strchrnul-ifunc.c: Likewise.
16497         * string/test-strcmp-ifunc.c: Likewise.
16498         * string/test-strcpy-ifunc.c: Likewise.
16499         * string/test-strcspn-ifunc.c: Likewise.
16500         * string/test-strlen-ifunc.c: Likewise.
16501         * string/test-strncasecmp-ifunc.c: Likewise.
16502         * string/test-strncat-ifunc.c: Likewise.
16503         * string/test-strncmp-ifunc.c: Likewise.
16504         * string/test-strncpy-ifunc.c: Likewise.
16505         * string/test-strnlen-ifunc.c: Likewise.
16506         * string/test-strpbrk-ifunc.c: Likewise.
16507         * string/test-strrchr-ifunc.c: Likewise.
16508         * string/test-strspn-ifunc.c: Likewise.
16509         * string/test-strstr-ifunc.c: Likewise.
16511 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16513         * benchtests/Makefile: Remove ifunc tests.
16514         * benchtests/bench-string.h: Define TEST_IFUNC.
16515         * benchtests/bench-bcopy-ifunc.c: Remove.
16516         * benchtests/bench-bzero-ifunc.c: Likewise.
16517         * benchtests/bench-memccpy-ifunc.c: Likewise.
16518         * benchtests/bench-memchr-ifunc.c: Likewise.
16519         * benchtests/bench-memcmp-ifunc.c: Likewise.
16520         * benchtests/bench-memcpy-ifunc.c: Likewise.
16521         * benchtests/bench-memmem-ifunc.c: Likewise.
16522         * benchtests/bench-memmove-ifunc.c: Likewise.
16523         * benchtests/bench-mempcpy-ifunc.c: Likewise.
16524         * benchtests/bench-memrchr-ifunc.c: Likewise.
16525         * benchtests/bench-memset-ifunc.c: Likewise.
16526         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16527         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16528         * benchtests/bench-stpcpy-ifunc.c: Likewise.
16529         * benchtests/bench-stpncpy-ifunc.c: Likewise.
16530         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16531         * benchtests/bench-strcasestr-ifunc.c: Likewise.
16532         * benchtests/bench-strcat-ifunc.c: Likewise.
16533         * benchtests/bench-strchr-ifunc.c: Likewise.
16534         * benchtests/bench-strchrnul-ifunc.c: Likewise.
16535         * benchtests/bench-strcmp-ifunc.c: Likewise.
16536         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16537         * benchtests/bench-strcpy-ifunc.c: Likewise.
16538         * benchtests/bench-strcspn-ifunc.c: Likewise.
16539         * benchtests/bench-strlen-ifunc.c: Likewise.
16540         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16541         * benchtests/bench-strncat-ifunc.c: Likewise.
16542         * benchtests/bench-strncmp-ifunc.c: Likewise.
16543         * benchtests/bench-strncpy-ifunc.c: Likewise.
16544         * benchtests/bench-strnlen-ifunc.c: Likewise.
16545         * benchtests/bench-strpbrk-ifunc.c: Likewise.
16546         * benchtests/bench-strrchr-ifunc.c: Likewise.
16547         * benchtests/bench-strsep-ifunc.c: Likewise.
16548         * benchtests/bench-strspn-ifunc.c: Likewise.
16549         * benchtests/bench-strstr-ifunc.c: Likewise.
16551 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16553         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16555 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16557         * resolv/netdb.h: Use __glibc_reserved instead __unused.
16558         * rt/aio.h: Likewise.
16559         * sysdeps/gnu/bits/utmp.h: Likewise.
16560         * sysdeps/gnu/bits/utmpx.h: Likewise.
16561         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16562         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16563         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16564         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16565         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16566         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16567         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16568         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16569         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16570         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16571         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16572         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16573         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16575         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16576         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16577         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16578         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16579         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16580         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16581         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16582         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16583         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16584         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16585         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16587         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16588         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16589         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16590         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16591         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16592         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16593         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16594         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16595         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16596         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16597         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16598         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16599         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16600         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16601         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16602         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16604 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
16606         [BZ #16245]
16607         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16608         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16610 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
16612         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16613         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16614         Likewise.
16616 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16618         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16619         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16620         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16621         (__fesetround): Remove define.
16622         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16623         rounding and exceptions handling.
16624         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16625         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16626         (__fe_nomask_env): Likewise.
16627         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16628         __fegetround instead of fegetround.
16629         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16630         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16632 2013-11-21  Roland McGrath  <roland@hack.frob.com>
16634         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16635         it's there.
16637         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16639 2013-11-21  Meador Inge  <meadori@codesourcery.com>
16641         [BZ #11157]
16642         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16643         (encrypt_r): Likewise.
16644         * malloc/obstack.h (obstack_free): Likewise.
16645         * posix/unistd.h (encrypt): Likewise.
16647 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
16649         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16650         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16651         DL_CALL_DT_FINI() that call the functions directly.
16652         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16653         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16654         * elf/dl-fini.c: Likewise.
16656 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
16658         * malloc/hooks.c (memalign_check): Add alignment rounding.
16659         * malloc/malloc.c (_mid_memalign): New function.
16660         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16661         Implement by calling _mid_memalign.
16662         * manual/probes.texi (Memory Allocation Probes): Remove
16663         memory_valloc_retry and memory_pvalloc_retry.
16665 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16667         * locale/programs/locarchive.c (open_archive): Add const
16668         qualifier to ARCHIVEFNAME and copy default fname to
16669         DEFAULT_FNAME.
16671         [BZ #15601]
16672         * libio/tst-widetext.input: Rename Oriya to Odia.
16673         * locale/iso-639.def: Likewise.
16675         * manual/probes.texi (Mathematical Function Probes): Add
16676         documentation for sin, cos, asin and acos probes.
16677         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16678         (__sin32): Add slowasin probe.
16679         (__cos32): Add slowacos probe.
16680         (__mpsin): Add slowsin probe.
16681         (__mpcos): Add slowcos probe.
16683 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
16685         [BZ #15483]
16686         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16687         thread-local __sim_exceptions_thread and global
16688         __sim_exceptions_global.
16689         (__sim_disabled_exceptions): Change to thread-local
16690         __sim_disabled_exceptions_thread and global
16691         __sim_disabled_exceptions_global.
16692         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16693         and global __sim_round_mode_global.
16694         (__simulate_exceptions): Use thread-local floating-point state and
16695         set global state from it as needed.
16696         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16697         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16698         __sim_round_mode_thread.
16699         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16700         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16701         and global __sim_exceptions_global.
16702         (__sim_disabled_exceptions): Change to thread-local
16703         __sim_disabled_exceptions_thread and global
16704         __sim_disabled_exceptions_global.
16705         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16706         and global __sim_round_mode_global.
16707         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16708         (SIM_SET_GLOBAL): Likewise.
16709         * sysdeps/powerpc/soft-fp/sfp-machine.h
16710         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16711         __sim_round_mode_thread.
16712         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16713         __sim_disabled_exceptions_thread.
16714         (__sim_exceptions): Change to __sim_exceptions_thread.
16715         (__sim_disabled_exceptions): Change to
16716         __sim_disabled_exceptions_thread.
16717         (__sim_round_mode): Change to __sim_round_mode_thread.
16718         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16719         thread-local floating-point state and set global state from it as
16720         needed.
16721         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16722         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16723         (__sim_disabled_exceptions): Remove extern declaration.
16724         (feenableexcept): Use thread-local floating-point state and set
16725         global state from it as needed.
16726         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16727         extern declaration.
16728         (__sim_disabled_exceptions): Likewise.
16729         (__sim_round_mode): Likewise.
16730         (__fegetenv): Use thread-local floating-point state.
16731         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16732         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16733         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16734         floating-point state and set global state from it as needed.
16735         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16736         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16737         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16738         Likewise.
16739         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16740         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16741         Likewise.
16742         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16743         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16744         Use __sim_round_mode_thread.
16745         * math/test-fenv-tls.c: New file.
16746         * math/Makefile (tests): Add test-fenv-tls.
16747         ($(objpfx)test-fenv-tls): Depend on
16748         $(common-objpfx)nptl/libpthread.so.
16750 2013-11-19  Andreas Schwab  <schwab@suse.de>
16752         * locale/programs/locale.c (show_info): Decode wordarray elements.
16753         * locale/categories.def (LC_MONETARY): Add element for
16754         _NL_MONETARY_CRNCYSTR.
16755         * locale/C-monetary.c (conversion_rate): New variable.
16756         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16757         element.
16759 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
16761         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16762         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16764 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16766         * elf/Makefile (tst-auxv): New test.
16767         * elf/tst-auxv.c: New
16768         * elf/rtld.c (dl_main): Adjust AT_EXECFN
16770 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
16772         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16773         (hidden_proto): Caller changed.
16774         (hidden_tls_proto): New macro.
16775         (libc_hidden_tls_proto): Likewise.
16776         (rtld_hidden_tls_proto): Likewise.
16777         (libm_hidden_tls_proto): Likewise.
16778         (libresolv_hidden_tls_proto): Likewise.
16779         (librt_hidden_tls_proto): Likewise.
16780         (libdl_hidden_tls_proto): Likewise.
16781         (libnss_files_hidden_tls_proto): Likewise.
16782         (libnsl_hidden_tls_proto): Likewise.
16783         (libnss_nisplus_hidden_tls_proto): Likewise.
16784         (libutil_hidden_tls_proto): Likewise.
16786 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
16788         [BZ #10253]
16789         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16790         (decompose_rpath): Defer expansion to fillin_rpath.
16791         (_dl_init_paths): Pass linkmap to fillin_rpath.
16793 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16795         * benchtests/Makefile: Add strsep.
16796         * benchtests/bench-strsep.c: New file: strsep benchtest.
16797         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16799 2013-11-18  Andreas Schwab  <schwab@suse.de>
16801         * locale/programs/locale.c (show_info) [case byte]: Check for
16802         '\377' instead of '\177'.
16803         * locale/C-monetary.c (not_available): Always use "\377".
16804         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16805         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
16806         detect unavailable sign_posn locale elements.
16807         * locale/localeconv.c (__localeconv): For grouping and
16808         mon_grouping handle "\177" and "\377" like no grouping.
16809         (INT_ELEM): New macro.  Use it to set all numeric members.
16810         * locale/programs/ld-monetary.c (monetary_read)
16811         <tok_mon_grouping>: Normalize single -1 to the empty string.
16812         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16813         Likewise.
16815 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16817         [BZ #16055]
16818         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16819         when we match (nil).
16820         * stdio-common/tst-sscanf.c (struct test): Add testcase.
16822 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
16824         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16825         (NO_TEST_INLINE): Update value.
16826         (ERRNO_UNCHANGED): Likewise.
16827         (ERRNO_EDOM): Likewise.
16828         (ERRNO_ERANGE): Likewise.
16829         (IGNORE_RESULT): Likewise.
16830         (check_float_internal): Check signs of NaN results if
16831         TEST_NAN_SIGN used.
16832         (check_complex): Pass TEST_NAN_SIGN flag through to second
16833         check_float_internal call.
16834         (copysign_test_data): Add tests with quiet NaNs as second
16835         argument.  Use TEST_NAN_SIGN.
16836         (fabs_test_data): Add test of negative quiet NaN argument.  Use
16837         TEST_NAN_SIGN.
16838         (signbit_test_data): Add tests of quiet NaN argument.
16839         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16841         * math/gen-libm-test.pl (show_exceptions): Take extra argument
16842         $ignore_result.
16843         (parse_args): Handle function results specified as IGNORE.
16844         * math/libm-test.inc (IGNORE_RESULT): New macro.
16845         (check_float_internal): Do not check numerical result if flag
16846         IGNORE_RESULT set.
16847         (check_complex): Pass through IGNORE_RESULT to second
16848         check_float_internal call.
16849         (check_int): Do not check numerical result if flag IGNORE_RESULT
16850         set.
16851         (check_long): Likewise.
16852         (check_bool): Likewise.
16853         (check_longlong): Likewise.
16854         (lrint_test_data): Add tests of infinite and NaN arguments.
16855         (lrint_tonearest_test_data): Likewise.
16856         (lrint_towardzero_test_data): Likewise.
16857         (lrint_downward_test_data): Likewise.
16858         (lrint_upward_test_data): Likewise.
16859         (llrint_test_data): Likewise.
16860         (llrint_tonearest_test_data): Likewise.
16861         (llrint_towardzero_test_data): Likewise.
16862         (llrint_downward_test_data): Likewise.
16863         (llrint_upward_test_data): Likewise.
16864         (lround_test_data): Likewise.
16865         (llround_test_data): Likewise.
16867         * math/libm-test.inc (NO_TEST_INLINE): New macro.
16868         (ERRNO_UNCHANGED): Update value.
16869         (ERRNO_EDOM): Likewise.
16870         (ERRNO_ERANGE): Likewise.
16871         (NO_TEST_INLINE_FLOAT): New macro.
16872         (NO_TEST_INLINE_DOUBLE): Likewise.
16873         (enable_test): New function.
16874         (RUN_TEST_f_f): Check enable_test before running test.
16875         (RUN_TEST_2_f): Likewise.
16876         (RUN_TEST_fff_f): Likewise.
16877         (RUN_TEST_c_f): Likewise.
16878         (RUN_TEST_f_f1): Likewise.
16879         (RUN_TEST_fF_f1): Likewise.
16880         (RUN_TEST_fI_f1): Likewise.
16881         (RUN_TEST_ffI_f1): Likewise.
16882         (RUN_TEST_c_c): Likewise.
16883         (RUN_TEST_cc_c): Likewise.
16884         (RUN_TEST_f_i): Likewise.
16885         (RUN_TEST_f_i_tg): Likewise.
16886         (RUN_TEST_ff_i_tg): Likewise.
16887         (RUN_TEST_f_b): Likewise.
16888         (RUN_TEST_f_b_tg): Likewise.
16889         (RUN_TEST_f_l): Likewise.
16890         (RUN_TEST_f_L): Likewise.
16891         (RUN_TEST_fFF_11): Likewise.
16892         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16893         conditionals.
16894         (cosh_test_data): Likewise.
16895         (exp_test_data): Likewise.
16896         (expm1_test_data): Likewise.
16897         (hypot_test_data): Likewise.
16898         (pow_test_data): Likewise.
16899         (sinh_test_data): Likewise.
16900         (tanh_test_data): Likewise.
16901         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16902         flags argument.
16904         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16905         tests with quiet NaN input and output.
16906         (acosh_test_data): Likewise.
16907         (asin_test_data): Likewise.
16908         (asinh_test_data): Likewise.
16909         (atan_test_data): Likewise.
16910         (atanh_test_data): Likewise.
16911         (atan2_test_data): Likewise.
16912         (cbrt_test_data): Likewise.
16913         (cos_test_data): Likewise.
16914         (cosh_test_data): Likewise.
16915         (erf_test_data): Likewise.
16916         (erfc_test_data): Likewise.
16917         (exp_test_data): Likewise.
16918         (exp10_test_data): Likewise.
16919         (exp2_test_data): Likewise.
16920         (expm1_test_data): Likewise.
16921         (hypot_test_data): Likewise.
16922         (j0_test_data): Likewise.
16923         (j1_test_data): Likewise.
16924         (jn_test_data): Likewise.
16925         (lgamma_test_data): Likewise.
16926         (log_test_data): Likewise.
16927         (log10_test_data): Likewise.
16928         (log1p_test_data): Likewise.
16929         (log2_test_data): Likewise.
16930         (pow_test_data): Likewise.
16931         (scalb_test_data): Likewise.
16932         (sin_test_data): Likewise.
16933         (sincos_test_data): Likewise.
16934         (sinh_test_data): Likewise.
16935         (tan_test_data): Likewise.
16936         (tanh_test_data): Likewise.
16937         (tgamma_test_data): Likewise.
16938         (y0_test_data): Likewise.
16939         (y1_test_data): Likewise.
16940         (yn_test_data): Likewise.
16942         [BZ #16167]
16943         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16944         argument being NaN and avoid computations with second argument in
16945         that case.
16946         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16947         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16948         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16950 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
16952         * locale/iso-639.def: Add Chitwani Tharu (the).
16954 2013-11-14  Andreas Schwab  <schwab@suse.de>
16956         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16957         word instead of empty string.
16959 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16962         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16964         (__fe_nomask_env): Likewise.
16966 2013-11-13  Steve Ellcey  <sellcey@mips.com>
16968         * benchtests/bench-timing.h: Include time.h.
16970 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
16972         [BZ #15997]
16973         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16974         to 3.4.0 for x32.
16975         * sysdeps/unix/sysv/linux/configure: Regenerated.
16977 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
16979         [BZ #16151]
16980         * stdlib/strtod_l.c (round_and_return): Do not consider
16981         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16982         exponent one less than half the least subnormal exponent.
16983         * stdlib/test-strtod-round-data: Add more tests.
16984         * stdlib/tst-strtod-round.c (tests): Regenerated.
16986 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16988         [BZ #14143]
16989         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16990         (__fe_mask_env): Likewise.
16991         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16992         libm_hidden_proto and add function prototype.
16993         (__fe_mask_env): Add function prototype.
16994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16995         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16997         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16999         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17001 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17003         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17004         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17006 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17008         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17009         of htab_find_slot().
17011 2013-11-11  David S. Miller  <davem@davemloft.net>
17013         [BZ #16150]
17014         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17015         symbol in the non-vis3 case in static builds.
17016         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17017         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17018         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17019         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17021 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17023         [BZ #387]
17024         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17025         it is empty.
17027 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17029         * benchtests/Makefile: Add bench-strtod.
17030         * benchtests/bench-strtod.c: New file: strtod benchtest
17032 2013-11-11  Andreas Schwab  <schwab@suse.de>
17034         [BZ #16153]
17035         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17036         terminating NUL in key length.
17038 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17040         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17041         Add artificial ODP entry for vDSO symbol for PPC64.
17042         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17043         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17045 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17047         [BZ #15374]
17048         * nss/getent.c (services_keys): Recognize services starting with digit.
17050 2013-11-06  David S. Miller  <davem@davemloft.net>
17052         [BZ #15985]
17053         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17054         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17056 2013-11-06  Will Newton  <will.newton@linaro.org>
17058         * manual/memory.texi (Malloc Examples): Remove register
17059         keyword from examples.
17061 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
17063         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17065 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
17067         [BZ #6981]
17068         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17069         depending on [__GCC_IEC_559 > 0].
17070         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17071         depending on [__GCC_IEC_559_COMPLEX > 0].
17073 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
17075         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17076         to iso-639.def.
17078 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
17080         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17082 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
17084         [BZ #16112]
17085         * malloc/malloc (malloc_info): Do not handle first bin as
17086         special case.
17088 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
17090         * locale/iso-639.def: Add Central Nahuatl (nhn).
17092 2013-11-01  Bruno Haible  <bruno@clisp.org>
17094         [BZ #7003]
17095         * manual/math.texi (BSD Random): Specify range upper bound as
17096         in POSIX.
17098 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17100         * locale/iso-639.def: Add Meadow Mari (mhr).
17102 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17104         [BZ #14752], [BZ #15763]
17105         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17106         Validate name.
17107         * rt/tst_shm.c: Add test for escaping directory.
17109 2013-10-31  Andreas Schwab  <schwab@suse.de>
17111         [BZ #15917]
17112         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17113         followed by 'x' as part of digit sequence.
17114         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17116 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17118         [BZ #16037]
17119         * configure.ac: allow GNU Make 4.0 and greater.
17120         * configure: Regenerated.
17122 2013-10-30  Will Newton  <will.newton@linaro.org>
17124         [BZ #16038]
17125         * malloc/hooks.c (memalign_check): Limit alignment to the
17126         maximum representable power of two.
17127         * malloc/malloc.c (__libc_memalign): Likewise.
17128         * malloc/tst-memalign.c (do_test): Add test for very
17129         large alignment values.
17130         * malloc/tst-posix_memalign.c (do_test): Likewise.
17132 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17134         [BZ #11087]
17135         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17136         (munmap_chunk): Likewise.
17137         (mremap_chunk): Likewise.
17139 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17141         [BZ #15799]
17142         * stdlib/div.c (div): Remove obsolete code.
17143         * stdlib/ldiv.c (ldiv): Likewise.
17144         * stdlib/lldiv.c (lldiv): Likewise.
17146 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17148         [BZ #16071]
17149         * nss/nss_files/files-XXX.c (get_contents_ret): New
17150         enumerator.
17151         (get_contents): New function.
17152         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17154 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17156         * configure.in: Moved to ...
17157         * configure.ac: ... here. Change reference to configure.in
17158         to configure.ac.
17159         * sysdeps/arm/preconfigure.ac: ... here.
17160         configure.in to configure.ac.
17161         * sysdeps/gnu/configure.in: Moved to ...
17162         * sysdeps/gnu/configure.ac: ... here.
17163         * sysdeps/i386/configure.in: Moved to ...
17164         * sysdeps/i386/configure.ac: ... here.
17165         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17166         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17167         * sysdeps/mach/configure.in: Moved to ...
17168         * sysdeps/mach/configure.ac: ... here.
17169         * sysdeps/mach/hurd/configure.in: Moved to ...
17170         * sysdeps/mach/hurd/configure.ac: ... here.
17171         * sysdeps/powerpc/configure.in: Moved to ...
17172         * sysdeps/powerpc/configure.ac: ... here.
17173         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17174         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17175         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17176         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17177         * sysdeps/s390/s390-32/configure.in: Moved to ...
17178         * sysdeps/s390/s390-32/configure.ac: ... here.
17179         * sysdeps/s390/s390-64/configure.in: Moved to ...
17180         * sysdeps/s390/s390-64/configure.ac: ... here.
17181         * sysdeps/sh/configure.in: Moved to ...
17182         * sysdeps/sh/configure.ac: ... here.
17183         * sysdeps/sparc/configure.in: Moved to ...
17184         * sysdeps/sparc/configure.ac: ... here.
17185         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17186         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17187         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17188         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17189         * sysdeps/x86_64/configure.in: Moved to ...
17190         * sysdeps/x86_64/configure.ac: ... here.
17191         * sysdeps/x86_64/preconfigure.in: Moved to ...
17192         * sysdeps/x86_64/preconfigure.ac: ... here.
17193         * aclocal.m4: Change reference to configure.in to configure.ac.
17194         * config.h.in: Likewise.
17195         * manual/install.texi: Likewise.
17196         * manual/maint.texi: Likewise.
17197         * Makefile: Likewise.
17198         * malloc/Makefile: Likewise.
17199         * nscd/Makefile: Likewise.
17200         * Makeconfig: Change reference to configure.in and
17201         preconfigure.in to configure.ac and preconfigure.ac
17202         respectively.
17203         * INSTALL: Regenerated.
17204         * configure: Likewise.
17205         * sysdeps/gnu/configure: Likewise.
17206         * sysdeps/i386/configure: Likewise.
17207         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17208         * sysdeps/mach/configure: Likewise.
17209         * sysdeps/mach/hurd/configure: Likewise.
17210         * sysdeps/powerpc/configure: Likewise.
17211         * sysdeps/powerpc/powerpc32/configure: Likewise.
17212         * sysdeps/powerpc/powerpc64/configure: Likewise.
17213         * sysdeps/s390/s390-32/configure: Likewise.
17214         * sysdeps/s390/s390-64/configure: Likewise.
17215         * sysdeps/sh/configure: Likewise.
17216         * sysdeps/sparc/configure: Likewise.
17217         * sysdeps/unix/sysv/linux/configure: Likewise.
17218         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17219         * sysdeps/x86_64/configure: Likewise.
17220         * sysdeps/x86_64/preconfigure: Likewise.
17222 2013-10-29  Andreas Schwab  <schwab@suse.de>
17224         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17226 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17228         * benchtests/pow-inputs: Add new inputs.
17230         * benchtests/exp-inputs: Add new inputs.
17232         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17233         conditional check for return value.
17234         (__cos32): Likewise.
17236 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17238         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17239         to provide a boost for large inputs with word alignment.
17240         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17241         implementation based on optimized PPC64 strcpy.
17242         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17243         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17244         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17245         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17247 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17249         [BZ #2801]
17250         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17252 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17254         [BZ #14876]
17255         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17256         * time/tst-strptime.c (day_tests): Add testcase.
17258 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17260         [BZ #14029]
17261         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17263 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17265         [BZ #16074]
17266         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17267         MAP_FAILED on error.
17269 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17271         [BZ #16072]
17272         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17273         heap for large requests.
17275 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17277         [BZ #9954]
17278         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17279         result if the result has no associated interface.
17280         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17281         interface for all 127.X.Y.Z addresses.
17283 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17285         * locale/iso-639.def: Add Ligurian (lij)
17287 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17289         [BZ #15825]
17290         * sunrpc/rpc_main.c: Document rpcgen -5.
17292 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17294         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17296 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17298         [BZ #10278]
17299         * posix/glob.c: Match only directories when trailing slash is present.
17300         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17301         (main): Add testcase.
17303 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17305         [BZ #15670]
17306         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17308 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
17310         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17311         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17312         AUTH_DES and cindex for FIPS 140-2.
17313         (DES Encryption): Add cindex FIPS 46-3.
17315         * locale/locarchive.h (struct locarhandle): Add fname.
17316         * locale/programs/localedef.c (main): Pass ARGV[remaining]
17317         if an optional argument was specified to --list-archive,
17318         otherwise NULL.
17319         * locale/programs/locarchive.c (show_archive_content): Take new
17320         argument fname and pass it via ah.fname to open_archive.
17321         * locale/programs/localedef.h: Update decl.
17322         (open_archive): If AH->fname is non-null, open that file
17323         rather than the default file name, and don't ignore ENOENT.
17324         (create_archive): Set AH.fname to NULL.
17325         (delete_locales_from_archive): Likewise.
17326         (add_locales_to_archive): Likewise.
17327         * locale/programs/locfile.c (write_all_categories): Likewise.
17329 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
17330             Aldy Hernandez  <aldyh@redhat.com>
17332         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17333         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17334         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17335         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17336         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17337         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17338         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17339         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17340         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17341         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17342         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17343         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17344         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17345         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17346         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17347         Likewise.
17348         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17349         Likewise.
17350         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17351         Likewise.
17352         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17353         Likewise.
17354         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17355         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17356         Likewise.
17357         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17358         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17359         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17360         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17361         Likewise.
17362         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17363         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17364         * sysdeps/powerpc/preconfigure: Likewise.
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17366         Likewise.
17367         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17368         Replace contents of file by #include of <fenv_libc.h>.
17369         * sysdeps/powerpc/soft-fp/sfp-machine.h
17370         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17371         and <sys/prctl.h>.
17372         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17373         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17374         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17375         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17376         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17377         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17379         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17380         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17381         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17382         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17383         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17385         Allow copysignl PLT reference to be missing.
17387 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
17388             Joseph Myers  <joseph@codesourcery.com
17390         [BZ #15948]
17391         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17392         single character.
17393         (add_to_tablewc): Assert sequence of wide characters is nonempty.
17395 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17397         * elf/tst-tls-dlinfo.c: Don't include tls.h.
17398         * elf/tst-tls1.c: Likewise.
17399         * elf/tst-tls10.h: Likewise.
17400         * elf/tst-tls14.c: Likewise.
17401         * elf/tst-tls2.c: Likewise.
17402         * elf/tst-tls3.c: Likewise.
17403         * elf/tst-tls4.c: Likewise.
17404         * elf/tst-tls5.c: Likewise.
17405         * elf/tst-tls6.c: Likewise.
17406         * elf/tst-tls7.c: Likewise.
17407         * elf/tst-tls8.c: Likewise.
17408         * elf/tst-tls9.c: Likewise.
17409         * elf/tst-tlsmod1.c: Likewise.
17410         * elf/tst-tlsmod13.c: Likewise.
17411         * elf/tst-tlsmod13a.c: Likewise.
17412         * elf/tst-tlsmod14a.c: Likewise.
17413         * elf/tst-tlsmod16a.c: Likewise.
17414         * elf/tst-tlsmod16b.c: Likewise.
17415         * elf/tst-tlsmod2.c: Likewise.
17416         * elf/tst-tlsmod3.c: Likewise.
17417         * elf/tst-tlsmod4.c: Likewise.
17418         * elf/tst-tlsmod5.c: Likewise.
17419         * elf/tst-tlsmod6.c: Likewise.
17421 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
17423         [BZ #12486]
17424         * malloc/malloc.c: remove checks for statistics.
17426 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17428         [BZ #15277]
17429         * inet/inet_net.c (inet_network): Detect additional invalid strings.
17430         * inet/tst-network.c: Add testcase.
17432 2013-10-17  Andreas Schwab  <schwab@suse.de>
17434         [BZ #15218]
17435         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17436         to determine canonical name.
17438 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17440         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17441         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17442         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17443         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17444         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17445         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17446         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17447         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17448         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17449         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17450         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17451         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17452         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17453         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17454         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17455         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17456         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17457         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17458         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17459         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17460         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17461         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17462         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17463         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17464         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17465         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17466         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17467         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17468         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17469         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17470         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17471         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17472         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17473         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17474         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17475         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17476         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17477         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17478         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17479         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17480         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17481         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17482         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17483         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17484         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17485         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17486         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17487         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17488         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17489         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17490         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17491         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17492         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17493         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17494         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17495         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17496         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17497         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17499 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
17501         [BZ #16041]
17502         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17503         make result into a quiet NaN.
17505 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
17507         * soft-fp/adddf3.c: Fix horizontal whitespace.
17508         * soft-fp/addsf3.c: Likewise.
17509         * soft-fp/addtf3.c: Likewise.
17510         * soft-fp/divdf3.c: Likewise.
17511         * soft-fp/divsf3.c: Likewise.
17512         * soft-fp/divtf3.c: Likewise.
17513         * soft-fp/double.h: Likewise.
17514         * soft-fp/eqdf2.c: Likewise.
17515         * soft-fp/eqsf2.c: Likewise.
17516         * soft-fp/eqtf2.c: Likewise.
17517         * soft-fp/extenddftf2.c: Likewise.
17518         * soft-fp/extended.h: Likewise.
17519         * soft-fp/extendsfdf2.c: Likewise.
17520         * soft-fp/extendsftf2.c: Likewise.
17521         * soft-fp/extendxftf2.c: Likewise.
17522         * soft-fp/fixdfdi.c: Likewise.
17523         * soft-fp/fixdfsi.c: Likewise.
17524         * soft-fp/fixdfti.c: Likewise.
17525         * soft-fp/fixsfdi.c: Likewise.
17526         * soft-fp/fixsfsi.c: Likewise.
17527         * soft-fp/fixsfti.c: Likewise.
17528         * soft-fp/fixtfdi.c: Likewise.
17529         * soft-fp/fixtfsi.c: Likewise.
17530         * soft-fp/fixtfti.c: Likewise.
17531         * soft-fp/fixunsdfdi.c: Likewise.
17532         * soft-fp/fixunsdfsi.c: Likewise.
17533         * soft-fp/fixunsdfti.c: Likewise.
17534         * soft-fp/fixunssfdi.c: Likewise.
17535         * soft-fp/fixunssfsi.c: Likewise.
17536         * soft-fp/fixunssfti.c: Likewise.
17537         * soft-fp/fixunstfdi.c: Likewise.
17538         * soft-fp/fixunstfsi.c: Likewise.
17539         * soft-fp/fixunstfti.c: Likewise.
17540         * soft-fp/floatdidf.c: Likewise.
17541         * soft-fp/floatdisf.c: Likewise.
17542         * soft-fp/floatditf.c: Likewise.
17543         * soft-fp/floatsidf.c: Likewise.
17544         * soft-fp/floatsisf.c: Likewise.
17545         * soft-fp/floatsitf.c: Likewise.
17546         * soft-fp/floattidf.c: Likewise.
17547         * soft-fp/floattisf.c: Likewise.
17548         * soft-fp/floattitf.c: Likewise.
17549         * soft-fp/floatundidf.c: Likewise.
17550         * soft-fp/floatundisf.c: Likewise.
17551         * soft-fp/floatunditf.c: Likewise.
17552         * soft-fp/floatunsidf.c: Likewise.
17553         * soft-fp/floatunsisf.c: Likewise.
17554         * soft-fp/floatunsitf.c: Likewise.
17555         * soft-fp/floatuntidf.c: Likewise.
17556         * soft-fp/floatuntisf.c: Likewise.
17557         * soft-fp/floatuntitf.c: Likewise.
17558         * soft-fp/fmadf4.c: Likewise.
17559         * soft-fp/fmasf4.c: Likewise.
17560         * soft-fp/fmatf4.c: Likewise.
17561         * soft-fp/gedf2.c: Likewise.
17562         * soft-fp/gesf2.c: Likewise.
17563         * soft-fp/getf2.c: Likewise.
17564         * soft-fp/ledf2.c: Likewise.
17565         * soft-fp/lesf2.c: Likewise.
17566         * soft-fp/letf2.c: Likewise.
17567         * soft-fp/muldf3.c: Likewise.
17568         * soft-fp/mulsf3.c: Likewise.
17569         * soft-fp/multf3.c: Likewise.
17570         * soft-fp/negdf2.c: Likewise.
17571         * soft-fp/negsf2.c: Likewise.
17572         * soft-fp/negtf2.c: Likewise.
17573         * soft-fp/op-1.h: Likewise.
17574         * soft-fp/op-2.h: Likewise.
17575         * soft-fp/op-4.h: Likewise.
17576         * soft-fp/op-8.h: Likewise.
17577         * soft-fp/op-common.h: Likewise.
17578         * soft-fp/quad.h: Likewise.
17579         * soft-fp/single.h: Likewise.
17580         * soft-fp/soft-fp.h: Likewise.
17581         * soft-fp/sqrtdf2.c: Likewise.
17582         * soft-fp/sqrtsf2.c: Likewise.
17583         * soft-fp/sqrttf2.c: Likewise.
17584         * soft-fp/subdf3.c: Likewise.
17585         * soft-fp/subsf3.c: Likewise.
17586         * soft-fp/subtf3.c: Likewise.
17587         * soft-fp/truncdfsf2.c: Likewise.
17588         * soft-fp/trunctfdf2.c: Likewise.
17589         * soft-fp/trunctfsf2.c: Likewise.
17590         * soft-fp/trunctfxf2.c: Likewise.
17591         * soft-fp/unorddf2.c: Likewise.
17592         * soft-fp/unordsf2.c: Likewise.
17593         * soft-fp/unordtf2.c: Likewise.
17595 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
17597         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17598         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17600 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
17602         * elf/dl-libc.c: Clear initfini list after freeing.
17604 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
17606         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17607         * soft-fp/addsf3.c: Likewise.
17608         * soft-fp/addtf3.c: Likewise.
17609         * soft-fp/divdf3.c: Likewise.
17610         * soft-fp/divsf3.c: Likewise.
17611         * soft-fp/divtf3.c: Likewise.
17612         * soft-fp/double.h: Likewise.
17613         * soft-fp/eqdf2.c: Likewise.
17614         * soft-fp/eqsf2.c: Likewise.
17615         * soft-fp/eqtf2.c: Likewise.
17616         * soft-fp/extenddftf2.c: Likewise.
17617         * soft-fp/extended.h: Likewise.
17618         * soft-fp/extendsfdf2.c: Likewise.
17619         * soft-fp/extendsftf2.c: Likewise.
17620         * soft-fp/extendxftf2.c: Likewise.
17621         * soft-fp/fixdfdi.c: Likewise.
17622         * soft-fp/fixdfsi.c: Likewise.
17623         * soft-fp/fixdfti.c: Likewise.
17624         * soft-fp/fixsfdi.c: Likewise.
17625         * soft-fp/fixsfsi.c: Likewise.
17626         * soft-fp/fixsfti.c: Likewise.
17627         * soft-fp/fixtfdi.c: Likewise.
17628         * soft-fp/fixtfsi.c: Likewise.
17629         * soft-fp/fixtfti.c: Likewise.
17630         * soft-fp/fixunsdfdi.c: Likewise.
17631         * soft-fp/fixunsdfsi.c: Likewise.
17632         * soft-fp/fixunsdfti.c: Likewise.
17633         * soft-fp/fixunssfdi.c: Likewise.
17634         * soft-fp/fixunssfsi.c: Likewise.
17635         * soft-fp/fixunssfti.c: Likewise.
17636         * soft-fp/fixunstfdi.c: Likewise.
17637         * soft-fp/fixunstfsi.c: Likewise.
17638         * soft-fp/fixunstfti.c: Likewise.
17639         * soft-fp/floatdidf.c: Likewise.
17640         * soft-fp/floatdisf.c: Likewise.
17641         * soft-fp/floatditf.c: Likewise.
17642         * soft-fp/floatsidf.c: Likewise.
17643         * soft-fp/floatsisf.c: Likewise.
17644         * soft-fp/floatsitf.c: Likewise.
17645         * soft-fp/floattidf.c: Likewise.
17646         * soft-fp/floattisf.c: Likewise.
17647         * soft-fp/floattitf.c: Likewise.
17648         * soft-fp/floatundidf.c: Likewise.
17649         * soft-fp/floatundisf.c: Likewise.
17650         * soft-fp/floatunsidf.c: Likewise.
17651         * soft-fp/floatunsisf.c: Likewise.
17652         * soft-fp/floatuntidf.c: Likewise.
17653         * soft-fp/floatuntisf.c: Likewise.
17654         * soft-fp/floatuntitf.c: Likewise.
17655         * soft-fp/fmadf4.c: Likewise.
17656         * soft-fp/fmasf4.c: Likewise.
17657         * soft-fp/fmatf4.c: Likewise.
17658         * soft-fp/gedf2.c: Likewise.
17659         * soft-fp/gesf2.c: Likewise.
17660         * soft-fp/getf2.c: Likewise.
17661         * soft-fp/ledf2.c: Likewise.
17662         * soft-fp/lesf2.c: Likewise.
17663         * soft-fp/letf2.c: Likewise.
17664         * soft-fp/muldf3.c: Likewise.
17665         * soft-fp/mulsf3.c: Likewise.
17666         * soft-fp/multf3.c: Likewise.
17667         * soft-fp/negdf2.c: Likewise.
17668         * soft-fp/negsf2.c: Likewise.
17669         * soft-fp/negtf2.c: Likewise.
17670         * soft-fp/op-1.h: Likewise.
17671         * soft-fp/op-2.h: Likewise.
17672         * soft-fp/op-4.h: Likewise.
17673         * soft-fp/op-8.h: Likewise.
17674         * soft-fp/op-common.h: Likewise.
17675         * soft-fp/quad.h: Likewise.
17676         * soft-fp/single.h: Likewise.
17677         * soft-fp/soft-fp.h: Likewise.
17678         * soft-fp/sqrtdf2.c: Likewise.
17679         * soft-fp/sqrtsf2.c: Likewise.
17680         * soft-fp/sqrttf2.c: Likewise.
17681         * soft-fp/subdf3.c: Likewise.
17682         * soft-fp/subsf3.c: Likewise.
17683         * soft-fp/subtf3.c: Likewise.
17684         * soft-fp/truncdfsf2.c: Likewise.
17685         * soft-fp/trunctfdf2.c: Likewise.
17686         * soft-fp/trunctfsf2.c: Likewise.
17687         * soft-fp/trunctfxf2.c: Likewise.
17688         * soft-fp/unorddf2.c: Likewise.
17689         * soft-fp/unordsf2.c: Likewise.
17690         * soft-fp/unordtf2.c: Likewise.
17692 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
17694         [BZ #15672]
17695         * misc/error.c (error_tail): Fix possible buffer overflow.
17697 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
17699         [BZ #13028]
17700         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17701         address.
17703 2013-10-14  P. J. McDermott  <pj@pehjota.net>
17705         [BZ #832]
17706         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
17707         testing pipefail option.
17709 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17711         * soft-fp/double.h: Indent preprocessor directives inside #if.
17712         * soft-fp/extended.h: Likewise.
17713         * soft-fp/op-2.h: Likewise.
17714         * soft-fp/op-4.h: Likewise.
17715         * soft-fp/op-common.h: Likewise.
17716         * soft-fp/quad.h: Likewise.
17717         * soft-fp/single.h: Likewise.
17718         * soft-fp/soft-fp.h: Likewise.
17720 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
17722         * iconv/iconv_prog.c: Fix typos.
17723         * stdio-common/psiginfo-data.h: Likewise.
17725 2013-10-12   Reuben Thomas <rrt@sc3d.org>
17727         [BZ #15764]
17728         * locale/setlocale.c: Fix typo.
17730 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17732         [BZ #16036]
17733         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17734         signaling NaN arguments.
17735         * soft-fp/unordsf2.c (__unordsf2): Likewise.
17736         * soft-fp/unordtf2.c (__unordtf2): Likewise.
17738         [BZ #14910]
17739         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17740         unordered operands.
17741         * soft-fp/gesf2.c (__gesf2): Likewise.
17742         * soft-fp/getf2.c (__getf2): Likewise.
17743         * soft-fp/ledf2.c (__ledf2): Likewise.
17744         * soft-fp/lesf2.c (__lesf2): Likewise.
17745         * soft-fp/letf2.c (__letf2): Likewise.
17747         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17748         * soft-fp/eqsf2.c (__eqsf2): Likewise.
17749         * soft-fp/eqtf2.c (__eqtf2): Likewise.
17750         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17751         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17752         * soft-fp/fixdfti.c (__fixdfti): Likewise.
17753         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17754         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17755         * soft-fp/fixsfti.c (__fixsfti): Likewise.
17756         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17757         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17758         * soft-fp/fixtfti.c (__fixtfti): Likewise.
17759         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17760         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17761         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17762         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17763         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17764         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17765         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17766         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17767         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17768         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17769         * soft-fp/floatdisf.c (__floatdisf): Likewise.
17770         * soft-fp/floatsisf.c (__floatsisf): Likewise.
17771         * soft-fp/floattidf.c (__floattidf): Likewise.
17772         * soft-fp/floattisf.c (__floattisf): Likewise.
17773         * soft-fp/floattitf.c (__floattitf): Likewise.
17774         * soft-fp/floatundidf.c (__floatundidf): Likewise.
17775         * soft-fp/floatundisf.c (__floatundisf): Likewise.
17776         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17777         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17778         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17779         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17780         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17781         * soft-fp/gesf2.c (__gesf2): Likewise.
17782         * soft-fp/getf2.c (__getf2): Likewise.
17783         * soft-fp/ledf2.c (__ledf2): Likewise.
17784         * soft-fp/lesf2.c (__lesf2): Likewise.
17785         * soft-fp/letf2.c (__letf2): Likewise.
17787         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17788         Undefine and redefine.
17789         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17790         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17791         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17792         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17793         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17794         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17795         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17796         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17797         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17798         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17799         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17800         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17801         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17802         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17803         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17805         [BZ #16032]
17806         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17807         without decrementing exponent if mantissa >= that for the
17808         denominator, not >.
17809         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17810         denominator, not >.  Decrement exponent in < case instead of
17811         incrementing in >= case.
17812         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17813         without decrementing exponent if mantissa >= that for the
17814         denominator, not >.
17816         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17817         computing saturated result for unsigned overflow.
17819 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17820             Jeff Law  <law@redhat.com>
17822         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17823         (atan2Mp): Add systemtap probe marker.
17824         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17825         (__ieee754_log): Add systemtap probe marker.
17826         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17827         (atanMp): Add systemtap probe marker.
17828         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17829         (tanMp): Add systemtap probe marker.
17830         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17831         (__slowexp): Add systemtap probe marker.
17832         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17833         (__slowpow): Add systemtap probe marker.
17834         * manual/probes.texi: Document probes.
17836 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
17838         [BZ #15362]
17839         * libio/fileops.c (_IO_new_file_write): Return count of bytes
17840         written.
17841         (_IO_new_file_xsputn): Don't return EOF if nothing has been
17842         written.
17843         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17844         written to buffer but not flushed.
17845         * libio/iofwrite_u.c:  Likewise.
17846         * libio/iopadn.c:  Return bytes returned even if EOF was
17847         encountered.
17848         * libio/iowpadn.c:  Likewise.
17849         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17850         if _IO_padn does not write the whole buffer.
17851         [!COMPILE_WPRINTF] (PAD): Likewise.
17853 2013-10-10  David S. Miller  <davem@davemloft.net>
17855         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17856         directory block.
17858 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17860         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
17861         instead of FSF address.
17862         * soft-fp/fixdfti.c: Likewise.
17863         * soft-fp/fixsfti.c: Likewise.
17864         * soft-fp/fixtfti.c: Likewise.
17865         * soft-fp/fixunsdfti.c: Likewise.
17866         * soft-fp/fixunssfti.c: Likewise.
17867         * soft-fp/fixunstfti.c: Likewise.
17868         * soft-fp/floattidf.c: Likewise.
17869         * soft-fp/floattisf.c: Likewise.
17870         * soft-fp/floattitf.c: Likewise.
17871         * soft-fp/floatuntidf.c: Likewise.
17872         * soft-fp/floatuntisf.c: Likewise.
17873         * soft-fp/floatuntitf.c: Likewise.
17874         * soft-fp/trunctfxf2.c: Likewise.
17876         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
17877         * soft-fp/fixdfti.c: Likewise.
17878         * soft-fp/fixsfti.c: Likewise.
17879         * soft-fp/fixtfti.c: Likewise.
17880         * soft-fp/fixunsdfti.c: Likewise.
17881         * soft-fp/fixunssfti.c: Likewise.
17882         * soft-fp/fixunstfti.c: Likewise.
17883         * soft-fp/floattidf.c: Likewise.
17884         * soft-fp/floattisf.c: Likewise.
17885         * soft-fp/floattitf.c: Likewise.
17886         * soft-fp/floatuntidf.c: Likewise.
17887         * soft-fp/floatuntisf.c: Likewise.
17888         * soft-fp/floatuntitf.c: Likewise.
17889         * soft-fp/trunctfxf2.c: Likewise.
17891 2013-10-10  David S. Miller  <davem@davemloft.net>
17893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17895 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
17897         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17898         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17899         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17900         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17901         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17902         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17903         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17905         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17906         for NaNs before doing comparisons on argument.
17907         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17908         Likewise.
17910 2013-10-10  Will Newton  <will.newton@linaro.org>
17912         * malloc/hooks.c (memalign_check): Ensure the value of bytes
17913         passed to _int_memalign does not overflow.
17915 2013-10-10  Torvald Riegel  <triegel@redhat.com>
17917         * scripts/bench.pl: Add include-sources directive.
17918         * benchtests/README: Update documentation.
17920 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17922         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17923         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17924         instead of FP_INIT_ROUNDMODE.
17925         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17926         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17928         [BZ #16034]
17929         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
17930         copy class of input value.
17931         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
17932         not handle exceptions.
17933         * soft-fp/negsf2.c (__negsf2): Likewise.
17934         * soft-fp/negtf2.c (__negtf2): Likewise.
17935         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17937 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
17939         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17940         semicolon.  From Linux kernel.
17942 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
17944         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17946 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
17948         [BZ #156]
17949         * manual/socket.texi: Added statement about buffer
17950         for gethostbyname2_r.
17952 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
17954         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17955         Use .p2align directive instead, throughout.
17956         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17957         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17958         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17959         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17960         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17961         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17962         * sysdeps/x86_64/strchr.S: Likewise.
17963         * sysdeps/x86_64/strrchr.S: Likewise.
17965 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17967         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17969         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17971         * sysdeps/generic/math_private.h (__mpsin1): Remove
17972         declaration.
17973         (__mpcos1): Likewise.
17974         (__mpsin): New argument __range_reduce.
17975         (__mpcos): Likewise.
17976         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17977         (slow): Use __mpsin and __mpcos.
17978         (slow1): Likewise.
17979         (slow2): Likewise.
17980         (sloww): Likewise.
17981         (sloww1): Likewise.
17982         (sloww2): Likewise.
17983         (bsloww): Likewise.
17984         (bsloww1): Likewise.
17985         (bsloww2): Likewise.
17986         (cslow2): Likewise.
17987         (csloww): Likewise.
17988         (csloww1): Likewise.
17989         (csloww2): Likewise.
17990         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17991         range_reduce.  Merge in __mpsin1.
17992         (__mpcos): Likewise.
17993         (__mpsin1): Remove.
17994         (__mpcos1): Likewise.
17996 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
17998         * locale/loadlocale.c (_nl_intern_locale_data): Use
17999         LOCFILE_ALIGNED_P.
18000         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18001         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18002         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18003         obstack data is appropriately aligned.
18004         (obstack_int32_grow_fast): Likewise.
18005         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18006         * locale/programs/locfile.c (add_locale_uint32): Likewise.
18007         (add_locale_uint32_array): Likewise.
18009 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18011         * benchtests/Makefile: Remove ARGLIST and RET variables.
18012         ($(objpfx)bench-%.c): Pass only function name to the script.
18013         * benchtests/README: Update documentation.
18014         * benchtests/acos-inputs: Add new directives.
18015         * benchtests/acosh-inputs: Likewise.
18016         * benchtests/asin-inputs: Likewise.
18017         * benchtests/asinh-inputs: Likewise.
18018         * benchtests/atan-inputs: Likewise.
18019         * benchtests/atanh-inputs: Likewise.
18020         * benchtests/cos-inputs: Likewise.
18021         * benchtests/cosh-inputs: Likewise.
18022         * benchtests/exp-inputs: Likewise.
18023         * benchtests/log-inputs: Likewise.
18024         * benchtests/pow-inputs: Likewise.
18025         * benchtests/rint-inputs: Likewise.
18026         * benchtests/sin-inputs: Likewise.
18027         * benchtests/sinh-inputs: Likewise.
18028         * benchtests/tan-inputs: Likewise.
18029         * benchtests/tanh-inputs: Likewise.
18030         * scripts/bench.pl: Add support for new directives.
18032 2013-10-07  Alan Modra  <amodra@gmail.com>
18034         * README: Fix careless merge.
18036 2013-10-05  Alan Modra  <amodra@gmail.com>
18038         * NEWS: Mention powerpc64le support and bugs fixed.
18039         * README: Both big-endian and little-endian powerpc64 supported.
18041 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18043         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18044         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18045         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18046         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18048 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
18050         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18051         match prototype.
18053 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
18055         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18056         Move -mhard-float appending from
18057         ports/sysdeps/powerpc/powerpc32/Makefile.
18058         [$(with-fp) = yes] (ASFLAGS): Likewise.
18059         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18060         * sysdeps/powerpc/nofpu: Move directory from
18061         ports/sysdeps/powerpc/nofpu.
18062         * sysdeps/powerpc/soft-fp: Move directory from
18063         ports/sysdeps/powerpc/soft-fp.
18064         * sysdeps/powerpc/powerpc32/405: Move directory from
18065         ports/sysdeps/powerpc/powerpc32/405.
18066         * sysdeps/powerpc/powerpc32/440: Move directory from
18067         ports/sysdeps/powerpc/powerpc32/440.
18068         * sysdeps/powerpc/powerpc32/464: Move directory from
18069         ports/sysdeps/powerpc/powerpc32/464.
18070         * sysdeps/powerpc/powerpc32/476: Move directory from
18071         ports/sysdeps/powerpc/powerpc32/476.
18072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18073         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18075         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18077         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18079         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18081         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18082         * README: Update for powerpc-*-linux-gnu software floating point
18083         support in libc.
18085         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18086         case to powerpc/powerpc32*.
18087         * sysdeps/unix/sysv/linux/configure: Regenerated.
18089         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18090         (_FPU_MASK_OM): Define as 0x04.
18091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18092         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18093         0x00c10080.
18094         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18095         0x0000003c.
18096         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18099         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18100         getcontext_e500.
18101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18102         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18103         setcontext_e500.
18104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18105         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18106         and setcontext_e500.
18108 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18110         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18112 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18114         * manual/threads.texi (Default Thread Attributes): Fix typo.
18116 2013-10-04  Will Newton  <will.newton@linaro.org>
18118         * malloc/Makefile: Add tst-memalign.
18119         * malloc/tst-memalign.c: New file.
18121         * malloc/tst-posix_memalign.c: Add comments.
18122         (do_test): Add comments and call free on all potentially
18123         allocated pointers. Add space after cast.
18125         * malloc/tst-pvalloc.c: Add comments.
18126         (do_test): Add comments and call free on all potentially
18127         allocated pointers. Remove duplicate check for NULL pointer.
18128         Add space after cast.
18130         * malloc/tst-valloc.c: Add comments.
18131         (do_test): Add comments and call free on all potentially
18132         allocated pointers. Remove duplicate check for NULL pointer.
18133         Add space after cast.
18135 2013-10-04  Alan Modra  <amodra@gmail.com>
18137         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18138         Use stdint types in rather than __attribute__((mode())).
18139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18141 2013-10-04  Alan Modra  <amodra@gmail.com>
18143         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18144         Correct handling of unaligned relocs for little-endian.
18145         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18147 2013-10-04  Alan Modra  <amodra@gmail.com>
18149         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18150         * configure: Regenerate.
18151         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18152         * shlib-versions: Likewise.
18154 2013-10-04  Alan Modra  <amodra@gmail.com>
18156         * string/tester.c (test_memrchr): Increment reported test cycle.
18158 2013-10-04  Alan Modra  <amodra@gmail.com>
18160         * string/test-memcpy.c (do_one_test): When reporting errors, print
18161         string address and don't overrun end of string.
18163 2013-10-04  Alan Modra  <amodra@gmail.com>
18165         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18166         insrdi.  Make better use of reg selection to speed exit slightly.
18167         Schedule entry path a little better.  Remove useless "are we done"
18168         checks on entry to main loop.  Handle wrapping around zero address.
18169         Correct main loop count.  Handle single left-over word from main
18170         loop inline rather than by using loop_small.  Remove extra word
18171         case in loop_small caused by wrong loop count.  Add little-endian
18172         support.
18173         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18174         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18175         cache hint.
18176         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18177         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18178         support.  Avoid rlwimi.
18179         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18181 2013-10-04  Alan Modra  <amodra@gmail.com>
18183         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18184         insrdi.  Formatting.
18185         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18186         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18187         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18188         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18189         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18190         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18192 2013-10-04  Alan Modra  <amodra@gmail.com>
18194         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18195         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18196         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18197         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18198         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18199         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18200         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18201         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18202         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18203         use of regs.  Use power7 mtocrf.  Tidy function tails.
18205 2013-10-04  Alan Modra  <amodra@gmail.com>
18207         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18208         Formatting.  Consistently use rXXX register defines or rN defines.
18209         Use early exit labels that avoid restoring unused non-volatile regs.
18210         Make cr field use more consistent with rWORDn compares.  Rename
18211         regs used as shift registers for unaligned loop, using rN defines
18212         for short lifetime/multiple use regs.
18213         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18214         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18215         addi 1,1,64 to pop stack frame.  Simplify return value code.
18216         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18218 2013-10-04  Alan Modra  <amodra@gmail.com>
18220         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18221         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18222         rather than rlwimi.
18223         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18224         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18225         little-endian support.  Correct typos.
18226         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18227         rather than rlwimi.
18228         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18229         in loop and entry code to keep "and." results.
18230         (strchr): Add little-endian support.  Comment.  Move cntlzd
18231         earlier in tail.
18232         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18234 2013-10-04  Alan Modra  <amodra@gmail.com>
18236         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18237         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18238         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18239         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18241 2013-10-04  Alan Modra  <amodra@gmail.com>
18243         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18244         (rTMP): Define as r11.
18245         (strcmp): Add little-endian support.  Optimise tail.
18246         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18247         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18248         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18249         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18250         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18251         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18252         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18254 2013-10-04  Alan Modra  <amodra@gmail.com>
18256         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18257         little-endian support.  Remove unnecessary "are we done" tests.
18258         Handle "s" wrapping around zero and extremely large "size".
18259         Correct main loop count.  Handle single left-over word from main
18260         loop inline rather than by using small_loop.  Correct comments.
18261         Delete "zero" tail, use "end_max" instead.
18262         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18264 2013-10-04  Alan Modra  <amodra@gmail.com>
18266         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18267         support.  Don't branch over align.
18268         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18269         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18270         support.  Rearrange tmp reg use to suit.  Comment.
18271         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18273 2013-10-04  Alan Modra  <amodra@gmail.com>
18275         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18277 2013-10-04  Alan Modra  <amodra@gmail.com>
18279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18280         conditional form of branch and link when obtaining pc.
18281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18283 2013-10-04  Alan Modra  <amodra@gmail.com>
18285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18286         HIWORD/LOWORD.
18287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18290 2013-10-04  Alan Modra  <amodra@gmail.com>
18292         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18293         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18294         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18295         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18296         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18297         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18298         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18299         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18300         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18301         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18303 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18304             Alistair Popple <alistair@ozlabs.au.ibm.com>
18305             Alan Modra <amodra@gmail.com>
18307         [BZ #15723]
18308         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18309         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18310         _dl_hwcap access for little-endian.
18311         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
18312         destroy vmx regs when saving unaligned.
18313         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18314         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
18315         destroy vmx regs when saving unaligned.
18317 2013-10-04  Alan Modra  <amodra@gmail.com>
18319         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18320         Don't use a union to pack hi/low value.
18322 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18324         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18325         for little-endian.
18326         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18327         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18328         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18329         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18330         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18332 2013-10-04  Alan Modra  <amodra@gmail.com>
18334         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18335         constants to usual value for .cst8 section, and remove redundant
18336         high address load.
18337         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18338         constant for 0x1p52.  Load little-endian words of double from
18339         correct stack offsets.
18341 2013-10-04  Alan Modra  <amodra@gmail.com>
18343         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18344         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18345         words of double from correct stack offsets.
18346         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18347         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18348         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18349         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18350         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18351         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18352         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18353         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18354         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18355         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18356         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18357         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18358         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18359         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18360         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18361         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18362         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18364 2013-10-04  Alan Modra  <amodra@gmail.com>
18366         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18367         64-bit int/double union.
18368         (_FPU_SETCW): Likewise.
18369         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18370         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18372 2013-10-04  Alan Modra  <amodra@gmail.com>
18374         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18375         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18377 2013-10-04  Alan Modra  <amodra@gmail.com>
18379         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18380         use vector int constants.
18381         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18383 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18385         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18386         array with long long.
18387         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18388         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18389         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18390         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18391         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18392         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18393         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18394         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18395         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18396         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18397         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18398         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18399         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18401 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18403         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18404         (__signbit): Likewise.  Correct for little-endian.
18405         (__signbitl): Call __signbit.
18406         (lrint): Correct for little-endian.
18407         (lrintf): Call lrint.
18409 2013-10-04  Alan Modra  <amodra@gmail.com>
18411         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18412         union 32-bit int array member with 64-bit int array.
18413         (t515, tm256): Double rather than long double.
18414         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18416 2013-10-04  Alan Modra  <amodra@gmail.com>
18418         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18419         Delete.
18420         (IEEE854_LONG_DOUBLE_BIAS): Delete.
18421         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18422         version of math_ldbl.h.
18424 2013-10-04  Alan Modra  <amodra@gmail.com>
18426         [BZ #15734], [BZ #15735]
18427         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18428         all uses of ieee875 long double macros and unions.  Simplify test
18429         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
18430         ldbl_extract_mantissa value for ix,iy exponents.  Properly
18431         normalize after ldbl_extract_mantissa, and don't add hidden bit
18432         already handled.  Don't treat low word of ieee854 mantissa like
18433         low word of IBM long double and mask off bit when testing for
18434         zero.
18435         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18436         all uses of ieee875 long double macros and unions.  Simplify tests
18437         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
18438         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
18439         two1022, instead use their values.  Recognise that tests for large
18440         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18441         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18442         Rewrite all uses of ieee875 long double macros and unions.  Simplify
18443         test for 0.0L and nan.  Correct negation.
18444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18445         ieee875 long double macros and unions.  Correct output for large
18446         magnitude x.  Correct absolute value calculation.
18447         (__erfcl): Likewise.
18448         * math/libm-test.inc: Add tests for errors discovered in IBM long
18449         double versions of fmodl, remainderl, erfl and erfcl.
18451 2013-10-04  Alan Modra  <amodra@gmail.com>
18453         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18454         all uses of ieee854 long double macros and unions.  Simplify tests
18455         for long doubles that are fully specified by the high double.
18456         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18457         Likewise.
18458         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18459         Remove dead code too.
18460         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18461         (__ieee754_ynl): Likewise.
18462         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18463         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18464         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18465         Remove dead code too.
18466         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18467         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18468         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18469         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18470         Simplify.
18471         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18472         Simplify.
18473         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18474         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18475         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18476         Comment on variable precision.
18477         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18478         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18479         Likewise.
18480         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18481         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18482         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18483         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18484         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18486 2013-10-04  Alan Modra  <amodra@gmail.com>
18488         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18489         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18490         all uses of ieee854 long double macros and unions.
18491         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18493         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18494         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18495         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18496         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18497         Likewise.
18498         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18499         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18500         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18501         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18502         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18503         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18504         Simplify sign and nan test too.
18505         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18506         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18507         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18508         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18509         Likewise.
18510         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18511         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18512         Likewise.
18513         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18514         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18515         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18516         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18517         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18518         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18520 2013-10-04  Alan Modra  <amodra@gmail.com>
18522         * stdio-common/printf_size.c (__printf_size): Don't use
18523         union ieee854_long_double in fpnum union.
18524         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
18525         signbit macro to retrieve sign from long double.
18526         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18527         retrieve sign from long double.
18528         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18529         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18530         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18531         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18532         * math/test-misc.c (main): Don't use union ieee854_long_double.
18534 2013-10-04  Alan Modra  <amodra@gmail.com>
18536         [BZ #15680]
18537         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18538         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18539         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18540         calculation.  Remove unnecessary test for denormal exponent.
18541         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18542         Correct handling of denormals.  Avoid undefined shift behaviour.
18543         Correct normalisation of low mantissa when low double is denormal.
18544         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18545         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
18546         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18547         Correct normalisation of low mantissa.  Test for overflow of high
18548         mantissa and normalise.
18549         (ldbl_nearbyint): Use more readable constant for two52.
18550         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18551         (__mpn_construct_long_double): Fix test for overflow of high
18552         mantissa and correct normalisation.  Avoid undefined shift.
18554 2013-10-04  Alan Modra  <amodra@gmail.com>
18556         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18557         (union ibm_extended_long_double): Define as an array of ieee754_double.
18558         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18559         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18560         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18561         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18562         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18563         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18564         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18565         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18566         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18567         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18568         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18570 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
18572         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18573         page size instead of calling getpagesize.
18575         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18576         (LOCFILE_ALIGN_MASK): Likewise.
18577         (LOCFILE_ALIGN_UP): Likewise.
18578         (LOCFILE_ALIGNED_P): Likewise.
18579         * locale/programs/ld-collate.c (collate_output): Use the new
18580         macros instead of __alignof__ (int32_t).
18581         * locale/weight.h (findidx): Likewise.
18583 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
18585         [BZ #431]
18586         * manual/string.texi: Fix strncat and wcsncat.
18588 2013-10-03  Brooks Moses  <bmoses@google.com>
18590         [BZ #15915]
18591         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18592         * Makerules: ...here, and adjust associated comments.
18594 2013-10-02  Will Newton  <will.newton@linaro.org>
18596         * malloc/Makefile: Add tst-pvalloc.
18597         * malloc/tst-pvalloc.c: New file.
18599 2013-10-02  Will Newton  <will.newton@linaro.org>
18601         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18602         improve test coverage.
18604 2013-10-02  Will Newton  <will.newton@linaro.org>
18606         * malloc/Makefile: Add tst-posix_memalign.
18607         * malloc/tst-posix_memalign.c: New file.
18609 2013-10-01  Eric Blake  <eblake@redhat.com>
18611         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18612         Use __THROWNL rather than __THROW on static functions.
18614 2013-09-30  Petr Machata  <pmachata@redhat.com>
18616         * elf/elf.h (R_AARCH64_ABS16): New macro.
18617         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18618         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18619         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18620         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18621         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18622         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18623         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18624         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18625         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18626         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18627         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18628         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18629         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18630         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18631         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18632         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18633         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18634         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18635         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18636         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18637         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18638         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18639         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18640         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18641         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18642         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18643         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18644         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18645         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18646         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18647         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18648         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18649         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18650         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18651         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18652         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18653         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18654         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18655         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18656         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18657         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18658         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18659         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18660         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18661         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18662         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18663         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18664         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18665         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18666         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18667         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18668         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18669         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18670         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18671         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18672         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18673         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18674         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18675         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18676         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18677         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18678         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18679         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18680         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18681         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18682         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18683         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18684         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18685         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18686         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18687         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18688         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18689         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18690         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18691         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18692         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18693         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18694         (R_AARCH64_TLSDESC_LDR): Likewise.
18695         (R_AARCH64_TLSDESC_ADD): Likewise.
18696         (R_AARCH64_TLSDESC_CALL): Likewise.
18698 2013-09-30  Andreas Schwab  <schwab@suse.de>
18700         [BZ #15048]
18701         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18702         the nss database lookup.
18703         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18706 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
18708         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18710 2013-09-28  P. J. McDermott  <pj@pehjota.net>
18712         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18713         ${Bash-specific parameter/pattern/string} parameter expansion.
18714         * sysdeps/unix/make-syscalls.sh: Likewise.
18716 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18718         * sysdeps/sh/stackguard-macros.h: New file.
18720 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
18722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18724         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18725         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18726         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18727         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18729 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18731         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18732         Fix thread ID register.
18734 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
18736         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18737         [POSIX || UNIX98]: Require rather than permitting all symbols from
18738         <time.h>.
18739         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18740         element of struct sched_param.
18741         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18742         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18743         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18744         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18745         constant.
18747 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
18749         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18750         argument calculation.
18752 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18754         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18755         Expect macro.
18756         [POSIX] (pthread_attr_t): Do not require type.
18757         [POSIX] (pthread_cond_t): Likewise.
18758         [POSIX] (pthread_condattr_t): Likewise.
18759         [POSIX] (pthread_key_t): Likewise.
18760         [POSIX] (pthread_mutex_t): Likewise.
18761         [POSIX] (pthread_mutexattr_t): Likewise.
18762         [POSIX] (pthread_once_t): Likewise.
18763         [POSIX] (pthread_t): Likewise.
18764         [POSIX-based standards] (pthread_atfork): Expect function.
18766 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18767             Richard Sandiford  <richard@codesourcery.com>
18769         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18770         (swap_endianness_p): New extern variable.
18771         (set_big_endian): New inline function.
18772         (maybe_swap_uint32): Likewise.
18773         (maybe_swap_uint32_array): Likewise.
18774         (maybe_swap_uint32_obstack): Likewise.
18775         * locale/programs/locfile.c: Include <stdbool.h>.
18776         (swap_endianness_p): New variable.
18777         (add_locale_uint32): Call maybe_swap_uint32.
18778         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18779         (write_locale_data): Call maybe_swap_uint32_array.
18780         * locale/programs/ld-collate.c (obstack_int32_grow): Call
18781         maybe_swap_uint32.
18782         (obstack_int32_grow_fast): Likewise.
18783         (output_weightwc): Call maybe_swap_uint32_obstack.
18784         (collate_output): Likewise.
18785         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18786         (OPT_LITTLE_ENDIAN): Likewise.
18787         (options): Add --little-endian and --big-endian options.
18788         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18789         * locale/programs/locarchive.c: Include "locfile.h".
18790         (GET): New macro.
18791         (SET): Likewise.
18792         (INC): Likewise.
18793         (create_archive): Use the new macros to access fields of
18794         structures directly mapped from or written to locale archives.
18795         (oldlocrecentcmp): Likewise.
18796         (enlarge_archive): Likewise.
18797         (insert_name): Likewise.
18798         (add_alias): Likewise.
18799         (add_locale): Likewise.
18800         (delete_locales_from_archive): Likewise.
18801         (show_archive_content): Likewise.
18802         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
18803         locale data.
18805 2013-09-24  Roland McGrath  <roland@hack.frob.com>
18807         * manual/freemanuals.texi: Updated from (newly) canonical copy at
18808         http://www.gnu.org/doc/freemanuals.texi.
18809         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18811 2013-09-24  Will Newton  <will.newton@linaro.org>
18813         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18814         macro.
18816 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
18818         * locale/hashval.h (compute_hashval): Interpret bytes of key as
18819         unsigned char.
18821 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
18823         * manual/threads.texi (POSIX Threads): Fix a typo.
18825 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18827         [BZ #14547]
18828         * string/tst-strcoll-overflow.c: New test case.
18829         * string/Makefile (xtests): Add tst-strcoll-overflow.
18830         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18831         cache if string sizes may cause integer overflow.
18833         [BZ #14547]
18834         * string/strcoll_l.c (coll_seq): New members rule, idx,
18835         save_idx and back_us.
18836         (get_next_seq_nocache): New function.
18837         (do_compare_nocache): New function.
18838         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18839         when malloc fails.
18841 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
18843         [BZ #15754]
18844         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18845         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18846         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18848         [BZ #15754]
18849         * elf/Makefile (tests): Add tst-ptrguard1.
18850         (tests-static): Add tst-ptrguard1-static.
18851         (tst-ptrguard1-ARGS): Define.
18852         (tst-ptrguard1-static-ARGS): Define.
18853         * elf/tst-ptrguard1.c: New file.
18854         * elf/tst-ptrguard1-static.c: New file.
18855         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18856         * sysdeps/i386/stackguard-macros.h: Likewise.
18857         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18858         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18859         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18860         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18861         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18862         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18864 2013-09-23  Hector Marco  <hecmargi@upv.es>
18865             Ismael Ripoll  <iripoll@disca.upv.es>
18866             Carlos O'Donell  <carlos@redhat.com>
18868         [BZ #15754]
18869         * sysdeps/generic/stackguard-macros.h: Define
18870         __pointer_chk_guard_local and POINTER_CHK_GUARD.
18871         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18872         Define __pointer_chk_guard_local.
18873         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18874         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18876 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
18878         [BZ #15859]
18879         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18881 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
18883         * include/string.h (__ffs): Declare as hidden.
18884         * string/ffs.c (__ffs): Define as hidden.
18885         * sysdeps/i386/ffs.c (__ffs): Likewise.
18886         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18887         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18888         * sysdeps/s390/ffs.c (__ffs): Likewise.
18889         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18891 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
18893         * NEWS: Mention malloc probes.
18895         * malloc/arena.c (new_heap): New memory_heap_new probe.
18896         (grow_heap): New memory_heap_more probe.
18897         (shrink_heap): New memory_heap_less probe.
18898         (heap_trim): New memory_heap_free probe.
18899         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18900         (systrim): New memory_sbrk_less probe.
18901         * manual/probes.texi: Document them.
18903         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18904         * manual/probes.texi: Document it.
18906         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18907         (__libc_realloc): Add memory_realloc_retry probe.
18908         (__libc_memalign): Add memory_memalign_retry probe.
18909         (__libc_valloc): Add memory_valloc_retry probe.
18910         (__libc_pvalloc): Add memory_pvalloc_retry probe.
18911         (__libc_calloc): Add memory_calloc_retry probe.
18912         * manual/probes.texi: Document them.
18914         * malloc/arena.c (get_free_list): Add probe
18915         memory_arena_reuse_free_list.
18916         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18917         and memory_arena_reuse.
18918         (arena_get2) [!PER_THREAD]: Likewise.
18919         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18920         memory_arena_reuse_realloc.
18921         * manual/probes.texi: Document them.
18923         * malloc/malloc.c (__libc_free): Add
18924         memory_mallopt_free_dyn_thresholds probe.
18925         (__libc_mallopt): Add multiple memory_mallopt probes.
18926         * manual/probes.texi: Document them.
18928         * malloc/malloc.c: Include stap-probe.h.
18929         (__libc_mallopt): Add memory_mallopt probe.
18930         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18931         * manual/probes.texi: New.
18932         * manual/Makefile (chapters): Add probes.
18933         * manual/threads.texi: Set next node.
18935 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
18937         [BZ #15963, #13985]
18938         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18939         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18940         Add `Chinese' to `nan' entry name.
18942 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18944         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18945         (POLYNOMIAL): Likewise.
18946         (TAYLOR_SINCOS): Likewise.
18947         (TAYLOR_SLOW): Likewise.
18948         (__sin): Use TAYLOR_SINCOS.
18949         (__cos): Likewise.
18950         (slow): Use TAYLOR_SLOW.
18951         (sloww): Likewise.
18952         (bsloww): Likewise.
18953         (csloww): Likewise.
18955 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18957         * stdlib/strtod_l.c: Fix buffer overrun.
18959 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18961         * benchtests/Makefile (bench): Add sincos.
18962         * benchtests/bench-sincos.c: New file.
18964         * math/libm-test.inc (cos_test_data): New test inputs.
18965         (sin_test_data): Likewise.
18967         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18968         macro.
18969         (__sin): Use it.
18970         (__cos): Likewise.
18971         (slow1): Likewise.
18972         (slow2): Likewise.
18973         (sloww1): Likewise.
18974         (sloww2): Likewise.
18975         (bsloww1): Likewise.
18976         (bsloww2): Likewise.
18977         (cslow2): Likewise.
18978         (csloww1): Likewise.
18979         (csloww2): Likewise.
18981         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18982         function.
18983         (__sin): Use it.
18984         (__cos): Likewise.
18986         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18987         gotos.
18988         (__cos): Likewise.
18990 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
18992         * config.h.in (HAVE_MIPS_NAN2008): New macro.
18993         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18994         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18995         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18996         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18997         * elf/cache.c (print_entry): Handle the new cache flags.
18999 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19000             Aldy Hernandez  <aldyh@redhat.com>
19002         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19003         Change condition to [_SOFT_FLOAT].
19004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19012         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19016         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19019         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19020         declaration.
19022 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19024         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19025         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19026         (__longjmp): Use LOAD_GP to load saved GPRs.
19027         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19028         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19029         (__sigsetjmp): Use SAVE_GP to save GPRs.
19031         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19032         Do not append -msoft-float.
19033         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19035 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19037         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19039 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
19041         [BZ #15966]
19042         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19043         (_FPU_GETCW): Use initial "__" on variable and field names but not
19044         on macro parameter name.
19045         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
19046         parentheses around reference to macro parameter.
19048 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
19050         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19051         prototype.
19052         (ctype_startup): Use uint32_t in cast and sizeof for
19053         ctype->charnames.
19055 2013-09-11  Jia Liu  <proljc@gmail.com>
19057         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19058         __daddr_t_defined.
19059         [__FreeBSD__]: Likewise.
19061 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
19063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19064         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19065         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19066         (strchr): Remove __strchr_sse42 ifunc selection.
19067         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19068         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19070 2013-09-11  Will Newton  <will.newton@linaro.org>
19072         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19073         parameter to RES. Remove hardcoded 1000 value.
19074         * benchtests/bench-skeleton.c (main): Pass RES parameter
19075         to TIMING_INIT and multiply result by 1000.
19077 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19081 2013-09-11  Andreas Schwab  <schwab@suse.de>
19083         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19084         if not defined.
19085         (O_TMPFILE) [__USE_GNU]: Define.
19086         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19087         Define.
19089 2013-09-11  Will Newton  <will.newton@linaro.org>
19091         [BZ #15857]
19092         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19093         does not overflow.
19095 2013-09-11  Will Newton  <will.newton@linaro.org>
19097         [BZ #15856]
19098         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19099         does not overflow.
19101 2013-09-11  Will Newton  <will.newton@linaro.org>
19103         [BZ #15855]
19104         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19105         does not overflow.
19107 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19109         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19110         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19111         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19112         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19113         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19115 2013-09-10  Allan McRae  <allan@archlinux.org>
19117         [BZ #15748]
19118         * manual/arith.texi (Parsing of Floats): Clarify
19119         cross-reference.
19121         [BZ #15849]
19122         * manual/install.texi (Running make install): Mention
19123         --enable-pt-chown.
19124         * INSTALL: Regenerated.
19126 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19128         * csu/init-first.c (_init): Remove the !SHARED condition around
19129         FPU control word initialization.
19130         * elf/dl-support.c (_dl_fpu_control): New variable.
19131         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19132         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19133         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19134         * math/test-fpucw-static.c: New file.
19135         * math/test-fpucw-ieee.c: New file.
19136         * math/test-fpucw-ieee-static.c: New file.
19137         * math/Makefile (tests): Add `test-fpucw-ieee' and
19138         `$(tests-static)'.
19139         (tests-static): New variable.
19140         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19141         dependency to...
19142         [($(build-shared),yes)]
19143         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19144         ... this.
19145         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19146         New dependency.
19148 2013-09-09  Allan McRae  <allan@archlinux.org>
19150         [BZ #15939]
19151         * manual/string.texi (Collation Functions): Fix typo in
19152         strcoll example.
19153         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19155         [BZ #15893]
19156         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19158         [BZ #15892]
19159         * libio/memstream.c (open_memstream): Fix memory leak.
19160         * libio/wmemstream.c (open_wmemstream): Likewise.
19162         [BZ #15895]
19163         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19165 2013-09-09  Will Newton  <will.newton@linaro.org>
19167         * malloc/Makefile: Add tst-realloc to tests.
19168         * malloc/tst-realloc.c: New file.
19170 2013-09-09  Allan McRae  <allan@archlinux.org>
19172         [BZ #15844]
19173         * COPYING: Update from GNU website to fix FSF address.
19174         * COPYING.LIB: Likewise.
19176 2013-09-06  David S. Miller  <davem@davemloft.net>
19178         * po/zh_TW.po: Update Chinese (traditional) translation from
19179         translation project.
19181 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19182             Joseph Myers  <joseph@codesourcery.com>
19184         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19185         "localeinfo.h".
19186         (obstack_chunk_alloc): New macro.
19187         (obstack_chunk_free): Likewise.
19188         (record_offset): New function.
19189         (init_locale_data): Likewise.
19190         (align_locale_data): Likewise.
19191         (add_locale_empty): Likewise.
19192         (add_locale_raw_data): Likewise.
19193         (add_locale_raw_obstack): Likewise.
19194         (add_locale_string): Likewise.
19195         (add_locale_wstring): Likewise.
19196         (add_locale_uint32): Likewise.
19197         (add_locale_uint32_array): Likewise.
19198         (add_locale_char): Likewise.
19199         (start_locale_structure): Likewise.
19200         (end_locale_structure): Likewise.
19201         (start_locale_prelude): Likewise.
19202         (end_locale_prelude): Likewise.
19203         (write_locale_data): Take locale_file structure rather than an
19204         iovec.
19205         * locale/programs/locfile.h: Include "obstack.h".
19206         (struct locale_file): Change to store locale file contents instead
19207         of header.
19208         (init_locale_data): New prototype.
19209         (align_locale_data): Likewise.
19210         (add_locale_empty): Likewise.
19211         (add_locale_raw_data): Likewise.
19212         (add_locale_raw_obstack): Likewise.
19213         (add_locale_string): Likewise.
19214         (add_locale_wstring): Likewise.
19215         (add_locale_uint32): Likewise.
19216         (add_locale_uint32_array): Likewise.
19217         (add_locale_char): Likewise.
19218         (start_locale_structure): Likewise.
19219         (end_locale_structure): Likewise.
19220         (start_locale_prelude): Likewise.
19221         (end_locale_prelude): Likewise.
19222         (write_locale_data): Update prototype.
19223         * locale/programs/3level.h (struct TABLE): Remove result field.
19224         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19225         Use new locale_file interface.
19226         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19227         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19228         * locale/programs/ld-address.c (address_output): Use new
19229         locale_file interface.
19230         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19231         NO_ADD_LOCALE.
19232         (collate_finish): Don't call collseq_table_finalize.
19233         (collate_output): Use new locale_file interface.
19234         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19235         in file.
19236         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19237         (TABLE): Move defines earlier in file.
19238         (ELEMENT): Likewise.
19239         (DEFAULT): Likewise.
19240         (wctrans_table_add): Move macro and inline function earlier in
19241         file.
19242         (struct wctype_table): Move type earlier in file.
19243         (add_locale_wctype_table): New static prototype.
19244         (struct locale_ctype_t): Use logical types instead of struct iovec
19245         pointers for members.
19246         (ctype_output): Use new locale_file interface.
19247         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19248         new locale_file interface.
19249         (allocate_arrays): Update for use of new locale_file interface.
19250         * locale/programs/ld-identification.c (identification_output): Use
19251         new locale_file interface.
19252         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19253         * locale/programs/ld-messages.c (messages_output): Likewise.
19254         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19255         * locale/programs/ld-name.c (name_output): Likewise.
19256         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19257         * locale/programs/ld-paper.c (paper_output): Likewise.
19258         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19259         * locale/programs/ld-time.c (time_output): Likewise.
19261 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19263         * benchtests/Makefile: Add memrchr benchmark.
19264         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19265         benchmark as memrchr.
19266         * benchtests/bench-memrchr-ifunc.c: New file.
19267         * benchtests/bench-memrchr.c: New file.
19269 2013-09-06   Will Newton  <will.newton@linaro.org>
19271         * benchtests/Makefile (string-bench): Add memcpy.
19273 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19274             Cong Wang  <amwang@redhat.com>
19276         [BZ #15850]
19277         * sysdeps/unix/sysv/linux/bits/in.h
19278         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19279         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19280         before __USE_KERNEL_IPV6_DEFS uses.
19281         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19282         IPPROTO_BEETPH.
19283         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19284         sockaddr_in6, or ipv6_mreq.
19286 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19288         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19289         memory access for final bytes in some large inputs.
19290         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19292 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19294         * string/test-memrchr.c: New file.
19295         * string/test-memrchr-ifunc.c: New file.
19296         * string/Makefile: Add new memrchr testcase.
19298 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19300         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19301         fanotify_init returns EPERM.
19303 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19305         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19306         errors.
19307         (top level): Treat second token from macro or constant entries for
19308         allowed headers as allowed.
19309         * include/complex.h: Condition internal declarations on
19310         [!_ISOMAC].
19311         * include/fenv.h: Condition include of <stdbool.h> and internal
19312         declarations on [!_ISOMAC].
19314 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
19316         [BZ #15923]
19317         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19319 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19321         * configure.in (--enable-versioning): Remove configure option.
19322         (libc_cv_asm_symver_directive): Remove configure test.
19323         (libc_cv_ld_version_script_option): Likewise.
19324         (VERSIONING): Remove variable and AC_SUBST.
19325         (DO_VERSIONING): Remove AC_DEFINE.
19326         * configure: Regenerated.
19327         * config.h.in (DO_VERSIONING): Remove macro.
19328         * Makerules [$(versioning) = yes]: Change conditionals to
19329         [$(build-shared) = yes].
19330         * config.make.in (versioning): Remove variable.
19331         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19332         [$(build-shared) = yes].
19333         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19334         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19335         * elf/Makefile [$(versioning) = yes]: Change conditionals to
19336         [$(build-shared) = yes].
19337         * extra-lib.mk [$(versioning) = yes]: Likewise.
19338         * hurd/Makefile [$(versioning) = yes]: Likewise.
19339         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19340         [SHARED].
19341         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19342         [SHARED].
19343         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19344         [SHARED && !NO_HIDDEN].
19345         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19346         [SHARED].
19347         [SHARED && DO_VERSIONING]: Likewise..
19348         * libio/Makefile [$(versioning) = yes]: Change conditionals to
19349         [$(build-shared) = yes].
19350         * manual/install.texi (--disable-versioning): Remove
19351         documentation.
19352         * INSTALL: Regenerated.
19353         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19354         to [SHARED].
19355         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19356         [$(build-shared) = yes].
19357         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19358         * sysdeps/i386/i686/multiarch/strstr-c.c
19359         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19360         [SHARED && !NO_HIDDEN].
19361         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19362         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19363         * sysdeps/powerpc/powerpc32/dl-machine.c
19364         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19365         * sysdeps/powerpc/powerpc32/sysdep.h
19366         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19367         to [SHARED && PIC && !NO_HIDDEN].
19368         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19369         conditional to [SHARED].
19371 2013-09-04   Will Newton  <will.newton@linaro.org>
19373         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19374         * benchtests/bench-string.h: Include bench-timing.h instead
19375         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19376         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19377         call to HP_TIMING_DIFF_INIT.
19378         * benchtests/bench-memccpy.c: Use bench-timing.h macros
19379         instead of hp-timing.h macros.
19380         * benchtests/bench-memchr.c: Likewise.
19381         * benchtests/bench-memcmp.c: Likewise.
19382         * benchtests/bench-memcpy.c: Likewise.
19383         * benchtests/bench-memmem.c: Likewise.
19384         * benchtests/bench-memmove.c: Likewise.
19385         * benchtests/bench-memset.c: Likewise.
19386         * benchtests/bench-rawmemchr.c: Likewise.
19387         * benchtests/bench-strcasecmp.c: Likewise.
19388         * benchtests/bench-strcasestr.c: Likewise.
19389         * benchtests/bench-strcat.c: Likewise.
19390         * benchtests/bench-strchr.c: Likewise.
19391         * benchtests/bench-strcmp.c: Likewise.
19392         * benchtests/bench-strcpy.c: Likewise.
19393         * benchtests/bench-strcpy_chk.c: Likewise.
19394         * benchtests/bench-strlen.c: Likewise.
19395         * benchtests/bench-strncasecmp.c: Likewise.
19396         * benchtests/bench-strncat.c: Likewise.
19397         * benchtests/bench-strncmp.c: Likewise.
19398         * benchtests/bench-strncpy.c: Likewise.
19399         * benchtests/bench-strnlen.c: Likewise.
19400         * benchtests/bench-strpbrk.c: Likewise.
19401         * benchtests/bench-strrchr.c: Likewise.
19402         * benchtests/bench-strspn.c: Likewise.
19403         * benchtests/bench-strstr.c: Likewise.
19405 2013-09-04  Will Newton  <will.newton@linaro.org>
19407         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19409 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
19411         [BZ #15427]
19412         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19413         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19414         * math/libm-test.inc (lgamma_test_data): Add more tests.
19415         * sysdeps/i386/fpu/libm-test-ulps: Update.
19416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19418 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
19420         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19421         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19422         Add ifunc.
19423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19424         Add strcmp-sse2-unaligned
19425         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19427 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19429         * Versions.def (libc): Add GLIBC_2.19.
19431 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19433         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19434         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19436 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
19438         [BZ #14155]
19439         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19440         intermediate calculations in recurrence.
19441         (__ieee754_ynf): Likewise.
19442         * math/libm-test.inc (jn_test_data): Do not allow spurious
19443         underflow exception.  Add more tests.
19444         (yn_test_data): Add more tests.
19445         * sysdeps/i386/fpu/libm-test-ulps: Update.
19446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19448 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
19450         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19452 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19454         * csu/init-first.c: Fix then/than typos.
19455         * locale/programs/ld-collate.c: Likewise.
19456         * locale/programs/linereader.h: Likewise.
19457         * manual/charset.texi: Likewise.
19458         * manual/filesys.texi: Likewise.
19459         * manual/stdio.texi: Likewise.
19460         * manual/string.texi: Likewise.
19461         * stdlib/fmtmsg.c: Likewise.
19462         * sysdeps/i386/stpncpy.S: Likewise.
19463         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19464         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19465         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19466         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19468 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19470         * elf/dl-open.c: Fix typos.
19471         * iconvdata/gbbig5.c: Likewise.
19472         * iconvdata/iso-2022-jp.c: Likewise.
19473         * iconv/gconv_int.h: Likewise.
19474         * iconv/loop.c: Likewise.
19475         * nis/rpcsvc/nis.h: Likewise.
19476         * resolv/ns_name.c: Likewise.
19477         * stdio-common/vfscanf.c: Likewise.
19478         * streams/stropts.h: Likewise.
19479         * sunrpc/rpc_thread.c: Likewise.
19480         * sysdeps/i386/strpbrk.S: Likewise.
19481         * sysdeps/ieee754/k_standard.c: Likewise.
19482         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19483         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19484         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19485         * sysdeps/mach/hurd/profil.c: Likewise.
19486         * sysdeps/s390/dl-procinfo.h: Likewise.
19487         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19488         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19489         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19490         * sysdeps/x86_64/dl-trampoline.S: Likewise.
19491         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19493 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
19495         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19498 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
19500         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19501         aix specific files.
19502         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19503         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19504         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19505         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19506         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19507         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19508         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19509         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19511 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19512             Roland McGrath  <roland@hack.frob.com>
19514         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19515         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19517 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19519         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19520         __executable_start symbol instead of _start.
19522 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19524         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19525         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19526         Move macros to...
19527         * sysdeps/gnu/ldsodefs.h: ... this new file.
19529         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19530         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19531         instead of ELFOSABI_LINUX.
19533         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19534         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19535         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19536         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19537         Likewise.
19538         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19539         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19540         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19541         Likewise.
19542         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19543         (ibm_extended_long_double): Add ieee_nan member.
19544         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19545         (do_test): New function.
19547         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19548         TEST_TRUNC.
19549         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19550         functions, renamed from truncdfsf_test, trunctfsf_test,
19551         trunctfdf_test.
19552         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19553         functions.
19554         (do_test): Run all these.
19556 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
19558         * argp/argp-help.c: Fix typos.
19559         * argp/argp-parse.c: Likewise.
19560         * debug/backtracesyms.c: Likewise.
19561         * elf/elf.h: Likewise.
19562         * malloc/malloc.c: Likewise.
19563         * nis/nis_print.c: Likewise.
19564         * resolv/res_comp.c: Likewise.
19565         * stdlib/stdlib.h: Likewise.
19566         * sunrpc/clnt_tcp.c: Likewise.
19567         * sunrpc/clnt_udp.c: Likewise.
19568         * sunrpc/clnt_unix.c: Likewise.
19569         * sysdeps/unix/bsd/ptsname.c: Likewise.
19570         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19571         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19573         Likewise.
19574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19575         Likewise.
19576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19577         Likewise.
19578         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19580 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19582         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19585 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
19587         [BZ #15897]
19588         * dlfcn/Makefile (tests): Add bug-dl-leaf.
19589         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19590         ($(objpfx)bug-dl-leaf): New rule.
19591         ($(objpfx)bug-dl-leaf.so): Likewise.
19592         ($(objpfx)bug-dl-leaf.out): Likewise.
19593         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19594         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19595         * dlfcn/bug-dl-leaf.c: New test.
19596         * dlfcn/bug-dl-leaf-lib.c: Likewise.
19597         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19598         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19599         (dlclose): Likewise.
19600         (dlmopen): Likewise.
19602 2013-08-27  Roland McGrath  <roland@hack.frob.com>
19604         * include/netdb.h [!_ISOMAC]:
19605         Don't include <tls.h>.
19606         (h_errno, __libc_h_errno): Move declaration and macros out of
19607         [_LIBC_REENTRANT].
19609         * include/resolv.h [_RESOLV_H_]:
19610         Don't include <tls.h>.
19611         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19612         * resolv/res_libc.c: Don't include <tls.h>.
19613         (_res): Use __attribute__ ((nocommon)) in place of
19614         __attribute__ ((section (".bss"))).
19616         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19617         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19619         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19621         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19622         only under [SIOCGIFCONF && SIOCGIFNETMASK].
19624         * resolv/res_mkquery.c: Include <sys/time.h>.
19626         * inet/ifreq.c: Moved to ...
19627         * sysdeps/unix/ifreq.c: ... here.
19628         * inet/ifreq.c: New file, true stub version.
19630         * socket/sa_len.c: New file.
19631         * socket/Makefile (aux): Add it.
19632         * sysdeps/unix/sysv/linux/Makefile
19633         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19634         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19635         and #include <socket/sa_len.c>.
19636         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19637         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19639         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19640         * bits/socket.h: ... here.
19642         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19643         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19644         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19646 2013-08-27  Andreas Schwab  <schwab@suse.de>
19648         [BZ #15736]
19649         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19650         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19651         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19652         * string/test-strcasecmp.c (test_main): Run tests in several
19653         locales.
19654         * string/test-strncasecmp.c (test_main): Likewise.
19656         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19657         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19658         to __strcasecmp_nonascii and __strncasecmp_nonascii.
19659         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19660         (__strncasecmp_ssse3) [PIC]: Likewise.
19662 2013-08-26  Roland McGrath  <roland@hack.frob.com>
19664         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19666         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19667         instead of explicitly declaring xdecrypt.
19668         * nis/nss_nis/nis-publickey.c: Likewise.
19670 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19672         [BZ #15890]
19673         * nscd/aicache.c: Include res_hconf.h.
19674         (addhstaiX): Initialize res_hconf.
19676 2013-08-26  Andreas Schwab  <schwab@suse.de>
19678         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19679         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19681 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19683         * nscd/aicache.c (addhstaiX): Fix indentation.
19685 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
19687         * configure.ac: Quote $build_pt_chown test.
19688         * configure: Regenerated.
19690 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
19692         [BZ #15532]
19693         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19694         * math/s_cexpf.c (__cexpf): Likewise.
19695         * math/s_cexpl.c (__cexpl): Likewise.
19696         * math/libm-test.inc (cexp_test_data): Correct expected return
19697         value for NaN + i0.  Add another test.
19699 2013-08-22  David S. Miller  <davem@davemloft.net>
19701         * po/ca.po: Update Catalan translation from translation project.
19702         * po/uk.po: Add Ukrainian translations from translation project.
19704 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
19706         [BZ #15797]
19707         * math/s_fdim.c (__fdim): Check for infinite arguments if result
19708         is infinite, not alongside NaN test.
19709         * math/s_fdimf.c (__fdimf): Likewise.
19710         * math/s_fdiml.c (__fdiml): Likewise.
19711         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
19712         errno is unchanged.
19714 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
19716         * argp/argp-help.c: Fix typos.
19717         * crypt/speeds.c: Likewise.
19718         * csu/check_fds.c: Likewise.
19719         * elf/dl-load.c: Likewise.
19720         * elf/dl-open.c: Likewise.
19721         * elf/reldep3.c: Likewise.
19722         * elf/reldep.c: Likewise.
19723         * elf/sprof.c: Likewise.
19724         * iconv/iconv_charmap.c: Likewise.
19725         * iconv/skeleton.c: Likewise.
19726         * iconv/strtab.c: Likewise.
19727         * io/lockf64.c: Likewise.
19728         * libio/libioP.h: Likewise.
19729         * resolv/gai_notify.c: Likewise.
19730         * resolv/ns_name.c: Likewise.
19731         * resolv/ns_samedomain.c: Likewise.
19732         * resolv/res_send.c: Likewise.
19733         * stdlib/random.c: Likewise.
19734         * sunrpc/rpc/xdr.h: Likewise.
19735         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19736         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19737         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19738         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19739         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19740         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19741         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19742         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19743         * sysdeps/mach/hurd/check_fds.c: Likewise.
19744         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19745         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19746         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19747         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19748         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19749         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19750         * sysdeps/pthread/aio_notify.c: Likewise.
19751         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19752         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19753         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19754         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19755         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19757 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19759         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19760         version if bit_Slow_SSE4_2 is set.
19761         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19762         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19764 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19766         [BZ #15867]
19767         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19768         trampoline stack frame information.
19769         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19770         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19771         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19772         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19773         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19774         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19775         (_libc_vdso_platform_setup): Initialize the signal trampolines.
19776         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19777         sa_flags value.
19778         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19779         interrupting a syscall and set with option SA_SIGINFO.
19781 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19783         [BZ #15531]
19784         * math/s_cproj.c (__cproj): Only return an infinity if one part of
19785         argument is infinite.
19786         * math/s_cprojf.c (__cprojf): Likewise.
19787         * math/s_cprojl.c (__cprojl): Likewise.
19788         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19789         * math/libm-test.inc (cproj_test_data): Add more tests.
19791         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19793         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19794         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19795         size.  Use __ffs to determine corresponding shift.
19797 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19798             Roland McGrath  <roland@hack.frob.com>
19800         * Makefile (INSTALL): Remove trailing blank lines from output of
19801         makeinfo.
19803 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19805         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19806         Align 32 bit compat elf_greg to 8 bytes.
19808 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
19810         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19812 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19814         * string/strcoll_l.c (coll_seq): New structure.
19815         (get_next_seq_cached): New function.
19816         (get_next_seq): New function.
19817         (do_compare): New function.
19818         (STRCOLL): Use GNU style definition.  Simplify implementation
19819         by using get_next_seq, get_next_seq_cached and do_compare.
19821 2013-08-16  Florian Weimer  <fweimer@redhat.com>
19823         [BZ #14699]
19824         CVE-2013-4237
19825         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19826         member.
19827         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19828         member.
19829         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19830         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19831         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
19832         conditional.
19833         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19834         GETDENTS_64BIT_ALIGNED.
19835         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19836         * manual/filesys.texi (Reading/Closing Directory): Document
19837         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
19838         strongly.
19839         * manual/conf.texi (Limits for Files): Add portability note to
19840         NAME_MAX, PATH_MAX.
19841         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19843 2013-08-13  Andreas Schwab  <schwab@suse.de>
19845         [BZ #15749]
19846         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19847         of fabs.
19848         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19849         LDBL_MAX_EXP >= 16384]: Add tests for it.
19851 2013-08-12  David S. Miller  <davem@davemloft.net>
19853         * version.h (RELEASE): Set to "development".
19854         (VERSION): Set to "2.18.90".
19855         * NEWS: Add 2.19 section.
19857 2013-08-03  David S. Miller  <davem@davemloft.net>
19859         * po/ko.po: Update Korean translation from translation project.
19861 2013-08-01  David S. Miller  <davem@davemloft.net>
19863         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
19864         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19865         Bilka.
19867 2013-07-30  David S. Miller  <davem@davemloft.net>
19869         * po/fr.po: Update French translation from translation project.
19871 2013-07-28  David S. Miller  <davem@davemloft.net>
19873         * po/cs.po: Update Czech translation from translation project.
19875         * po/sv.po: Update Swedish translation from translation project.
19877 2013-07-27  David S. Miller  <davem@davemloft.net>
19879         * po/eo.po: Update Esperanto translation from translation project.
19881         * po/vi.po: Update Vietnamese translation from translation project.
19883         * po/de.po: Update German translation from translation project.
19885 2013-07-26  David S. Miller  <davem@davemloft.net>
19887         * po/bg.po: Update Bulgarian translation from translation project.
19889         * po/nl.po: Update Dutch translation from translation project.
19890         * po/pl.po: Update Polish translation from translation project.
19891         * po/ru.po: Update Russian translation from translation project.
19893 2013-07-24  David S. Miller  <davem@davemloft.net>
19895         * po/libc.pot: Update.
19897 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19899         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19900         variable page size.
19901         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19902         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19903         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19905 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19907         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19909 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19910             Andreas Schwab  <schwab@suse.de>
19911             Roland McGrath  <roland@hack.frob.com>
19912             Joseph Myers  <joseph@codesourcery.com>
19913             Carlos O'Donell  <carlos@redhat.com>
19915         [BZ #15755]
19916         * config.h.in: Define HAVE_PT_CHOWN.
19917         * config.make.in (build-pt-chown): New variable.
19918         * configure.in (--enable-pt_chown): New configure option.
19919         * configure: Regenerate.
19920         * login/Makefile: Include Makeconfig.  Build pt_chown only if
19921         build-pt-chown is enabled.
19922         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19923         pt_chown to fix pty ownership.
19924         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19925         CLOSE_ALL_FDS.
19926         * manual/install.texi (Configuring and compiling): Mention
19927         --enable-pt_chown. Add @findex for grantpt.
19928         * INSTALL: Regenerate.
19930 2013-07-20  David S. Miller  <davem@davemloft.net>
19932         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19933         difference between 32-bit and 64-bit.
19935 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
19937         [BZ #15711]
19938         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19939         Avoid system header dependency with -ffreestanding.
19940         ($(objpfx)bits/syscall%d): Likewise.
19942 2013-07-13  David S. Miller  <davem@davemloft.net>
19944         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19945         underflows from atanl/atan2l due to bug 15319.
19946         (casinh_test_data): Likewise.
19948 2013-07-07  David S. Miller  <davem@davemloft.net>
19950         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19952 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
19954         * sysdeps/i386/fpu/libm-test-ulps: Update.
19955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19957 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19959         * configure.in (--enable-lock-elision): Fix message text.
19960         * INSTALL: Regenerate.
19961         * configure: Regenerate.
19963 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19967 2013-07-03  Andreas Jaeger  <aj@suse.de>
19969         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19970         define.
19971         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19972         (ptrace_peeksiginfo_args): Add.
19973         (__ptrace_peeksiginfo_flags): Add.
19974         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19975         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19976         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19978 2013-07-03  Allan McRae  <allan@archlinux.org>
19980         * sysdeps/i386/fpu/libm-test-ulps: Update.
19982 2013-07-02  David S. Miller  <davem@davemloft.net>
19984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19986 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
19988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19990 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19992         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19995 2013-07-02  Andi Kleen <ak@linux.intel.com>
19997         * config.h.in (ENABLE_LOCK_ELISION): Add.
19998         * configure.in (--enable-lock-elision): Add option.
19999         * manual/install.texi: Document --enable lock elision.
20000         * configure: Regenerate
20001         * INSTALL: Regenerate.
20003 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
20005         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20006         SSE4.2 strcasecmp for libc.a.
20007         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20009 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20011         [BZ #13304]
20012         * soft-fp/op-common.h (_FP_FMA): New macro.
20013         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20014         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
20015         (_FP_MUL_MEAT_1_imm): ... here.
20016         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
20017         (_FP_MUL_MEAT_1_wide): ... here.
20018         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
20019         (_FP_MUL_MEAT_1_hard): ... here.
20020         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20021         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
20022         (_FP_MUL_MEAT_2_wide): ... here.
20023         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
20024         (_FP_MUL_MEAT_2_wide_3mul): ... here.
20025         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
20026         (_FP_MUL_MEAT_2_gmp): ... here.
20027         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20028         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
20029         (_FP_MUL_MEAT_4_wide): ... here.
20030         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
20031         (_FP_MUL_MEAT_4_gmp): ... here.
20032         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20033         (_FP_WFRACBITS_DW_S): Likewise.
20034         (_FP_WFRACXBITS_DW_S): Likewise.
20035         (_FP_HIGHBIT_DW_S): Likewise.
20036         (FP_FMA_S): Likewise.
20037         (_FP_FRAC_HIGH_DW_S): Likewise.
20038         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20039         (_FP_WFRACBITS_DW_D): Likewise.
20040         (_FP_WFRACXBITS_DW_D): Likewise.
20041         (_FP_HIGHBIT_DW_D): Likewise.
20042         (FP_FMA_D): Likewise.
20043         (_FP_FRAC_HIGH_DW_D): Likewise.
20044         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20045         (_FP_WFRACBITS_DW_E): Likewise.
20046         (_FP_WFRACXBITS_DW_E): Likewise.
20047         (_FP_HIGHBIT_DW_E): Likewise.
20048         (FP_FMA_E): Likewise.
20049         (_FP_FRAC_HIGH_DW_E): Likewise.
20050         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20051         (_FP_WFRACBITS_DW_Q): Likewise.
20052         (_FP_WFRACXBITS_DW_Q): Likewise.
20053         (_FP_HIGHBIT_DW_Q): Likewise.
20054         (FP_FMA_Q): Likewise.
20055         (_FP_FRAC_HIGH_DW_Q): Likewise.
20056         * soft-fp/fmasf4.c: New file.
20057         * soft-fp/fmadf4.c: Likewise.
20058         * soft-fp/fmatf4.c: Likewise.
20060 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20063         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20064         Silvermont.
20065         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20066         macro.
20067         (index_Slow_SSE4_2): Likewise.
20068         (index_Prefer_PMINUB_for_stringop): Likewise.
20069         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20070         bit_Slow_SSE4_2 is set.
20071         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20072         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20074 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20076         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20077         rtld_global._dl_hwcap2.
20078         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20079         POWER8.
20080         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20081         POWER8 feature descriptions defined in _dl_hwcap2.
20082         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20083         string handling for POWER8 feature bits.
20084         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20085         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20086         _dl_powerpc_cap_flags.
20087         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20088         * sysdeps/powerpc/rtld-global-offsets.sym
20089         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20090         _dl_hwcap2 in the rtld_global_ro structure.
20092 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20094         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20095         hardware capabilities in support of AT_HWCAP2.
20096         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20097         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20098         GLRO(dl_hwcap2).
20099         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20100         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20101         explicitly the unknown a_type display mechanism is used.
20102         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20103         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20104         struct member.
20105         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20106         to macro prototype for AT_HWCAP2 support.
20107         * sysdeps/i386/dl-procinfo.h: Likewise.
20108         * sysdeps/s390/dl-procinfo.h: Likewise.
20109         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20110         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20111         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20112         return -1 for unknown a_type display fallback.
20113         * sysdeps/sparc/dl-procinfo.h: Likewise.
20114         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20115         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20117 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20119         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20120         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20122 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20124         [BZ #12492]
20125         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20126         mprotect making __stack_prot writable.
20128 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20129             Joseph Myers  <joseph@codesourcery.com>
20131         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20132         as being properly aligned.
20134 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20136         * dlfcn/modstatic5.c: New file.
20137         * dlfcn/tststatic5.c: New file.
20138         * dlfcn/Makefile (tests): Add tststatic5.
20139         (tests-static): Likewise.
20140         (modules-names): Add modstatic5.
20141         (tststatic5-ENV): New variable.
20142         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20144         [BZ #15022]
20145         * elf/dl-support.c (_dl_main_map): New variable.
20146         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20147         (_dl_nns, _dl_load_adds): Set to 1.
20148         (_dl_initial_searchlist): Refer to _dl_main_map.
20149         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20150         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20151         call to _dl_get_origin.
20152         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20153         around call_map.
20154         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20155         * dlfcn/modstatic3.c: New file.
20156         * dlfcn/tststatic3.c: New file.
20157         * dlfcn/tststatic4.c: New file.
20158         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20159         (tests-static): Likewise.
20160         (modules-names): Add modstatic3.
20161         (tststatic3-ENV, tststatic4-ENV): New variables.
20162         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20163         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20165 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20167         * configure.in (CC): Require GCC version 4.4 or later.
20168         * configure: Regenerated.
20169         * manual/install.texi (Tools for Compilation): Update GCC version
20170         requirement.
20171         * INSTALL: Regenerated.
20173 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20175         [BZ #15674]
20176         * string/test-memcmp.c (check2): New.
20177         (main): Call check2.
20179         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20181 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20183         [BZ #15022]
20184         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20185         over to...
20186         (dl_open_worker) [!SHARED]: ... here.
20188 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20190         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20192 2013-06-25  Richard Henderson  <rth@redhat.com>
20194         * locale/programs/locarchive.c: Include <libc-internal.h>
20196 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20198         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20199         trailing whitespace removed.
20201 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20203         [BZ #10283]
20204         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20205         * locale/programs/locarchive.c: Include libc-mmap.h.
20206         (prepare_address_space): Take two new outputs (the mmap base and len).
20207         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20208         values.
20209         (create_archive): Declare new mmap base and len values for
20210         prepare_address_space, and store the result in ah.
20211         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20212         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20213         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20214         Declare new mmap base and len values for
20215         prepare_address_space, and store the result in new_ah.
20216         (open_archive): Declare new mmap base and len values for
20217         prepare_address_space, and store the result in ah.
20218         (close_archive): If ah->mmap_base is not NULL, use that and
20219         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20220         * sysdeps/generic/libc-mmap.h: New file.
20222 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20224         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20225         (ALIGN_UP): Likewise.
20226         (PTR_ALIGN_DOWN): Likewise.
20227         (PTR_ALIGN_UP): Likewise.
20229 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20231         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20232         entry mapped to PPC_PLATFORM_POWER8.
20233         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20234         POWER8.
20235         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20236         (_dl_string_platform): Add case for exporting platform position for
20237         POWER8.
20238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20239         search path to sysdeps/powerpc/powerpc32/power8 directory.
20240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20241         search path to sysdeps/powerpc/powerpc64/power8 directory.
20242         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20243         power7 directories.
20244         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20245         power7 directories.
20247 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20249         * INSTALL: Regenerate.
20251         * nscd/connections.c (nscd_init): Fix comment.
20253 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20255         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20257         [BZ #15667]
20258         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20259         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20261 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20263         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20264         DL_DST_REQ_STATIC.
20265         (DL_DST_REQ_STATIC): Remove macro.
20267 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20269         [BZ #7006]
20270         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20271         with a shift of 0 bits.
20273 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20275         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20276         $(tststatic-ENV).
20278 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20280         [BZ #15655]
20281         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20283 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20285         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20286         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20287         accepts -fno-tree-loop-distribute-patterns.
20288         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20289         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20290         recursive call.
20291         * string/memset.c (memset): Likewise.
20292         * string/test-memmove.c (simple_memmove): Disable loop transformation
20293         to library calls.
20294         * string/test-memset.c (simple_memset): Likewise.
20295         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20296         * benchtests/bench-memset.c (simple_memset): Likewise.
20297         * configure: Regenerated.
20299 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20301         * math/test-misc.c (main): Ignore fesetround failure when failures
20302         of subsequent rounding tests would be ignored.
20304         [BZ #15654]
20305         * math/fedisblxcpt.c (fedisableexcept): Return 0.
20306         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20307         * math/fegetenv.c (__fegetenv): Return 0.
20308         * math/fegetexcept.c (fegetexcept): Return 0.
20309         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20310         FE_TONEAREST.
20311         * math/feholdexcpt.c (feholdexcept): Return 0.
20312         * math/fesetenv.c (__fesetenv): Return 0.
20313         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20314         argument FE_TONEAREST.
20315         * math/feupdateenv.c (__feupdateenv): Return 0.
20316         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20318 2013-06-18  Roland McGrath  <roland@hack.frob.com>
20320         * elf/rtld-Rules (rtld-compile-command.S): New variable.
20321         (rtld-compile-command.s, rtld-compile-command.c): New variables.
20322         ($(objpfx)rtld-%.os rules): Use them.
20324 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20326         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20327         fields.
20329 2013-06-17  Roland McGrath  <roland@hack.frob.com>
20331         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20332         length of target pattern, then descending length of dependency pattern.
20333         * configure.in (AWK): Require gawk 3.1.2 or newer.
20334         * manual/install.texi (Tools for Compilation): Say that we do.
20335         * configure: Regenerated.
20337         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20338         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20339         * scripts/sysd-rules.awk: ... this new script.
20340         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20341         than a glob-style pattern.
20343 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
20345         * math/test-misc.c (main): Do not treat incorrectly rounded
20346         conversions as failure unless ROUNDING_TESTS passes.
20348 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
20350         [BZ #15631]
20351         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20352         restore exception state around main square root computation, then
20353         check for inexactness explicitly.
20355         * math/libm-test.inc (fma_test_data): Add another test.
20357 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20359         * manual/threads.texi (Non-POSIX Extensions): New document
20360         node.  Document pthread_getattr_default_np and
20361         pthread_setattr_default_np.
20363         * Versions.def (libpthread): Add GLIBC_2.18.
20364         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20366         Likewise.
20367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20368         Likewise.
20369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20370         Likewise.
20371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20372         Likewise.
20373         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20374         Likewise.
20375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20376         Likewise.
20377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20378         Likewise.
20379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20380         Likewise.
20381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20382         Likewise.
20384 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20387         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20389 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20390             H.J. Lu  <hjl.tools@gmail.com>
20392         [BZ #15627]
20393         * sysdeps/x86_64/rtld-memset.c: Remove file.
20394         * sysdeps/x86_64/rtld-memset.S: New file.
20396 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
20398         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20399         (test_in_one_mode): Take arguments for whether the rounding mode
20400         is supported for each floating-point type.
20401         (do_test): Pass new arguments to test_in_one_mode using
20402         ROUNDING_TESTS.
20404 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20406         * posix/tst-waitid.c (do_test): Distinguish different instances of
20407         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
20408         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20409         before entering the kernel for waitpid.
20411 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20413         * NEWS: Fix note on clock function precision.  Text by Roland
20414         McGrath.
20416 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20418         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20419         it into place only when and if the sanity check passes.
20421 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
20423         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20424         output for whether conversion result is exact.  Take argument
20425         indicating whether type is IBM long double.
20426         (round_for_all): Change need_exact field to ibm_ld.
20427         * stdlib/tst-strtod-round.c (struct exactness): New type.
20428         (struct test): Change bool ld_ok field to struct exactness exact.
20429         (TEST): Update all definitions for change to field.
20430         (tests): Regenerate array contents.
20431         (test_in_one_mode): Take pointer to new field instead of old ld_ok
20432         field value.  Check for IBM long double here.
20433         (do_test): Update calls to test_in_one_mode.
20435 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20437         [BZ #12515]
20438         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20439         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20441 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20443         [BZ #15605]
20444         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20445         generated by the compiler on loop optimizations.
20446         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20447         general definitions.
20449 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
20451         * math/bug-nextafter.c: Include <math-tests.h>.
20452         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20453         the relevant type.
20454         * math/bug-nexttoward.c: Include <math-tests.h>.
20455         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20456         the relevant type.
20457         * math/test-misc.c: Include <math-tests.h>.
20458         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20459         the relevant type.
20461 2013-06-12  Andreas Jaeger  <aj@suse.de>
20463         * po/ia.po: Update Interlingua translation from translation
20464         project.
20466 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20468         * include/fenv.h: Include stdbool.h.
20469         (struct rm_ctx): New structure.
20470         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20471         Define macro.
20472         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20473         (SET_RESTORE_ROUNDF): Likewise.
20474         (SET_RESTORE_ROUNDL): Likewise.
20475         (SET_RESTORE_ROUND_NOEX): Likewise.
20476         (SET_RESTORE_ROUND_NOEXF): Likewise.
20477         (SET_RESTORE_ROUND_NOEXL): Likewise.
20478         (SET_RESTORE_ROUND_53BIT): Likewise.
20479         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20480         (libc_feresetround_noexf_ctx): Likewise.
20481         (libc_feresetround_noexl_ctx): Likewise.
20482         (libc_feholdsetround_53bit_ctx): Likewise.
20483         (libc_feresetround_53bit_ctx): Likewise.
20484         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20485         (libc_feholdexcept_setround_sse_ctx): New function.
20486         (libc_fesetenv_sse_ctx): Likewise.
20487         (libc_feupdateenv_sse_ctx): Likewise.
20488         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20489         (libc_feholdexcept_setround_387_ctx): Likewise.
20490         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20491         (libc_feholdsetround_387_prec_ctx): Likewise.
20492         (libc_feholdsetround_387_ctx): Likewise.
20493         (libc_feholdsetround_387_53bit_ctx): Likewise.
20494         (libc_feholdsetround_sse_ctx): Likewise.
20495         (libc_feresetround_sse_ctx): Likewise.
20496         (libc_feresetround_387_ctx): Likewise.
20497         (libc_feupdateenv_387_ctx): Likewise.
20498         (libc_feholdexcept_setroundf_ctx): Define macro.
20499         (libc_fesetenvf_ctx): Likewise.
20500         (libc_feupdateenvf_ctx): Likewise.
20501         (libc_feholdsetroundf_ctx): Likewise.
20502         (libc_feresetroundf_ctx): Likewise.
20503         (libc_feholdexcept_setround_ctx): Likewise.
20504         (libc_fesetenv_ctx): Likewise.
20505         (libc_feupdateenv_ctx): Likewise.
20506         (libc_feholdsetround_ctx): Likewise.
20507         (libc_feresetround_ctx): Likewise.
20508         (libc_feholdexcept_setroundl_ctx): Likewise.
20509         (libc_feupdateenvl_ctx): Likewise.
20510         (libc_feholdsetroundl_ctx): Likewise.
20511         (libc_feresetroundl_ctx): Likewise.
20512         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20513         (libc_feresetround_53bit_ctx): Likewise.
20515 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20517         * locale/iso-639.def: Convert to UTF-8.
20519 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
20521         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20522         (EXCEPTION_TESTS_double): Likewise.
20523         (EXCEPTION_TESTS_long_double): Likewise.
20524         (EXCEPTION_TESTS): Likewise.
20525         * math/libm-test.inc (test_exceptions): Only test exceptions if
20526         EXCEPTION_TESTS (FLOAT).
20528 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20530         * benchtests/Makefile (string-bench): Add strcpy_chk and
20531         stpcpy_chk.
20532         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20533         * benchtests/bench-stpcpy_chk.c: New file.
20534         * benchtests/bench-strcpy_chk-ifunc.c: New file.
20535         * benchtests/bench-strcpy_chk.c: New file.
20536         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20537         code.
20538         (do_test): Likewise.
20540 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20542         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20543         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20544         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20545         with tabs where appropriate.
20546         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20547         dl-procinfo.h.
20548         [PPC_PLATFORM_PPC440]: Likewise.
20549         [PPC_PLATFORM_PPC464]: Likewise.
20550         [PPC_PLATFORM_PPC476]: Likewise.
20551         (_dl_string_platform): Add support for detecting ppc405, ppc440,
20552         ppc464, and ppc476 platform strings merging from ports/
20553         dl-procinfo.h.
20555 2013-06-11  Andreas Schwab  <schwab@suse.de>
20557         [BZ #14991]
20558         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20559         (from_ucs4_idx): Regenerate.
20560         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20561         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20562         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20563         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20564         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20565         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20566         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20567         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20568         from FROM_LOOP and TO_LOOP specific macros.
20569         (BODY): Handle combining characters.
20570         * iconvdata/BIG5HKSCS.irreversible: Update.
20571         * iconvdata/BIG5HKSCS.precomposed: New file.
20572         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20573         characters.
20574         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20576 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20578         * include/sys/time.h: Fix indentation and add copyright header.
20580         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20581         (do_test): Likewise.
20582         * string/test-memchr.c (do_one_test): Likewise.
20583         (do_test): Likewise.
20584         * string/test-memcmp.c (do_one_test): Likewise.
20585         (do_test): Likewise.
20586         * string/test-memcpy.c (do_one_test): Likewise.
20587         (do_test): Likewise.
20588         * string/test-memmem.c (do_one_test): Likewise.
20589         (do_test): Likewise.
20590         (do_random_tests): Likewise.
20591         * string/test-memmove.c (do_one_test): Likewise.
20592         (do_test): Likewise.
20593         * string/test-memset.c (do_one_test): Likewise.
20594         (do_test): Likewise.
20595         * string/test-rawmemchr.c (do_one_test): Likewise.
20596         (do_test): Likewise.
20597         * string/test-strcasecmp.c (do_one_test): Likewise.
20598         (do_test): Likewise.
20599         * string/test-strcasestr.c (do_one_test): Likewise.
20600         (do_test): Likewise.
20601         * string/test-strcat.c (do_one_test): Likewise.
20602         (do_test): Likewise.
20603         * string/test-strchr.c (do_one_test): Likewise.
20604         (do_test): Likewise.
20605         * string/test-strcmp.c (do_one_test): Likewise.
20606         (do_test): Likewise.
20607         * string/test-strcpy.c (do_one_test): Likewise.
20608         (do_test): Likewise.
20609         * string/test-string.h: Likewise.
20610         (test_init): Likewise.
20611         * string/test-strlen.c (do_one_test): Likewise.
20612         (do_test): Likewise.
20613         * string/test-strncasecmp.c (do_one_test): Likewise.
20614         (do_test): Likewise.
20615         * string/test-strncat.c (do_one_test): Likewise.
20616         (do_test): Likewise.
20617         * string/test-strncmp.c (do_one_test): Likewise.
20618         (do_test_limit): Likewise.
20619         (do_test): Likewise.
20620         * string/test-strncpy.c (do_one_test): Likewise.
20621         (do_test): Likewise.
20622         * string/test-strnlen.c (do_one_test): Likewise.
20623         (do_test): Likewise.
20624         * string/test-strpbrk.c (do_one_test): Likewise.
20625         (do_test): Likewise.
20626         * string/test-strrchr.c (do_one_test): Likewise.
20627         (do_test): Likewise.
20628         * string/test-strspn.c (do_one_test): Likewise.
20629         (do_test): Likewise.
20630         * string/test-strstr.c (do_one_test): Likewise.
20631         (do_test): Likewise.
20633         * benchtests/Makefile (string-bench): Add string benchmarks.
20634         * benchtests/bench-bcopy-ifunc.c: New file.
20635         * benchtests/bench-bcopy.c: New file.
20636         * benchtests/bench-bzero-ifunc.c: New file.
20637         * benchtests/bench-bzero.c: New file.
20638         * benchtests/bench-memccpy-ifunc.c: New file.
20639         * benchtests/bench-memccpy.c: New file.
20640         * benchtests/bench-memchr-ifunc.c: New file.
20641         * benchtests/bench-memchr.c: New file.
20642         * benchtests/bench-memcmp-ifunc.c: New file.
20643         * benchtests/bench-memcmp.c: New file.
20644         * benchtests/bench-memmem-ifunc.c: New file.
20645         * benchtests/bench-memmem.c: New file.
20646         * benchtests/bench-memmove-ifunc.c: New file.
20647         * benchtests/bench-memmove.c: New file.
20648         * benchtests/bench-mempcpy-ifunc.c: New file.
20649         * benchtests/bench-mempcpy.c: New file.
20650         * benchtests/bench-memset-ifunc.c: New file.
20651         * benchtests/bench-memset.c: New file.
20652         * benchtests/bench-rawmemchr-ifunc.c: New file.
20653         * benchtests/bench-rawmemchr.c: New file.
20654         * benchtests/bench-stpcpy-ifunc.c: New file.
20655         * benchtests/bench-stpcpy.c: New file.
20656         * benchtests/bench-stpncpy-ifunc.c: New file.
20657         * benchtests/bench-stpncpy.c: New file.
20658         * benchtests/bench-strcasecmp-ifunc.c: New file.
20659         * benchtests/bench-strcasecmp.c: New file.
20660         * benchtests/bench-strcasestr-ifunc.c: New file.
20661         * benchtests/bench-strcasestr.c: New file.
20662         * benchtests/bench-strcat-ifunc.c: New file.
20663         * benchtests/bench-strcat.c: New file.
20664         * benchtests/bench-strchr-ifunc.c: New file.
20665         * benchtests/bench-strchr.c: New file.
20666         * benchtests/bench-strchrnul-ifunc.c: New file.
20667         * benchtests/bench-strchrnul.c: New file.
20668         * benchtests/bench-strcmp-ifunc.c: New file.
20669         * benchtests/bench-strcmp.c: New file.
20670         * benchtests/bench-strcpy-ifunc.c: New file.
20671         * benchtests/bench-strcpy.c: New file.
20672         * benchtests/bench-strcspn-ifunc.c: New file.
20673         * benchtests/bench-strcspn.c: New file.
20674         * benchtests/bench-strlen-ifunc.c: New file.
20675         * benchtests/bench-strlen.c: New file.
20676         * benchtests/bench-strncasecmp-ifunc.c: New file.
20677         * benchtests/bench-strncasecmp.c: New file.
20678         * benchtests/bench-strncat-ifunc.c: New file.
20679         * benchtests/bench-strncat.c: New file.
20680         * benchtests/bench-strncmp-ifunc.c: New file.
20681         * benchtests/bench-strncmp.c: New file.
20682         * benchtests/bench-strncpy-ifunc.c: New file.
20683         * benchtests/bench-strncpy.c: New file.
20684         * benchtests/bench-strnlen-ifunc.c: New file.
20685         * benchtests/bench-strnlen.c: New file.
20686         * benchtests/bench-strpbrk-ifunc.c: New file.
20687         * benchtests/bench-strpbrk.c: New file.
20688         * benchtests/bench-strrchr-ifunc.c: New file.
20689         * benchtests/bench-strrchr.c: New file.
20690         * benchtests/bench-strspn-ifunc.c: New file.
20691         * benchtests/bench-strspn.c: New file.
20692         * benchtests/bench-strstr-ifunc.c: New file.
20693         * benchtests/bench-strstr.c: New file.
20695         * benchtests/Makefile: Disable parallel execution of targets.
20696         (string-bench): Add memcpy.
20697         (benchset): New variable to store a list of benchmark sets.
20698         (bench-func): Renamed from bench.
20699         (bench-set): New target.
20700         (bench): Depend on bench-func and bench-set.
20701         * benchtests/README: Add section on benchmark sets.
20702         * benchtests/bench-memcpy-ifunc.c: New file.
20703         * benchtests/bench-memcpy.c: New file.
20704         * benchtests/bench-string.h: New file.
20706 2013-06-11  Andreas Schwab  <schwab@suse.de>
20708         [BZ #15577]
20709         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20710         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20711         values in the triple.
20712         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20713         terminator in the group key.
20715 2013-06-11  Andreas Jaeger  <aj@suse.de>
20717         * po/zh_TW.po: Update Chinese (traditional) translation from
20718         translation project.
20720 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20722         * include/time.h (__clock_gettime): Add libc_hidden_proto.
20723         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20724         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
20725         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20726         (clock_getcpuclockid): Likewise.
20727         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20728         Add weak_alias and libc_hidden_def.
20729         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20730         * rt/clock_gettime.c (clock_gettime): Rename to
20731         __clock_gettime.  Add weak_alias and libc_hidden_def.
20732         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20733         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20734         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
20735         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20736         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20737         Likewise.
20738         * rt/clock_settime.c (clock_settime): Rename to
20739         __clock_settime.  Add weak_alias and libc_hidden_def.
20740         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20742 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
20744         * mach/err_boot.sub: Remove trailing whitespace.
20745         * mach/err_ipc.sub: Likewise.
20746         * mach/err_mach.sub: Likewise.
20748         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20749         (ROUNDING_TESTS_double): Likewise.
20750         (ROUNDING_TESTS_long_double): Likewise.
20751         (ROUNDING_TESTS): Likewise.
20752         * math/libm-test.inc: Include <math-tests.h>.
20753         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20754         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20755         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20756         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20758 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20760         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20761         of assigning.
20763 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
20765         * sysdeps/gnu/errlist.awk: Do not generate space at end of
20766         otherwise empty TRANS lines.
20767         * sysdeps/gnu/errlist.c: Regenerated.
20769         * catgets/gencat.c (error_print): Use (void) in function
20770         definition.
20771         * crypt/crypt_util.c (__init_des): Likewise.
20772         * crypt/speeds.c (Stop): Likewise.
20773         (main): Likewise.
20774         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20775         * inet/ruserpass.c (token): Likewise.
20776         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20777         * intl/localealias.c (extend_alias_table): Likewise.
20778         * intl/plural-exp.c (init_germanic_plural): Likewise.
20779         * libio/fcloseall.c (__fcloseall): Likewise.
20780         * libio/genops.c (_IO_flush_all): Likewise.
20781         (_IO_flush_all_linebuffered): Likewise.
20782         (_IO_cleanup): Likewise.
20783         (_IO_iter_begin): Likewise.
20784         (_IO_iter_end): Likewise.
20785         (_IO_list_lock): Likewise.
20786         (_IO_list_unlock): Likewise.
20787         (_IO_list_resetlock): Likewise.
20788         * libio/getchar.c (getchar): Likewise.
20789         * libio/getchar_u.c (getchar_unlocked): Likewise.
20790         * libio/getwchar.c (getwchar): Likewise.
20791         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20792         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20793         * login/getpt.c (__getpt): Likewise.
20794         * login/tst-utmp.c (main): Likewise.
20795         * malloc/hooks.c (__malloc_check_init): Likewise.
20796         * malloc/malloc.c (__malloc_stats): Likewise.
20797         * malloc/mtrace.c (tr_break): Likewise.
20798         (mtrace): Likewise.
20799         (muntrace): Likewise.
20800         * misc/fstab.c (endfsent): Likewise.
20801         * misc/getclktck.c (__getclktck): Likewise.
20802         * misc/getdtsz.c (__getdtablesize): Likewise.
20803         * misc/gethostid.c (gethostid): Likewise.
20804         * misc/getpagesize.c (__getpagesize): Likewise.
20805         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20806         (__get_nprocs): Likewise.
20807         (__get_phys_pages): Likewise.
20808         (__get_avphys_pages): Likewise.
20809         * misc/getttyent.c (getttyent): Likewise.
20810         (setttyent): Likewise.
20811         (endttyent): Likewise.
20812         * misc/getusershell.c (getusershell): Likewise.
20813         (endusershell): Likewise.
20814         (setusershell): Likewise.
20815         (initshells): Likewise.
20816         * misc/hsearch.c (__hdestroy): Likewise.
20817         * misc/sync.c (sync): Likewise.
20818         * misc/syslog.c (closelog_internal): Likewise.
20819         (closelog): Likewise.
20820         * misc/ttyslot.c (ttyslot): Likewise.
20821         * misc/vhangup.c (vhangup): Likewise.
20822         * posix/fork.c (__fork): Likewise.
20823         * posix/getegid.c (__getegid): Likewise.
20824         * posix/geteuid.c (__geteuid): Likewise.
20825         * posix/getgid.c (__getgid): Likewise.
20826         * posix/getpid.c (__getpid): Likewise.
20827         * posix/getppid.c (__getppid): Likewise.
20828         * posix/getuid.c (__getuid): Likewise.
20829         * posix/pause.c (pause): Likewise.
20830         * posix/setpgrp.c (setpgrp): Likewise.
20831         * posix/setsid.c (__setsid): Likewise.
20832         * posix/test-vfork.c (noop): Likewise.
20833         * resolv/gethnamaddr.c (_endhtent): Likewise.
20834         (_gethtent): Likewise.
20835         (ht_endhostent): Likewise.
20836         (gethostent): Likewise.
20837         (dns_service): Likewise.
20838         * stdlib/drand48.c (drand48): Likewise.
20839         * stdlib/lrand48.c (lrand48): Likewise.
20840         * stdlib/mrand48.c (mrand48): Likewise.
20841         * stdlib/rand.c (rand): Likewise.
20842         * stdlib/random.c (__random): Likewise.
20843         * stdlib/setenv.c (clearenv): Likewise.
20844         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20845         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20846         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20847         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20848         (__get_nprocs): Likewise.
20849         (__get_phys_pages): Likewise.
20850         (__get_avphys_pages): Likewise.
20851         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20852         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20853         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20854         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20855         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20856         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20857         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20858         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20859         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20860         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20861         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20862         * sysdeps/mach/hurd/sync.c (sync): Likewise.
20863         * sysdeps/posix/clock.c (clock): Likewise.
20864         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20865         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20866         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20867         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20868         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20869         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20870         (__get_nprocs_conf): Likewise.
20871         (__get_phys_pages): Likewise.
20872         (__get_avphys_pages): Likewise.
20873         * time/clock.c (clock): Likewise.
20874         * time/tzset.c (__tzname_max): Likewise.
20876 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
20878         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20879         (__bswap_32): Do not use "register".
20880         * crypt/crypt.c (_ufc_doit_r): Likewise.
20881         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20882         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20883         * gmon/gmon.c (__monstartup): Likewise.
20884         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20885         * hurd/hurdmalloc.c (more_memory): Likewise.
20886         (malloc): Likewise.
20887         (free): Likewise.
20888         (realloc): Likewise.
20889         (malloc_fork_prepare): Likewise.
20890         (malloc_fork_parent): Likewise.
20891         (malloc_fork_child): Likewise.
20892         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20893         (_svcauth_des): Likewise.
20894         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20895         * inet/inet_net.c (inet_network): Likewise.
20896         * inet/inet_netof.c (inet_netof): Likewise.
20897         * inet/rcmd.c (__validuser2_sa): Likewise.
20898         * io/fts.c (fts_open): Likewise.
20899         (fts_load): Likewise.
20900         (fts_close): Likewise.
20901         (fts_read): Likewise.
20902         (fts_children): Likewise.
20903         (fts_build): Likewise.
20904         (fts_stat): Likewise.
20905         (fts_sort): Likewise.
20906         (fts_alloc): Likewise.
20907         (fts_lfree): Likewise.
20908         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20909         (_IO_file_xsgetn): Likewise.
20910         (_IO_file_xsgetn_mmap): Likewise.
20911         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20912         (_IO_cookie_write): Likewise.
20913         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20914         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20915         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20916         * malloc/obstack.c (_obstack_begin): Likewise.
20917         (_obstack_begin_1): Likewise.
20918         (_obstack_newchunk): Likewise.
20919         (_obstack_allocated_p): Likewise.
20920         (obstack_free): Likewise.
20921         (_obstack_memory_used): Likewise.
20922         * misc/getttyent.c (getttynam): Likewise.
20923         (getttyent): Likewise.
20924         (skip): Likewise.
20925         (value): Likewise.
20926         * misc/getusershell.c (initshells): Likewise.
20927         * misc/syslog.c (__vsyslog_chk): Likewise.
20928         * misc/ttyslot.c (ttyslot): Likewise.
20929         * nis/nis_hash.c (__nis_hash): Likewise.
20930         * posix/fnmatch_loop.c (FCT): Likewise.
20931         * posix/getconf.c (print_all): Likewise.
20932         (main): Likewise.
20933         * posix/getopt.c (exchange): Likewise.
20934         * posix/glob.c (globfree): Likewise.
20935         (prefix_array): Likewise.
20936         (__glob_pattern_type): Likewise.
20937         * resolv/arpa/nameser.h (NS_GET16): Likewise.
20938         (NS_GET32): Likewise.
20939         (NS_PUT16): Likewise.
20940         (NS_PUT32): Likewise.
20941         * resolv/gethnamaddr.c (getanswer): Likewise.
20942         (gethostbyname2): Likewise.
20943         (gethostbyaddr): Likewise.
20944         (_gethtent): Likewise.
20945         (_gethtbyname2): Likewise.
20946         (_gethtbyaddr): Likewise.
20947         * resolv/ns_print.c (dst_s_get_int16): Likewise.
20948         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20949         * resolv/res_init.c (__res_vinit): Likewise.
20950         (net_mask): Likewise.
20951         * resolv/res_mkquery.c (outchar): Likewise.
20952         (PRINT): Likewise.
20953         * stdio-common/printf_fp.c (outchar): Likewise.
20954         (PRINT): Likewise.
20955         * stdio-common/printf_fphex.c (outchar): Likewise.
20956         (PRINT): Likewise.
20957         * stdio-common/printf_size.c (outchar): Likewise.
20958         (PRINT): Likewise.
20959         * stdio-common/test_rdwr.c (main): Likewise.
20960         * stdio-common/tfformat.c (matches): Likewise.
20961         * stdio-common/vfprintf.c (outchar): Likewise.
20962         (printf_unknown): Likewise.
20963         (buffered_vfprintf): Likewise.
20964         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20965         * stdio-common/xbug.c (AppendToBuffer): Likewise.
20966         (ReadFile): Likewise.
20967         * stdlib/qsort.c (SWAP): Likewise.
20968         (_quicksort): Likewise.
20969         * stdlib/setenv.c (__add_to_environ): Likewise.
20970         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20971         * stdlib/strtol_l.c (__strtol_l): Likewise.
20972         * stdlib/tst-strtod.c (main): Likewise.
20973         * stdlib/tst-strtol.c (main): Likewise.
20974         * stdlib/tst-strtoll.c (main): Likewise.
20975         * string/bits/string2.h (__strcmp_cc): Likewise.
20976         (__strcmp_cg): Likewise.
20977         (__strcspn_c1): Likewise.
20978         (__strcspn_c2): Likewise.
20979         (__strcspn_c3): Likewise.
20980         (__strspn_c1): Likewise.
20981         (__strspn_c2): Likewise.
20982         (__strspn_c3): Likewise.
20983         (__strsep_1c): Likewise.
20984         (__strsep_2c): Likewise.
20985         (__strsep_3c): Likewise.
20986         * string/memccpy.c (__memccpy): Likewise.
20987         * string/stpcpy.c (__stpcpy): Likewise.
20988         * string/strcmp.c (strcmp): Likewise.
20989         * string/strrchr.c (strrchr): Likewise.
20990         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20991         Likewise.
20992         * sysdeps/mach/hurd/getcwd.c
20993         (_hurd_canonicalize_directory_name_internal): Likewise.
20994         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20995         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20996         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20997         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20998         Likewise, in both definitions.
20999         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21000         definitions.
21001         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21002         64] (__bswap_64): Likewise.
21003         * time/test_time.c (main): Likewise.
21004         * time/tzfile.c (__tzfile_read): Likewise.
21005         (__tzfile_compute): Likewise.
21006         * time/tzset.c (__tzset_parse_tz): Likewise.
21007         (tzset_internal): Likewise.
21008         (compute_change): Likewise.
21009         * wcsmbs/wcscat.c (__wcscat): Likewise.
21010         * wcsmbs/wcschr.c (wcschr): Likewise.
21011         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21012         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21013         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21014         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21015         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21016         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21017         * wcsmbs/wmemchr.c (wmemchr): Likewise.
21018         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21019         * wcsmbs/wmemset.c (wmemset): Likewise.
21021 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
21023         * scripts/config.guess: Update to version 2013-05-16.
21024         * scripts/config.sub: Update to version 2013-04-24.
21025         * scripts/install-sh: Update to version 2011-11-20.07.
21026         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21027         * scripts/move-if-change: Update to version 2012-01-06 07:23.
21029 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
21031         * debug/fgetws_u_chk.c: Fix leading whitespaces.
21032         * elf/sln.c: Likewise.
21033         * hurd/hurd/ioctl.h: Likewise.
21034         * hurd/hurdmalloc.c: Likewise.
21035         * hurd/xattr.c: Likewise.
21036         * include/shlib-compat.h: Likewise.
21037         * inet/ruserpass.c: Likewise.
21038         * libio/iofgets_u.c: Likewise.
21039         * libio/iofgetws_u.c: Likewise.
21040         * locale/programs/ld-identification.c: Likewise.
21041         * locale/programs/ld-time.c: Likewise.
21042         * mach/msg-destroy.c: Likewise.
21043         * nss/nss_files/files-netgrp.c: Likewise.
21044         * resolv/res_data.c: Likewise.
21045         * soft-fp/op-1.h: Likewise.
21046         * soft-fp/op-2.h: Likewise.
21047         * soft-fp/op-4.h: Likewise.
21048         * soft-fp/op-common.h: Likewise.
21049         * stdio-common/printf_fphex.c: Likewise.
21050         * stdlib/strtod_l.c: Likewise.
21051         * sunrpc/rpc/clnt.h: Likewise.
21052         * sysdeps/generic/framestate.c: Likewise.
21053         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21054         * sysdeps/i386/bsd-setjmp.S: Likewise.
21055         * sysdeps/i386/__longjmp.S: Likewise.
21056         * sysdeps/i386/setjmp.S: Likewise.
21057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21058         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21059         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21060         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21061         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21062         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21063         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21064         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21065         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21066         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21067         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21068         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21069         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21070         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21071         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21072         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21073         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21074         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21075         * sysdeps/ieee754/support.c: Likewise.
21076         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21077         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21078         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21079         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21080         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21081         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21082         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21083         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21084         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21085         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21086         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21087         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21088         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21089         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21090         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21091         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21092         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21095 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21097         * posix/transbug.c: Remove executable mode.
21099 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21101         * crypt/speeds.c: Remove trailing whitespace.
21102         * dlfcn/default.c: Likewise.
21103         * elf/ifuncdep2.c: Likewise.
21104         * elf/ifuncmain1.c: Likewise.
21105         * elf/ifuncmain1vis.c: Likewise.
21106         * elf/testobj.h: Likewise.
21107         * elf/tst-stackguard1.c: Likewise.
21108         * gmon/sys/gmon.h: Likewise.
21109         * hurd/hurdmsg.c: Likewise.
21110         * hurd/new-fd.c: Likewise.
21111         * hurd/ports-get.c: Likewise.
21112         * iconvdata/ibm1008_420.c: Likewise.
21113         * inet/tst-getni1.c: Likewise.
21114         * inet/tst-getni2.c: Likewise.
21115         * libio/ioungetc.c: Likewise.
21116         * libio/wfiledoalloc.c: Likewise.
21117         * manual/libm-err-tab.pl: Likewise.
21118         * math/w_dremf.c: Likewise.
21119         * misc/ftruncate.c: Likewise.
21120         * posix/bug-glob2.c: Likewise.
21121         * posix/tst-pcre.c: Likewise.
21122         * posix/wait4.c: Likewise.
21123         * resolv/README: Likewise.
21124         * resolv/res_debug.h: Likewise.
21125         * resolv/tst-inet_ntop.c: Likewise.
21126         * setjmp/bug269-setjmp.c: Likewise.
21127         * soft-fp/extended.h: Likewise.
21128         * soft-fp/op-1.h: Likewise.
21129         * soft-fp/op-2.h: Likewise.
21130         * soft-fp/op-4.h: Likewise.
21131         * soft-fp/op-8.h: Likewise.
21132         * soft-fp/testit.c: Likewise.
21133         * stdio-common/bug16.c: Likewise.
21134         * stdlib/random.c: Likewise.
21135         * sunrpc/rpcsvc/rquota.x: Likewise.
21136         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21137         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21138         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21139         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21140         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21141         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21142         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21143         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21144         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21145         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21146         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21147         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21148         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21149         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21150         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21151         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21152         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21153         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21154         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21155         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21156         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21157         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21158         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21159         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21160         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21161         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21162         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21163         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21164         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21165         * sysdeps/ieee754/s_lib_version.c: Likewise.
21166         * sysdeps/mach/hurd/check_fds.c: Likewise.
21167         * sysdeps/mach/hurd/getsockname.c: Likewise.
21168         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21169         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21170         * sysdeps/powerpc/bits/link.h: Likewise.
21171         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21172         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21173         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21174         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21175         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21176         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21177         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21178         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21179         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21180         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21181         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21182         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21183         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21184         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21185         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21186         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21187         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21188         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21189         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21190         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21191         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21192         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21193         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21194         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21195         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21196         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21197         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21198         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21199         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21200         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21201         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21202         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21203         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21204         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21205         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21206         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21207         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21208         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21209         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21210         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21211         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21212         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21213         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21214         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21215         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21216         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21217         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21218         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21219         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21220         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21221         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21222         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21223         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21224         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21225         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21226         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21227         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21228         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21229         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21230         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21231         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21232         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21233         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21234         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21235         * sysdeps/powerpc/sysdep.h: Likewise.
21236         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21237         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21238         * sysdeps/sh/dl-trampoline.S: Likewise.
21239         * sysdeps/sh/memset.S: Likewise.
21240         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21241         * sysdeps/sh/strlen.S: Likewise.
21242         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21243         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21244         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21245         * sysdeps/sparc/sparc32/rem.S: Likewise.
21246         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21247         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21248         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21249         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21250         * sysdeps/sparc/sparc32/urem.S: Likewise.
21251         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21252         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21253         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21254         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21255         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21256         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21257         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21258         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21259         * sysdeps/unix/bsd/times.c: Likewise.
21260         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21261         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21265         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21266         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21267         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21268         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21269         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21270         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21271         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21272         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21273         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21274         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21275         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21276         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21277         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21278         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21279         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21280         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21281         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21282         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21283         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21284         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21285         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21286         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21287         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21288         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21289         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21290         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21291         * sysdeps/x86_64/strcspn.S: Likewise.
21293 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21295         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21296         generated file.  Regenerate properly from gen-translit.pl.
21297         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21298         locale/C-translit.h.
21300 2013-06-05  Andreas Schwab  <schwab@suse.de>
21302         [BZ #15100]
21303         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21304         week as 6 instead of -1.
21305         * time/tst-strptime.c (day_tests): Add test case.
21307 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21309         * sysdeps/generic/math_private.h
21310         (libc_feholdexcept_setround_53bit): Replace with
21311         libc_feholdsetround_53bit.
21312         (libc_feupdateenv_53bit): Replace with
21313         libc_feresetround_53bit.
21314         (SET_RESTORE_ROUND_53BIT): Adjust.
21316 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21318         * string/test-strchrnul.c: Add copyright header.
21320         * posix/tst-getaddrinfo4.c: Increase test timeout.
21322 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
21324         [BZ #15536]
21325         * math/libm-test.inc (MAX_EXP): Remove
21326         (MIN_EXP): Define.
21327         (ulp): Use MIN_EXP - MANT_DIG.
21328         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21330 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
21332         * po/be.po: Revert last change.
21333         * po/zh_CN.po: Likewise.
21334         * po/header.pot: Likewise.
21336 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
21338         * Makefile ($(common-objpfx)linkobj/libc.so): Define
21339         link-libc-deps to empty as target-specific variable.
21340         * Makerules (link-libc-args): New variable.
21341         (libc-for-link): Likewise.
21342         (link-libc-deps): Likewise.
21343         (lib%.so): Depend on $(link-libc-deps).  Link with
21344         $(link-libc-args).
21345         (build-module): Link with $(link-libc-args).
21346         (build-module-asneeded): Likewise.
21347         (build-module-helper-objlist): Filter out $(link-libc-deps) from
21348         list of objects.
21349         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21350         target-specific variable.
21351         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21352         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21353         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21354         libc.
21355         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21356         libc and ld.so.
21357         ($(objpfx)libpcprofile.so): Likewise.
21358         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21359         libc_nonshared.a.
21360         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21361         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21362         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21363         $(link-libc-deps).
21364         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21365         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21366         * login/Makefile ($(objpfx)libutil.so): Likewise.
21367         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21368         * math/Makefile ($(objpfx)libm.so): Likewise.
21369         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21370         $(objpfx)libnsl.so): Define libc-for-link as target-specific
21371         variable instead of depending directly on libc.
21372         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21373         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21374         $(link-libc-deps).
21375         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21376         libc.
21377         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21378         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21379         ($(objpfx)libanl.so): Likewise.
21380         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21381         ld.so.
21382         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21383         $(link-libc-deps).
21384         * sysdeps/i386/fpu/Makefile: Remove file.
21385         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21386         ($(objpfx)libm.so): Remove dependency on ld.so.
21388 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
21390         [BZ # 15553]
21391         * nis/yp_xdr.c (XDRMAXNAME): Define.
21392         (XDRMAXRECORD): Define.
21393         (xdr_domainname): Use XDRMAXNAME.
21394         (xdr_mapname): Likewise.
21395         (xdr_peername): Likewise.
21396         (xdr_keydat): Use XDRMAXRECORD.
21397         (xdr_valdat): Likewise.
21399 2013-05-30  Jeff Law  <law@redhat.com>
21401         [BZ #14256]
21402         * manual/errno.texi (ESTALE): Update to account for more than
21403         just NFS file systems.
21404         * sysdeps/gnu/errlist.c: Regenerated.
21406 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21408         [BZ #15465]
21409         * elf/Makefile (tests): Add tst-null-argv.
21410         (modules-names):  Add tst-null-argv-lib.
21411         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21412         (tst-null-argv-ENV): Set environment for tst-null-argv.
21413         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21414         (RTLD_PROGNAME): New macro.
21415         * elf/tst-null-argv.c: New test case.
21416         * elf/tst-null-argv-lib.c: Library for test case.
21417         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21418         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21419         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21420         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21421         * elf/dl-init.c (call_init): Likewise.
21422         (_dl_init): Likewise.
21423         * elf/dl-load.c (print_search_path): Likewise.
21424         (_dl_map_object): Likewise.
21425         * elf/dl-lookup.c (do_lookup_x): Likewise.
21426         (add_dependency): Likewise.
21427         (_dl_lookup_symbol_x): Likewise.
21428         (_dl_debug_bindings): Likewise.
21429         * elf/dl-open.c (_dl_show_scope): Likewise.
21430         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21431         * elf/dl-version.c (match_symbol): Likewise.
21432         (_dl_check_map_versions): Likewise.
21433         * elf/rtld.c (dl_main): Likewise.
21434         (print_unresolved): Use RTLD_PROGNAME.
21435         (print_missing_version): Likewise.
21436         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21437         (elf_machine_rela): Likewise.
21438         * sysdeps/powerpc/powerpc32/dl-machine.c
21439         (__process_machine_rela): Likewise.
21440         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21441         Likewise.
21442         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21443         Likewise.
21444         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21445         Likewise.
21446         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21447         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21448         Likewise.
21449         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21450         Likewise.
21451         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21453 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
21455         * po/be.po: Add descriptive title.
21456         * po/zh_CN.po: Likewise.
21457         * po/header.pot: Likewise.
21459 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
21461         * locale/programs/locarchive.c (create_archive): Inlucde fname in
21462         error message.
21463         (enlarge_archive): Likewise.
21465 2013-05-28  Ben North  <ben@redfrontdoor.org>
21467         * manual/arith.texi (frexp): It is the magnitude of the return
21468         value which lies in [0.5, 1), not the return value itself.
21470 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21474 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
21476         * stdio-common/bug26.c (main): Correct fscanf template.
21478         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21479         declare _dl_skip_args.
21481         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21482         Don't declare.
21484         * manual/platform.texi: Add missing @end deftypefun.
21486 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21488         [BZ #15529]
21489         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21490         bit of mantissa of 2^16382.
21491         * math/libm-test.inc (hypot_test_data): Add more tests.
21493         * math/libm-test.inc: Add drem and pow10 to list of tested
21494         functions.
21495         (pow10_test): New function.
21496         (drem_test): Likewise.
21497         (drem_test_tonearest): Likewise.
21498         (drem_test_towardzero): Likewise.
21499         (drem_test_downward): Likewise.
21500         (drem_test_upward): Likewise.
21501         (main): Call the new functions.
21503         * math/libm-test.inc (finite_test_data): Remove.
21504         (finite_test): Run tests from isfinite_test_data.
21505         (gamma_test_data): Remove.
21506         (gamma_test): Run tests from lgamma_test_data.
21507         * sysdeps/i386/fpu/libm-test-ulps: Update.
21508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21510 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21512         * manual/platform.texi: Add PowerPC PPR function set documentation.
21513         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21514         implementation.
21516 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
21518         * math/libm-test.inc (MAX_EXP): Define.
21519         (ULPDIFF): Define.
21520         (ulp): New function.
21521         (check_float_internal): Use ULPDIFF.
21522         (cpow_test): Disable failing test.
21523         (check_ulp): Test ulp() implemetnation.
21524         (main): Call check_ulp before starting tests.
21526 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21528         * math/gen-libm-test.pl (generate_testfile): Do not handle
21529         START_DATA and END_DATA.
21530         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21531         END_DATA.
21532         (acos_tonearest_test_data): Likewise.
21533         (acos_towardzero_test_data): Likewise.
21534         (acos_downward_test_data): Likewise.
21535         (acos_upward_test_data): Likewise.
21536         (acosh_test_data): Likewise.
21537         (asin_test_data): Likewise.
21538         (asin_tonearest_test_data): Likewise.
21539         (asin_towardzero_test_data): Likewise.
21540         (asin_downward_test_data): Likewise.
21541         (asin_upward_test_data): Likewise.
21542         (asinh_test_data): Likewise.
21543         (atan_test_data): Likewise.
21544         (atanh_test_data): Likewise.
21545         (atan2_test_data): Likewise.
21546         (cabs_test_data): Likewise.
21547         (cacos_test_data): Likewise.
21548         (cacosh_test_data): Likewise.
21549         (carg_test_data): Likewise.
21550         (casin_test_data): Likewise.
21551         (casinh_test_data): Likewise.
21552         (catan_test_data): Likewise.
21553         (catanh_test_data): Likewise.
21554         (cbrt_test_data): Likewise.
21555         (ccos_test_data): Likewise.
21556         (ccosh_test_data): Likewise.
21557         (ceil_test_data): Likewise.
21558         (cexp_test_data): Likewise.
21559         (cimag_test_data): Likewise.
21560         (clog_test_data): Likewise.
21561         (clog10_test_data): Likewise.
21562         (conj_test_data): Likewise.
21563         (copysign_test_data): Likewise.
21564         (cos_test_data): Likewise.
21565         (cos_tonearest_test_data): Likewise.
21566         (cos_towardzero_test_data): Likewise.
21567         (cos_downward_test_data): Likewise.
21568         (cos_upward_test_data): Likewise.
21569         (cosh_test_data): Likewise.
21570         (cosh_tonearest_test_data): Likewise.
21571         (cosh_towardzero_test_data): Likewise.
21572         (cosh_downward_test_data): Likewise.
21573         (cosh_upward_test_data): Likewise.
21574         (cpow_test_data): Likewise.
21575         (cproj_test_data): Likewise.
21576         (creal_test_data): Likewise.
21577         (csin_test_data): Likewise.
21578         (csinh_test_data): Likewise.
21579         (csqrt_test_data): Likewise.
21580         (ctan_test_data): Likewise.
21581         (ctan_tonearest_test_data): Likewise.
21582         (ctan_towardzero_test_data): Likewise.
21583         (ctan_downward_test_data): Likewise.
21584         (ctan_upward_test_data): Likewise.
21585         (ctanh_test_data): Likewise.
21586         (ctanh_tonearest_test_data): Likewise.
21587         (ctanh_towardzero_test_data): Likewise.
21588         (ctanh_downward_test_data): Likewise.
21589         (ctanh_upward_test_data): Likewise.
21590         (erf_test_data): Likewise.
21591         (erfc_test_data): Likewise.
21592         (exp_test_data): Likewise.
21593         (exp_tonearest_test_data): Likewise.
21594         (exp_towardzero_test_data): Likewise.
21595         (exp_downward_test_data): Likewise.
21596         (exp_upward_test_data): Likewise.
21597         (exp10_test_data): Likewise.
21598         (exp2_test_data): Likewise.
21599         (expm1_test_data): Likewise.
21600         (fabs_test_data): Likewise.
21601         (fdim_test_data): Likewise.
21602         (finite_test_data): Likewise.
21603         (floor_test_data): Likewise.
21604         (fma_test_data): Likewise.
21605         (fma_towardzero_test_data): Likewise.
21606         (fma_downward_test_data): Likewise.
21607         (fma_upward_test_data): Likewise.
21608         (fmax_test_data): Likewise.
21609         (fmin_test_data): Likewise.
21610         (fmod_test_data): Likewise.
21611         (fpclassify_test_data): Likewise.
21612         (frexp_test_data): Likewise.
21613         (gamma_test_data): Likewise.
21614         (hypot_test_data): Likewise.
21615         (ilogb_test_data): Likewise.
21616         (isfinite_test_data): Likewise.
21617         (isgreater_test_data): Likewise.
21618         (isgreaterequal_test_data): Likewise.
21619         (isinf_test_data): Likewise.
21620         (isless_test_data): Likewise.
21621         (islessequal_test_data): Likewise.
21622         (islessgreater_test_data): Likewise.
21623         (isnan_test_data): Likewise.
21624         (isnormal_test_data): Likewise.
21625         (issignaling_test_data): Likewise.
21626         (isunordered_test_data): Likewise.
21627         (j0_test_data): Likewise.
21628         (j1_test_data): Likewise.
21629         (jn_test_data): Likewise.
21630         (ldexp_test_data): Likewise.
21631         (lgamma_test_data): Likewise.
21632         (lrint_test_data): Likewise.
21633         (lrint_tonearest_test_data): Likewise.
21634         (lrint_towardzero_test_data): Likewise.
21635         (lrint_downward_test_data): Likewise.
21636         (lrint_upward_test_data): Likewise.
21637         (llrint_test_data): Likewise.
21638         (llrint_tonearest_test_data): Likewise.
21639         (llrint_towardzero_test_data): Likewise.
21640         (llrint_downward_test_data): Likewise.
21641         (llrint_upward_test_data): Likewise.
21642         (log_test_data): Likewise.
21643         (log10_test_data): Likewise.
21644         (log1p_test_data): Likewise.
21645         (log2_test_data): Likewise.
21646         (logb_test_data): Likewise.
21647         (logb_downward_test_data): Likewise.
21648         (lround_test_data): Likewise.
21649         (llround_test_data): Likewise.
21650         (modf_test_data): Likewise.
21651         (nearbyint_test_data): Likewise.
21652         (nextafter_test_data): Likewise.
21653         (nexttoward_test_data): Likewise.
21654         (pow_test_data): Likewise.
21655         (pow_tonearest_test_data): Likewise.
21656         (pow_towardzero_test_data): Likewise.
21657         (pow_downward_test_data): Likewise.
21658         (pow_upward_test_data): Likewise.
21659         (remainder_test_data): Likewise.
21660         (remainder_tonearest_test_data): Likewise.
21661         (remainder_towardzero_test_data): Likewise.
21662         (remainder_downward_test_data): Likewise.
21663         (remainder_upward_test_data): Likewise.
21664         (remquo_test_data): Likewise.
21665         (rint_test_data): Likewise.
21666         (rint_tonearest_test_data): Likewise.
21667         (rint_towardzero_test_data): Likewise.
21668         (rint_downward_test_data): Likewise.
21669         (rint_upward_test_data): Likewise.
21670         (round_test_data): Likewise.
21671         (scalb_test_data): Likewise.
21672         (scalbn_test_data): Likewise.
21673         (scalbln_test_data): Likewise.
21674         (signbit_test_data): Likewise.
21675         (sin_test_data): Likewise.
21676         (sin_tonearest_test_data): Likewise.
21677         (sin_towardzero_test_data): Likewise.
21678         (sin_downward_test_data): Likewise.
21679         (sin_upward_test_data): Likewise.
21680         (sincos_test_data): Likewise.
21681         (sinh_test_data): Likewise.
21682         (sinh_tonearest_test_data): Likewise.
21683         (sinh_towardzero_test_data): Likewise.
21684         (sinh_downward_test_data): Likewise.
21685         (sinh_upward_test_data): Likewise.
21686         (sqrt_test_data): Likewise.
21687         (tan_test_data): Likewise.
21688         (tan_tonearest_test_data): Likewise.
21689         (tan_towardzero_test_data): Likewise.
21690         (tan_downward_test_data): Likewise.
21691         (tan_upward_test_data): Likewise.
21692         (tanh_test_data): Likewise.
21693         (tgamma_test_data): Likewise.
21694         (trunc_test_data): Likewise.
21695         (y0_test_data): Likewise.
21696         (y1_test_data): Likewise.
21697         (yn_test_data): Likewise.
21698         (significand_test_data): Likewise.
21700         * math/gen-libm-test.pl (@functions): Remove variable.
21701         (generate_testfile): Don't handle START and END lines.
21702         * math/libm-test.inc (START): New macro.
21703         (END): Likewise.
21704         (END_COMPLEX): Likewise.
21705         (acos_test): Use END macro without arguments.
21706         (acos_test_tonearest): Likewise.
21707         (acos_test_towardzero): Likewise.
21708         (acos_test_downward): Likewise.
21709         (acos_test_upward): Likewise.
21710         (acosh_test): Likewise.
21711         (asin_test): Likewise.
21712         (asin_test_tonearest): Likewise.
21713         (asin_test_towardzero): Likewise.
21714         (asin_test_downward): Likewise.
21715         (asin_test_upward): Likewise.
21716         (asinh_test): Likewise.
21717         (atan_test): Likewise.
21718         (atanh_test): Likewise.
21719         (atan2_test): Likewise.
21720         (cabs_test): Likewise.
21721         (cacos_test): Use END_COMPLEX macro without arguments.
21722         (cacosh_test): Likewise.
21723         (carg_test): Use END macro without arguments.
21724         (casin_test): Use END_COMPLEX macro without arguments.
21725         (casinh_test): Likewise.
21726         (catan_test): Likewise.
21727         (catanh_test): Likewise.
21728         (cbrt_test): Use END macro without arguments.
21729         (ccos_test): Use END_COMPLEX macro without arguments.
21730         (ccosh_test): Likewise.
21731         (ceil_test): Use END macro without arguments.
21732         (cexp_test): Use END_COMPLEX macro without arguments.
21733         (cimag_test): Use END macro without arguments.
21734         (clog_test): Use END_COMPLEX macro without arguments.
21735         (clog10_test): Likewise.
21736         (conj_test): Likewise.
21737         (copysign_test): Use END macro without arguments.
21738         (cos_test): Likewise.
21739         (cos_test_tonearest): Likewise.
21740         (cos_test_towardzero): Likewise.
21741         (cos_test_downward): Likewise.
21742         (cos_test_upward): Likewise.
21743         (cosh_test): Likewise.
21744         (cosh_test_tonearest): Likewise.
21745         (cosh_test_towardzero): Likewise.
21746         (cosh_test_downward): Likewise.
21747         (cosh_test_upward): Likewise.
21748         (cpow_test): Use END_COMPLEX macro without arguments.
21749         (cproj_test): Likewise.
21750         (creal_test): Use END macro without arguments.
21751         (csin_test): Use END_COMPLEX macro without arguments.
21752         (csinh_test): Likewise.
21753         (csqrt_test): Likewise.
21754         (ctan_test): Likewise.
21755         (ctan_test_tonearest): Likewise.
21756         (ctan_test_towardzero): Likewise.
21757         (ctan_test_downward): Likewise.
21758         (ctan_test_upward): Likewise.
21759         (ctanh_test): Likewise.
21760         (ctanh_test_tonearest): Likewise.
21761         (ctanh_test_towardzero): Likewise.
21762         (ctanh_test_downward): Likewise.
21763         (ctanh_test_upward): Likewise.
21764         (erf_test): Use END macro without arguments.
21765         (erfc_test): Likewise.
21766         (exp_test): Likewise.
21767         (exp_test_tonearest): Likewise.
21768         (exp_test_towardzero): Likewise.
21769         (exp_test_downward): Likewise.
21770         (exp_test_upward): Likewise.
21771         (exp10_test): Likewise.
21772         (exp2_test): Likewise.
21773         (expm1_test): Likewise.
21774         (fabs_test): Likewise.
21775         (fdim_test): Likewise.
21776         (finite_test): Likewise.
21777         (floor_test): Likewise.
21778         (fma_test): Likewise.
21779         (fma_test_towardzero): Likewise.
21780         (fma_test_downward): Likewise.
21781         (fma_test_upward): Likewise.
21782         (fmax_test): Likewise.
21783         (fmin_test): Likewise.
21784         (fmod_test): Likewise.
21785         (fpclassify_test): Likewise.
21786         (frexp_test): Likewise.
21787         (gamma_test): Likewise.
21788         (hypot_test): Likewise.
21789         (ilogb_test): Likewise.
21790         (isfinite_test): Likewise.
21791         (isgreater_test): Likewise.
21792         (isgreaterequal_test): Likewise.
21793         (isinf_test): Likewise.
21794         (isless_test): Likewise.
21795         (islessequal_test): Likewise.
21796         (islessgreater_test): Likewise.
21797         (isnan_test): Likewise.
21798         (isnormal_test): Likewise.
21799         (issignaling_test): Likewise.
21800         (isunordered_test): Likewise.
21801         (j0_test): Likewise.
21802         (j1_test): Likewise.
21803         (jn_test): Likewise.
21804         (ldexp_test): Likewise.
21805         (lgamma_test): Likewise.
21806         (lrint_test): Likewise.
21807         (lrint_test_tonearest): Likewise.
21808         (lrint_test_towardzero): Likewise.
21809         (lrint_test_downward): Likewise.
21810         (lrint_test_upward): Likewise.
21811         (llrint_test): Likewise.
21812         (llrint_test_tonearest): Likewise.
21813         (llrint_test_towardzero): Likewise.
21814         (llrint_test_downward): Likewise.
21815         (llrint_test_upward): Likewise.
21816         (log_test): Likewise.
21817         (log10_test): Likewise.
21818         (log1p_test): Likewise.
21819         (log2_test): Likewise.
21820         (logb_test): Likewise.
21821         (logb_test_downward): Likewise.
21822         (lround_test): Likewise.
21823         (llround_test): Likewise.
21824         (modf_test): Likewise.
21825         (nearbyint_test): Likewise.
21826         (nextafter_test): Likewise.
21827         (nexttoward_test): Likewise.
21828         (pow_test): Likewise.
21829         (pow_test_tonearest): Likewise.
21830         (pow_test_towardzero): Likewise.
21831         (pow_test_downward): Likewise.
21832         (pow_test_upward): Likewise.
21833         (remainder_test): Likewise.
21834         (remainder_test_tonearest): Likewise.
21835         (remainder_test_towardzero): Likewise.
21836         (remainder_test_downward): Likewise.
21837         (remainder_test_upward): Likewise.
21838         (remquo_test): Likewise.
21839         (rint_test): Likewise.
21840         (rint_test_tonearest): Likewise.
21841         (rint_test_towardzero): Likewise.
21842         (rint_test_downward): Likewise.
21843         (rint_test_upward): Likewise.
21844         (round_test): Likewise.
21845         (scalb_test): Likewise.
21846         (scalbn_test): Likewise.
21847         (scalbln_test): Likewise.
21848         (signbit_test): Likewise.
21849         (sin_test): Likewise.
21850         (sin_test_tonearest): Likewise.
21851         (sin_test_towardzero): Likewise.
21852         (sin_test_downward): Likewise.
21853         (sin_test_upward): Likewise.
21854         (sincos_test): Likewise.
21855         (sinh_test): Likewise.
21856         (sinh_test_tonearest): Likewise.
21857         (sinh_test_towardzero): Likewise.
21858         (sinh_test_downward): Likewise.
21859         (sinh_test_upward): Likewise.
21860         (sqrt_test): Likewise.
21861         (tan_test): Likewise.
21862         (tan_test_tonearest): Likewise.
21863         (tan_test_towardzero): Likewise.
21864         (tan_test_downward): Likewise.
21865         (tan_test_upward): Likewise.
21866         (tanh_test): Likewise.
21867         (tgamma_test): Likewise.
21868         (trunc_test): Likewise.
21869         (y0_test): Likewise.
21870         (y1_test): Likewise.
21871         (yn_test): Likewise.
21872         (significand_test): Likewise.
21874 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
21876         [BZ #15381]
21877         * libio/genops.c (_IO_no_init): Initialize wide struct info.
21879 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21881         [BZ #14894]
21882         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21883         __ppc_mdoio and __ppc_mdoom.
21884         * manual/platform.texi: Document new functions __ppc_yield,
21885         __ppc_mdoio and __ppc_mdoom.
21887 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
21889         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21890         (main): Mention "tls" pseudo-hwcap is legacy.
21891         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21893 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21895         * math/gen-libm-test.pl (parse_args): Output only string of
21896         arguments as text for test name, not full call or descriptions of
21897         tests for extra outputs.
21898         (generate_testfile): Do not pass function name to parse_args.
21899         Generate this_func variable from START.
21900         * math/libm-test.inc (struct test_f_f_data): Rename test_name
21901         field to arg_str.
21902         (struct test_ff_f_data): Likewise.
21903         (test_ff_f_data_nexttoward): Likewise.
21904         (struct test_fi_f_data): Likewise.
21905         (struct test_fl_f_data): Likewise.
21906         (struct test_if_f_data): Likewise.
21907         (struct test_fff_f_data): Likewise.
21908         (struct test_c_f_data): Likewise.
21909         (struct test_f_f1_data): Likewise.  Remove field extra_name.
21910         (struct test_fF_f1_data): Likewise.
21911         (struct test_ffI_f1_data): Likewise.
21912         (struct test_c_c_data): Rename test_name field to arg_str.
21913         (struct test_cc_c_data): Likewise.
21914         (struct test_f_i_data): Likewise.
21915         (struct test_ff_i_data): Likewise.
21916         (struct test_f_l_data): Likewise.
21917         (struct test_f_L_data): Likewise.
21918         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
21919         and extra2_name.
21920         (COMMON_TEST_SETUP): New macro.
21921         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21922         (COMMON_TEST_CLEANUP): Likewise.
21923         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21924         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
21925         macros.
21926         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21927         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
21928         macros.
21929         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21930         (RUN_TEST_fff_f): Take argument string.  Call new setup and
21931         cleanup macros.
21932         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21933         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
21934         macros.
21935         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21936         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
21937         macros.
21938         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21939         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
21940         cleanup macros.
21941         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21942         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
21943         cleanup macros.
21944         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21945         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
21946         cleanup macros.
21947         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21948         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
21949         macros.
21950         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21951         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
21952         macros.
21953         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21954         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
21955         macros.
21956         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21957         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
21958         cleanup macros.
21959         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21960         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
21961         cleanup macros.
21962         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21963         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
21964         macros.
21965         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21966         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
21967         cleanup macros.
21968         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21969         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
21970         macros.
21971         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21972         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
21973         macros.
21974         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21975         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
21976         cleanup macros.
21977         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21979 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
21981         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21982         to _sifields.sigfault.
21983         (si_addr_lsb): Define new macro.
21984         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21985         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21986         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21988 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
21990         [BZ #15441]
21991         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21992         returns -1.
21993         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21994         null return -1.
21995         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21996         loading the domain.
21998 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22000         * math/gen-libm-test.pl (parse_args): Do not include expected
22001         result in test name.
22002         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22003         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22004         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22005         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22006         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22009 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22011         * benchtests/Makefile: Sort function entries.
22013         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22014         tanh, asinh, acosh, atanh.
22015         * benchtests/acos-inputs: New file.
22016         * benchtests/acosh-inputs: New file.
22017         * benchtests/asin-inputs: New file.
22018         * benchtests/asinh-inputs: New file.
22019         * benchtests/atanh-inputs: New file.
22020         * benchtests/cosh-inputs: New file.
22021         * benchtests/log-inputs: New file.
22022         * benchtests/sinh-inputs: New file.
22023         * benchtests/tanh-inputs: New file.
22025 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
22027         [BZ #15339]
22028         * posix/tst-getaddrinfo4.c: New test.
22029         * posix/Makefile (tests): Add it.
22031 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22033         [BZ #15339]
22034         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22035         when no services were used.
22036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22037         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22039 2013-05-21  Andreas Schwab  <schwab@suse.de>
22041         [BZ #15014]
22042         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22043         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22044         successful.
22045         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22046         redundant variable declarations and reallocation of buffer when
22047         parsing as IPv6 address.  Always set NSS status when called from
22048         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
22049         buffer too small.  Correct computation of needed size.
22050         * nss/Makefile (tests): Add test-digits-dots.
22051         * nss/test-digits-dots.c: New test.
22053 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22055         * benchtests/Makefile: Remove instructions for adding
22056         benchmark tests.
22057         * benchtests/README: New file to explain how to execute and
22058         enhance the benchmark tests.
22060 2013-05-21  Andreas Schwab  <schwab@suse.de>
22062         [BZ #15493]
22063         * setjmp/Makefile (tests): Add tst-sigsetjmp.
22064         * setjmp/tst-sigsetjmp.c: New test.
22066 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22068         * sysdeps/x86_64/memset.S (memset): New implementation.
22069         (__bzero): Likewise.
22070         (__memset_tail): New function.
22072 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22074         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22075         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22076         __memcpy_sse2_unaligned ifunc selection.
22077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22078         Add memcpy-sse2-unaligned.S.
22079         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22080         Add: __memcpy_sse2_unaligned.
22082 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
22084         [BZ #15490]
22085         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22086         math_force_eval before restoring floating-point envrionment.
22087         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22088         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22089         Likewise.
22090         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22091         <math_private.h>.
22092         (__nearbyintl): Use math_force_eval before restoring
22093         floating-point environment.
22094         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22096         * math/gen-libm-test.pl (special_functions): Remove.
22097         (parse_args): Don't handle TEST_extra.  Handle functions with no
22098         return value.
22099         * math/libm-test.inc (struct test_sincos_data): Replace with
22100         struct test_fFF_11_data.
22101         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22102         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22103         (sincos_test_data): Change element type to struct
22104         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22105         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22106         RUN_TEST_LOOP_sincos.
22107         * math/README.libm-test: Don't mention special handling of
22108         individual functions.
22109         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22110         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22111         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22112         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22113         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22116         * math/gen-libm-test.pl (get_variable): Remove function.
22117         (parse_args): Don't show pointer parameters to call in test
22118         names.  Use "extra output N" in test names for extra outputs
22119         rather than naming variables.
22121 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22123         [BZ #15488]
22124         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22125         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22126         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22127         double tests.
22128         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22129         disable.
22130         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22131         check_long_double.
22133         * math/gen-libm-test.pl (@tests): Remove variable.
22134         ($count): Likewise.
22135         (new_test): Remove function.
22136         (show_exceptions): New function.
22137         (special_functions): Use show_exceptions instead of new_test.
22138         (parse_args): Likewise.
22139         (generate_testfile): Pass only function name in generated call to
22140         print_max_error or print_complex_max_error.
22141         (get_ulps): Do not handle complex tests specially.
22142         (output_test): Rename to ...
22143         (get_all_ulps_for_test): ... this.  Return a string rather than
22144         printing to a file.  Require ulps to be present.
22145         (output_ulps): Generate arrays rather than #defines.
22146         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22147         (struct ulp_data): New type.
22148         (BUILD_COMPLEX_ULP): Remove macro.
22149         (compare_ulp_data): New function.
22150         (find_ulps): Likewise.
22151         (find_test_ulps): Likewise.
22152         (find_function_ulps): Likewise.
22153         (find_complex_function_ulps): Likewise.
22154         (print_max_error): Determine allowed ulps using
22155         find_function_ulps.
22156         (print_complex_max_error): Determine allowed ulps using
22157         find_complex_function_ulps.
22158         (check_float_internal): Determine max ulps using find_test_ulps.
22159         (check_float): Do not take max_ulp parameter.  Update call to
22160         check_float_internal.
22161         (check_complex): Likewise.
22162         (check_int): Do not take max_ulp parameter.
22163         (check_long): Likewise.
22164         (check_bool): Likewise.
22165         (check_longlong): Likewise.
22166         (struct test_f_f_data): Remove max_ulp field.
22167         (struct test_ff_f_data): Likewise.
22168         (struct test_ff_f_data_nexttoward): Likewise.
22169         (struct test_fi_f_data): Likewise.
22170         (struct test_fl_f_data): Likewise.
22171         (struct test_if_f_data): Likewise.
22172         (struct test_fff_f_data): Likewise.
22173         (struct test_c_f_data): Likewise.
22174         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22175         (struct test_fF_f1_data): Likewise.
22176         (struct test_ffI_f1_data): Likewise.
22177         (struct test_c_c_data): Remove max_ulp field.
22178         (struct test_cc_c_data): Likewise.
22179         (struct test_f_i_data): Likewise.
22180         (struct test_ff_i_data): Likewise.
22181         (struct test_f_l_data): Likewise.
22182         (struct test_f_L_data): Likewise.
22183         (struct test_sincos_data): Likewise.
22184         (RUN_TEST_f_f): Do not handle ulps.
22185         (RUN_TEST_LOOP_f_f): Likewise.
22186         (RUN_TEST_2_f): Likewise.
22187         (RUN_TEST_LOOP_2_f): Likewise.
22188         (RUN_TEST_fff_f): Likewise.
22189         (RUN_TEST_LOOP_fff_f): Likewise.
22190         (RUN_TEST_c_f): Likewise.
22191         (RUN_TEST_LOOP_c_f): Likewise.
22192         (RUN_TEST_f_f1): Likewise.
22193         (RUN_TEST_LOOP_f_f1): Likewise.
22194         (RUN_TEST_fF_f1): Likewise.
22195         (RUN_TEST_LOOP_fF_f1): Likewise.
22196         (RUN_TEST_fI_f1): Likewise.
22197         (RUN_TEST_LOOP_fI_f1): Likewise.
22198         (RUN_TEST_ffI_f1): Likewise.
22199         (RUN_TEST_LOOP_ffI_f1): Likewise.
22200         (RUN_TEST_c_c): Likewise.
22201         (RUN_TEST_LOOP_c_c): Likewise.
22202         (RUN_TEST_cc_c): Likewise.
22203         (RUN_TEST_LOOP_cc_c): Likewise.
22204         (RUN_TEST_f_i): Likewise.
22205         (RUN_TEST_LOOP_f_i): Likewise.
22206         (RUN_TEST_f_i_tg): Likewise.
22207         (RUN_TEST_LOOP_f_i_tg): Likewise.
22208         (RUN_TEST_ff_i_tg): Likewise.
22209         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22210         (RUN_TEST_f_b): Likewise.
22211         (RUN_TEST_LOOP_f_b): Likewise.
22212         (RUN_TEST_f_b_tg): Likewise.
22213         (RUN_TEST_LOOP_f_b_tg): Likewise.
22214         (RUN_TEST_f_l): Likewise.
22215         (RUN_TEST_LOOP_f_l): Likewise.
22216         (RUN_TEST_f_L): Likewise.
22217         (RUN_TEST_LOOP_f_L): Likewise.
22218         (RUN_TEST_sincos): Likewise.
22219         (RUN_TEST_LOOP_sincos): Likewise.
22221 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22223         [BZ #15480]
22224         [BZ #15485]
22225         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22226         main case of finite arguments, set rounding mode to FE_TONEAREST
22227         and discard exceptions.
22228         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22229         exceptions.
22230         (remainder_tonearest_test_data): New variable.
22231         (remainder_test_tonearest): New function.
22232         (remainder_towardzero_test_data): New variable.
22233         (remainder_test_towardzero): New function.
22234         (remainder_downward_test_data): New variable.
22235         (remainder_test_downward): New function.
22236         (remainder_upward_test_data): New variable.
22237         (remainder_test_upward): New function.
22238         (main): Call the new test functions.
22240         * math/libm-test.inc (struct test_f_f1_data): Remove field
22241         extra_init.
22242         (struct test_fF_f1_data): Likewise.
22243         (struct test_ffI_f1_data): Likewise.
22244         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22245         based on value of EXTRA_EXPECTED.
22246         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22247         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22248         EXTRA_VAR based on value of EXTRA_EXPECTED.
22249         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22250         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22251         EXTRA_VAR based on value of EXTRA_EXPECTED.
22252         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22253         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22254         EXTRA_VAR based on value of EXTRA_EXPECTED.
22255         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22256         * math/gen-libm-test.pl (parse_args): Don't output initializers
22257         for extra output values.
22259         * math/libm-test.inc (check_int): Expect result to be exactly
22260         equal to expected value and do not handle ulps.
22261         (check_long): Likewise.
22262         (check_longlong): Likewise.
22264         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22265         exceptions.
22266         (cimag_test_data): Likewise.
22267         (conj_test_data): Likewise.
22268         (copysign_test_data): Likewise.
22269         (cproj_test_data): Likewise.
22270         (creal_test_data): Likewise.
22271         (fabs_test_data): Likewise.
22272         (fdim_test_data): Likewise.
22273         (finite_test_data): Likewise.
22274         (floor_test_data): Likewise.
22275         (fmax_test_data): Likewise.
22276         (fmin_test_data): Likewise.
22277         (fmod_test_data): Likewise.
22278         (fpclassify_test_data): Likewise.
22279         (frexp_test_data): Likewise.
22280         (ilogb_test_data): Likewise.
22281         (isfinite_test_data): Likewise.
22282         (isgreater_test_data): Likewise.
22283         (isgreaterequal_test_data): Likewise.
22284         (isinf_test_data): Likewise.
22285         (isless_test_data): Likewise.
22286         (islessequal_test_data): Likewise.
22287         (islessgreater_test_data): Likewise.
22288         (isnan_test_data): Likewise.
22289         (isnormal_test_data): Likewise.
22290         (issignaling_test_data): Likewise.
22291         (isunordered_test_data): Likewise.
22292         (ldexp_test_data): Likewise.
22293         (lrint_test_data): Likewise.
22294         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22295         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22296         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22297         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22298         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22299         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22300         test input.
22301         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22302         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22303         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22304         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22305         that test input.
22306         (lrint_downward_test_data): Test for "inexact" exceptions.
22307         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22308         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22309         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22310         test input.
22311         (lrint_upward_test_data): Test for "inexact" exceptions.
22312         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22313         test input.
22314         (llrint_test_data): Test for "inexact" exceptions.
22315         (llrint_test_data) [TEST_FLOAT]: Disable one test.
22316         (llrint_tonearest_test_data): Test for "inexact" exceptions.
22317         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22318         (llrint_towardzero_test_data): Test for "inexact" exceptions.
22319         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22320         (llrint_downward_test_data): Test for "inexact" exceptions.
22321         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22322         (llrint_upward_test_data): Test for "inexact" exceptions.
22323         (logb_test_data): Likewise.
22324         (logb_downward_test_data): Likewise.
22325         (nextafter_test_data): Likewise.
22326         (nexttoward_test_data): Likewise.
22327         (remainder_test_data): Likewise.
22328         (remquo_test_data): Likewise.
22329         (scalbn_test_data): Likewise.
22330         (scalbln_test_data): Likewise.
22331         (signbit_test_data): Likewise.
22332         (sqrt_test_data): Likewise.
22333         (significand_test_data): Likewise.
22335 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22337         [BZ #15424]
22338         * benchtests/bench-modf.c (struct args): Mark arg0 as
22339         volatile.
22340         * scripts/bench.pl: Mark members of struct args as volatile.
22342 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22344         [BZ # 15497]
22345         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22346         negative infinity on POWER6 or lower.
22347         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22349 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22351         [BZ #15442]
22352         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22353         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22354         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22355         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22356         (_FP_SETQNAN): New macro.
22357         (_FP_SETQNAN_SEMIRAW): Likewise.
22358         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22359         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22360         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22361         (FP_EXTEND): Use _FP_FRAC_SNANP.
22362         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22363         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22364         into account.
22365         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22366         New macro.
22367         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22368         Likewise.
22370 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22372         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22373         with DIVIDE_BY_ZERO_EXCEPTION.
22374         (gamma_test_data): Likewise.
22375         (lgamma_test_data): Likewise.
22376         (log_test_data): Likewise.
22377         (log10_test_data): Likewise.
22378         (log2_test_data): Likewise.
22379         (tgamma_test_data): Likewise.
22381         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22382         (acos_test_tonearest): Likewise.
22383         (acos_test_towardzero): Likewise.
22384         (acos_test_downward): Likewise.
22385         (acos_test_upward): Likewise.
22386         (acosh_test): Likewise.
22387         (asin_test): Likewise.
22388         (asin_test_tonearest): Likewise.
22389         (asin_test_towardzero): Likewise.
22390         (asin_test_downward): Likewise.
22391         (asin_test_upward): Likewise.
22392         (asinh_test): Likewise.
22393         (atan_test): Likewise.
22394         (atanh_test): Likewise.
22395         (atan2_test): Likewise.
22396         (cabs_test): Likewise.
22397         (cacos_test): Likewise.
22398         (cacosh_test): Likewise.
22399         (casin_test): Likewise.
22400         (casinh_test): Likewise.
22401         (catan_test): Likewise.
22402         (catanh_test): Likewise.
22403         (cbrt_test): Likewise.
22404         (ccos_test): Likewise.
22405         (ccosh_test): Likewise.
22406         (cexp_test): Likewise.
22407         (clog_test): Likewise.
22408         (clog10_test): Likewise.
22409         (cos_test): Likewise.
22410         (cos_test_tonearest): Likewise.
22411         (cos_test_towardzero): Likewise.
22412         (cos_test_downward): Likewise.
22413         (cos_test_upward): Likewise.
22414         (cosh_test): Likewise.
22415         (cosh_test_tonearest): Likewise.
22416         (cosh_test_towardzero): Likewise.
22417         (cosh_test_downward): Likewise.
22418         (cosh_test_upward): Likewise.
22419         (cpow_test): Likewise.
22420         (csin_test): Likewise.
22421         (csinh_test): Likewise.
22422         (csqrt_test): Likewise.
22423         (ctan_test): Likewise.
22424         (ctan_test_tonearest): Likewise.
22425         (ctan_test_towardzero): Likewise.
22426         (ctan_test_downward): Likewise.
22427         (ctan_test_upward): Likewise.
22428         (ctanh_test): Likewise.
22429         (ctanh_test_tonearest): Likewise.
22430         (ctanh_test_towardzero): Likewise.
22431         (ctanh_test_downward): Likewise.
22432         (ctanh_test_upward): Likewise.
22433         (erf_test): Likewise.
22434         (erfc_test): Likewise.
22435         (exp_test): Likewise.
22436         (exp_test_tonearest): Likewise.
22437         (exp_test_towardzero): Likewise.
22438         (exp_test_downward): Likewise.
22439         (exp_test_upward): Likewise.
22440         (exp10_test): Likewise.
22441         (exp2_test): Likewise.
22442         (expm1_test): Likewise.
22443         (fmod_test): Likewise.
22444         (gamma_test): Likewise.
22445         (hypot_test): Likewise.
22446         (j0_test): Likewise.
22447         (j1_test): Likewise.
22448         (jn_test): Likewise.
22449         (lgamma_test): Likewise.
22450         (log_test): Likewise.
22451         (log10_test): Likewise.
22452         (log1p_test): Likewise.
22453         (log2_test): Likewise.
22454         (logb_test_downward): Likewise.
22455         (pow_test): Likewise.
22456         (pow_test_tonearest): Likewise.
22457         (pow_test_towardzero): Likewise.
22458         (pow_test_downward): Likewise.
22459         (pow_test_upward): Likewise.
22460         (remainder_test): Likewise.
22461         (remquo_test): Likewise.
22462         (sin_test): Likewise.
22463         (sin_test_tonearest): Likewise.
22464         (sin_test_towardzero): Likewise.
22465         (sin_test_downward): Likewise.
22466         (sin_test_upward): Likewise.
22467         (sincos_test): Likewise.
22468         (sinh_test): Likewise.
22469         (sinh_test_tonearest): Likewise.
22470         (sinh_test_towardzero): Likewise.
22471         (sinh_test_downward): Likewise.
22472         (sinh_test_upward): Likewise.
22473         (sqrt_test): Likewise.
22474         (tan_test): Likewise.
22475         (tan_test_tonearest): Likewise.
22476         (tan_test_towardzero): Likewise.
22477         (tan_test_downward): Likewise.
22478         (tan_test_upward): Likewise.
22479         (tanh_test): Likewise.
22480         (tgamma_test): Likewise.
22481         (y0_test): Likewise.
22482         (y1_test): Likewise.
22483         (yn_test): Likewise.
22485         * math/gen-libm-test.pl (adjust_arg): Remove function.
22486         (special_function): Remove argument $in_func.  Only handle
22487         generating output for tables of tests, not inside functions.
22488         (parse_args): Likewise.
22489         (generate_testfile): Remove variable $in_func.  Update call to
22490         parse_args.
22491         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22492         (MINUS_ZERO_INIT): Rename macro to minus_zero.
22493         (PLUS_INFTY_INIT): Rename macro to plus_infty.
22494         (MINUS_INFTY_INIT): Rename macro to minus_infty.
22495         (QNAN_VALUE_INIT): Rename macro to qnan_value.
22496         (MAX_VALUE_INIT): Rename macro to max_value.
22497         (MIN_VALUE_INIT): Rename macro to min_value.
22498         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22499         (plus_zero): Remove variable.
22500         (minus_zero): Likewise.
22501         (plus_infty): Likewise.
22502         (minus_infty): Likewise.
22503         (qnan_value): Likewise.
22504         (max_value): Likewise.
22505         (min_value): Likewise.
22506         (min_subnorm_value): Likewise.
22508 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22510         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22511         uint64_t or uint32_t usage.
22512         * crypt/sha256-block.c: Likewise.
22513         * crypt/sha256-crypt.c: Likewise.
22514         * crypt/sha256.c: Likewise.
22515         * crypt/sha512-block.c: Likewise.
22516         * crypt/sha512-crypt.c: Likewise.
22517         * crypt/sha512.c: Likewise.
22518         * debug/backtrace-tst.c: Likewise.
22519         * debug/pcprofiledump.c: Likewise.
22520         * elf/cache.c: Likewise.
22521         * elf/dl-cache.c: Likewise.
22522         * elf/dl-misc.c: Likewise.
22523         * elf/dl-profile.c: Likewise.
22524         * elf/dl-support.c: Likewise.
22525         * elf/ldconfig.c: Likewise.
22526         * elf/sprof.c: Likewise.
22527         * iconv/dummy-repertoire.c: Likewise.
22528         * iconv/iconv_charmap.c: Likewise.
22529         * iconv/skeleton.c: Likewise.
22530         * iconvdata/8bit-generic.c: Likewise.
22531         * iconvdata/cp737.h: Likewise.
22532         * iconvdata/cp775.h: Likewise.
22533         * iconvdata/ibm1008.h: Likewise.
22534         * iconvdata/ibm1025.h: Likewise.
22535         * iconvdata/ibm1046.h: Likewise.
22536         * iconvdata/ibm1097.h: Likewise.
22537         * iconvdata/ibm1112.h: Likewise.
22538         * iconvdata/ibm1122.h: Likewise.
22539         * iconvdata/ibm1123.h: Likewise.
22540         * iconvdata/ibm1124.h: Likewise.
22541         * iconvdata/ibm1129.h: Likewise.
22542         * iconvdata/ibm1130.h: Likewise.
22543         * iconvdata/ibm1132.h: Likewise.
22544         * iconvdata/ibm1133.h: Likewise.
22545         * iconvdata/ibm1137.h: Likewise.
22546         * iconvdata/ibm1140.h: Likewise.
22547         * iconvdata/ibm1141.h: Likewise.
22548         * iconvdata/ibm1142.h: Likewise.
22549         * iconvdata/ibm1143.h: Likewise.
22550         * iconvdata/ibm1144.h: Likewise.
22551         * iconvdata/ibm1145.h: Likewise.
22552         * iconvdata/ibm1146.h: Likewise.
22553         * iconvdata/ibm1147.h: Likewise.
22554         * iconvdata/ibm1148.h: Likewise.
22555         * iconvdata/ibm1149.h: Likewise.
22556         * iconvdata/ibm1153.h: Likewise.
22557         * iconvdata/ibm1154.h: Likewise.
22558         * iconvdata/ibm1155.h: Likewise.
22559         * iconvdata/ibm1156.h: Likewise.
22560         * iconvdata/ibm1157.h: Likewise.
22561         * iconvdata/ibm1158.h: Likewise.
22562         * iconvdata/ibm1160.h: Likewise.
22563         * iconvdata/ibm1161.h: Likewise.
22564         * iconvdata/ibm1162.h: Likewise.
22565         * iconvdata/ibm1163.h: Likewise.
22566         * iconvdata/ibm1164.h: Likewise.
22567         * iconvdata/ibm1166.h: Likewise.
22568         * iconvdata/ibm1167.h: Likewise.
22569         * iconvdata/ibm12712.h: Likewise.
22570         * iconvdata/ibm1390.h: Likewise.
22571         * iconvdata/ibm1399.h: Likewise.
22572         * iconvdata/ibm16804.h: Likewise.
22573         * iconvdata/ibm4517.h: Likewise.
22574         * iconvdata/ibm4899.h: Likewise.
22575         * iconvdata/ibm4909.h: Likewise.
22576         * iconvdata/ibm4971.h: Likewise.
22577         * iconvdata/ibm5347.h: Likewise.
22578         * iconvdata/ibm803.h: Likewise.
22579         * iconvdata/ibm856.h: Likewise.
22580         * iconvdata/ibm901.h: Likewise.
22581         * iconvdata/ibm902.h: Likewise.
22582         * iconvdata/ibm9030.h: Likewise.
22583         * iconvdata/ibm9066.h: Likewise.
22584         * iconvdata/ibm921.h: Likewise.
22585         * iconvdata/ibm922.h: Likewise.
22586         * iconvdata/ibm9448.h: Likewise.
22587         * iconvdata/isiri-3342.h: Likewise.
22588         * iconvdata/jis0201.h: Likewise.
22589         * include/link.h: Likewise.
22590         * include/netdb.h: Likewise.
22591         * inet/check_native.c: Likewise.
22592         * inet/check_pf.c: Likewise.
22593         * inet/getipv4sourcefilter.c: Likewise.
22594         * inet/getnameinfo.c: Likewise.
22595         * inet/getsourcefilter.c: Likewise.
22596         * inet/htonl.c: Likewise.
22597         * inet/setipv4sourcefilter.c: Likewise.
22598         * inet/setsourcefilter.c: Likewise.
22599         * inet/test-inet6_opt.c: Likewise.
22600         * inet/tst-network.c: Likewise.
22601         * locale/C-collate.c: Likewise.
22602         * locale/C-ctype.c: Likewise.
22603         * locale/C-time.c: Likewise.
22604         * locale/C-translit.h: Likewise.
22605         * locale/loadarchive.c: Likewise.
22606         * locale/programs/3level.h: Likewise.
22607         * locale/programs/charmap.c: Likewise.
22608         * locale/programs/charmap.h: Likewise.
22609         * locale/programs/ld-address.c: Likewise.
22610         * locale/programs/ld-collate.c: Likewise.
22611         * locale/programs/ld-ctype.c: Likewise.
22612         * locale/programs/ld-identification.c: Likewise.
22613         * locale/programs/ld-measurement.c: Likewise.
22614         * locale/programs/ld-messages.c: Likewise.
22615         * locale/programs/ld-monetary.c: Likewise.
22616         * locale/programs/ld-name.c: Likewise.
22617         * locale/programs/ld-numeric.c: Likewise.
22618         * locale/programs/ld-paper.c: Likewise.
22619         * locale/programs/ld-telephone.c: Likewise.
22620         * locale/programs/ld-time.c: Likewise.
22621         * locale/programs/linereader.c: Likewise.
22622         * locale/programs/locale.c: Likewise.
22623         * locale/programs/locarchive.c: Likewise.
22624         * locale/programs/locfile.h: Likewise.
22625         * locale/programs/repertoire.c: Likewise.
22626         * locale/programs/simple-hash.c: Likewise.
22627         * locale/programs/simple-hash.h: Likewise.
22628         * malloc/memusage.c: Likewise.
22629         * malloc/memusagestat.c: Likewise.
22630         * nis/nis_defaults.c: Likewise.
22631         * nis/nis_hash.c: Likewise.
22632         * nis/nis_print.c: Likewise.
22633         * nis/nis_xdr.c: Likewise.
22634         * nscd/connections.c: Likewise.
22635         * nscd/hstcache.c: Likewise.
22636         * nscd/nscd_gethst_r.c: Likewise.
22637         * nscd/nscd_getserv_r.c: Likewise.
22638         * nscd/nscd_helper.c: Likewise.
22639         * nscd/servicescache.c: Likewise.
22640         * nss/makedb.c: Likewise.
22641         * nss/nss_db/db-XXX.c: Likewise.
22642         * nss/nss_db/db-initgroups.c: Likewise.
22643         * nss/nss_db/db-netgrp.c: Likewise.
22644         * nss/nss_files/files-network.c: Likewise.
22645         * nss/nss_files/files-parse.c: Likewise.
22646         * posix/bug-regex5.c: Likewise.
22647         * posix/fnmatch_loop.c: Likewise.
22648         * posix/regcomp.c: Likewise.
22649         * posix/regexec.c: Likewise.
22650         * posix/tst-rfc3484-2.c: Likewise.
22651         * posix/tst-rfc3484-3.c: Likewise.
22652         * posix/tst-rfc3484.c: Likewise.
22653         * resolv/nss_dns/dns-canon.c: Likewise.
22654         * resolv/nss_dns/dns-network.c: Likewise.
22655         * resolv/res_init.c: Likewise.
22656         * resolv/res_mkquery.c: Likewise.
22657         * resolv/tst-aton.c: Likewise.
22658         * stdlib/cxa_atexit.c: Likewise.
22659         * stdlib/cxa_finalize.c: Likewise.
22660         * stdlib/gen-fpioconst.c: Likewise.
22661         * stdlib/strtol_l.c: Likewise.
22662         * string/tst-endian.c: Likewise.
22663         * sunrpc/auth_des.c: Likewise.
22664         * sunrpc/clnt_udp.c: Likewise.
22665         * sunrpc/rtime.c: Likewise.
22666         * sunrpc/svcauth_des.c: Likewise.
22667         * sunrpc/xdr.c: Likewise.
22668         * sunrpc/xdr_intXX_t.c: Likewise.
22669         * sunrpc/xdr_rec.c: Likewise.
22670         * sysdeps/generic/ldconfig.h: Likewise.
22671         * sysdeps/generic/ldsodefs.h: Likewise.
22672         * sysdeps/generic/memusage.h: Likewise.
22673         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22674         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22675         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22676         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22677         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22678         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22679         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22680         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22681         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22682         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22683         * sysdeps/posix/getaddrinfo.c: Likewise.
22684         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22685         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22686         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22687         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22688         * sysdeps/powerpc/test-gettimebase.c: Likewise.
22689         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22690         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22691         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22692         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22693         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22694         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22695         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22696         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22697         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22698         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22699         * sysdeps/x86_64/dl-tls.h: Likewise.
22700         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22701         * time/alt_digit.c: Likewise.
22702         * time/era.c: Likewise.
22703         * wcsmbs/tst-c16c32-1.c: Likewise.
22705 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22707         * math/libm-test.inc (struct test_sincos_data): New type.
22708         (RUN_TEST_LOOP_sincos): New macro.
22709         (sincos_test_data): New variable.
22710         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22712 2013-05-16  Richard Henderson  <rth@redhat.com>
22714         * math/atest-exp2.c (LIMB64): New macro.
22715         (CONSTSZ): New macro.
22716         (mp_exp1, mp_exp_m1, mp_log2): New variables.
22717         (hexdig): Move ...
22718         (print_mpn_fp): ... to function scope.
22719         (read_mpn_hex): Remove.
22720         (get_log2): Remove.
22721         (exp2_mpn): Use mp_log2.
22722         (main): Use mp_exp1.
22724 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22726         * math/libm-test.inc: Remove comment about not testing "inexact"
22727         exceptions.
22728         (INEXACT_EXCEPTION): New macro.
22729         (NO_INEXACT_EXCEPTION): Likewise.
22730         (INVALID_EXCEPTION_OK): Update value.
22731         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22732         (OVERFLOW_EXCEPTION_OK): Likewise.
22733         (UNDERFLOW_EXCEPTION_OK): Likewise.
22734         (IGNORE_ZERO_INF_SIGN): Likewise.
22735         (ERRNO_UNCHANGED): Likewise.
22736         (ERRNO_EDOM): Likewise.
22737         (ERRNO_ERANGE): Likewise.
22738         (test_exceptions): Handle testing "inexact" exceptions.
22739         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22740         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22741         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22742         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22743         INEXACT_EXCEPTION.
22744         (rint_towardzero_test_data): Likewise.
22745         (rint_downward_test_data): Likewise.
22746         (rint_upward_test_data): Likewise.
22748         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22749         with OVERFLOW_EXCEPTION.
22750         (exp10_test_data): Likewise.
22751         (exp2_test_data): Likewise.
22752         (expm1_test_data): Likewise.
22753         (lgamma_test_data): Likewise.
22754         (pow_test_data): Likewise.
22755         (tgamma_test_data): Likewise.
22756         (yn_test_data): Remove duplicate test of overflow.
22758         * math/libm-test.inc (struct test_cc_c_data): New type.
22759         (RUN_TEST_LOOP_cc_c): New macro.
22760         (cpow_test_data): New variable.
22761         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22763         * math/libm-test.inc (struct test_f_L_data): New type.
22764         (RUN_TEST_LOOP_f_L): New macro.
22765         (llrint_test_data): New variable.
22766         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22767         (llrint_tonearest_test_data): New variable.
22768         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22769         (llrint_towardzero_test_data): New variable.
22770         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22771         (llrint_downward_test_data): New variable.
22772         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22773         (llrint_upward_test_data): New variable.
22774         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22775         (llround_test_data): New variable.
22776         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22778 2013-05-13  Peter Collingbourne  <pcc@google.com>
22780         * math/atest-exp2.c (get_log2): Remove const attribute.
22782 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22784         * math/libm-test.inc (struct test_f_l_data): New type.
22785         (RUN_TEST_LOOP_f_l): New macro.
22786         (lrint_test_data): New variable.
22787         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22788         (lrint_tonearest_test_data): New variable.
22789         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22790         (lrint_towardzero_test_data): New variable.
22791         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22792         (lrint_downward_test_data): New variable.
22793         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22794         (lrint_upward_test_data): New variable.
22795         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22796         (lround_test_data): New variable.
22797         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22799 2013-05-15  Peter Collingbourne  <pcc@google.com>
22801         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22802         (EXTRACT_WORDS64) Use where appropriate.
22803         (INSERT_WORDS64) Likewise.
22805         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22806         constraints with x constraints.
22807         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22809         * malloc/obstack.c (_obstack_compat): Add initializer.
22811 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22813         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22814         si_trapno and add si_addr_lsb to _sifields.sigfault.
22815         (si_trapno): Remove macro.
22816         (si_addr_lsb): Define new macro.
22817         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22819 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22821         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22822         instead of TEST_f_l.
22823         (llrint_test_tonearest): Likewise.
22824         (llrint_test_towardzero): Likewise.
22825         (llrint_test_downward): Likewise.
22826         (llrint_test_upward): Likewise.
22827         (llround_test): Likewise.
22829         * math/libm-test.inc (struct test_f_i_data): Add comment.
22830         (RUN_TEST_LOOP_f_b): New macro.
22831         (RUN_TEST_LOOP_f_b_tg): Likewise.
22832         (finite_test_data): New variable.
22833         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22834         (isfinite_test_data): New variable.
22835         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22836         (isinf_test_data): New variable.
22837         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22838         (isnan_test_data): New variable.
22839         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22840         (isnormal_test_data): New variable.
22841         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22842         (issignaling_test_data): New variable.
22843         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22844         (signbit_test_data): New variable.
22845         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22847         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22848         with INVALID_EXCEPTION.
22849         (acosh_test_data): Likewise.
22850         (asin_test_data): Likewise.
22851         (atanh_test_data): Likewise.
22852         (fmod_test_data): Likewise.
22853         (log_test_data): Likewise.
22854         (log10_test_data): Likewise.
22855         (log2_test_data): Likewise.
22856         (pow_test_data): Likewise.
22857         (sqrt_test_data): Likewise.
22858         (y0_test_data): Likewise.
22859         (y1_test_data): Likewise.
22860         (yn_test_data): Likewise.
22862         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22863         function contents.
22865         * math/libm-test.inc (struct test_ff_i_data): New type.
22866         (RUN_TEST_LOOP_ff_i_tg): New macro.
22867         (isgreater_test_data): New variable.
22868         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22869         (isgreaterequal_test_data): New variable.
22870         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22871         (isless_test_data): New variable.
22872         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22873         (islessequal_test_data): New variable.
22874         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22875         (islessgreater_test_data): New variable.
22876         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22877         (isunordered_test_data): New variable.
22878         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22880 2013-05-14  David S. Miller  <davem@davemloft.net>
22882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22884 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
22886         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22888         * math/libm-test.inc (struct test_fF_f1_data): Change type of
22889         extra_test to int.
22890         (struct test_f_i_data): Change type of max_ulp to int.
22892         * math/libm-test.inc (test_ffI_f1_data): New type.
22893         (RUN_TEST_LOOP_ffI_f1): New macro.
22894         (remquo_test_data): New variable.
22895         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22897         * setjmp/tst-setjmp-fp.c: New file.
22898         * setjmp/Makefile (tests): Add tst-setjmp-fp.
22899         (link-libm): New variable.
22900         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22902         * math/libm-test.inc (struct test_f_i_data): New type.
22903         (RUN_TEST_LOOP_f_i): New macro.
22904         (RUN_TEST_LOOP_f_i_tg): Likewise.
22905         (fpclassify_test_data): New variable.
22906         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22907         (ilogb_test_data): New variable.
22908         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22910         * math/libm-test.inc (scalbln_test): Correct function name in END
22911         call.
22913         * math/libm-test.inc (struct test_f_f1_data): Add comment.
22914         (RUN_TEST_LOOP_fI_f1): New macro.
22915         (frexp_test_data): New variable.
22916         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22918         * math/libm-test.inc (struct test_fF_f1_data): New type.
22919         (RUN_TEST_LOOP_fF_f1): New macro.
22920         (modf_test_data): New variable.
22921         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22923         * math/libm-test.inc (struct test_f_f1_data): New type.
22924         (RUN_TEST_LOOP_f_f1): New macro.
22925         (gamma_test_data): New variable.
22926         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22927         (lgamma_test_data): New variable.
22928         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22930 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
22932         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22933         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22934         (main): Comment "tls" pseudo-hwcap.
22936 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
22938         * math/libm-test.inc (struct test_fl_f_data): New type.
22939         (RUN_TEST_LOOP_fl_f): New variable.
22940         (scalbln_test_data): New variable.
22941         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22943         * math/libm-test.inc (struct test_fi_f_data): New type.
22944         (RUN_TEST_LOOP_fi_f): New macro.
22945         (ldexp_test_data): New variable.
22946         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22947         (scalbn_test_data): New variable.
22948         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22950         * math/libm-test.inc (struct test_c_f_data): New type.
22951         (RUN_TEST_LOOP_c_f): New macro.
22952         (cabs_test_data): New variable.
22953         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22954         (carg_test_data): New variable.
22955         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22956         (cimag_test_data): New variable.
22957         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22958         (creal_test_data): New variable.
22959         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22961         * math/libm-test.inc (struct test_if_f_data): New type.
22962         (RUN_TEST_LOOP_if_f): New macro.
22963         (jn_test_data): New variable.
22964         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22965         (yn_test_data): New variable.
22966         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22968         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22970 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22972         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22973         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22975 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22977         * benchtests/Makefile (CPPFLAGS-nonlib): Add
22978         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22979         (bench-deps): Add bench-timing.h.
22980         * benchtests-bench-skeleton.c: Include bench-timing.h.
22981         (main): Use TIMING_* macros instead of clock_gettime.
22982         * benchtests/bench-timing.h: New file.
22984         [BZ #14582]
22985         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22986         Renamed from _LIB_VERSION.
22987         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22989 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
22991         * math/libm-test.inc (struct test_fff_f_data): New type.
22992         (RUN_TEST_LOOP_fff_f): New macro.
22993         (fma_test_data): New variable.
22994         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22995         (fma_towardzero_test_data): New variable.
22996         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22997         (fma_downward_test_data): New variable.
22998         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22999         (fma_upward_test_data): New variable.
23000         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23002         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23003         (struct test_c_c_data): New type.
23004         (RUN_TEST_LOOP_c_c): New macro.
23005         (cacos_test_data): New variable.
23006         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23007         (cacosh_test_data): New variable.
23008         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23009         (casin_test_data): New variable.
23010         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23011         (casinh_test_data): New variable.
23012         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23013         (catan_test_data): New variable.
23014         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23015         (catanh_test_data): New variable.
23016         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23017         (ccos_test_data): New variable.
23018         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23019         (ccosh_test_data): New variable.
23020         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23021         (cexp_test_data): New variable.
23022         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23023         (clog_test_data): New variable.
23024         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23025         (clog10_test_data): New variable.
23026         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23027         (conj_test_data): New variable.
23028         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23029         (cproj_test_data): New variable.
23030         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23031         (csin_test_data): New variable.
23032         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23033         (csinh_test_data): New variable.
23034         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23035         (csqrt_test_data): New variable.
23036         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23037         (ctan_test_data): New variable.
23038         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23039         (ctan_tonearest_test_data): New variable.
23040         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23041         (ctan_towardzero_test_data): New variable.
23042         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23043         (ctan_downward_test_data): New variable.
23044         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23045         (ctan_upward_test_data): New variable.
23046         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23047         (ctanh_test_data): New variable.
23048         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23049         (ctanh_tonearest_test_data): New variable.
23050         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23051         (ctanh_towardzero_test_data): New variable.
23052         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23053         (ctanh_downward_test_data): New variable.
23054         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23055         (ctanh_upward_test_data): New variable.
23056         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23057         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23058         of BUILD_COMPLEX.
23060         * math/libm-test.inc (struct test_ff_f_data): New type.
23061         (struct test_ff_f_data_nexttoward): Likewise.
23062         (RUN_TEST_LOOP_2_f): New macro.
23063         (RUN_TEST_LOOP_ff_f): Likewise.
23064         (atan2_test_data): New variable.
23065         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23066         (copysign_test_data): New variable.
23067         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23068         (fdim_test_data): New variable.
23069         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23070         (fmax_test_data): New variable.
23071         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23072         (fmin_test_data): New variable.
23073         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23074         (fmod_test_data): New variable.
23075         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23076         (hypot_test_data): New variable.
23077         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23078         (nextafter_test_data): New variable.
23079         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23080         (nexttoward_test_data): New variable.
23081         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23082         (pow_test_data): New variable.
23083         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23084         (pow_tonearest_test_data): New variable.
23085         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23086         (pow_towardzero_test_data): New variable.
23087         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23088         (pow_downward_test_data): New variable.
23089         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23090         (pow_upward_test_data): New variable.
23091         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23092         (remainder_test_data): New variable.
23093         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23094         (scalb_test_data): New variable.
23095         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23096         * sysdeps/i386/fpu/libm-test-ulps: Update.
23098 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23100         * math/libm-test.inc (fma_test): Use max_value instead of local
23101         variable fltmax.
23102         (nextafter_test): Likewise.
23104         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23105         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23106         (acos_downward_test_data): New variable.
23107         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23108         (acos_upward_test_data): New variable.
23109         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23110         (acosh_test_data): New variable.
23111         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23112         (asin_test_data): New variable.
23113         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23114         (asin_tonearest_test_data): New variable.
23115         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23116         (asin_towardzero_test_data): New variable.
23117         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23118         (asin_downward_test_data): New variable.
23119         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23120         (asin_upward_test_data): New variable.
23121         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23122         (asinh_test_data): New variable.
23123         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23124         (atan_test_data): New variable.
23125         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23126         (atanh_test_data): New variable.
23127         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23128         (cbrt_test_data): New variable.
23129         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23130         (ceil_test_data): New variable.
23131         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23132         (cos_test_data): New variable.
23133         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23134         (cos_tonearest_test_data): New variable.
23135         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23136         (cos_towardzero_test_data): New variable.
23137         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23138         (cos_downward_test_data): New variable.
23139         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23140         (cos_upward_test_data): New variable.
23141         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23142         (cosh_test_data): New variable.
23143         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23144         (cosh_tonearest_test_data): New variable.
23145         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23146         (cosh_towardzero_test_data): New variable.
23147         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23148         (cosh_downward_test_data): New variable.
23149         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23150         (cosh_upward_test_data): New variable.
23151         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23152         (erf_test_data): New variable.
23153         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23154         (erfc_test_data): New variable.
23155         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23156         (exp_test_data): New variable.
23157         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23158         (exp_tonearest_test_data): New variable.
23159         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23160         (exp_towardzero_test_data): New variable.
23161         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23162         (exp_downward_test_data): New variable.
23163         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23164         (exp_upward_test_data): New variable.
23165         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23166         (exp10_test_data): New variable.
23167         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23168         (exp2_test_data): New variable.
23169         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23170         (expm1_test_data): New variable.
23171         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23172         (fabs_test_data): New variable.
23173         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23174         (floor_test_data): New variable.
23175         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23176         (j0_test_data): New variable.
23177         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23178         (j1_test_data): New variable.
23179         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23180         (log_test_data): New variable.
23181         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23182         (log10_test_data): New variable.
23183         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23184         (log1p_test_data): New variable.
23185         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23186         (log2_test_data): New variable.
23187         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23188         (logb_test_data): New variable.
23189         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23190         (logb_downward_test_data): New variable.
23191         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23192         (nearbyint_test_data): New variable.
23193         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23194         (rint_test_data): New variable.
23195         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23196         (rint_tonearest_test_data): New variable.
23197         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23198         (rint_towardzero_test_data): New variable.
23199         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23200         (rint_downward_test_data): New variable.
23201         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23202         (rint_upward_test_data): New variable.
23203         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23204         (round_test_data): New variable.
23205         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23206         (sin_test_data): New variable.
23207         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23208         (sin_tonearest_test_data): New variable.
23209         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23210         (sin_towardzero_test_data): New variable.
23211         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23212         (sin_downward_test_data): New variable.
23213         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23214         (sin_upward_test_data): New variable.
23215         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23216         (sinh_test_data): New variable.
23217         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23218         (sinh_tonearest_test_data): New variable.
23219         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23220         (sinh_towardzero_test_data): New variable.
23221         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23222         (sinh_downward_test_data): New variable.
23223         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23224         (sinh_upward_test_data): New variable.
23225         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23226         (sqrt_test_data): New variable.
23227         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23228         (tan_test_data): New variable.
23229         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23230         (tan_tonearest_test_data): New variable.
23231         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23232         (tan_towardzero_test_data): New variable.
23233         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23234         (tan_downward_test_data): New variable.
23235         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23236         (tan_upward_test_data): New variable.
23237         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23238         (tanh_test_data): New variable.
23239         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23240         (tgamma_test_data): New variable.
23241         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23242         (trunc_test_data): New variable.
23243         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23244         (y0_test_data): New variable.
23245         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23246         (y1_test_data): New variable.
23247         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23248         (significand_test_data): New variable.
23249         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23251 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23253         [BZ #12387]
23254         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23256 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23258         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23260 2013-05-10  Andreas Jaeger  <aj@suse.de>
23262         [BZ #15448]
23263         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23264         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23266 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23268         * math/gen-libm-test.pl (adjust_arg): New function.
23269         (special_functions): Handle generating output in both functions
23270         and arrays.
23271         (parse_args): Likewise.
23272         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23273         $in_func argument to parse_args.
23274         * math/libm-test.inc (struct test_f_f_data): New type.
23275         (IF_ROUND_INIT_): New macro.
23276         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23277         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23278         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23279         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23280         (ROUND_RESTORE_): Likewise.
23281         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23282         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23283         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23284         (ROUND_RESTORE_FE_UPWARD): Likewise.
23285         (RUN_TEST_LOOP_f_f): New macro.
23286         (acos_test_data): New variable.
23287         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23288         (acos_tonearest_test_data): New variable.
23289         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23291 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23293         * benchtests/bench-skeleton.c (startup): Fix coding style.
23295 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23297         [BZ #6809]
23298         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23299         negative infinity argument.
23300         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23301         negative infinity argument.
23302         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23303         negative infinity argument.
23304         * math/libm-test.inc (tgamma_test): Expect errno to be set for
23305         domain errors.
23307 2013-05-10  Florian Weimer  <fweimer@redhat.com>
23309         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23310         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23311         * iconv/iconv_prog.c (main): Likewise.
23312         * locale/programs/charmap-dir.c (charmap_readdir)
23313         (fopen_uncompressed): Likewise.
23314         * locale/programs/locfile.c (siblings_uncached)
23315         (write_locale_data): Use lstat64 instead of lstat.
23316         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23317         stat.
23319 2013-05-10  Andreas Jaeger  <aj@suse.de>
23321         [BZ #15395]
23322         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23323         localization.
23324         Include <locale.h>.
23326 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
23328         * elf/dl-close.c (_dl_close_worker): Add comments.
23330 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
23332         [BZ #15359]
23333         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23334         high part of pi/2.
23335         (__ieee754_rem_pio2l): Update comments.
23337         [BZ #15429]
23338         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23339         high part of pi/2.
23340         (__ieee754_rem_pio2l): Update comments.
23342         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23343         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23345         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23346         M_PI_4l.
23348         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23349         (M_PI_34_LOG10El): Likewise.
23350         (M_PI2_LOG10El): Likewise.
23351         (M_PI4_LOG10El): Likewise.
23352         (M_PI_LOG10El): Likewise.
23354 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23358 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
23360         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23361         (MINUS_ZERO_INIT): Likewise.
23362         (PLUS_INFTY_INIT): Likewise.
23363         (MINUS_INFTY_INIT): Likewise.
23364         (QNAN_VALUE_INIT): Likewise.
23365         (MAX_VALUE_INIT): Likewise.
23366         (MIN_VALUE_INIT): Likewise.
23367         (MIN_SUBNORM_VALUE_INIT): Likewise.
23368         (plus_zero): Initialize with PLUS_ZERO_INIT.
23369         (minus_zero): Initialize with MINUS_ZERO_INIT.
23370         (plus_infty): Initialize with PLUS_INFTY_INIT.
23371         (minus_infty): Initialize with MINUS_INFTY_INIT.
23372         (qnan_value): Initialize with QNAN_VALUE_INIT.
23373         (max_value): Initialize with MAX_VALUE_INIT.
23374         (min_value): Initialize with MIN_VALUE_INIT.
23375         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23377         * math/libm-test.inc (RUN_TEST_if_f): New macro.
23378         (jn_test): Use TEST_if_f instead of TEST_ff_f.
23379         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23380         (yn_test): Use TEST_if_f instead of TEST_ff_f.
23382         * math/libm-test.inc (RUN_TEST_f_f): New macro.
23383         (RUN_TEST_2_f): Likewise.
23384         (RUN_TEST_ff_f): Likewise.
23385         (RUN_TEST_fi_f): Likewise.
23386         (RUN_TEST_fl_f): Likewise.
23387         (RUN_TEST_fff_f): Likewise.
23388         (RUN_TEST_c_f): Likewise.
23389         (RUN_TEST_f_f1): Likewise.
23390         (RUN_TEST_fF_f1): Likewise.
23391         (RUN_TEST_fI_f1): Likewise.
23392         (RUN_TEST_ffI_f1): Likewise.
23393         (RUN_TEST_c_c): Likewise.
23394         (RUN_TEST_cc_c): Likewise.
23395         (RUN_TEST_f_i): Likewise.
23396         (RUN_TEST_f_i_tg): Likewise.
23397         (RUN_TEST_ff_i_tg): Likewise.
23398         (RUN_TEST_f_b): Likewise.
23399         (RUN_TEST_f_b_tg): Likewise.
23400         (RUN_TEST_f_l): Likewise.
23401         (RUN_TEST_f_L): Likewise.
23402         (RUN_TEST_sincos): Likewise.
23403         * math/gen-libm-test.pl (new_test): Take new argument to indicate
23404         whether to show exceptions.  Do not include ");\n" in return
23405         value.
23406         (special_functions): Output call to RUN_TEST_sincos instead of
23407         check_float calls.  Update calls to new_test.
23408         (parse_args): Output call to single RUN_TEST_* macro instead of
23409         check_* calls and other assignments.  Update calls to new_test.
23411         [BZ #2546]
23412         [BZ #2560]
23413         [BZ #5159]
23414         [BZ #15426]
23415         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23416         input to result for tgamma overflow.
23417         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23418         (gamma_coeff): New variable.
23419         (NCOEFF): New macro.
23420         (gamma_positive): New function.
23421         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23422         underflow here.  Use gamma_positive instead of exp (lgamma) for
23423         other arguments.
23424         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23425         (gamma_coeff): New variable.
23426         (NCOEFF): New macro.
23427         (gammaf_positive): New function.
23428         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23429         underflow here.  Use gamma_positive instead of exp (lgamma) for
23430         other arguments.
23431         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23432         (gamma_coeff): New variable.
23433         (NCOEFF): New macro.
23434         (gammal_positive): New function.
23435         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23436         underflow here.  Use gamma_positive instead of exp (lgamma) for
23437         other arguments.
23438         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23439         (gamma_coeff): New variable.
23440         (NCOEFF): New macro.
23441         (gammal_positive): New function.
23442         (__ieee754_gammal_r): Handle positive infinity, overflow and
23443         underflow here.  Handle NaN the same as positive infinity.  Remove
23444         check x < 0xffffffff for negative integers.  Use gamma_positive
23445         instead of exp (lgamma) for other arguments.
23446         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23447         (gamma_coeff): New variable.
23448         (NCOEFF): New macro.
23449         (gammal_positive): New function.
23450         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23451         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23452         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23453         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23454         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23455         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23456         * sysdeps/generic/math_private.h (__gamma_productf): New
23457         prototype.
23458         (__gamma_product): Likewise.
23459         (__gamma_productl): Likewise.
23460         * math/Makefile (libm-calls): Add gamma_product.
23461         * math/libm-test.inc (tgamma_test): Add more tests.
23462         * sysdeps/i386/fpu/libm-test-ulps: Update.
23463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23465 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
23467         * benchtests/bench-skeleton.c (main): Preheat CPU.
23469 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
23471         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23473 2013-05-07  Roland McGrath  <roland@hack.frob.com>
23475         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23476         and _dl_skip_args_internal.
23478 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
23480         * manual/message.texi (Message Translation): Talk about users.
23481         Message to key mapping impacts design.
23483 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23485         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23487         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23489         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23490         * sysdeps/wordsize-64/glob64.c: ... here.
23492         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23493         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23494         New macros.
23496         * debug/getlogin_r_chk.c: Moved to ...
23497         * login/getlogin_r_chk.c: ... here.
23498         * debug/Makefile (routines): Move getlogin_r_chk to ...
23499         * login/Makefile (routines): ... here.
23500         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23501         * login/Versions (libc: GLIBC_2.4): ... here.
23503         * io/poll.c (__poll): Renamed from poll.
23504         Add libc_hidden_def.
23505         (poll): Define as weak alias.
23507         * debug/ptsname_r_chk.c: Moved to ...
23508         * login/ptsname_r_chk.c: ... here.
23509         * debug/Makefile (routines): Move ptsname_r_chk to ...
23510         * login/Makefile (routines): ... here.
23511         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23512         * login/Versions (libc: GLIBC_2.4): ... here.
23514         * posix/getlogin.c: Moved to ...
23515         * login/getlogin.c: ... here.
23516         * posix/getlogin_r.c: Moved to ...
23517         * login/getlogin_r.c: ... here.
23518         * posix/getlogin_r.c: Moved to ...
23519         * login/getlogin_r.c: ... here.
23520         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23521         * login/Makefile (routines): ... here.
23522         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23523         * login/Versions (libc: GLIBC_2.0): ... here.
23525         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23526         (setrlimit): Define as weak alias.
23528         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23529         Call __ names for open, ftruncate, and close.
23530         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23531         (truncate): Define as weak alias.
23533 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
23535         * math/gen-libm-test.pl (parse_args): Initialize x before each
23536         test of frexp, modf and remquo.
23538         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23539         test signgam value.
23541 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23543         [BZ #15418]
23544         [BZ #15419]
23545         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23546         internal tests.
23547         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23549 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23551         * elf/dl-writev.h: New file.
23552         * elf/dl-misc.c: Include it.
23553         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23554         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23556 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
23558         * math/libm-test.inc (noXFails): Remove variable.
23559         (noXPasses): Likewise.
23560         (BUILD_COMPLEX_INT): Remove macro.
23561         (print_screen): Remove xfail argument.
23562         (print_screen_max_error): Likewise.
23563         (update_stats): Likewise.
23564         (print_max_error): Likewise.  Update calls to other affected
23565         functions.
23566         (print_complex_max_error): Likewise.
23567         (test_single_exception): Update calls to print_screen.
23568         (test_single_errno): Likewise.
23569         (check_float_internal): Remove xfail argument.  Update calls to
23570         other affected functions.
23571         (check_float): Likewise.
23572         (check_complex): Likewise.
23573         (check_int): Likewise.
23574         (check_long): Likewise.
23575         (check_bool): Likewise.
23576         (check_longlong): Likewise.
23577         (main): Don't print noXFails and noXPasses.
23578         * math/gen-libm-test.pl (top level): Don't mention expected
23579         failure handling in comment.
23580         (new_test): Don't handle expected failures.
23581         (parse_args): Don't mention expected failure handling in comment.
23582         (generate_testfile): Don't handle expected failures.
23583         (parse_ulps): Likewise.
23584         (print_ulps_file): Likewise.
23585         (get_failure): Remove function.
23586         (output_test): Don't handle expected failures.
23587         * make/README.libm-test: Don't mention expected failure handling.
23589         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
23590         (minus_zero): Likewise.
23591         (plus_infty): Likewise.
23592         (minus_infty): Likewise.
23593         (qnan_value): Likewise.
23594         (max_value): Likewise.
23595         (min_value): Likewise.
23596         (min_subnorm_value): Likewise.
23597         (initialize): Do not initialize those variables dynamically.
23599 2013-05-03  Roland McGrath  <roland@hack.frob.com>
23601         * io/open.c (__open_2): Moved to ...
23602         * io/open_2.c: ... this new file.
23603         * io/open64.c (__open64_2): Moved to ...
23604         * io/open64_2.c: ... this new file.
23605         * io/openat.c (__openat_2): Moved to ...
23606         * io/openat_2.c: ... this new file.
23607         * io/openat64.c (__openat64_2): Moved to ...
23608         * io/openat64_2.c: ... this new file.
23609         * io/Makefile (routines): Add them.
23610         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23611         * sysdeps/unix/sysv/linux/open_2.c: File removed.
23612         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23613         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23614         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23615         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23616         (__openat64): Add hidden_ver.
23617         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23618         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23620         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23621         Separately conditionalize setting of GLRO(dl_sysinfo) so
23622         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23623         as well, but the actual setting is only under [NEED_DL_SYSINFO].
23625 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23627         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23628         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23629         definition.
23630         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23631         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23632         (_libc_vdso_platform_setup): Add __vdso_time initialization.
23633         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23634         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23636 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
23638         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23639         test signgam value.
23641         * math/libm-test.inc (hypot_test): Do not use
23642         IGNORE_ZERO_INF_SIGN.
23644 2013-05-03  Andreas Jaeger  <aj@suse.de>
23646         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23647         Linux 3.9.
23648         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23649         (PF_MAX): Adjust for VSOCK change.
23651 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23655 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
23657         [BZ #15264]
23658         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23659         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23660         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23662 2013-05-02  David S. Miller  <davem@davemloft.net>
23664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23666 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
23668         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23670 2013-05-01  Roland McGrath  <roland@hack.frob.com>
23672         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23674 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
23676         [BZ #14952]
23677         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23678         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23679         Use __attribute__ ((__gnu_inline__)).
23680         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23681         Don't use __attribute__ ((__gnu_inline__)).
23683 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
23685         [BZ #15423]
23686         * math/s_catan.c (__catan): Handle small real or imaginary part of
23687         input specially to avoid spurious underflow.
23688         * math/s_catanf.c (__catanf): Likewise.
23689         * math/s_catanh.c (__catanh): Likewise.
23690         * math/s_catanhf.c (__catanhf): Likewise.
23691         * math/s_catanhl.c (__catanhl): Likewise.
23692         * math/s_catanl.c (__catanl): Likewise.
23693         * math/libm-test.inc (catan_test): Add more tests.
23694         (catanh_test): Likewise.
23695         * sysdeps/i386/fpu/libm-test-ulps: Update.
23696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23698 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23702 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
23704         [BZ #15416]
23705         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23706         accurately for denominator in atan2.
23707         * math/s_catanf.c (__catanf): Likewise.
23708         * math/s_catanh.c (__catanh): Likewise.
23709         * math/s_catanhf.c (__catanhf): Likewise.
23710         * math/s_catanhl.c (__catanhl): Likewise.
23711         * math/s_catanl.c (__catanl): Likewise.
23712         * math/libm-test.inc (catan_test): Add more tests.
23713         (catanh_test): Likewise.
23714         * sysdeps/i386/fpu/libm-test-ulps: Update.
23715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23717 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23719         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23721         * benchtests/Makefile (bench): Remove slow benchmarks.
23722         * benchtests/atan-inputs: Add slow benchmark inputs.
23723         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23724         (BENCH_FUNC): Accept variant offset.
23725         (VARIANT): Define.
23726         * benchtests/bench-skeleton.c (main): Run benchmark for each
23727         variant.
23728         * benchtests/cos-inputs: Add slow benchmark inputs.
23729         * benchtests/exp-inputs: Likewise.
23730         * benchtests/pow-inputs: Likewise.
23731         * benchtests/sin-inputs: Likewise.
23732         * benchtests/slowatan-inputs: Remove.
23733         * benchtests/slowatan.c: Remove.
23734         * benchtests/slowcos-inputs: Remove.
23735         * benchtests/slowcos.c: Remove.
23736         * benchtests/slowexp-inputs: Remove.
23737         * benchtests/slowexp.c: Remove.
23738         * benchtests/slowpow-inputs: Remove.
23739         * benchtests/slowpow.c: Remove.
23740         * benchtests/slowsin-inputs: Remove.
23741         * benchtests/slowsin.c: Remove.
23742         * benchtests/slowtan-inputs: Remove.
23743         * benchtests/slowtan.c: Remove.
23744         * benchtests/tan-inputs: Add slow benchmark inputs.
23745         * scripts/bench.pl: Parse comments and directives.
23747         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
23748         in CPPFLAGS.
23749         ($(objpfx)bench-%.c): Remove *-ITER.
23750         * benchtests/bench-modf.c: Remove definition of ITER.
23751         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23752         (main): Loop for DURATION seconds instead of fixed number of
23753         iterations.
23754         * scripts/bench.pl: Don't expect iterations in parameters.
23756 2013-04-29  Roland McGrath  <roland@hack.frob.com>
23758         * io/fchdir.c (__fchdir): Renamed from fchdir.
23759         (fchdir): Define as weak alias.
23761 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23763         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23764         (ERRNO_EDOM): Likewise.
23765         (ERRNO_ERANGE): Likewise.
23766         (noErrnoTests): New variable.
23767         (init_max_error): Set errno to 0.
23768         (test_single_errno): New function.
23769         (test_errno): Likewise.
23770         (check_float_internal): Call test_errno.  Set errno to 0.
23771         (check_complex): Refer to errno tests in comment.
23772         (check_int): Call test_errno.  Set errno to 0.
23773         (check_long): Likewise.
23774         (check_bool): Likewise.
23775         (check_longlong): Likewise.
23776         (cos_test): Use ERRNO_* flags for errno tests instead of
23777         check_int.
23778         (expm1_test): Likewise.
23779         (fmod_test): Likewise.
23780         (ilogb_test): Likewise.
23781         (lgamma_test): Likewise.
23782         (pow_test): Likewise.
23783         (remainder_test): Likewise.
23784         (sin_test): Likewise.
23785         (tan_test): Likewise.
23786         (yn_test): Likewise.
23787         (initialize): Set errno to 0.
23788         (main): Print number of errno tests.
23789         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23791 2013-04-29  Andreas Jaeger  <aj@suse.de>
23793         [BZ #15084]
23794         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23795         and RES_USEVC.
23797         [BZ #15085]
23798         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23799         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23800         unimplemented.
23802         [BZ #15380]
23803         * stdlib/random.c (__initstate): Return NULL if
23804         __initstate fails.
23806         [BZ #15086]
23807         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23808         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23809         RES_SNGLKUPREOP.
23811 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23815 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23817         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23818         of individual tests.
23819         (casin_test): Likewise.
23820         (casinh_test): Likewise.
23822 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
23824         [BZ #15409]
23825         * math/s_catan.c (__catan): Handle arguments with large real or
23826         imaginary part separately without squaring.
23827         * math/s_catanf.c (__catanf): Likewise.
23828         * math/s_catanh.c (__catanh): Likewise.
23829         * math/s_catanhf.c (__catanhf): Likewise.
23830         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23831         and redefine.
23832         (__catanhl): Handle arguments with large real or imaginary part
23833         separately without squaring.
23834         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23835         and redefine.
23836         (__catanl): Handle arguments with large real or imaginary part
23837         separately without squaring.
23838         * math/libm-test.inc (catan_test): Add more tests.
23839         (catanh_test): Likewise.
23840         * sysdeps/i386/fpu/libm-test-ulps: Update.
23841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23843 2013-04-27  Andreas Jaeger  <aj@suse.de>
23845         [BZ #15007]
23846         * stdlib/stdlib.h: Update guards for qecvt.
23847         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23848         <stdlib.h>.
23850 2013-04-27  Allan McRae  <allan@archlinux.org>
23852         * sysdeps/i386/fpu/libm-test-ulps: Update.
23854 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
23856         [BZ #15406]
23857         * math/s_catan.c: Include <float.h>.
23858         (__catan): Ensure underflow exception occurs for underflowed
23859         result.
23860         * math/s_catanf.c: Include <float.h>.
23861         (__catanf): Ensure underflow exception occurs for underflowed
23862         result.
23863         * math/s_catanh.c: Include <float.h>.
23864         (__catanh): Ensure underflow exception occurs for underflowed
23865         result.
23866         * math/s_catanhf.c: Include <float.h>.
23867         (__catanhf): Ensure underflow exception occurs for underflowed
23868         result.
23869         * math/s_catanhl.c: Include <float.h>.
23870         (__catanhl): Ensure underflow exception occurs for underflowed
23871         result.
23872         * math/s_catanl.c: Include <float.h>.
23873         (__catanl): Ensure underflow exception occurs for underflowed
23874         result.
23875         * math/libm-test.inc (catan_test): Add more tests.
23876         (catanh_test): Likewise.
23878         [BZ #15405]
23879         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23880         underflowed result.
23881         * math/s_ccoshf.c (__ccoshf): Likewise.
23882         * math/s_ccoshl.c (__ccoshl): Likewise.
23883         * math/s_csin.c (__csin): Likewise.
23884         * math/s_csinf.c (__csinf): Likewise.
23885         * math/s_csinh.c (__csinh): Likewise.
23886         * math/s_csinhf.c (__csinhf): Likewise.
23887         * math/s_csinhl.c (__csinhl): Likewise.
23888         * math/s_csinl.c (__csinl): Likewise.
23889         * math/libm-test.inc (ccos_test): Add more tests.
23890         (ccosh_test): Likewise.
23891         (csin_test): Likewise.
23892         (csinh_test): Likewise.
23894 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23896         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23897         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23898         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23899         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23900         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23901         powerpc/power5+/fpu folders.
23902         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23905 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23909 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
23911         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23912         additions to variable.
23913         [$(config-machine) = x86_64] (modules-names): Likewise.
23914         ($(objpfx)tst-audit3): Remove dependency.
23915         ($(objpfx)tst-audit3.out): Likewise.
23916         ($(objpfx)tst-audit4): Likewise.
23917         ($(objpfx)tst-audit4.out): Likewise.
23918         ($(objpfx)tst-audit5): Likewise.
23919         ($(objpfx)tst-audit5.out): Likewise.
23920         ($(objpfx)tst-audit6): Likewise.
23921         ($(objpfx)tst-audit6.out): Likewise.
23922         ($(objpfx)tst-audit7): Likewise.
23923         ($(objpfx)tst-audit7.out): Likewise.
23924         (tst-audit3-ENV): Remove variable.
23925         (tst-audit4-ENV): Likewise.
23926         (tst-audit5-ENV): Likewise.
23927         (tst-audit6-ENV): Likewise.
23928         (tst-audit7-ENV): Likewise.
23929         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23930         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23931         addition to variable.
23932         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23933         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23934         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23935         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23936         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23937         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23938         tst-audit3, tst-audit4 and tst-audit5.
23939         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23940         tst-audit6 and tst-audit7.
23941         [$(subdir) = elf] (modules-names): Add audit modules for those
23942         tests.
23943         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23944         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23945         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23946         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23947         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23948         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23949         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23950         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23951         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23952         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23953         [$(subdir) = elf] (tst-audit3-ENV): New variable.
23954         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23955         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23956         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23957         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23958         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23959         Likewise.
23960         [$(subdir) = elf && $(config-cflags-avx) = yes]
23961         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23962         [$(subdir) = elf && $(config-cflags-avx) = yes]
23963         (CFLAGS-tst-auditmod4a.c): Likewise.
23964         [$(subdir) = elf && $(config-cflags-avx) = yes]
23965         (CFLAGS-tst-auditmod4b.c): Likewise.
23966         [$(subdir) = elf && $(config-cflags-avx) = yes]
23967         (CFLAGS-tst-auditmod6b.c): Likewise.
23968         [$(subdir) = elf && $(config-cflags-avx) = yes]
23969         (CFLAGS-tst-auditmod6c.c): Likewise.
23970         [$(subdir) = elf && $(config-cflags-avx) = yes]
23971         (CFLAGS-tst-auditmod7b.c): Likewise.
23972         * elf/tst-audit3.c: Move to ...
23973         * sysdeps/x86_64/tst-audit3.c: ... here.
23974         * elf/tst-audit4.c: Move to ...
23975         * sysdeps/x86_64/tst-audit4.c: ... here.
23976         * elf/tst-audit5.c: Move to ...
23977         * sysdeps/x86_64/tst-audit5.c: ... here.
23978         * elf/tst-audit6.c: Move to ...
23979         * sysdeps/x86_64/tst-audit6.c: ... here.
23980         * elf/tst-audit7.c: Move to ...
23981         * sysdeps/x86_64/tst-audit7.c: ... here.
23982         * elf/tst-auditmod3a.c: Move to ...
23983         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23984         * elf/tst-auditmod3b.c: Move to ...
23985         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23986         * elf/tst-auditmod4a.c: Move to ...
23987         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23988         * elf/tst-auditmod4b.c: Move to ...
23989         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23990         * elf/tst-auditmod5a.c: Move to ...
23991         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23992         * elf/tst-auditmod5b.c: Move to ...
23993         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23994         * elf/tst-auditmod6a.c: Move to ...
23995         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23996         * elf/tst-auditmod6b.c: Move to ...
23997         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23998         * elf/tst-auditmod6c.c: Move to ...
23999         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24000         * elf/tst-auditmod7a.c: Move to ...
24001         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24002         * elf/tst-auditmod7b.c: Move to ...
24003         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24005 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
24007         [BZ #15366]
24008         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24009         define unconditionally.
24010         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24011         define unconditionally.
24012         (INT8_C, INT16_C, etc.): Likewise.
24014 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
24016         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24017         __ehdr_start with hidden visibility.
24019         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24021 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
24023         * math/libm-test.inc (cos_test): Use accurate hex constants.
24024         (sincost_test): Likewise.
24026 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
24028         * math/libm-test.inc (catan_test): Add more tests.
24029         (catanh_test): Likewise.
24031         * math/s_catanf.c (__catanf): Use suffixed floating-point
24032         constants.
24033         * math/s_catanhf.c (__catanhf): Likewise.
24034         * math/s_catanhl.c (__catanhl): Likewise.
24035         * math/s_catanl.c (__catanl): Likewise.
24037         [BZ #15394]
24038         * math/s_catan.c (__catan): Calculate imaginary part of result
24039         with log1p not log unless computing log of number close to 0.
24040         * math/s_catanf.c (__catanf): Likewise.
24041         * math/s_catanl.c (__catanl): Likewise.
24042         * math/s_catanh.c (__catanh): Calculate real part of result with
24043         log1p not log unless computing log of number close to 0.
24044         * math/s_catanhf.c (__catanhf): Likewise.
24045         * math/s_catanhl.c (__catanhl): Likewise.
24046         * math/libm-test.inc (catan_test): Add more tests.
24047         (catanh_test): Likewise.
24048         * sysdeps/i386/fpu/libm-test-ulps: Update.
24049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24051 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24053         * benchtests/Makefile: Mention files in which fast and slow
24054         paths of math functions are implemented.
24056 2013-04-23  Roland McGrath  <roland@hack.frob.com>
24058         * sysdeps/posix/timespec_get.c: New file.
24060 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24062         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24063         POWER.
24064         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24065         for POWER.
24066         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24067         powerpc/power5/fpu folders.
24068         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24069         * benchtests/Makefile: Add modf testcase.
24070         * benchtests/bench-modf.c: New file: Benchmark test for mo
24072 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24074         [BZ #14888]
24075         * time/Makefile (tests): Add tst-strptime-whitespace.
24076         * time/strptime_l.c (get_number): Use ISSPACE.
24077         (__strptime_internal): Likewise.
24078         * time/tst-strptime-whitespace.c: New test case.
24080 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
24082         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24083         member.
24084         (_nss_files_init): Set it here.
24086 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
24088         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24089         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24090         unsigned.
24092 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24094         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24096 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24098         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24099         size just once.
24101 2013-04-21  David S. Miller  <davem@davemloft.net>
24103         * po/ru.po: Update Russion translation from translation project.
24105 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24107         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24108         and setfsgid.
24110 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24112         * configure.in: Remove i386 configure warning. Remove i386 case.
24113         * configure: Regenerate.
24114         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24115         Add example to error message.
24116         * sysdeps/i386/configure: Regenerate.
24118 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24120         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24121         slowtan.
24122         * benchtests/cos-inputs: New file.
24123         * benchtests/slowcos-inputs: New file.
24124         * benchtests/slowcos.c: New file.
24125         * benchtests/slowtan-inputs: New file.
24126         * benchtests/slowtan.c: New file.
24127         * benchtests/tan-inputs: New file.
24129 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24131         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24132         considered kosher.
24134 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24136         * benchtests/Makefile: Include cppflags-iterator.mk to add
24137         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24139         * Makefile.in (bench-clean): New target.
24140         * benchtests/Makefile (bench-clean): Likewise.
24142 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24144         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24146 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24148         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24150 2013-04-15  Andreas Schwab  <schwab@suse.de>
24152         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24153         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24154         * nscd/pwdcache.c (cache_addpw): Likewise.
24155         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24156         more than recsize.
24158 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24160         * benchtests/Makefile (bench): Write all output to
24161         bench-out.tmp together.
24163 2013-04-15  Andreas Schwab  <schwab@suse.de>
24165         * nscd/nscd.c (main): Don't fork again after closing files.
24167 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24169         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24171         * benchtests/Rules (bench-deps): Collect dependencies into a
24172         single variable.  Add Makefile to dependencies.
24173         ($(objpfx)bench-%.c): Depend on bench-deps.
24175 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24176             Xavier Roche  <roche+kml2@exalead.com>
24178         [BZ #15361]
24179         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24180         just that it's a file descriptor.
24181         * manual/llio.texi (Synchronizing AIO Operations): Update description
24182         for EBADF error from aio_fsync.
24184 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24186         * Rules (bench): Move target definition...
24187         * benchtests/Makefile: ... here.
24189 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24191         * math/libm-test.inc (cos_test): Fix PI/2 test.
24192         (sincos_test): Likewise.
24193         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24194         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24196 2013-04-11  Andreas Schwab  <schwab@suse.de>
24198         [BZ #13988]
24199         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24200         accept exponent character only when digits were seen.
24201         * stdio-common/Makefile (tests): Add bug26.
24202         * stdio-common/bug26.c: New file.
24204         [BZ #14293]
24205         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24206         non-freeable.
24208 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24210         * Makeconfig (rtld-prefix): Define built linker prefix.
24211         * Rules (run-bench): Use it.
24212         * math/Makefile (run-regen-ulps): Likewise.
24214         * Rules (bench): Remove eval.
24216 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24217             Roland McGrath  <roland@hack.frob.com>
24218             Ondrej Bilka  <neleai@seznam.cz>
24220         [BZ #15346]
24221         * time/getdate.c: Include ctype.h and alloca.h.
24222         (__getdate_r): Trim leading and trailing spaces of input.
24223         * time/tst-getdate.c (tests): Add tests with leading and
24224         trailing spaces.
24226 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24228         [BZ #14280]
24229         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24230         when computing value.
24232 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24234         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24235         Use testrun.sh to run libm tests.
24237         [BZ #15309]
24238         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24240 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24242         [BZ #15264]
24243         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24245 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24247         * Makefile.in (regen-ulps): New target.
24248         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24249         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24250         [ifneq (no,$(PERL)] (regen-ulps): New target.
24251         [ifeq (no,$(PERL)] (regen-ulps): New target.
24252         * math/libm-test.inc (ulps_file_name): Define.
24253         (output_dir): New variable.
24254         (options): Add "output-dir" option.
24255         (parse_opt): Handle 'o' case.
24256         (main): If output_dir is non-NULL use it as a prefix
24257         otherwise use "".
24258         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24260 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24262         [BZ #10060, #10062]
24263         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24264         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24265         fail configure if __sync_val_compare_and_swap is not inlined.
24266         * sysdeps/i386/configure: Regenerate.
24267         * configure.in: Build for i686 when configured for i386.
24268         * configure: Regenerate.
24269         * README: Remove i386 reference.
24271 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24273         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24274         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24276 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24278         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24279         (lmsnanval): New variables.
24280         (F): Add conversion tests.
24281         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24282         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24284         * stdio-common/tstdiomisc.c (F): Properly collect individual
24285         tests' results.
24287         [BZ #14686, #15336]
24288         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24289         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24290         Instead, use input NaN values or generate a qNaN by arithmetic
24291         operation.  Also fix bugs to comply with the standard.
24292         * math/libm-test.inc (remainder_test): Add more tests.
24294         [BZ #15335, #15342]
24295         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24296         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24297         input NaN values or generate a qNaN by arithmetic operation.
24299         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24300         unreachable code.
24302         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24303         definitions.
24305 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
24307         [BZ #14478]
24308         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24309         underflowed result.
24310         * math/s_cexpf.c (__cexpf): Likewise.
24311         * math/s_cexpl.c (__cexpl): Likewise.
24312         * math/libm-test.inc (cexp_test): Add more tests.
24314 2013-04-03  Andreas Schwab  <schwab@suse.de>
24316         [BZ #15330]
24317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24318         order arrays from heap if bigger than alloca cutoff.
24320 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
24322         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24323         (SNAN_TESTS_double): Refer to GCC PR56831.
24324         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24325         GCC PR56828.
24327 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24329         * Rules (bench): Move bench.out after the run is complete.
24331         * Rules (bench): Echo currently running benchmark.
24333         * benchtests/Makefile (bench): Add atan and slowatan.
24334         * benchtests/atan-inputs: New file.
24335         * benchtests/slowatan-inputs: New file.
24336         * benchtests/slowatan.c: New file.
24338         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24339         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24340         its value.
24342         [BZ #15305]
24343         * sysdeps/unix/sysv/linux/kernel-features.h
24344         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24345         __ASSUME_XFS_RESTRICTED_CHOWN.
24346         * sysdeps/unix/sysv/linux/pathconf.c
24347         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24348         Save and restore errno.
24350 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
24352         [BZ #15327]
24353         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24354         arguments using __kernel_casinh.
24355         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24356         arguments using __kernel_casinhf.
24357         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24358         arguments using __kernel_casinhl.
24359         * math/libm-test.inc (cacosh_test): Add more tests.
24360         * sysdeps/i386/fpu/libm-test-ulps: Update.
24361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24363 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24365         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24366         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24368         * bench/Makefile (bench): Add sin and slowsin.
24369         * benchtests/sin-inputs: New file.
24370         * benchtests/slowsin-inputs: New file.
24371         * benchtests/slowsin.c: New file.
24373         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24374         (bench): Add slowexp and slowpow.
24375         (exp-ITER): Increase iterations.
24376         (pow-ITER): Likewise.
24377         * benchtests/exp-inputs: Change input.
24378         * benchtests/pow-inputs: Likewise.
24379         * benchtests/slowexp-inputs: New file.
24380         * benchtests/slowexp.c: New file.
24381         * benchtests/slowpow-inputs: New file.
24382         * benchtests/slowpow.c: New file.
24384 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24386         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24387         instructions.
24388         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24389         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24390         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24391         * benchtests/Makefile: Add rint benchtest.
24392         * benchtests/rint-inputs: Input for rint benchtest.
24394 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24396         * Versions.def (libm): Add GLIBC_2.18.
24397         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24398         hidden libm prototypes.
24399         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24400         * math/Makefile (libm-calls): Add s_issignaling.
24401         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24402         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
24403         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24404         declaration.
24405         * math/math.h [__USE_GNU] (issignaling): New macro.
24406         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24407         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24408         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24409         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24410         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24411         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24412         * manual/arith.texi (issignaling): New section.
24413         * manual/libm-err-tab.pl (@all_functions): Update comment.
24414         * math/gen-libm-test.pl (parse_args): Apply special handling for
24415         issignaling.
24416         * math/libm-test.inc (print_float, issignaling_test): New
24417         functions.
24418         (check_float_internal): Add issignaling checks.
24419         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24420         default definition.
24421         * sysdeps/powerpc/math-tests.h: New file.
24422         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24423         tests.
24424         * math/test-snan.c (TEST_FUNC): Likewise.
24426 2013-03-30  David S. Miller  <davem@davemloft.net>
24428         * po/de.po: Update from translation team.
24430 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
24432         [BZ #10357]
24433         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24434         imaginary part less than 1.0 and real part less than 0.5
24435         specially.
24436         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24437         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24438         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24439         (cacos_test): Add more tests.
24440         (casin_test): Likewise.
24441         (casinh_test): Likewise.
24442         * sysdeps/i386/fpu/libm-test-ulps: Update.
24443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24445 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24447         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24448         ONE with its value.
24450         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24451         (__pow_mp): Replace ONE and MONE with their values.
24452         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24453         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24454         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24455         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24456         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24457         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24459         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24461         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24462         (__pow_mp): Replace ZERO and MZERO with their values.
24463         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24464         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24465         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24467         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24468         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24469         (__sqr): Likewise.
24471         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24473         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24475 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24477         * include/stdlib.h [!SHARED] (__call_tls_dtors):
24478         Declare with __attribute__ ((weak)).
24479         * stdlib/exit.c (__libc_atexit) [!SHARED]:
24480         Call __call_tls_dtors only if it's not NULL.
24482 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24484         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24485         didn't do it already, then set _dl_phdr and _dl_phnum based on the
24486         magic __ehdr_start linker symbol if it's defined.
24487         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24488         them up here if it was already done.
24490         * elf/dl-support.c (_dl_phdr): Make pointer to const.
24491         (_dl_aux_init): Use const in cast when setting it.
24492         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24493         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24494         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24496         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24497         Declare them here.
24498         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24499         * csu/libc-tls.c: Nor here.
24500         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24502         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24503         (__libc_message): Never call vsyslog.
24505 2013-03-28  Alan Modra  <amodra@gmail.com>
24507         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24508         Define as empty.
24509         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24510         Likewise.
24512 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24514         [BZ #15214]
24515         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24516         underflow.
24517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24519 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24521         [BZ #15304]
24522         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24523         Don't add gid passed as argument.
24525         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24527 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
24529         [BZ #15307]
24530         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24531         imaginary part between 1.0 and 1.5 and real part less than 0.5
24532         specially.
24533         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24534         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24535         * math/libm-test.inc (cacos_test): Add more tests.
24536         (casin_test): Likewise.
24537         (casinh_test): Likewise.
24538         * sysdeps/i386/fpu/libm-test-ulps: Update.
24539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24541 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24543         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24544         constants.
24545         (norm): Likewise.
24546         (denorm): Likewise.
24547         (__dbl_mp): Likewise.
24548         (add_magnitudes): Likewise.
24549         (sub_magnitudes): Likewise.
24550         (__add): Likewise.
24551         (__sub): Likewise.
24552         (__mul): Likewise.
24553         (__sqr): Likewise.
24554         (__inv): Likewise.
24555         (__dvd): Likewise.
24557         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24558         commented code.
24559         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24560         (__dubcos): Likewise.
24561         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24562         (__ieee754_acos): Likewise.
24563         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24564         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24565         (__exp1): Likewise.
24566         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24567         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24568         (log1): Likewise.
24569         (my_log2): Likewise.
24570         (checkint): Likewise.
24571         * sysdeps/ieee754/dbl-64/e_remainder.c
24572         (__ieee754_remainder): Likewise.
24573         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24575         (bsloww): Likewise.
24576         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24578         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24579         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24580         MANTISSA_STORE_T to store computations on mantissa.  Use
24581         macros for rounding and division.
24582         (denorm): Likewise.
24583         (__dbl_mp): Likewise.
24584         (add_magnitudes): Likewise.
24585         (sub_magnitudes): Likewise.
24586         (__mul): Likewise.
24587         (__sqr): Likewise.
24588         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24589         powers of two in terms of TWOPOW macro.
24590         (mp_no): Make type of mantissa as MANTISSA_T.
24591         [!RADIXI]: Define RADIXI.
24592         [!TWO52]: Define TWO52.
24593         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24595 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24597         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24598         llroundl symbol when building for PPC32.
24600 2013-03-24  Mark H Weaver  <mhw@netris.org>
24602         * manual/arith.texi (Normalization Functions): Fix prototypes for
24603         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24605 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24607         [BZ #13889]
24608         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24609         high value to check if expl overflow.
24610         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24611         to check for underflow and overflow.
24612         * math/libm-test.inc: Add exp test.
24614 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
24616         [BZ #11120]
24617         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24618         with NOT_IN_libc.
24620 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24622         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24623         symbol.
24625 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24627         * math/gen-libm-test.pl (parse_args, special_functions): Properly
24628         wrap blocks consisting of several statements.
24630         * sysdeps/generic/math-tests.h: New file.
24631         * sysdeps/i386/fpu/math-tests.h: Likewise.
24632         * math/test-snan.c: Include it.
24633         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24635 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24637         [BZ #15285]
24638         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24639         (__ieee754_j0l): Do not improve calculations using cos of twice
24640         input for inputs above LDBL_MAX / 2.0L.
24641         (__ieee754_y0l): Likewise.
24642         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24643         (__ieee754_j1l): Do not improve calculations using cos of twice
24644         input for inputs above LDBL_MAX / 2.0L.
24645         (__ieee754_y1l): Likewise.
24646         * math/libm-test.inc (j0_test): Add another test.
24647         (j1_test): Likewise.
24648         (y0_test): Likewise.
24649         (y1_test): Likewise.
24650         * sysdeps/i386/fpu/libm-test-ulps: Update.
24652 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24654         * Rules ($(objpfx)bench-%.c): Include code from a C source
24655         file.
24657 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24659         [BZ #15287]
24660         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24661         imaginary part 1.0 and real part less than 0.5 specially.
24662         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24663         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24664         * math/libm-test.inc (cacos_test): Add more tests.
24665         (casin_test): Likewise.
24666         (casinh_test): Likewise.
24667         * sysdeps/i386/fpu/libm-test-ulps: Update.
24668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24670 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24672         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24673         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24675 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
24677         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24678         * config.make.in (config-cflags-sse4): Remove variable.
24679         (config-cflags-avx): Likewise.
24680         (config-cflags-sse2avx): Likewise.
24681         (config-cflags-novzeroupper): Likewise.
24682         (config-asflags-i686): Likewise.
24683         (have-mfma4): Likewise.
24684         (have-as-vis3): Likewise.
24685         (MIG): Likewise.
24686         * configure.in (MIG): Do not AC_SUBST.
24687         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24688         (libc_cv_cc_sse4): Do not AC_SUBST.
24689         (libc_cv_cc_avx): Likewise.
24690         (libc_cv_cc_sse2avx): Likewise.
24691         (libc_cv_cc_novzeroupper): Likewise.
24692         (libc_cv_cc_fma4): Likewise.
24693         (libc_cv_as_i686): Likewise.
24694         (libc_cv_sparc_as_vis3): Likewise.
24695         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24696         LIBC_CONFIG_VAR.
24697         (config-asflags-i686): Likewise.
24698         (config-cflags-avx): Likewise.
24699         (config-cflags-sse2avx): Likewise.
24700         (have-mfma4): Likewise.
24701         (config-cflags-novzeroupper): Likewise.
24702         * sysdeps/mach/configure.in (MIG): Likewise.
24703         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24704         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24705         LIBC_CONFIG_VAR.
24706         (config-cflags-avx): Likewise.
24707         (config-cflags-sse2avx): Likewise.
24708         (have-mfma4): Likewise.
24709         (config-cflags-novzeroupper): Likewise.
24710         * configure: Regenerated.
24711         * sysdeps/i386/configure: Likewise.
24712         * sysdeps/mach/configure: Likewise.
24713         * sysdeps/sparc/configure: Likewise.
24714         * sysdeps/x86_64/configure: Likewise.
24716 2013-03-20  Roland McGrath  <roland@hack.frob.com>
24718         [BZ #14812]
24719         * locale/programs/localedef.c (options): Put N_ translation marker
24720         on argument names, not just descriptions.
24722 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24724         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24726 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
24728         [BZ #14176]
24729         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24731 2013-03-19  Roland McGrath  <roland@hack.frob.com>
24733         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24734         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24735         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24736         [!BEFORE_ABORT] (before_abort): New function.
24737         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24738         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24739         (writev_for_fatal): New function.
24740         (WRITEV_FOR_FATAL): New macro; call that.
24741         (backtrace_and_maps): New function.
24742         (BEFORE_ABORT): New macro; call that.
24743         (struct str_list): Type removed.
24744         (__libc_message, __libc_fatal): Functions removed.
24745         Include <sysdeps/posix/libc_fatal.c> instead.
24747 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
24749         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24750         constants.
24751         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24752         double constants.
24754 2013-03-19  Andreas Schwab  <schwab@suse.de>
24756         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24757         * sysdeps/gnu/configure: Regenerate.
24759         * configure.in: Substitute libc_cv_rtlddir.
24760         * configure: Regenerate.
24761         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24762         * Makeconfig (rtlddir, inst_rtlddir): New variables.
24763         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24764         * elf/Makefile (install-others, CFLAGS-interp.c)
24765         (ldso_install, common-ldd-rewrite): Likewise.
24766         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24767         $(inst_slibdir)/$(rtld-installed-name).
24768         * scripts/rellns-sh: Add -p option.
24769         * Makerules (make-shlib-link): Use rellns-sh to get relative name
24770         for source.
24772 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24774         * manual/nptl.texi: Renamed to ...
24775         * manual/threads.texi: ... this.
24776         * manual/Makefile (chapters): Update.
24778 2013-03-18  Roland McGrath  <roland@hack.frob.com>
24780         [BZ #14812]
24781         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24782         on argument names, not just descriptions.
24783         * malloc/memusagestat.c (options): Likewise.
24784         * nss/getent.c (options): Likewise.
24786 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
24788         [BZ #14812]
24789         * iconv/iconv_prog.c (options): Put N_ translation marker
24790         on argument names, not just descriptions.
24791         * iconv/iconvconfig.c (options): Likewise.
24793 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
24795         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24796         implementation which is faster on all x86_64 architectures.
24797         Tested on AMD, Intel Nehalem, SNB, IVB.
24798         * sysdeps/x86_64/strnlen.S: Likewise.
24800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24801         Remove all multiarch strlen and strnlen versions.
24802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24803         Remove strlen and strnlen related parts.
24805         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24806         Inline strlen part.
24807         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24809         * sysdeps/x86_64/multiarch/strlen.S: Remove.
24810         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24811         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24812         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24813         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24814         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24816 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
24818         * manual/memory.texi (Malloc Tunable Parameters):
24819         Sort parameters alphabetically. Add comments for missing entries.
24821 2013-03-17  David S. Miller  <davem@davemloft.net>
24823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24825 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
24827         [BZ #15283]
24828         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24829         for arguments at most half maximum finite value.
24830         * math/libm-test.inc (j0_test): Add more tests.
24831         (j1_test): Likewise.
24832         (y0_test): Likewise.
24833         (y1_test): Likewise.
24834         * sysdeps/i386/fpu/libm-test-ulps: Update.
24835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24837         [BZ #14155]
24838         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24839         1 / x and functions P and Q for arguments above 0x1p256L.
24840         (__ieee754_y0l): Likewise.
24841         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24842         (__ieee754_y1l): Likewise.
24843         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24844         (j1_test): Likewise.
24845         (y0_test): Likewise.
24846         (y1_test): Likewise.
24848 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
24850         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24851         variable.
24853 2013-03-15  Roland McGrath  <roland@hack.frob.com>
24855         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24856         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24857         zero since it's initialized to EXEC_PAGESIZE.
24859         * sysdeps/unix/sysv/linux/ldsodefs.h
24860         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24861         * sysdeps/generic/ldsodefs.h: ... here.
24863 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
24865         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24867         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24868         math/test-snan.c.
24869         * math/test-snan.c: Renamed from
24870         sysdeps/powerpc/fpu/test-powerpc-snan.c.
24871         * math/Makefile (tests): Add test-snan.
24872         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24873         test-powerpc-snan.
24875         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24876         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
24877         functions.
24878         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
24879         __builtin_nan family of functions.
24880         * math/libm-test.inc (initialize): Initialize qnan_value with
24881         __builtin_nan family of functions.
24882         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24883         Remove variables.
24884         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24885         Remove functions.
24886         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
24887         storage class.  Initialize qNaN_var and sNaN_var with
24888         __builtin_nan and __builtin_nans families of functions,
24889         respectively.
24891         * math/libm-test.inc (acosh_test): Also test with qNaN input.
24892         (sqrt_test): Remove duplicate test with qNaN input.
24893         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24894         (round_test, signbit_test, significand_test): Note missing +/-Inf
24895         as well as qNaN tests.
24897         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24898         qNaN_var.  Fix a few strings, too.
24899         * math/libm-test.inc (nan_value): Rename to qnan_value.
24900         * math/gen-libm-test.pl (%beautify): Adjust to that.
24901         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24902         * math/test-misc.c (main): Likewise.
24903         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24904         to __qnan_bytes, and __qnan_union, respectively.
24905         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24906         Likewise.
24907         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24908         and lqnanval, respectively.
24909         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24910         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24911         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24912         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24914         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24915         * math/test-misc.c (main) [__x86_64__]: Enable test for long
24916         doubles.
24918         * math/test-misc.c (main): Fix copy'n'pastos.
24919         * misc/tst-efgcvt.c (special): Likewise.
24921         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24922         Remove declarations.
24924 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24926         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24927         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24928         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24929         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24931 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24933         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24934         macro to return vdso values correctly in IFUNC implementations.
24935         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24936         Optimization by using IFUNC.
24938 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24939             Richard Henderson  <rth@redhat.com>
24940             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24942         * Makefile.in (bench): New target.
24943         * NEWS: Mention the benchmark framework.
24944         * Rules (bench): Likewise.
24945         (binaries-bench): Generate binaries for functions to
24946         benchmark.
24947         * benchtests/Makefile: New makefile for benchmark tests.
24948         * benchtests/bench-skeleton.c: New skeleton file for benchmark
24949         programs.
24950         * benchtests/exp-inputs: New input file for EXP function.
24951         * benchtests/pow-inputs: New input file for POW function.
24952         * scripts/bench.pl: New script to generate source files for
24953         benchmark programs.
24955 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24957         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24958         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24959         computations on mantissa.  Use macros for rounding and
24960         division.
24961         (denorm): Likewise.
24962         (__dbl_mp): Likewise.
24963         (add_magnitudes): Likewise.
24964         (sub_magnitudes): Likewise.
24965         (__mul): Likewise.
24966         (__sqr): Likewise.
24967         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24968         powers of two in terms of TWOPOW macro.
24969         (mp_no): Make type of mantissa as MANTISSA_T.
24970         [!RADIXI]: Define RADIXI.
24971         [!TWO52]: Define TWO52.
24972         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24974         * manual/nptl.texi (cindex): Modify threads to pthreads.
24976 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
24978         * sysdeps/x86_64/preconfigure: Regenerated.
24980 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
24982         [BZ #14155]
24983         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24984         0x1p28 and above.
24985         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24986         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24987         0x1p28 and above.
24988         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24989         * math/libm-test.inc (j0_test): Do not allow one spurious
24990         underflow exception.
24991         (y1_test): Likewise.
24993 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24995         * manual/Makefile (chapters): Add nptl.
24996         * manual/debug.texi (Debugging Support): Add link to Threads
24997         chapter.
24998         * manual/nptl.texi: New file.
25000         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25002 2013-03-14  Petr Baudis  <pasky@ucw.cz>
25004         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25005         for non-NULL pointer before the memory validity test. Pointed
25006         out by Holger Brunck <holger.brunck@keymile.com>.
25008 2013-03-13  Andreas Schwab  <schwab@suse.de>
25010         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25011         instead of .os.
25013 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
25015         * timezone/zic.c: Update from tzcode 2013b.
25017 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
25019         * manual/install.texi (Configuring and compiling):
25020         Mention i686 and i586.
25021         * INSTALL: Regenerate.
25023 2013-03-12  Roland McGrath  <roland@hack.frob.com>
25025         * sysdeps/init_array/elf-init.c: New file.
25026         * csu/elf-init.c
25027         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25028         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25030         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25031         __gmon_start__ as global, but as static with a .preinit_array pointer.
25032         * sysdeps/init_array/gmon-start.c: New file.  Use that.
25033         * sysdeps/init_array/crti.S: New file, empty except for comments.
25034         * sysdeps/init_array/crtn.S: Likewise.
25036 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
25038         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25039         definining bcopy.
25040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25041         Remove Prefer_SSE_for_memop.
25042         * sysdeps/x86_64/multiarch/init-arch.h: Remove
25043         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25044         HAS_PREFER_SSE_FOR_MEMOP.
25045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25046         memset-x86-64.
25047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25048         Remove bzero, memset ifunc support.
25049         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25050         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25051         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25052         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25054 2013-03-11  Andreas Schwab  <schwab@suse.de>
25056         [BZ #15234]
25057         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25058         by SHLIB_COMPAT.
25059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25060         (GLIBC_2.16): Remove pthread_atfork.
25062 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25064         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25065         (ptestcases.h): Likewise.
25067 2013-03-08  Roland McGrath  <roland@hack.frob.com>
25069         * Makeconfig ($(common-objpfx)config.status): Depend on
25070         sysdeps/*/preconfigure{,.in} too.
25072 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
25074         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25075         (__free_hook): Use void * instead of __malloc_ptr_t.
25076         (__malloc_hook): Likewise.
25077         (__realloc_hook): Likewise.
25078         (__memalign_hook): Likewise.
25079         (__after_morecore_hook): Likewise.
25080         * malloc/arena.c (save_malloc_hook): Likewise.
25081         (save_free_hook): Likewise.
25082         * malloc/hooks.c (malloc_hook_ini): Likewise.
25083         (realloc_hook_ini): Likewise.
25084         (memalign_hook_ini): Likewise.
25085         * malloc/malloc.c (malloc_hook_ini): Likewise.
25086         (realloc_hook_ini): Likewise.
25087         (memalign_hook_ini): Likewise.
25088         (__free_hook): Likewise.
25089         (__malloc_hook): Likewise.
25090         (__realloc_hook): Likewise.
25091         (__memalign_hook): Likewise.
25092         (__libc_malloc): Likewise.
25093         (__libc_free): Likewise.
25094         (__libc_realloc): Likewise.
25095         (__libc_memalign): Likewise.
25096         (__libc_valloc): Likewise.
25097         (__libc_pvalloc): Likewise.
25098         (__libc_calloc): Likewise.
25099         (__posix_memalign): Likewise.
25100         * malloc/morecore.c (__sbrk): Likewise.
25101         (__default_morecore): Likewise.
25103         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25105         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25106         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25107         __malloc_ptrdiff_t.
25109         * malloc/malloc.h (__malloc_size_t): Remove macro.
25110         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25111         __malloc_size_t.
25112         (old_memalign_hook): Likewise.
25113         (old_realloc_hook): Likewise.
25114         (struct hdr): Likewise.
25115         (flood): Likewise.
25116         (mallochook): Likewise.
25117         (memalignhook): Likewise.
25118         (reallochook): Likewise.
25119         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25120         (tr_old_realloc_hook): Likewise.
25121         (tr_old_memalign_hook): Likewise.
25122         (tr_mallochook): Likewise.
25123         (tr_reallochook): Likewise.
25124         (tr_memalignhook): Likewise.
25126 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25128         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25129         default_ldbl_pack and using as default implementation.
25130         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25131         implementation.
25132         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25133         redundant definition.
25134         (ldbl_insert_mantissa): Likewise.
25135         (ldbl_canonicalize): Likewise.
25136         (ldbl_nearbyint): Likewise.
25137         (ldbl_pack): Rename to ldbl_pack_ppc.
25138         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25139         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25140         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25142 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25144         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25145         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25146         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25147         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25148         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25149         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25150         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25151         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25153 2013-03-07  Andreas Jaeger  <aj@suse.de>
25155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25156         bits/mman-linux.h.
25158 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25160         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25161         Include mpa.h and declare __MPEXP.
25162         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25163         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25164         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25165         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25166         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25167         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25168         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25170         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25171         (__slowpow): Use long double EXPL and LOGL functions to
25172         compute POW.
25173         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25174         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25175         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25176         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25177         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25178         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25181         intermediate variable to calculate exponent.
25182         (__sqr): Likewise.
25183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25184         Likewise.
25185         (__sqr): Likewise.
25187         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25188         [!NO__SQR]: Define __sqr.
25189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25190         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25191         sysdeps/ieee754/dbl-64/mpa.c.
25192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25194         [BZ #12723]
25195         * posix/Makefile (tests): Add tst-pathconf.
25196         * posix/tst-pathconf.c: New test case.
25197         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25198         _PC_PIPE_BUF.
25199         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25201 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25203         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25205 2013-03-06  Andreas Jaeger  <aj@suse.de>
25207         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25208         definition via __MAP_ANONYMOUS.
25210         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25211         it's not part of Linux headers.
25213         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25214         (MAP_HUGE_MASK): Define.
25216         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25217         Define.
25218         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25219         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25220         Define.
25221         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25222         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25223         Define.
25224         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25225         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25226         Define.
25227         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25229         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25230         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25231         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25232         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25233         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25234         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25236         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25237         Handle f2fs.
25239         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25240         Handle f2fs and efivarfs.
25242         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25243         f2fs.
25245         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25246         (EFIVARFS_MAGIC): Add.
25247         (F2FS_LINK_MAX): Add.
25249 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25251         * stdio-common/vfprintf.c: Replace __builtin_expect with
25252         __glibc_unlikely.
25254 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25256         [BZ #13550]
25257         * sysdeps/generic/bp-sym.h: Remove file.
25258         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25259         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25260         <bp-sym.h> and <bp-asm.h>.
25261         (__longjmp): Don't use BP_SYM.
25262         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25263         and <bp-asm.h>.
25264         (memcpy): Don't use BP_SYM.
25265         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25266         <bp-sym.h> and <bp-asm.h>.
25267         (memcpy): Don't use BP_SYM.
25268         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25269         <bp-asm.h>.
25270         (memcpy): Don't use BP_SYM.
25271         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25272         <bp-asm.h>.
25273         (memset): Don't use BP_SYM.
25274         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25275         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25276         (__bzero): Don't use BP_SYM.
25277         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25278         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25279         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25280         <bp-sym.h> and <bp-asm.h>.
25281         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25282         pointers.
25283         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25284         <bp-sym.h> and <bp-asm.h>.
25285         (memcpy): Don't use BP_SYM.
25286         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25287         <bp-sym.h> and <bp-asm.h>.
25288         (memset): Don't use BP_SYM.
25289         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25290         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25291         (__bzero): Don't use BP_SYM.
25292         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25293         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25294         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25295         <bp-sym.h> and <bp-asm.h>.
25296         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25297         pointers.
25298         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25299         <bp-sym.h> and <bp-asm.h>.
25300         (memcpy): Don't use BP_SYM.
25301         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25302         <bp-sym.h> and <bp-asm.h>.
25303         (memset): Don't use BP_SYM.
25304         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25305         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25306         (__bzero): Don't use BP_SYM.
25307         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25308         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25309         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25310         <bp-sym.h> and <bp-asm.h>.
25311         (__memchr): Don't use BP_SYM.
25312         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25313         <bp-sym.h> and <bp-asm.h>.
25314         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25315         pointers.
25316         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25317         <bp-sym.h> and <bp-asm.h>.
25318         (memcpy): Don't use BP_SYM.
25319         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25320         <bp-sym.h> and <bp-asm.h>.
25321         (__mempcpy): Don't use BP_SYM.
25322         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25323         <bp-sym.h> and <bp-asm.h>.
25324         (__memrchr): Don't use BP_SYM.
25325         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25326         <bp-sym.h> and <bp-asm.h>.
25327         (memset): Don't use BP_SYM.
25328         (__bzero): Likewise.
25329         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25330         <bp-sym.h> and <bp-asm.h>.
25331         (__rawmemchr): Don't use BP_SYM.
25332         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25333         <bp-sym.h> and <bp-asm.h>.
25334         (__STRCMP): Don't use BP_SYM.
25335         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25336         <bp-sym.h> and <bp-asm.h>.
25337         (strchr): Don't use BP_SYM.
25338         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25339         <bp-sym.h> and <bp-asm.h>.
25340         (__strchrnul): Don't use BP_SYM.
25341         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25342         <bp-sym.h> and <bp-asm.h>.
25343         (strlen): Don't use BP_SYM.
25344         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25345         <bp-sym.h> and <bp-asm.h>.
25346         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25347         pointers.
25348         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25349         <bp-sym.h> and <bp-asm.h>.
25350         (__strnlen): Don't use BP_SYM.
25351         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25352         <bp-sym.h> and <bp-asm.h>.
25353         (__GI__setjmp): Don't use BP_SYM.
25354         (_setjmp): Likewise.
25355         (__sigsetjmp): Likewise.
25356         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25357         (L(start_addresses)): Don't use BP_SYM.
25358         (_start): Likewise.
25359         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25360         <bp-asm.h>.
25361         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25362         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25363         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25364         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25365         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25366         <bp-asm.h>.
25367         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25368         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
25369         about bounded pointers.
25370         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25371         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25372         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25373         <bp-asm.h>.
25374         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25375         about bounded pointers.  Remove GKM FIXME comments.
25376         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25377         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25378         <bp-asm.h>.
25379         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25380         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
25381         Remove GKM FIXME comments.
25382         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25383         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25384         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25385         <bp-asm.h>.
25386         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25387         about bounded pointers.  Remove GKM FIXME comment.
25388         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25389         and <bp-asm.h>.
25390         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25391         pointers.
25392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25393         <bp-sym.h> and <bp-asm.h>.
25394         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25396         <bp-sym.h> and <bp-asm.h>.
25397         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25398         comment.
25400 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25402         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25403         call free(NULL).
25405 2013-03-05  David S. Miller  <davem@davemloft.net>
25407         * po/es.po: Update from translation team.
25409 2013-03-05  Andreas Jaeger  <aj@suse.de>
25411         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25412         <bits/mman-linux.h>.
25413         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25414         is fine.
25415         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25416         <bits/mman-linux.h> to end of file.
25417         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25418         is fine.
25419         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25420         <bits/mman-linux.h> to end of file.
25421         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25422         is fine.
25423         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25424         <bits/mman-linux.h> to end of file.
25426         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25427         (MCL_CURRENT, MCL_FUTURE): Define here.
25429 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25431         [BZ #15232]
25432         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25433         attribute_hidden.
25434         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25436 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25438         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25439         fourth parameter needed for rt_sigprocmask syscall.
25440         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25441         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25442         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25443         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25444         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25445         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25447 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
25449         [BZ #13550]
25450         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25451         comment about bounded pointers.
25452         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25453         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25455 2013-03-04  Andreas Jaeger  <aj@suse.de>
25457         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25458         common definitions.
25460         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25461         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25462         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25463         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25464         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25465         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25467 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25469         [BZ #15055]
25470         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25471         __ieee754_sqrl instead of __sqrl.
25473 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
25475         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25476         * sysdeps/powerpc/fpu_control.h: ... here.
25477         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25478         * sysdeps/powerpc/bits/fenvinline.h: ... here.
25479         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25480         * sysdeps/powerpc/bits/mathinline.h: ... here.
25482 2013-03-01  Roland McGrath  <roland@hack.frob.com>
25484         * elf/dl-hwcaps.c (_dl_important_hwcaps):
25485         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25486         to just [NEED_DL_SYSINFO_DSO].
25487         * elf/dl-support.c: Likewise.
25488         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25489         * elf/rtld.c (dl_main): Likewise.
25490         * elf/setup-vdso.h (setup_vdso): Likewise.
25491         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25492         * sysdeps/unix/sysv/linux/dl-sysdep.c
25493         (_dl_discover_osversion): Likewise.
25495 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
25497         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25498         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25500 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25502         * NEWS: Mention libm performance improvements and non-x86 PI
25503         futex support.
25505         * csu/libc-start.c (__pthread_initialize_minimal): Change
25506         function arguments.
25507         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25509 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
25511         [BZ #13550]
25512         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25513         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25514         <bp-sym.h> and <bp-asm.h>.
25515         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25516         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25517         and <bp-asm.h>.
25518         (memcpy): Don't use BP_SYM.
25519         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25520         <bp-asm.h>.
25521         (__mpn_add_n): Don't use BP_SYM.
25522         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25523         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25524         and <bp-asm.h>.
25525         (__mpn_addmul_1): Don't use BP_SYM.
25526         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25527         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25528         <bp-sym.h>.
25529         (_setjmp): Don't use BP_SYM.
25530         (__novmx_setjmp): Likewise.
25531         (__GI__setjmp): Likewise.
25532         (__vmx_setjmp): Likewise.
25533         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25534         <bp-sym.h>.
25535         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25536         (__bzero): Don't use BP_SYM.
25537         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25538         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25539         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25540         <bp-sym.h> and <bp-asm.h>.
25541         (memcpy): Don't use BP_SYM.
25542         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25543         <bp-sym.h> and <bp-asm.h>.
25544         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25545         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25546         <bp-sym.h> and <bp-asm.h>.
25547         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25548         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25549         <bp-asm.h>.
25550         (__mpn_lshift): Don't use BP_SYM.
25551         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25552         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25553         <bp-asm.h>.
25554         (memset): Don't use BP_SYM.
25555         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25556         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25557         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25558         <bp-asm.h>.
25559         (__mpn_mul_1): Don't use BP_SYM.
25560         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25561         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25562         <bp-sym.h> and <bp-asm.h>.
25563         (memcmp): Don't use BP_SYM.
25564         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25565         <bp-sym.h> and <bp-asm.h>.
25566         (memcpy): Don't use BP_SYM.
25567         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25568         <bp-sym.h> and <bp-asm.h>.
25569         (memset): Don't use BP_SYM.
25570         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25571         <bp-sym.h> and <bp-asm.h>.
25572         (strncmp): Don't use BP_SYM.
25573         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25574         <bp-sym.h> and <bp-asm.h>.
25575         (memcpy): Don't use BP_SYM.
25576         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25577         <bp-sym.h> and <bp-asm.h>.
25578         (memset): Don't use BP_SYM.
25579         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25580         <bp-sym.h> and <bp-asm.h>.
25581         (__memchr): Don't use BP_SYM.
25582         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25583         <bp-sym.h> and <bp-asm.h>.
25584         (memcmp): Don't use BP_SYM.
25585         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25586         <bp-sym.h> and <bp-asm.h>.
25587         (memcpy): Don't use BP_SYM.
25588         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25589         <bp-sym.h> and <bp-asm.h>.
25590         (__mempcpy): Don't use BP_SYM.
25591         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25592         <bp-sym.h> and <bp-asm.h>.
25593         (__memrchr): Don't use BP_SYM.
25594         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25595         <bp-sym.h> and <bp-asm.h>.
25596         (memset): Don't use BP_SYM.
25597         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25598         <bp-sym.h> and <bp-asm.h>.
25599         (__rawmemchr): Don't use BP_SYM.
25600         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25601         <bp-sym.h> and <bp-asm.h>.
25602         (__STRCMP): Don't use BP_SYM.
25603         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25604         <bp-sym.h> and <bp-asm.h>.
25605         (strchr): Don't use BP_SYM.
25606         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25607         <bp-sym.h> and <bp-asm.h>.
25608         (__strchrnul): Don't use BP_SYM.
25609         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25610         <bp-sym.h> and <bp-asm.h>.
25611         (strlen): Don't use BP_SYM.
25612         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25613         <bp-sym.h> and <bp-asm.h>.
25614         (strncmp): Don't use BP_SYM.
25615         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25616         <bp-sym.h> and <bp-asm.h>.
25617         (__strnlen): Don't use BP_SYM.
25618         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25619         <bp-asm.h>.
25620         (__mpn_rshift): Don't use BP_SYM.
25621         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25622         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25623         <bp-sym.h> and <bp-asm.h>.
25624         (__sigsetjmp): Don't use BP_SYM.
25625         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25626         (L(start_addresses)): Don't use BP_SYM.
25627         (_start): Likewise.
25628         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25629         <bp-asm.h>.
25630         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25631         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25632         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25633         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25634         <bp-asm.h>.
25635         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25636         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25637         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25638         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25639         <bp-asm.h>.
25640         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25641         comments.
25642         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25643         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25644         <bp-asm.h>.
25645         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
25646         FIXME comments.
25647         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25648         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25649         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25650         <bp-asm.h>.
25651         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25652         comment.
25653         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25654         and <bp-asm.h>.
25655         (strncmp): Don't use BP_SYM,
25656         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25657         <bp-asm.h>.
25658         (__mpn_sub_n): Don't use BP_SYM.
25659         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25660         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25661         and <bp-asm.h>.
25662         (__mpn_submul_1): Don't use BP_SYM.
25663         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25665         <bp-sym.h> and <bp-asm.h>.
25666         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25668         <bp-sym.h> and <bp-asm.h>.
25669         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25670         comment.
25672 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25675         Use ZK to minimize writes to Z.
25676         (sub_magnitudes): Simplify code a bit.
25677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25678         Use ZK to minimize writes to Z.
25679         (sub_magnitudes): Simplify code a bit.
25681 2013-02-27  Roland McGrath  <roland@hack.frob.com>
25683         * csu/gmon-start.c: Add special exception to license text.
25685 2013-02-27  Richard Henderson  <rth@redhat.com>
25687         * scripts/config.guess: Update from config.git.
25688         * scripts/config.sub: Likewise.
25690 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25692         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25694         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25696         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25698         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25700         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25702 2013-02-26  Roland McGrath  <roland@hack.frob.com>
25704         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25705         [$(build-shared = yes].
25707 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25709         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25710         (__mul): Reduce iterations for calculating mantissa.
25712         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25713         MPTWO.
25714         (__mpranred): Likewise.
25716         [BZ #15160]
25717         * malloc/memusagestat.c (main): Draw graphs for heap and stack
25718         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25720 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
25722         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25723         Define __attribute__.
25725 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25727         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25728         unused.
25729         * posix/regex_internal.h (__attribute): Remove.
25730         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25731         (re_string_context_at): Likewise.
25732         (bitset_not): Use __attribute__ and mark function as possibly
25733         unused.
25734         (bitset_merge): Likewise.
25735         (bitset_mask): Likewise.
25736         (re_string_char_size_at): Likewise.
25737         (re_string_wchar_at): Likewise.
25738         (re_string_elem_size_at): Likewise.
25740 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25742         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25743         code.
25744         (cc32): Likewise.
25746         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25747         (__acr): Likewise.
25748         (__cpy): Likewise.
25749         (norm): Likewise.
25750         (denorm): Likewise.
25751         (__dbl_mp): Likewise.
25752         (add_magnitudes): Likewise.
25753         (sub_magnitudes): Likewise.
25754         (__mul): Likewise.
25755         (__inv): Likewise.
25757         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25758         style.
25760         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25761         style.
25763         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25764         code.
25766         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25767         up changes with default code.
25768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25769         Likewise.
25771 2013-02-24  Allan McRae  <allan@archlinux.org>
25773         * manual/socket.texi (The Internet Namespace): Order menu items
25774         to match that in the file.
25776         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25777         node listing of the info page menu.
25779 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
25781         [BZ #13550]
25782         * sysdeps/i386/bp-asm.h: Remove file.
25783         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25784         (PARMS): Do not use macros from bp-asm.h.
25785         (S1): Likewise.
25786         (S2): Likewise.
25787         (SIZE): Likewise.
25788         (__mpn_add_n): Do not use BP_SYM
25789         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25790         "bp-asm.h".
25791         (PARMS): Do not use macros from bp-asm.h.
25792         (S1): Likewise.
25793         (SIZE): Likewise.
25794         (__mpn_addmul_1): Do not use BP_SYM
25795         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25796         "bp-asm.h".
25797         (PARMS): Do not use macros from bp-asm.h.
25798         (SIGMSK): Likewise.
25799         (_setjmp): Likewise.  Do not use BP_SYM.
25800         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25801         "bp-asm.h".
25802         (PARMS): Do not use macros from bp-asm.h.
25803         (SIGMSK): Likewise.
25804         (setjmp): Likewise.  Do not use BP_SYM.
25805         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25806         "bp-asm.h".
25807         (PARMS): Do not use macros from bp-asm.h.
25808         (__frexp): Do not use BP_SYM.
25809         (frexp): Likewise.
25810         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25811         "bp-asm.h".
25812         (PARMS): Do not use macros from bp-asm.h.
25813         (__frexpf): Do not use BP_SYM.
25814         (frexpf): Likewise.
25815         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25816         "bp-asm.h".
25817         (PARMS): Do not use macros from bp-asm.h.
25818         (__frexpl): Do not use BP_SYM.
25819         (frexpl): Likewise.
25820         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25821         "bp-asm.h".
25822         (PARMS): Do not use macros from bp-asm.h.
25823         (__remquo): Do not use BP_SYM.
25824         (remquo): Likewise.
25825         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25826         "bp-asm.h".
25827         (PARMS): Do not use macros from bp-asm.h.
25828         (__remquof): Do not use BP_SYM.
25829         (remquof): Likewise.
25830         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25831         "bp-asm.h".
25832         (PARMS): Do not use macros from bp-asm.h.
25833         (__remquol): Do not use BP_SYM.
25834         (remquol): Likewise.
25835         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25836         "bp-asm.h".
25837         (PARMS): Do not use macros from bp-asm.h.
25838         (DEST): Likewise.
25839         (SRC): Likewise.
25840         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
25841         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25842         "bp-asm.h".
25843         (PARMS): Do not use macros from bp-asm.h.
25844         (strlen): Do not use BP_SYM.
25845         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25846         "bp-asm.h".
25847         (PARMS): Do not use macros from bp-asm.h.
25848         (S1): Likewise.
25849         (S2): Likewise.
25850         (SIZE): Likewise.
25851         (__mpn_add_n): Do not use BP_SYM.
25852         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25853         "bp-asm.h".
25854         (PARMS): Do not use macros from bp-asm.h.
25855         (S1): Likewise.
25856         (SIZE): Likewise.
25857         (__mpn_addmul_1): Do not use BP_SYM.
25858         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25859         weak_alias.
25860         (bzero): Likewise.
25861         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25862         "bp-asm.h".
25863         (PARMS): Do not use macros from bp-asm.h.
25864         (S): Likewise.
25865         (SIZE): Likewise.
25866         (__mpn_lshift): Do not use BP_SYM.
25867         * sysdeps/i386/i586/memcpy.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         (SRC): Likewise.
25872         (LEN): Likewise.
25873         (memcpy): Likewise.  Do not use BP_SYM.
25874         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25875         libc_hidden_def and weak_alias.
25876         (mempcpy): Do not use BP_SYM in weak_alias.
25877         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25878         "bp-asm.h".
25879         (PARMS): Do not use macros from bp-asm.h.
25880         (DEST): Likewise.
25881         (LEN): Likewise.
25882         [!BZERO_P] (CHR): Likewise.
25883         (memset): Likewise.  Do not use BP_SYM.
25884         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25885         "bp-asm.h".
25886         (PARMS): Do not use macros from bp-asm.h.
25887         (S1): Likewise.
25888         (SIZE): Likewise.
25889         (__mpn_mul_1): Do not use BP_SYM.
25890         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25891         "bp-asm.h".
25892         (PARMS): Do not use macros from bp-asm.h.
25893         (S): Likewise.
25894         (SIZE): Likewise.
25895         (__mpn_rshift): Do not use BP_SYM.
25896         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25897         "bp-asm.h".
25898         (PARMS): Do not use macros from bp-asm.h.
25899         (STR): Likewise.
25900         (CHR): Likewise.
25901         (strchr): Likewise.  Do not use BP_SYM.
25902         (index): Do not use BP_SYM in weak_alias.
25903         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25904         "bp-asm.h".
25905         (PARMS): Do not use macros from bp-asm.h.
25906         (DEST): Likewise.
25907         (SRC): Likewise.
25908         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
25909         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25910         "bp-asm.h".
25911         (PARMS): Do not use macros from bp-asm.h.
25912         (strlen): Do not use BP_SYM.
25913         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25914         "bp-asm.h".
25915         (PARMS): Do not use macros from bp-asm.h.
25916         (S1): Likewise.
25917         (S2): Likewise.
25918         (SIZE): Likewise.
25919         (__mpn_sub_n): Do not use BP_SYM.
25920         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25921         "bp-asm.h".
25922         (PARMS): Do not use macros from bp-asm.h.
25923         (S1): Likewise.
25924         (SIZE): Likewise.
25925         (__mpn_submul_1): Do not use BP_SYM.
25926         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25927         "bp-asm.h".
25928         (PARMS): Do not use macros from bp-asm.h.
25929         (S1): Likewise.
25930         (S2): Likewise.
25931         (SIZE): Likewise.
25932         (__mpn_add_n): Do not use BP_SYM.
25933         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25934         weak_alias.
25935         (bzero): Likewise.
25936         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25937         "bp-asm.h".
25938         (PARMS): Do not use macros from bp-asm.h.
25939         (BLK2): Likewise.
25940         (LEN): Likewise.
25941         (memcmp): Do not use BP_SYM.
25942         (bcmp): Do not use BP_SYM in weak_alias.
25943         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25944         "bp-asm.h".
25945         (PARMS): Do not use macros from bp-asm.h.
25946         (DEST): Likewise.
25947         (SRC): Likewise.
25948         (LEN): Likewise.
25949         (memcpy): Likewise.  Do not use BP_SYM.
25950         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25951         "bp-asm.h".
25952         (PARMS): Do not use macros from bp-asm.h.
25953         (DEST): Likewise.
25954         (SRC): Likewise.
25955         (LEN): Likewise.
25956         (memmove): Likewise.  Do not use BP_SYM.
25957         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25958         "bp-asm.h".
25959         (PARMS): Do not use macros from bp-asm.h.
25960         (DEST): Likewise.
25961         (SRC): Likewise.
25962         (LEN): Likewise.
25963         (__mempcpy): Likewise.  Do not use BP_SYM.
25964         (mempcpy): Do not use BP_SYM in weak_alias.
25965         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25966         "bp-asm.h".
25967         (PARMS): Do not use macros from bp-asm.h.
25968         (DEST): Likewise.
25969         (LEN): Likewise.
25970         [!BZERO_P] (CHR): Likewise.
25971         (memset): Likewise.  Do not use BP_SYM.
25972         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25973         "bp-asm.h".
25974         (PARMS): Do not use macros from bp-asm.h.
25975         (STR2): Likewise.
25976         (strcmp): Do not use BP_SYM.
25977         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25978         "bp-asm.h".
25979         (PARMS): Do not use macros from bp-asm.h.
25980         (STR): Likewise.
25981         (DELIM): Likewise.
25982         [USE_AS_STRTOK_R] (SAVE): Likewise.
25983         (FUNCTION): Likewise.  Do not use BP_SYM.
25984         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25985         aliases.
25986         (strtok_r): Likewise.
25987         (__GI___strtok_r): Likewise.
25988         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25989         (PARMS): Do not use macros from bp-asm.h.
25990         (S): Likewise.
25991         (SIZE): Likewise.
25992         (__mpn_lshift): Do not use BP_SYM.
25993         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25994         (PARMS): Do not use macros from bp-asm.h.
25995         (STR): Likewise.
25996         (CHR): Likewise.
25997         (__memchr): Do not use BP_SYM.
25998         (memchr): Do not use BP_SYM in weak_alias.
25999         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26000         (PARMS): Do not use macros from bp-asm.h.
26001         (BLK2): Likewise.
26002         (LEN): Likewise.
26003         (memcmp): Do not use BP_SYM.
26004         (bcmp): Do not use BP_SYM in weak_alias.
26005         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26006         (PARMS): Do not use macros from bp-asm.h.
26007         (S1): Likewise.
26008         (SIZE): Likewise.
26009         (__mpn_mul_1): Do not use BP_SYM.
26010         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26011         "bp-asm.h".
26012         (PARMS): Do not use macros from bp-asm.h.
26013         (STR): Likewise.
26014         (CHR): Likewise.
26015         (__rawmemchr): Do not use BP_SYM.
26016         (rawmemchr): Do not use BP_SYM in weak_alias.
26017         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26018         (PARMS): Do not use macros from bp-asm.h.
26019         (S): Likewise.
26020         (SIZE): Likewise.
26021         (__mpn_rshift): Do not use BP_SYM.
26022         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26023         (PARMS): Do not use macros from bp-asm.h.
26024         (SIGMSK): Likewise.
26025         (__sigsetjmp): Likewise.  Do not use BP_SYM.
26026         * sysdeps/i386/start.S: Do not include "bp-sym.h".
26027         (_start): Do not use BP_SYM.
26028         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26029         (PARMS): Do not use macros from bp-asm.h.
26030         (DEST): Likewise.
26031         (SRC): Likewise.
26032         (__stpcpy): Likewise.  Do not use BP_SYM.
26033         (stpcpy): Do not use BP_SYM in weak_alias.
26034         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26035         "bp-asm.h".
26036         (PARMS): Do not use macros from bp-asm.h.
26037         (DEST): Likewise.
26038         (SRC): Likewise.
26039         (LEN): Likewise.
26040         (__stpncpy): Likewise.  Do not use BP_SYM.
26041         (stpncpy): Do not use BP_SYM in weak_alias.
26042         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26043         (PARMS): Do not use macros from bp-asm.h.
26044         (STR): Likewise.
26045         (CHR): Likewise.
26046         (strchr): Likewise.  Do not use BP_SYM.
26047         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26048         "bp-asm.h".
26049         (PARMS): Do not use macros from bp-asm.h.
26050         (STR): Likewise.
26051         (CHR): Likewise.
26052         (__strchrnul): Likewise.  Do not use BP_SYM.
26053         (strchrnul): Do not use BP_SYM in weak_alias.
26054         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26055         "bp-asm.h".
26056         (PARMS): Do not use macros from bp-asm.h.
26057         (STOP): Likewise.
26058         (strcspn): Do not use BP_SYM.
26059         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26060         "bp-asm.h".
26061         (PARMS): Do not use macros from bp-asm.h.
26062         (STR): Likewise.
26063         (STOP): Likewise.
26064         (strpbrk): Likewise.  Do not use BP_SYM.
26065         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26066         "bp-asm.h".
26067         (PARMS): Do not use macros from bp-asm.h.
26068         (STR): Likewise.
26069         (CHR): Likewise.
26070         (strrchr): Likewise.  Do not use BP_SYM.
26071         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26072         (PARMS): Do not use macros from bp-asm.h.
26073         (SKIP): Likewise.
26074         (strspn): Do not use BP_SYM.
26075         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26076         (PARMS): Do not use macros from bp-asm.h.
26077         (STR): Likewise.
26078         (DELIM): Likewise.
26079         (SAVE): Likewise.
26080         (FUNCTION): Likewise.  Do not use BP_SYM.
26081         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26082         aliases.
26083         (strtok_r): Likewise.
26084         (__GI___strtok_r): Likewise.
26085         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26086         (PARMS): Do not use macros from bp-asm.h.
26087         (S1): Likewise.
26088         (S2): Likewise.
26089         (SIZE): Likewise.
26090         (__mpn_sub_n): Do not use BP_SYM.
26091         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26092         "bp-asm.h".
26093         (PARMS): Do not use macros from bp-asm.h.
26094         (S1): Likewise.
26095         (SIZE): Likewise.
26096         (__mpn_submul_1): Do not use BP_SYM.
26097         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26098         <bp-sym.h>.
26099         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26100         and <bp-asm.h>.
26101         (PARMS): Do not use macros from bp-asm.h.
26102         (FLAGS): Likewise.
26103         (PTID): Likewise.
26104         (TLS): Likewise.
26105         (CTID): Likewise.
26106         (__clone): Do not use BP_SYM.
26107         (clone): Do not use BP_SYM in weak_alias.
26108         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26109         and <bp-asm.h>.
26110         (PARMS): Do not use macros from bp-asm.h.
26111         (LEN): Likewise.
26112         (__mmap64): Do not use BP_SYM.
26113         (mmap64): Do not use BP_SYM in weak_alias.
26114         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26115         <bp-sym.h> and <bp-asm.h>.
26116         (PARMS): Do not use macros from bp-asm.h.
26117         (__posix_fadvise64_l64): Do not use BP_SYM.
26118         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26119         (PARMS): Do not use macros from bp-asm.h.
26120         (NSOPS): Likewise.
26121         (semtimedop): Do not use BP_SYM.
26122         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26123         and <bp-asm.h>.
26125 2013-02-21  Allan McRae  <allan@archlinux.org>
26127         * manual/message.texi (Charset conversion in gettext):
26128         Move @end statement to beginning of line.
26130 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26133         static.
26134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26135         Likewise.
26137         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26138         (denorm): Likewise.
26139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26142 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26144         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26145         tail-call to the resolved function if pltexit isn't needed.
26147 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26150         or Y being zero as being unlikely.
26151         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26152         Likewise.
26154 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26156         * manual/nss.texi (System Databases and Name Service Switch):
26157         Remove frobnicate @pxref.
26159 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26161         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26162         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26164 2013-02-20  Petr Machata  <pmachata@redhat.com>
26166         * elf/elf.h (R_ARM_TARGET1): New macro.
26167         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26168         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26169         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26170         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26171         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26172         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26173         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26174         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26175         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26176         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26177         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26178         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26179         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26180         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26181         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26182         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26183         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26184         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26185         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26186         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26187         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26188         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26189         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26190         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26191         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26192         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26193         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26194         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26195         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26196         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26197         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26198         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26199         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26200         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26201         (R_ARM_THM_GOT_BREL12): Likewise.
26202         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26203         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26204         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26205         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26206         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26207         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26208         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26209         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26210         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26212 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26214         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26215         __attribute_used__ to __attribute__ ((unused)).
26217 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26219         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26220         powerpc mpa.c.
26221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26222         comment formatting.
26223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26225 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26227         [BZ #13550]
26228         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26229         Remove macro.
26230         (ENTER): Remove both macro definitions.
26231         (LEAVE): Likewise.
26232         (CHECK_BOUNDS_LOW): Likewise.
26233         (CHECK_BOUNDS_HIGH): Likewise.
26234         (CHECK_BOUNDS_BOTH): Likewise.
26235         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26236         (RETURN_BOUNDED_POINTER): Likewise.
26237         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26238         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26239         (POP_ERRNO_LOCATION_RETURN): Likewise.
26240         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26241         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26242         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26243         macros.
26244         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26245         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26246         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26247         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26248         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26249         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26250         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26251         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26252         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26253         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26254         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26255         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26256         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26257         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26258         removed macros.
26259         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26260         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26261         macros.
26262         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26263         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26264         * sysdeps/i386/i586/memset.S (memset): Likewise.
26265         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26266         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26267         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26268         macros.
26269         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26270         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26271         Change uses of L(2) to L(out).
26272         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26273         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26274         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26275         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26276         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26277         removed macros.
26278         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26279         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26280         macros.
26281         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26282         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26283         (RETURN): Do not use macro LEAVE.
26284         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26285         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26286         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26287         * sysdeps/i386/i686/memset.S (memset): Likewise.
26288         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26289         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26290         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26291         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26292         Likewise.
26293         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26294         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26295         L(1_2) and L(1_3) into L(1).
26296         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26297         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26298         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26299         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26300         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26301         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26302         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26303         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26304         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26305         macros.
26306         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26307         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26308         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26309         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26310         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26311         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26312         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26313         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26314         * sysdeps/i386/strcspn.S (strcspn): Likewise.
26315         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26316         * sysdeps/i386/strrchr.S (strrchr): Likewise.
26317         * sysdeps/i386/strspn.S (strspn): Likewise.
26318         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26319         conditional code.
26320         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26321         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26322         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26323         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
26324         L(1_3) into L(1_1).
26325         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26326         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26327         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26328         macros.
26329         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26331 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
26333         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26334         macro.
26336 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26338         * math/atest-exp.c (exp_mpn): Remove ROUND.
26339         * math/atest-exp2.c (exp_mpn): Likewise.
26340         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26342         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26343         * stdlib/tst-tls-atexit-lib.c: Likewise.
26344         * stdlib/tst-tls-atexit.c: Likewise.
26346 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26348         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26349         and __attribute_alloc_size__.
26351 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26353         * include/programs/xmalloc.h: Change __attribute_alloc_size to
26354         __attribute_alloc_size__.
26355         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26356         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26358 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26360         * include/programs/xmalloc.h: New file.
26361         * catgets/gencat.c: Include it.
26362         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26363         * elf/pldd.c: Likewise.
26364         * iconv/iconv_charmap.c: Likewise.
26365         * iconv/iconvconfig.c: Likewise.
26366         * iconv/strtab.c: Likewise.
26367         * locale/programs/locale.c: Likewise.
26368         * locale/programs/localedef.h: Likewise.
26369         * locale/programs/simple-hash.c: Likewise.
26370         * nscd/nscd.h: Likewise.
26371         * nss/makedb.c: Likewise.
26372         * sysdeps/generic/ldconfig.h: Likewise.
26374 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26376         * Versions.def: Add GLIBC_2.18.
26377         * include/link.h (struct link_map): New member l_tls_dtor_count.
26378         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26379         (__call_tls_dtors): Likewise.
26380         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26381         __cxa_thread_atexit_impl.
26382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26383         Likewise.
26384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26385         Likewise.
26386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26387         Likewise.
26388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26389         Likewise.
26390         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26392         Likewise.
26393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26394         Likewise.
26395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26397         Likewise.
26398         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26399         (tests): Add test case tst-tls-atexit.
26400         (modules-names): Add shared library for tst-tls-atexit.
26401         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26402         (GLIBC_PRIVATE): Add __call_tls_dtors.
26403         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26404         for libstdc++.
26405         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26406         * stdlib/tst-tls-atexit.c: New test case.
26407         * stdlib/tst-tls-atexit-lib.c: New test case.
26409         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26411         * elf/Versions (ld): Add _dl_find_dso_for_object.
26412         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26413         * elf/dl-open.c (_dl_find_dso_for_object): New function.
26414         (dl_open_worker): Use _dl_find_dso_for_object.
26415         * elf/dl-sym.c (do_sym): Likewise.
26416         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26418 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26420         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26421         Syntactic changes only.
26422         (_dl_runtime_profile): Do a tail-call to the resolved function.
26424 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
26426         [BZ #13550]
26427         * sysdeps/x86_64/bp-asm.h: Remove file.
26428         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26429         <bp-sym.h> and <bp-asm.h>.
26430         (__clone): Do not use BP_SYM.
26431         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26432         <bp-sym.h> and <bp-asm.h>.
26433         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26434         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26435         "bp-asm.h".
26436         (_setjmp): Do not use BP_SYM.
26437         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26438         "bp-asm.h".
26439         (setjmp): Do not use BP_SYM.
26440         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26441         libc_hidden_def.
26442         (mempcpy): Do not use BP_SYM in weak_alias.
26443         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26444         "bp-asm.h".
26445         (strchr): Do not use BP_SYM.
26446         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26447         "bp-asm.h".
26448         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26449         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26450         (_start): Do not use BP_SYM.
26451         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26452         "bp-asm.h".
26453         (strcat): Do not use BP_SYM.
26454         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26455         "bp-asm.h".
26456         (STRCMP): Do not use BP_SYM.
26457         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26458         "bp-asm.h".
26459         (STRCPY): Do not use BP_SYM.
26460         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26461         "bp-asm.h".
26462         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26463         "bp-asm.h".
26464         (FUNCTION): Do not use BP_SYM.
26465         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26466         weak_alias.
26467         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26469 2013-02-17  Andreas Jaeger  <aj@suse.de>
26471         * time/Versions: Sort entries.
26472         * string/Versions: Likewise.
26473         * resolv/Versions: Likewise.
26474         * posix/Versions: Likewise.
26475         * iconv/Versions: Likewise.
26476         * elf/Versions: Likewise.
26477         * wcsmbs/Versions: Likewise.
26479 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26481         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26482         loop termination condition.
26484         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26485         variable to calculate EZ.
26486         (__sqr): Likewise.
26488         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26489         the lower precision input.
26491 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
26493         [BZ #13550]
26494         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26495         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26496         (run-via-rtld-prefix): Do not handle %-bp tests.
26497         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26498         (all-object-suffixes): Remove .ob.
26499         (bppfx): Remove variable.
26500         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26501         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26502         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26503         [$(build-bounded) = yes] (libtype.ob): Likewise.
26504         * Makerules (elide-routines.ob): Remove variable.
26505         (do-tests-clean): Do not handle *-bp.out.
26506         (common-mostlyclean): Do not handle *-bp and *-bp.out.
26507         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26508         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26509         (tests): Do not include $(tests-bp.out).
26510         (xtests): Do not include $(xtests-bp.out).
26511         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26512         [$(build-bounded) = yes] ($(addprefix
26513         $(objpfx),$(binaries-bounded))): Remove rule.
26514         ($(objpfx)%-bp.out): Remove rule.
26515         * config.make.in (build-bounded): Remove variable.
26516         * crypt/Makefile [$(build-bounded) = yes]
26517         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26518         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26519         append to variable.
26520         [$(build-bounded) = yes] (install-lib): Likewise.
26521         [$(build-bounded) = yes] (generated): Likewise.
26522         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26523         Remove rule.
26524         * intl/Makefile [$(build-bounded) = yes]
26525         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26526         * math/Makefile [$(build-bounded) = yes]
26527         ($(tests:%=$(objpfx)%-bp): Likewise.
26528         * misc/Makefile [$(build-bounded) = yes]
26529         ($(objpfx)tst-tsearch-bp): Likewise.
26530         * nptl/Makeconfig (bounded-thread-library): Remove variable.
26531         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26532         Remove dependency.
26533         * string/Makefile (o-objects.ob): Remove variable.
26534         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26535         (CFLAGS-.ob): Remove variable.
26536         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26537         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26538         both definitions of variable.
26539         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26540         (ASFLAGS-.ob): Remove variable.
26542 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
26544         [BZ #13550]
26545         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26546         Remove __BOUNDED_POINTERS__ from condition.
26547         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26548         * string/bits/string2.h [!__NO_STRING_INLINES &&
26549         !__BOUNDED_POINTERS__]: Likewise.
26550         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26551         Likewise.
26552         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26553         Remove conditional code.
26554         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26555         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26556         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26557         condition.
26559         [BZ #13550]
26560         * csu/libc-start.c: Do not include <bp-sym.h>.
26561         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26562         * elf/dl-open.c: Do not include <bp-sym.h>.
26563         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26564         * math/fegetenv.c: Do not include <bp-sym.h>.
26565         (fegetenv): Do not use BP_SYM in versioned symbols.
26566         * nptl/sysdeps/pthread/bits/libc-lockP.h
26567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26568         <bp-sym.h>.
26569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26570         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26572         (__pthread_mutex_destroy): Likewise.
26573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26574         (__pthread_mutex_lock): Likewise.
26575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26576         (__pthread_mutex_trylock): Likewise.
26577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26578         (__pthread_mutex_unlock): Likewise.
26579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26580         (__pthread_mutexattr_init): Likewise.
26581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26582         (__pthread_mutexattr_destroy): Likewise.
26583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26584         (__pthread_mutexattr_settype): Likewise.
26585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26586         (__pthread_rwlock_init): Likewise.
26587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26588         (__pthread_rwlock_destroy): Likewise.
26589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26590         (__pthread_rwlock_rdlock): Likewise.
26591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26592         (__pthread_rwlock_tryrdlock): Likewise.
26593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26594         (__pthread_rwlock_wrlock): Likewise.
26595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26596         (__pthread_rwlock_trywrlock): Likewise.
26597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26598         (__pthread_rwlock_unlock): Likewise.
26599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26600         (__pthread_key_create): Likewise.
26601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26602         (__pthread_setspecific): Likewise.
26603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26604         (__pthread_getspecific): Likewise.
26605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26606         Likewise.
26607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26608         (_pthread_cleanup_push_defer): Likewise.
26609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26610         (_pthread_cleanup_pop_restore): Likewise.
26611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26612         (pthread_setcancelstate): Likewise.
26613         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26614         <bp-sym.h>.
26615         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26616         (memchr): Do not use BP_SYM in weak_alias.
26617         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26618         (fegetenv): Do not use BP_SYM in versioned symbols.
26619         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26620         (fesetenv): Do not use BP_SYM in versioned symbols.
26621         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26622         (feupdateenv): Do not use BP_SYM in versioned symbols.
26623         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26624         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26625         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26626         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26627         (open64): Do not use BP_SYM in weak_alias.
26628         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26629         (fegetenv): Do not use BP_SYM in versioned symbols.
26630         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26631         (fesetenv): Do not use BP_SYM in versioned symbols.
26632         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26633         (feupdateenv): Do not use BP_SYM in versioned symbols.
26634         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26635         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26636         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26637         (feraiseexcept): Do not use BP_SYM in versioned symbols.
26638         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26639         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26640         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26641         <bp-sym.h>.
26642         (__libc_start_main): Do not use BP_SYM.
26644 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26647         redundant return line.
26648         (norm): Likewise.
26649         (denorm): Likewise.
26650         (dbl_mp): Likewise.
26651         (sub_magnitudes): Likewise.
26652         (__add): Likewise.
26653         (__sub): Likewise.
26654         (__mul): Likewise.
26655         (__inv): Likewise.
26656         (__dvd): Likewise.
26657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26658         (norm): Likewise.
26659         (denorm): Likewise.
26660         (dbl_mp): Likewise.
26661         (sub_magnitudes): Likewise.
26662         (__add): Likewise.
26663         (__sub): Likewise.
26664         (__mul): Likewise.
26665         (__inv): Likewise.
26666         (__dvd): Likewise.
26668         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26669         instead of __mul.
26670         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26671         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26672         (cc32): Likewise.
26674         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26675         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26676         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26677         of __mul for squares.
26678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26679         function
26680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26681         Likewise.
26682         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26683         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26685 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
26687         [BZ #13550]
26688         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26689         code.
26690         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26691         prototype or function definition.  Rename ubp_* variables and
26692         parameters.  Remove argv definitions conditional on
26693         [__BOUNDED_POINTERS__].
26694         * debug/backtrace.c (__backtrace): Do not use __unbounded.
26695         * elf/dl-runtime.c (_dl_fixup): Likewise.
26696         * include/set-hooks.h (RUN_HOOK): Likewise.
26697         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26698         definition.
26699         * string/strcpy.c (strcpy): Do not use __unbounded.
26700         * sysdeps/generic/frame.h (struct layout): Likewise.
26701         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26702         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26703         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26704         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26705         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26706         (__backtrace): Likewise.
26707         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26708         use __ptrvalue.
26709         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26710         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26711         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26712         Likewise.
26713         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26714         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26715         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26716         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26717         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26718         Do not use __unbounded.
26719         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26720         Rename __unboundedrlimits parameter to rlimits in prototype.
26721         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26722         Do not use __unbounded.
26723         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26724         not use __ptrvalue.
26725         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26726         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26727         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26728         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26729         __ptrvalue or __unbounded.
26730         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26731         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26732         use __unbounded.
26733         (__new_msgctl): Do not use __ptrvalue.
26734         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26735         __unbounded.
26736         (__libc_msgrcv): Do not use __ptrvalue.
26737         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26738         startup_info): Do not use __unbounded.
26739         (__libc_start_main): Likewise.  Rename ubp_* variables and
26740         parameters.  Remove argv definitions conditional on
26741         [__BOUNDED_POINTERS__].
26742         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26743         __ptrvalue.
26744         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26745         use __unbounded.
26746         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26747         or __ptrvalue.
26748         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26749         use __unbounded.
26750         (__new_shmctl): Do not use __ptrvalue.
26751         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26752         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26753         Likewise.
26754         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26755         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26756         (__libc_sigaction): Likewise.
26757         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26758         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26759         Likewise.
26760         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26762 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
26764         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26766         * string/mempcpy.c: Implement by calling memcpy.
26768 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26770         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26772         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26773         evaluation.
26775         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26776         values in the mantissa.
26778         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26779         minimize writes to Z.
26780         (sub_magnitudes): Simplify code a bit.
26782 2013-02-12  Roland McGrath  <roland@hack.frob.com>
26784         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26785         from the message.  The linker prefixes all warnings with that already.
26787 2013-02-12  Andreas Schwab  <schwab@suse.de>
26789         [BZ #15078]
26790         * posix/regexec.c (extend_buffers): Add parameter min_len.
26791         (check_matching): Pass minimum needed length.
26792         (clean_state_log_if_needed): Likewise.
26793         (get_subexp): Likewise.
26794         * posix/Makefile (tests): Add bug-regex34.
26795         (bug-regex34-ENV): Define.
26796         * posix/bug-regex34.c: New file.
26798         [BZ #11561]
26799         * posix/regcomp.c (parse_bracket_exp): When looking up collating
26800         elements compare against the byte sequence of it, not its name.
26801         * posix/Makefile (tests): Add bug-regex35.
26802         (bug-regex35-ENV): Define.
26803         * posix/bug-regex35.c: New file.
26805 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26807         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
26808         comment.
26809         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26810         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26811         (CHECK_EOL): Add undef.
26813 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
26815         * bits/stdlib-bsearch.h: New file.
26816         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26817         * stdlib/stdlib.h: Likewise.
26819 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26821         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26822         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26823         declaration.
26824         * manual/search.texi (Array Search Function): Add missing const in
26825         lfind prototype.
26826         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26827         declaration to use rlim_t.
26828         (Basic Scheduling Functions): Remove erroneous const from
26829         sched_getparam prototype.  Remove erroneous * from
26830         sched_get_priority_max and sched_get_priority_min prototypes.
26831         (Resource Usage): Fix summary @comment on vtimes to refer to
26832         sys/vtimes.h rather than vtimes.h.
26833         Add missing *s in vtimes prototype.
26834         (Limits on Resources): Fix ulimit prototype to return long int.
26835         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26836         prototypes to use long int rather than double.
26837         (BSD Random): Fix initstate and setstate to use char *, not void *.
26838         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26839         prototype to make second argument 'struct aiocb64 *const[]'.
26840         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26841         (Status of AIO Operations): Remove erroneous const in aio_return and
26842         aio_return64 prototypes.
26843         (Synchronizing I/O): Fix sync prototype to return void.
26844         * manual/startup.texi (Suboptions): Remove an erroneous const in
26845         getsubopt prototype.
26846         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26847         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26848         use size_t rather than int.
26849         (Scanning All Users): Likewise for getpwent_r.
26850         (Setting Groups): Add missing const to setgroups prototype.
26851         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26852         * manual/socket.texi (Host Names): Fix gethostbyaddr and
26853         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26854         'const void *' rather than 'const char *'.
26855         (Host Address Functions): Likewise for inet_ntop.
26856         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26857         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26858         ssize_t for return value.
26859         (Sending Data): Likewise for send, sendto, sendmsg.
26860         (Socket Option Functions): Add a missing const in setsockopt prototype.
26861         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26862         use wchar_t for the argument.
26863         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26864         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26865         take no arguments.
26866         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26867         double/float/long double for second argument.
26868         Fix return types of significand, significandf, significandl.
26869         * manual/filesys.texi (Setting Permissions): Use mode_t for second
26870         argument in fchmod prototype.
26871         (File Owner): Use uid_t and gid_t in fchown prototype.
26872         (File Times): Add const to utimes, futimes, and lutimes prototypes.
26873         (Making Special Files): Use mode_t and dev_t in mknod prototype.
26874         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26875         use 'const struct dirent **' as argument types to CMP function pointer
26876         argument.
26877         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26878         (File Times): Fix summary magic @comment for struct utimbuf and utime
26879         to refer to utime.h, not time.h.
26880         * manual/string.texi (Argz Functions): Add missing const in
26881         argz_extract and argz_next prototypes.
26882         (Finding Tokens in a String): Likewise for basename.
26883         (String/Array Comparison): Fix typo in wcscasecmp prototype.
26884         (Copying and Concatenation): Fix typo in wmemmove prototype.
26885         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26886         (Signal Stack): Remove erroneous const in sigstack prototype.
26887         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26888         prototype.
26889         (Simple Calendar Time): Likewise for stime.
26890         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26891         prototype.
26892         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26893         say sys/sysctl.h instead.
26894         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26895         and vsyslog prototypes.
26897 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26899         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26900         Remove.
26902 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26904         * misc/sys/mman.h: Fix typo in mremap comment.
26906 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26908         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26909         the '\0' terminator.
26911 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26913         [BZ #13550]
26914         * debug/segfault.c: Don't include <bp-checks.h>.
26915         * sysdeps/generic/bp-checks.h: Remove file.
26916         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26917         (__GETDENTS): Don't use CHECK_N.
26918         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26919         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26920         (__getgroups): Don't use CHECK_N.
26921         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26922         (setgroups): Don't use CHECK_N.
26923         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26924         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26925         (__libc_msgrcv): Don't use CHECK_N.
26926         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26927         (__libc_msgsnd): Don't use CHECK_N.
26928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26929         <bp-checks.h>.
26930         (__libc_pread): Don't use CHECK_N.
26931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26932         include <bp-checks.h>.
26933         (__libc_pread64): Don't use CHECK_N.
26934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26935         include <bp-checks.h>.
26936         (__libc_pwrite): Don't use CHECK_N.
26937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26938         include <bp-checks.h>.
26939         (__libc_pwrite64): Don't use CHECK_N.
26940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26941         <bp-checks.h>.
26942         (__libc_pread): Don't use CHECK_N.
26943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26944         include <bp-checks.h>.
26945         (__libc_pread64): Don't use CHECK_N.
26946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26947         include <bp-checks.h>.
26948         (__libc_pwrite): Don't use CHECK_N.
26949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26950         include <bp-checks.h>.
26951         (__libc_pwrite64): Don't use CHECK_N.
26952         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26953         (do_pread): Don't use CHECK_N.
26954         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26955         (do_pread64): Don't use CHECK_N.
26956         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26957         (do_pwrite): Don't use CHECK_N.
26958         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26959         (do_pwrite64): Don't use CHECK_N.
26960         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26961         (__libc_readv): Don't use CHECK_N.
26962         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26963         (semop): Don't use CHECK_N.
26964         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26965         <bp-checks.h>.
26966         (semtimedop): Don't use CHECK_N.
26967         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26968         (__libc_pread): Don't use CHECK_N.
26969         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26970         <bp-checks.h>.
26971         (__libc_pread64): Don't use CHECK_N.
26972         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26973         <bp-checks.h>.
26974         (__libc_pwrite): Don't use CHECK_N.
26975         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26976         <bp-checks.h>.
26977         (__libc_pwrite64): Don't use CHECK_N.
26978         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26979         <bp-checks.h>.
26980         (__libc_msgrcv): Don't use CHECK_N.
26981         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26982         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
26983         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26984         (__libc_writev): Don't use CHECK_N.
26986 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26988         * string/strcpy.c: Removed unused variable.
26990         * Makeconfig (+sysdep-includes): Define with := rather than =.
26991         Use an existing include/ subdir of each sysdeps dir before it.
26993 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26995         * nscd/connection.c (register_traced_file): Comment function.
26996         [HAVE_INOTIFY] (union __inev): Define.
26997         [HAVE_INOTIFY] (inotify_check_files): New function.
26998         [HAVE_INOTIFY] (clear_db_cache): Likewise.
26999         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27000         clear_db_cache.
27001         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27003 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27005         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27006         loaded if not already and that a failure is permanent.
27008 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27010         [BZ #15006]
27011         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27012         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27014 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27016         [BZ #13550]
27017         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27018         (CHECK_1_NULL_OK): Likewise.
27019         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27020         (__fxstat): Do not use CHECK_1.
27021         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27022         <bp-checks.h>.
27023         (___fxstat64): Do not use CHECK_1.
27024         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27025         <bp-checks.h>.
27026         (__fxstatat): Do not use CHECK_1.
27027         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27028         <bp-checks.h>.
27029         (__fxstatat64): Do not use CHECK_1.
27030         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27031         <bp-checks.h>.
27032         (__fxstat): Do not use CHECK_1.
27033         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27034         <bp-checks.h>.
27035         (__fxstatat): Do not use CHECK_1.
27036         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27037         <bp-checks.h>.
27038         (__getresgid): Do not use CHECK_1.
27039         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27040         <bp-checks.h>.
27041         (__getresuid): Do not use CHECK_1.
27042         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27043         <bp-checks.h>.
27044         (__lxstat): Do not use CHECK_1.
27045         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27046         <bp-checks.h>.
27047         (__old_msgctl): Do not use CHECK_1.
27048         (__new_msgctl): Likewise.
27049         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27050         <bp-checks.h>.
27051         (__new_setrlimit): Do not use CHECK_1.
27052         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27053         <bp-checks.h>.
27054         (__old_shmctl): Do not use CHECK_1.
27055         (__new_shmctl): Likewise.
27056         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27057         <bp-checks.h>.
27058         (__xstat): Do not use CHECK_1.
27059         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27060         (__lxstat): Do not use CHECK_1.
27061         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27062         <bp-checks.h>.
27063         (___lxstat64): Do not use CHECK_1.
27064         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27065         (__old_msgctl): Do not use CHECK_1.
27066         (__new_msgctl): Likewise.
27067         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27068         <bp-checks.h>.
27069         (__gettimeofday): Do not use CHECK_1.
27070         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27071         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27072         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27073         <bp-checks.h>.
27074         (__gettimeofday): Do not use CHECK_1.
27075         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27076         (__old_shmctl): Do not use CHECK_1_NULL_OK.
27077         (__new_shmctl): Do not use CHECK_1.
27078         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27079         <bp-checks.h>.
27080         (do_sigtimedwait): Do not use CHECK_1.
27081         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27082         <bp-checks.h>.
27083         (do_sigwaitinfo): Do not use CHECK_1.
27084         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27085         <bp-checks.h>.
27086         (msgctl): Do not use CHECK_1.
27087         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27088         <bp-checks.h>.
27089         (shmctl): Do not use CHECK_1.
27090         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27091         (ustat): Do not use CHECK_1.
27092         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27093         <bp-checks.h>.
27094         (__fxstat): Do not use CHECK_1.
27095         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27096         <bp-checks.h>.
27097         (__fxstatat): Do not use CHECK_1.
27098         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27099         <bp-checks.h>.
27100         (__lxstat): Do not use CHECK_1.
27101         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27102         <bp-checks.h>.
27103         (__xstat): Do not use CHECK_1.
27104         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27105         (__xstat): Do not use CHECK_1.
27106         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27107         (___xstat64): Do not use CHECK_1.
27109         [BZ #13550]
27110         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27111         definitions.
27112         (CHECK_BOUNDS_HIGH): Likewise.
27113         * string/strcpy.c: Do not include <bp-checks.h>.
27114         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27116 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27118         * nscd/nscd-client.h (__nscd_drop_map_ref):
27119         Add __attribute__ ((unused)).
27120         * nis/nss-nisplus.h (niserr2nss): Likewise.
27122         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27123         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27125         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27126         Remove inline keyword.
27127         * include/rounding-mode.h (round_away): Likewise.
27128         * libio/wfileops.c (adjust_wide_data): Likewise.
27129         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27130         (__m128i_strloadu_tolower): Likewise.
27131         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27132         (__m128i_strloadu_tolower): Likewise.
27133         * time/mktime.c (ydhms_diff): Likewise.
27134         * locale/elem-hash.h (elem_hash): Likewise.
27135         * locale/setlocale.c (setdata): Likewise.
27136         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27137         (re_string_wchar_at): Likewise.
27138         (bitset_not, bitset_merge, bitset_mask): Likewise.
27139         [!(__GNUC__ > 3)] (inline): Remove macro.
27140         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27141         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27142         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27143         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27144         * string/memcmp.c (memcmp_bytes): Likewise.
27145         * locale/programs/locarchive.c (compute_hashval): Likewise.
27146         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27147         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27148         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27149         * nss/getent.c (print_rpc, print_protocols): Likewise.
27150         (print_passwd, print_group, print_aliases): Likewise.
27151         * nis/nss-nisplus.h (niserr2nss): Likewise.
27152         * nscd/connections.c (restart_p): Likewise.
27153         Change return type to bool.
27155 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27157         * Makeconfig (all-Depend-files): Add existing
27158         $(sorted-subdirs:=/Depend) files.
27159         (all-subdirs): Remove nss.
27160         * sysdeps/unix/inet/Subdirs: Add it here instead.
27161         * hesiod/Depend: New file.
27163         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27164         instead of calling alloca.
27166         * io/lseek.c (__lseek): Rename to __libc_lseek.
27167         Define __lseek as an alias.
27169         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27171 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27173         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27174         else clause and remove check for non-standard endianness.
27176 2013-02-04  David S. Miller  <davem@davemloft.net>
27178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27180 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27182         [BZ #13550]
27183         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27184         (__ubp_memchr): Remove prototype.
27185         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27186         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27187         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27188         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27189         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27190         Remove alias.
27191         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27192         (__ubp_memchr): Likewise.
27193         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27194         (__ubp_memchr): Likewise.
27195         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27196         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27197         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27198         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27199         CHECK_STRING.
27200         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27201         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27202         (__getcwd): Do not use CHECK_STRING.
27203         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27204         <bp-checks.h>.
27205         (__real_chown): Do not use CHECK_STRING.
27206         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27207         <bp-checks.h>.
27208         (fchownat): Do not use CHECK_STRING.
27209         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27210         CHECK_STRING.
27211         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27212         <bp-checks.h>.
27213         (__lchown): Do not use CHECK_STRING.
27214         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27215         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27216         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27217         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27219         include <bp-checks.h>.
27220         (truncate64): Do not use CHECK_STRING.
27221         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27222         <bp-checks.h>.
27223         (__real_chown): Do not use CHECK_STRING.
27224         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27225         <bp-checks.h>.
27226         (__lchown): Do not use CHECK_STRING.
27227         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27228         <bp-checks.h>.
27229         (__chown): Do not use CHECK_STRING.
27230         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27231         <bp-checks.h>.
27232         (truncate64): Do not use CHECK_STRING.
27233         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27234         Likewise.
27235         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27236         (__xmknod): Do not use CHECK_STRING.
27237         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27238         <bp-checks.h>.
27239         (__xmknodat): Do not use CHECK_STRING.
27240         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27241         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27243 2013-02-04  Andreas Schwab  <schwab@suse.de>
27245         [BZ #14142]
27246         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27247         * include/netdb.h: Likewise for h_errno.
27248         * elf/tst-stackguard1.c: Include <tls.h>.
27250 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27252         * elf/link.h (struct link_map): Extend the l_addr comment.
27253         * include/link.h (struct link_map): Likewise.
27255 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27257         [BZ #13550]
27258         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27259         (BOUNDED_1): Remove macro.
27260         * debug/backtrace.c: Don't include <bp-checks.h>.
27261         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27262         (__backtrace): Likewise.
27263         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27264         <bp-checks.h>.
27265         (__backtrace): Don't use BOUNDED_1.
27266         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27267         <bp-checks.h>.
27268         (__backtrace): Don't use BOUNDED_1.
27269         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27270         (__backtrace): Don't use BOUNDED_1.
27271         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27272         (shmat): Don't use BOUNDED_N.
27274 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27276         [BZ #13550]
27277         * sysdeps/generic/bp-start.h: Remove file.
27278         * csu/libc-start.c: Don't include <bp-start.h>.
27279         (LIBC_START_MAIN): Set up __environ directly instead of using
27280         INIT_ARGV_and_ENVIRON.
27281         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27282         <bp-start.h>.
27284         [BZ #13550]
27285         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27286         definitions.
27287         (CHECK_FCNTL): Likewise.
27288         (CHECK_N_PAGES): Likewise.
27290         [BZ #13550]
27291         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27292         definitions.
27293         (CHECK_SIGSET_NULL_OK): Likewise.
27294         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27295         <bp-checks.h>.
27296         (sigpending): Don't use CHECK_SIGSET.
27297         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27298         <bp-checks.h>.
27299         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27300         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27301         <bp-checks.h>.
27302         (do_sigsuspend): Don't use CHECK_SIGSET.
27303         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27304         use CHECK_SIGSET.
27305         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27306         (do_sigwait): Don't use CHECK_SIGSET.
27307         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27308         use CHECK_SIGSET.
27309         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27310         include <bp-checks.h>.
27311         (sigpending): Don't use CHECK_SIGSET.
27312         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27313         include <bp-checks.h>.
27314         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27315         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27316         <bp-checks.h>.
27317         (sigpending): Don't use CHECK_SIGSET.
27318         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27319         <bp-checks.h>.
27320         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27322         [BZ #13550]
27323         * sysdeps/generic/bp-semctl.h: Remove file.
27324         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27325         <bp-checks.h> and <bp-semctl.h>.
27326         (__old_semctl): Don't use CHECK_SEMCTL.
27327         (__new_semctl): Likewise.
27328         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27329         and <bp-semctl.h>.
27330         (__old_semctl): Don't use CHECK_SEMCTL.
27331         (__new_semctl): Likewise.
27332         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27333         <bp-checks.h> and <bp-semctl.h>.
27334         (__old_semctl): Don't use CHECK_SEMCTL.
27335         (__new_semctl): Likewise.
27336         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27337         <bp-checks.h> and <bp-semctl.h>.
27338         (semctl): Don't use CHECK_SEMCTL.
27340         [BZ #13550]
27341         * Makerules (elide-bp-thunks): Remove variable.
27342         (elide-routines.oS): Don't use $(elide-bp-thunks).
27343         (elide-routines.os): Likewise.
27344         (elide-routines.o): Likewise.
27345         (elide-routines.op): Likewise.
27346         (elide-routines.og): Likewise.
27347         (objects): Don't use $(bp-thunks).
27348         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27349         include.
27350         (common-generated): Do not add s-proto-bp.d.
27351         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27352         (int): Likewise.
27353         (typ): Likewise.
27354         Do not generate makefile rules for bounded-pointer thunks.
27355         * sysdeps/generic/bp-thunks.h: Remove file.
27356         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27357         * sysdeps/unix/s-proto-bp.S: Likewise.
27359         [BZ #15062]
27360         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27361         parts of result separately when argument is not close to line from
27362         -i to i and one part of argument is small.
27363         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27364         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27365         * math/libm-test.inc (cacos_test): Add more tests.
27366         (casin_test): Likewise.
27367         (casinh_test): Likewise.
27368         * sysdeps/i386/fpu/libm-test-ulps: Update.
27369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27371 2013-01-31  David S. Miller  <davem@davemloft.net>
27373         * po/de.po: Update from translation team.
27375 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
27377         * time/tzfile.c: Include stdint.h for SIZE_MAX.
27379 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
27381         * configure.in (_AC_PROG_CC_C89): New definition.
27382         * configure: Regenerate.
27384         * configure.in (AC_PROG_CPP): New definition.
27385         * configure: Regenerate.
27387 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27389         * debug/tst-backtrace.h: New file.
27390         * debug/tst-backtrace2.c: Include tst-backtrace.h.
27391         (ret): Remove variable.
27392         (x): Likewise.
27393         (FAIL): Remove macro.
27394         (NO_INLINE): Likewise.
27395         (fn1): Use match function instead of strstr.
27396         * debug/tst-backtrace3.c: Include tst-backtrace.h.
27397         (ret): Remove variable.
27398         (x): Likewise.
27399         (FAIL): Remove macro.
27400         (NO_INLINE): Likewise.
27401         (fn): Use match function instead of strstr.
27402         * debug/tst-backtrace4.c: Include tst-backtrace.h.
27403         (ret): Remove variable.
27404         (x): Likewise.
27405         (FAIL): Remove macro.
27406         (NO_INLINE): Likewise.
27407         (handle_signal): Use match function instead of strstr.
27408         * debug/tst-backtrace5.c: Include tst-backtrace.h.
27409         (ret): Remove variable.
27410         (x): Likewise.
27411         (FAIL): Remove macro.
27412         (NO_INLINE): Likewise.
27413         (handle_signal): Use match function instead of strstr.
27415 2013-01-23  Roland McGrath  <roland@hack.frob.com>
27417         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27419 2013-01-23  David S. Miller  <davem@davemloft.net>
27421         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27422         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27423         argument of CAS if possible.
27424         * sysdeps/sparc/sparc64/bits/atomic.h
27425         (__arch_compare_and_exchange_val_32_acq): Likewise.
27426         (__arch_compare_and_exchange_val_64_acq): Likewise.
27428 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
27430         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27431         * sysdeps/posix/ulimit.c: ... this.
27432         Include <limits.h>.
27433         * sysdeps/unix/bsd/ulimit.c: Remove file.
27435 2013-01-23  Adam Conrad  <adconrad@0c3.net>
27437         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27438         (LDFLAGS-tst-array5): Likewise.
27440 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27442         [BZ #15036]
27443         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27444         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27445         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27446         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27448 2013-01-21  David S. Miller  <davem@davemloft.net>
27450         * sysdeps/sparc/backtrace.c: New file.
27451         * sysdeps/sparc/sparc32/backtrace.h: New file.
27452         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27453         * sysdeps/sparc/sparc64/backtrace.h: New file.
27454         * sysdeps/sparc/sparc64/backtrace.c: Delete.
27455         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27456         -funwind-tables.
27458 2013-01-21  Andreas Schwab  <schwab@suse.de>
27460         [BZ #15020]
27461         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27462         closed its stdout.
27464 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
27466         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27467         "mpa2.h".
27468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27470 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
27471             Mark Mitchell  <mark@codesourcery.com>
27472             Tom de Vries  <tom@codesourcery.com>
27473             Paul Pluzhnikov  <ppluzhnikov@google.com>
27475         * debug/tst-backtrace2.c: New file.
27476         * debug/tst-backtrace3.c: Likewise.
27477         * debug/tst-backtrace4.c: Likewise.
27478         * debug/tst-backtrace5.c: Likewise.
27479         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27480         (CFLAGS-tst-backtrace3.c): Likewise.
27481         (CFLAGS-tst-backtrace4.c): Likewise.
27482         (CFLAGS-tst-backtrace5.c): Likewise.
27483         (LDFLAGS-tst-backtrace2): Likewise.
27484         (LDFLAGS-tst-backtrace3): Likewise.
27485         (LDFLAGS-tst-backtrace4): Likewise.
27486         (LDFLAGS-tst-backtrace5): Likewise.
27487         (tests): Add new tests tst-backtrace2, tst-backtrace3,
27488         tst-backtrace4 and tst-backtrace5.
27490 2013-01-18  Anton Blanchard  <anton@samba.org>
27491             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27493         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27494         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27495         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27496         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27498         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27499         "+r" and remove output regs list as redundant.  Add explicit inline
27500         asm to specify register of return val to work around compiler codegen
27501         bug.  Remove (int) cast on return value.  Add return type parameter to
27502         use in macro so that this macro does not truncate return value for
27503         64-bit values.
27504         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27505         pass to INTERNAL_VSYSCALL_NCS.
27506         (INLINE_VSYSCALL): Add 'long int' as return type to
27507         INTERNAL_VSYSCALL_NCS macro invocation.
27508         (INTERNAL_VSYSCALL): Add 'long int' as return type to
27509         INTERNAL_VSYSCALL_NCS macro invocation.
27510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27512 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27514         [BZ #14496]
27515         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27516         Fix application of SIMD FP exception mask.
27518         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27519         mp_no from a power of two.
27520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27521         __mpexp_twomm1.  Use __pow_mp.
27523         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27524         multiplication.
27526 2013-01-17  David S. Miller  <davem@davemloft.net>
27528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27530 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27532         [BZ #15023]
27533         * include/complex.h: Condition contents on [!_COMPLEX_H].
27534         (__kernel_casinhf): New prototype.
27535         (__kernel_casinh): Likewise.
27536         (__kernel_casinhl): Likewise.
27537         * math/Makefile (libm_calls): Add k_casinh.
27538         * math/k_casinh.c: New file.
27539         * math/k_casinhf.c: Likewise.
27540         * math/k_casinhl.c: Likewise.
27541         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27542         finite nonzero arguments.
27543         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27544         finite nonzero arguments.
27545         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27546         finite nonzero arguments.
27547         * math/s_casinh.c: Do not include <float.h>.
27548         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27549         * math/s_casinhf.c: Do not include <float.h>.
27550         (__casinhf): Move code for finite nonzero arguments to
27551         k_casinhf.c.
27552         * math/s_casinhl.c: Do not include <float.h>.
27553         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27554         redefine.
27555         (__casinhl): Move code for finite nonzero arguments to
27556         k_casinhl.c.
27557         * math/libm-test.inc (cacos_test): Add more tests.
27558         * sysdeps/i386/fpu/libm-test-ulps: Update.
27559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27561 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
27563         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27564         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27565         [!HAVE_MREMAP]: Remove [defined linux] case.
27566         * malloc/arena.c: Do not include <malloc-sysdep.h>.
27568 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27570         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27572 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
27574         * elf/elf.h (R_386_SIZE32): New relocation.
27575         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27576         R_386_SIZE32.
27577         (elf_machine_rela): Likewise.
27578         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27579         R_X86_64_SIZE64 and R_X86_64_SIZE32.
27581 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27583         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27584         (FP_FAST_FMA): Do not define.
27585         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27586         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27587         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27588         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27589         !_SOFT_FLOAT]: Likewise.
27590         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27591         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27592         value.
27593         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27594         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27595         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27596         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27597         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27598         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27599         file.
27601 2013-01-16  Andreas Schwab  <schwab@suse.de>
27603         [BZ #14327]
27604         * include/stdlib.h (__mktemp): Add declaration.
27605         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27606         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27608 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27610         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27611         definitions.
27612         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27613         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27614         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27615         definitions here.
27616         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27617         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27618         definitions.
27619         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27620         and ONE.
27621         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27622         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27623         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27624         definitions.
27625         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27626         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27627         definitions.
27628         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27630         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27632 2013-01-15  David S. Miller  <davem@davemloft.net>
27634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27635         trunc{,f} to libm-sysdep_routes.
27636         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27638         file.
27639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27641         file.
27642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27643         file.
27644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27646         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27647         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27648         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27649         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27650         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27651         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27654         nearbyint{,f} to libm-sysdep_routes.
27655         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27657         New file.
27658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27659         file.
27660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27661         New file.
27662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27663         file.
27664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27666         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27667         file.
27668         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27669         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27670         file.
27671         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27672         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27673         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27675         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27676         libc_feholdexcept and libc_fesetenv.
27678 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
27680         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27682 2013-01-14  David S. Miller  <davem@davemloft.net>
27684         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27685         (SPARC_ASM_VIS2_IFUNC): Likewise.
27686         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27688         use of 'siam' instruction.
27689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27690         Likewise.
27691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27692         Likewise.
27693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27694         Likewise.
27695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27696         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27697         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27698         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27700         file.
27701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27702         file.
27703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27704         file.
27705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27706         file.
27707         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27708         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27712         new VIS2 routines.
27713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27716         Likewise.
27717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27722         routines to libm-sysdep_routines.
27723         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27726         fdim/fdimf to libm-sysdep_routines.
27727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27728         file.
27729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27731         file.
27732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27735         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27736         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27737         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27738         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27740 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27742         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27743         to optimize copies.
27745         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27750         local variable MPTWO.
27751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27752         Likewise.
27754 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27756         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27757         GLOB_NOESCAPE.
27759 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27761         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27763 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27765         * manual/pattern.texi (glob_t): Document gl_flags.
27766         (glob64_t): Likewise.
27768 2013-01-11  David S. Miller  <davem@davemloft.net>
27770         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27771         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27772         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
27773         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27774         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27775         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27776         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27777         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27778         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27779         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27780         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27781         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27782         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27784         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27785         sparc V9 rather than using V8 code.
27786         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27787         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27789         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27790         Move to...
27791         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27792         Here.
27794 2013-01-11  Roland McGrath  <roland@hack.frob.com>
27796         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27797         not in the main loop.
27798         * configure: Regenerated.
27800 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
27802         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27803         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27804         to just #else.
27805         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
27806         [!__GLIBC_HAVE_LONG_LONG] case.
27807         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27808         condition to just #else.
27809         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27810         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27811         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27812         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27813         unconditional.
27814         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27815         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27816         #elif condition to just #else.
27817         * sysdeps/unix/sysv/linux/sys/sysmacros.h
27818         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27819         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27820         #elif condition to just #else.
27822 2013-01-11  Steve Ellcey  <sellcey@mips.com>
27824         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27825         (EF_MIPS_ARCH_64): Fix value.
27826         (EF_MIPS_ARCH_32R2): New.
27827         (EF_MIPS_ARCH_64R2): New.
27829 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
27831         * Makeconfig (+link-pie-before-libc): New.
27832         (+link-pie-after-libc): Likewise.
27833         (+link-pie-tests): Likewise.
27834         (+link-pie): Rewritten.
27835         (link-before-libc): Remove $(config-LDFLAGS).
27836         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27837         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27838         (config-LDFLAGS): Renamed to ...
27839         (rtld-LDFLAGS): This.
27840         (rtld-tests-LDFLAGS): New macro.
27841         (link-libc-rpath-link): Likewise.
27842         (link-libc-tests-rpath-link): Likewise.
27843         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27844         (link-libc): Prepand $(link-libc-rpath-link).
27845         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27846         (test-program-prefix): New macro.
27847         (test-via-rtld-prefix): Likewise.
27848         (test-program-cmd): Likewise.
27849         (host-test-program-cmd): Likewise.
27850         * Makefile ($(common-objpfx)testrun.sh): Replace
27851         $(run-program-prefix) with $(test-program-prefix).
27852         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27853         $(rtld-LDFLAGS).
27854         ($(common-objpfx)shlib.lds): Likewise.
27855         (build-module-helper): Likewise.
27856         ($(common-objpfx)format.lds): Likewise.
27857         * Rules (binaries-pie-tests): New.
27858         (binaries-pie-notests): Likewise.
27859         (binaries-pie): Rewritten.
27860         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27861         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27862         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27863         (make-test-out): Replace $(host-built-program-cmd) with
27864         $(host-test-program-cmd).
27865         * config.make.in (build-hardcoded-path-in-tests): New variable.
27866         * configure.in (--enable-hardcoded-path-in-tests): New configure
27867         option.
27868         (hardcoded_path_in_tests): New AC_SUBST.
27869         * configure: Regenerated.
27870         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27871         $(built-program-cmd) with $(test-program-cmd).
27872         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27873         (test_program_cmd): This.
27874         * elf/Makefile ($(objpfx)order.out): Run test with
27875         $(test-program-prefix).
27876         ($(objpfx)order2.out): Likewise.
27877         ($(objpfx)tst-initorder.out): Likewise.
27878         ($(objpfx)tst-initorder2.out): Likewise.
27879         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27880         $(test-program-cmd).
27881         ($(objpfx)tst-array1-static.out): Likewise.
27882         ($(objpfx)tst-array2.out): Likewise.
27883         ($(objpfx)tst-array3.out): Likewise.
27884         ($(objpfx)tst-array4.out): Likewise.
27885         ($(objpfx)tst-array5.out): Likewise.
27886         ($(objpfx)tst-array5-static.out): Likewise.
27887         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27888         $(test-program-cmd).
27889         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27890         $(run-program-prefix) with $(test-program-prefix).
27891         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27892         (test_program_prefix): This.
27893         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27894         $(run-program-prefix) with $(test-program-prefix).
27895         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27896         (test_program_prefix): This.
27897         * iconvdata/tst-tables.sh: Likewise.
27898         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27899         $(run-program-prefix) with $(test-program-prefix).
27900         ($(objpfx)tst-translit.out): Likewise.
27901         ($(objpfx)tst-gettext2.out): Likewise.
27902         ($(objpfx)tst-gettext4.out): Likewise.
27903         ($(objpfx)tst-gettext6.out): Likewise.
27904         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27905         (test_program_prefix): This.
27906         * intl/tst-gettext2.sh: Likewise.
27907         * intl/tst-gettext4.sh  Likewise.
27908         * intl/tst-gettext6.sh: Likewise.
27909         * intl/tst-translit.sh: Likewise.
27910         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27911         with $(test-program-cmd).
27912         * libio/Makefile ($(objpfx)test-freopen.out): Replace
27913         $(run-program-prefix) with $(test-program-prefix).
27914         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27915         (test_program_prefix): This.
27916         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27917         $(run-program-prefix) with $(test-program-prefix).
27918         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27919         (test_program_prefix): This.
27920         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27921         * posix/Makefile ($(objpfx)globtest.out): Replace
27922         $(run-via-rtld-prefix) and $(test-wrapper) with
27923         $(test-program-prefix) and $(test-via-rtld-prefix).
27924         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27925         $(test-program-prefix).
27926         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27927         $(host-test-program-cmd).
27928         (tst-spawn-ARGS): Likewise.
27929         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27930         $(test-program-prefix).
27931         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27932         (test_via_rtld_prefix): This.
27933         (test_wrapper): Renamed to ...
27934         (test_program_prefix): This.
27935         (run_program_prefix): Replaced by test_program_prefix.
27936         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27937         (test_program_prefix): This.
27938         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27939         with $(host-test-program-cmd).
27940         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27941         $(run-program-prefix) with $(test-program-prefix).
27942         ($(objpfx)tst-printf.out): Likewise.
27943         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27944         $(test-program-cmd).
27945         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27946         (test_program_prefix): This.
27947         * stdio-common/tst-unbputc.sh: Likewise.
27948         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27949         $(run-program-prefix) with $(test-program-prefix).
27950         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27951         (test_program_prefix): This.
27952         * string/Makefile ($(objpfx)tst-svc.out):  Replace
27953         $(built-program-cmd) with $(test-program-cmd).
27955 2013-01-11  Andreas Jaeger  <aj@suse.de>
27957         [BZ #15003]
27958         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27959         value. Sync with Linux 3.7.
27961 2013-01-10  David S. Miller  <davem@davemloft.net>
27963         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27964         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27965         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27967 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27969         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27970         never set.
27971         * configure: Regenerated.
27973 2013-01-10  David S. Miller  <davem@davemloft.net>
27975         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27976         sparc V9 rather than using V8 code.
27977         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27978         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27980 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27982         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27983         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27984         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27985         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27986         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27987         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27988         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27989         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27990         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27991         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27992         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27993         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27994         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27995         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27996         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27997         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27998         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27999         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28000         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28001         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28002         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28003         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28004         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28005         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28006         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28007         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28008         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28010 2013-01-10  David S. Miller  <davem@davemloft.net>
28012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28014 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28016         * posix/Makefile (tests-static): New variable.
28017         (tests): Add $(tests-static).
28018         (tst-exec-static-ARGS): New variable.
28019         (tst-spawn-static-ARGS): Likewise.
28020         * posix/tst-exec-static.c: New file.
28021         * posix/tst-spawn-static.c: Likewise.
28022         * posix/tst-exec.c: Support run directly.
28023         * posix/tst-spawn.c: Likewise.
28025 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
28027         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28028         long.
28029         * math/bits/mathcalls.h (llrint): Likewise.
28030         (llround): Likewise.
28031         * stdlib/stdlib.h (struct drand48_data): Likewise.
28032         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28033         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28034         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28035         Likewise.
28036         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28037         Likewise.
28038         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28039         (elf_greg_t): Likewise.
28040         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28041         (__jmp_buf): Likewise.
28042         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28043         definitions.
28044         (llrint): Likewise, for all definitions.
28045         (llrintl): Likewise.
28047         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28048         Remove [__GNUC__] condition.
28049         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28050         condition to just [__USE_ISOC99].
28051         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28053 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28055         [BZ #14200]
28056         * sysdeps/unix/sysv/linux/x86/bits/environments.h
28057         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28058         defined.
28059         (_POSIX_V6_ILP32_OFF32): Likewise.
28060         (_XBS5_ILP32_OFF32): Likewise.
28061         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28062         (__ILP32_OFFBIG_LDFLAGS): Likewise.
28064 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28066         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28069         doubles __mpexp_twomm1.  Adjust usage.
28070         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28071         Remove.
28073 2013-01-10  Andreas Schwab  <schwab@suse.de>
28075         [BZ #14964]
28076         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28077         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28079 2013-01-09  David S. Miller  <davem@davemloft.net>
28081         [BZ #15003]
28082         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28083         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28084         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28085         (TCP_FASTOPEN): Define.
28086         (tcp_repair_opt): New structure.
28087         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28088         enum values.
28089         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28090         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28091         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28092         (tcp_cookie_transactions): New structure.
28094 2013-01-09  Anton Blanchard  <anton@samba.org>
28096         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28097         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28098         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28099         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28101 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28103         * include/features.h (__USE_ANSI): Remove.
28105 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28107         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28109         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28111 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28113         * sysdeps/s390/fpu/libm-test-ulps: Update.
28115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28117         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28118         (__acr): Likewise.
28119         (__cpy): Likewise.
28120         (norm): Likewise.
28121         (denorm): Likewise.
28122         (__mp_dbl): Likewise.
28123         (__dbl_mp): Likewise.
28124         (add_magnitudes): Likewise.
28125         (sub_magnitudes): Likewise.
28126         (__add): Likewise.
28127         (__sub): Likewise.
28128         (__mul): Likewise.
28129         (__inv): Likewise.
28130         (__dvd): Likewise.
28131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28132         (__acr): Likewise.
28133         (__cpy): Likewise.
28134         (norm): Likewise.
28135         (denorm): Likewise.
28136         (__mp_dbl): Likewise.
28137         (__dbl_mp): Likewise.
28138         (add_magnitudes): Likewise.
28139         (sub_magnitudes): Likewise.
28140         (__add): Likewise.
28141         (__sub): Likewise.
28142         (__mul): Likewise.
28143         (__inv): Likewise.
28144         (__dvd): Likewise.
28145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28146         (__acr): Likewise.
28147         (__cpy): Likewise.
28148         (norm): Likewise.
28149         (denorm): Likewise.
28150         (__mp_dbl): Likewise.
28151         (__dbl_mp): Likewise.
28152         (add_magnitudes): Likewise.
28153         (sub_magnitudes): Likewise.
28154         (__add): Likewise.
28155         (__sub): Likewise.
28156         (__mul): Likewise.
28157         (__inv): Likewise.
28158         (__dvd): Likewise.
28160 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28162         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28163         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28164         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28165         2 && __USE_EXTERN_INLINES]: Likewise.
28167 2013-01-08  Andreas Jaeger  <aj@suse.de>
28169         [BZ# 14985]
28170         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28171         Remove.
28172         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28173         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28175 2013-01-07  Anton Blanchard  <anton@samba.org>
28177         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28178         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28179         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28180         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28181         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28182         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28183         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28184         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28186         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28187         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28188         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28189         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28190         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28191         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28192         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28193         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28194         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28195         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28196         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28197         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28198         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28199         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28200         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28201         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28202         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28203         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28204         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28205         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28206         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28207         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28209         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28210         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28211         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28212         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28213         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28214         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28215         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28216         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28217         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28218         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28219         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28221 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28223         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28224         (__MALLOC_PMT): Likewise.
28225         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28226         [__GNUC__], only on [_LIBC].
28227         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28228         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28229         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28230         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28231         forward declaration.
28232         (realloc_hook_ini): Likewise.
28233         (memalign_hook_ini): Likewise.
28234         (__libc_memalign): Do not use __MALLOC_PMT in variable
28235         declaration.
28236         (__libc_valloc): Likewise.
28237         (__libc_pvalloc): Likewise.
28238         (__libc_calloc): Likewise.
28239         (__posix_memalign): Likewise.
28241         [BZ #14996]
28242         * math/s_casinh.c: Include <float.h>.
28243         (__casinh): Do not do computation with squaring and square root
28244         for large arguments.
28245         * math/s_casinhf.c: Include <float.h>.
28246         (__casinhf): Do not do computation with squaring and square root
28247         for large arguments.
28248         * math/s_casinhl.c: Include <float.h>.
28249         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28250         (__casinhl): Do not do computation with squaring and square root
28251         for large arguments.
28252         * math/libm-test.inc (casin_test): Add more tests.
28253         (casinh_test): Likewise.
28254         * sysdeps/i386/fpu/libm-test-ulps: Update.
28255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28257 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28259         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28260         (__x86_64_raw_data_cache_size): Likewise.
28261         (__x86_64_data_cache_size_half): Likewise.
28262         (__x86_64_raw_data_cache_size_half): Likewise.
28263         (__x86_64_shared_cache_size): Likewise.
28264         (__x86_64_raw_shared_cache_size): Likewise.
28265         (__x86_64_shared_cache_size_half): Likewise.
28266         (__x86_64_raw_shared_cache_size_half): Likewise.
28267         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28268         to ...
28269         (__x86_data_cache_size): This.
28270         (__x86_64_raw_data_cache_size): Renamed to ...
28271         (__x86_raw_data_cache_size): This.
28272         (__x86_64_data_cache_size_half): Renamed to ...
28273         (__x86_data_cache_size_half): This.
28274         (__x86_64_raw_data_cache_size_half): Renamed to ...
28275         (__x86_raw_data_cache_size_half): This.
28276         (__x86_64_shared_cache_size): Renamed to ...
28277         (__x86_shared_cache_size): This.
28278         (__x86_64_raw_shared_cache_size): Renamed to ...
28279         (__x86_raw_shared_cache_size): This.
28280         (__x86_64_shared_cache_size_half): Renamed to ...
28281         (__x86_shared_cache_size_half): This.
28282         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28283         (__x86_raw_shared_cache_size_half): This.
28284         * sysdeps/x86_64/memcpy.S: Updated.
28285         * sysdeps/x86_64/memset.S: Likewise.
28286         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28287         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28288         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28290 2013-01-04  David S. Miller  <davem@davemloft.net>
28292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28294 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28296         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28297         1 to avoid redefinition warning.
28298         (__USE_GNU): Don't define.
28299         (init_signaling_nan): Protoize.
28301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28303 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28305         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28307         (__cpymn): Likewise.
28308         (norm): Remove commented code.
28309         (denorm): Likewise.
28310         (__mp_dbl): Likewise.
28311         (__inv): Likewise.
28312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28313         (__cpymn): Likewise.
28314         (norm): Remove commented code.
28315         (denorm): Likewise.
28316         (__mp_dbl): Likewise.
28317         (__inv): Likewise.
28319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28320         mp_no value for 1.0 and 2.0.
28321         (norm): Use RADIXI instead of radixi.d.
28322         (denorm): Likewise.
28323         (__mul): Use 0.0 instead of zero.d.
28324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28325         mp_no value for 1.0 and 2.0.
28326         (norm): Use RADIXI instead of radixi.d.
28327         (denorm): Likewise.
28328         (__mul): Use 0.0 instead of zero.d.
28330 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
28332         [BZ #14994]
28333         * math/s_casinh.c (__casinh): Reduce finite argument to first
28334         quadrant then set signs of results at the end.
28335         * math/s_casinhf.c (__casinhf): Likewise.
28336         * math/s_casinhl.c (__casinhl): Likewise.
28337         * math/libm-test.inc (casin_test): Add more tests.
28338         (casinh_test): Likewise.
28339         * sysdeps/i386/fpu/libm-test-ulps: Update.
28340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28342 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28344         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28346         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28348         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28349         declarations.
28350         (denorm): Likewise.
28351         (__mp_dbl): Likewise.
28352         (__inv): Likewise.
28354         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28355         and adjust the header comment.
28357         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28358         variable name from declaration.
28360 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
28362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28363         Initialize COMMON_CPUID_INDEX_7 element.
28364         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28365         (CPUID_RTM): Likewise.
28366         (HAS_RTM): Likewise.
28367         (COMMON_CPUID_INDEX_7): New enum.
28369 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
28371         [BZ #14981]
28372         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28373         size is zero, record memory as freed.
28375 2013-01-03  Andreas Jaeger  <aj@suse.de>
28377         * po/ia.po: Add new Interlingua translation.
28379 2012-01-03  Allan McRae  <allan@archlinux.org>
28381         * locale/programs/localedef.c: Fix description of '--posix' flag.
28383 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
28385         * NEWS: Update dates in second copyright notice.
28386         * README: Update copyright dates in example.
28387         * manual/libc.texinfo: Update copyright dates.
28388         * scripts/test-installation.pl: Update copyright date in --version
28389         output.
28391         * hurd/ctty-input.c: Fix copyright notice formatting.
28392         * hurd/ctty-output.c: Likewise.
28393         * hurd/dtable.c: Likewise.
28394         * hurd/hurd-raise.c: Likewise.
28395         * hurd/hurdprio.c: Likewise.
28396         * hurd/msgportdemux.c: Likewise.
28397         * misc/sys/file.h: Likewise.
28398         * misc/sys/ioctl.h: Likewise.
28399         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28400         * sysdeps/mach/hurd/chdir.c: Likewise.
28401         * sysdeps/mach/hurd/fchdir.c: Likewise.
28402         * sysdeps/mach/hurd/rename.c: Likewise.
28403         * sysdeps/mach/hurd/rmdir.c: Likewise.
28404         * sysdeps/mach/hurd/seekdir.c: Likewise.
28405         * sysdeps/mach/hurd/setsid.c: Likewise.
28406         * sysdeps/posix/wait3.c: Likewise.
28408         * All files with FSF copyright notices: Update copyright dates
28409         using scripts/update-copyrights.
28410         * intl/plural.c: Regenerated.
28411         * locale/programs/charmap-kw.h: Likewise.
28412         * locale/programs/locfile-kw.h: Likewise.
28414 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28416         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28417         four values.
28419         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28420         calculation loop and add branch prediction.
28422         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28423         check access beyond bounds of m1np.
28425         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28426         MPTWO.
28427         (__inv): Remove local variable MPTWO to use the global
28428         constant.
28429         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28430         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28431         variable MPTWO.
28432         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28433         MP3HALFS static const.
28435 2013-01-01  David S. Miller  <davem@davemloft.net>
28437         * po/ca.po: Update from translation team.
28439 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
28441         * scripts/update-copyrights: New file.
28442         * Makeconfig: Reformat copyright notice.
28443         * ctype/ctype.h: Likewise.
28444         * debug/swprintf_chk.c: Likewise.
28445         * elf/dl-cache.c: Likewise.
28446         * elf/dl-debug.c: Likewise.
28447         * elf/dl-object.c: Likewise.
28448         * grp/initgroups.c: Likewise.
28449         * hurd/Makefile: Likewise.
28450         * hurd/hurd/signal.h: Likewise.
28451         * hurd/hurdfault.c: Likewise.
28452         * hurd/hurdioctl.c: Likewise.
28453         * hurd/hurdlookup.c: Likewise.
28454         * hurd/intr-msg.c: Likewise.
28455         * iconv/gconv_open.c: Likewise.
28456         * libio/swprintf.c: Likewise.
28457         * locale/lc-ctype.c: Likewise.
28458         * locale/nl_langinfo.c: Likewise.
28459         * mach/Machrules: Likewise.
28460         * mach/Makefile: Likewise.
28461         * malloc/obstack.h: Likewise.
28462         * manual/Makefile: Likewise.
28463         * manual/tsort.awk: Likewise.
28464         * misc/bits/stab.def: Likewise.
28465         * nis/nis_print_group_entry.c: Likewise.
28466         * nis/nis_table.c: Likewise.
28467         * nis/nss_compat/compat-pwd.c: Likewise.
28468         * nis/nss_compat/compat-spwd.c: Likewise.
28469         * po/Makefile: Likewise.
28470         * posix/fnmatch.c: Likewise.
28471         * posix/regex.h: Likewise.
28472         * resolv/Makefile: Likewise.
28473         * resolv/nss_dns/dns-network.c: Likewise.
28474         * resolv/res_hconf.c: Likewise.
28475         * scripts/gen-sorted.awk: Likewise.
28476         * soft-fp/soft-fp.h: Likewise.
28477         * stdio-common/printf.h: Likewise.
28478         * stdlib/monetary.h: Likewise.
28479         * stdlib/random.c: Likewise.
28480         * stdlib/random_r.c: Likewise.
28481         * sysdeps/generic/Makefile: Likewise.
28482         * sysdeps/gnu/Makefile: Likewise.
28483         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28484         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28485         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28486         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28487         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28488         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28489         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28490         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28491         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28492         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28493         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28494         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28495         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28496         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28497         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28498         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28499         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28500         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28501         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28502         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28503         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28504         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28505         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28506         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28507         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28508         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28509         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28510         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28511         * sysdeps/mach/hurd/errnos.awk: Likewise.
28512         * sysdeps/mach/hurd/fork.c: Likewise.
28513         * sysdeps/mach/hurd/getcwd.c: Likewise.
28514         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28515         * sysdeps/mach/hurd/mmap.c: Likewise.
28516         * sysdeps/mach/hurd/utimes.c: Likewise.
28517         * sysdeps/mach/hurd/xmknod.c: Likewise.
28518         * sysdeps/posix/profil.c: Likewise.
28519         * sysdeps/posix/readdir_r.c: Likewise.
28520         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28521         * sysdeps/powerpc/bits/setjmp.h: Likewise.
28522         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28523         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28525         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28526         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28527         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28529         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28530         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28531         * sysdeps/pthread/lio_listio.c: Likewise.
28532         * sysdeps/sparc/dl-procinfo.h: Likewise.
28533         * sysdeps/unix/i386/sysdep.S: Likewise.
28534         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28535         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28536         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28537         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28539         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28540         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28541         * sysdeps/unix/sysv/linux/speed.c: Likewise.
28542         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28543         * sysdeps/wordsize-32/divdi3.c: Likewise.
28544         * time/sys/time.h: Likewise.
28545         * wcsmbs/Makefile: Likewise.
28547 2013-01-01  David S. Miller  <davem@davemloft.net>
28549         * po/fr.po: Update from translation team.
28551         * catgets/gencat.c: Update copyright year.
28552         * csu/version.c: Likewise.
28553         * debug/catchsegv.sh: Likewise.
28554         * debug/pcprofiledump.c: Likewise.
28555         * debug/xtrace.sh: Likewise.
28556         * elf/ldconfig.c: Likewise.
28557         * elf/ldd.bash.in: Likewise.
28558         * elf/pldd.c: Likewise.
28559         * elf/sotruss.ksh: Likewise.
28560         * elf/sprof.c: Likewise.
28561         * iconv/iconv_prog.c: Likewise.
28562         * iconv/iconvconfig.c: Likewise.
28563         * locale/programs/locale.c: Likewise.
28564         * locale/programs/localedef.c: Likewise.
28565         * login/programs/pt_chown.c: Likewise.
28566         * malloc/memusage.sh: Likewise.
28567         * malloc/memusagestat.c: Likewise.
28568         * malloc/mtrace.pl: Likewise.
28569         * nscd/nscd.c: Likewise.
28570         * nss/getent.c: Likewise.
28571         * nss/makedb.c: Likewise.
28572         * posix/getconf.c: Likewise.
28574 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28576         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28577         numbers.
28579 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
28581         * math/bits/mathcalls.h (modf): Use __nonnull.
28583 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28585         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28586         (split): Use macro CN instead of the bare value.
28587         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28588         could be used.
28589         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28590         instead of the bare value.
28591         (power1): Likewise.
28593 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28595         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28596         __ATAN_TWOM.
28597         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28599         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28600         their values.
28601         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28602         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28603         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28604         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28606 2012-12-28  Andreas Jaeger  <aj@suse.de>
28608         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
28609         values are from Linux 3.7.
28611         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28612         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
28614 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28616         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28617         TRUE case.
28619         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28620         (norm): Likewise.
28621         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28622         variables with preprocessor constants.
28623         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28624         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28625         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28627 2012-12-27  Bruno Haible  <bruno@clisp.org>
28629         [BZ #14317]
28630         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28631         only if needed.
28633 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28635         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28636         and use variable directly.
28637         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28639         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28640         MPONE.
28641         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28642         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28643         variable MPONE.
28644         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28646         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28647         include directive.  Remove local variable MPONE.
28648         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28649         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28650         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28652 2012-12-25  David S. Miller  <davem@davemloft.net>
28654         * version.h (RELEASE): Set to "development".
28655         (VERSION): Set to "2.17.90".
28656         * NEWS: Add 2.18 section.
28658 2012-12-21  David S. Miller  <davem@davemloft.net>
28660         * po/hr.po: Update from translation team.
28662 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28664         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28666 2012-12-19  Steve Ellcey  <sellcey@mips.com>
28668         * NEWS:  Mention new memcpy for MIPS.
28670 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28672         * manual/contrib.texi (Contributors): Spelling correction.
28674 2012-12-15  David S. Miller  <davem@davemloft.net>
28676         * po/ru.po: Update from translation team.
28678 2012-12-13  David S. Miller  <davem@davemloft.net>
28680         * NEWS: Mention IFUNC testsuite enhancements.
28682         * po/pl.po: Update from translation team.
28683         * po/bg.po: Likewise.
28685         * manual/contrib.texi (Contributors): Update entries for Hongjiu
28686         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
28688 2012-12-11  David S. Miller  <davem@davemloft.net>
28690         * po/sv.po: Update from translation team.
28692         * po/vi.po: Update from translation team.
28694         * po/cs.po: Update from translation team.
28696         * po/de.po: Update from translation team.
28697         * po/eo.po: Likewise.
28698         * po/nl.po: Likewise.
28700 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28702         [BZ #14246]
28703         * manual/argp.texi (Argp Helper Functions): Move node to follow
28704         Argp Parsing State.
28706         [BZ #14872]
28707         * manual/conf.texi (Limits on File System Capacity): Mention if
28708         terminating null is included in the max size.
28710 2012-12-10  Andreas Jaeger  <aj@suse.de>
28712         * po/cs.po: Update from translation team.
28714 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28716         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28717         void pointer and cast to uintptr_t.
28718         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28719         path.
28720         * sysdeps/s390/s390-64/memcpy.S: Likewise.
28721         * sysdeps/s390/s390-64/memset.S: Likewise.
28723 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
28725         [BZ #14833]
28726         * menual/message.texi (Message Translation): Fix typos.
28727         (Helper programs for gettext): Likewise.
28729 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
28731         [BZ #14898]
28732         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28733         Change to -1.
28735 2012-12-07  David S. Miller  <davem@davemloft.net>
28737         * po/libc.pot: Update.
28739 2012-12-07  Richard Henderson  <rth@redhat.com>
28741         [BZ #10114]
28742         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28743         normal/normal case to before the switch.
28744         (_FP_DIV): Likewise.
28746 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
28747             Mike Frysinger  <vapier@gentoo.org>
28749         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28750         check for __NR_fadvise64_64.
28752 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
28754         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28755         0, not just to plain "0" as a statement.
28756         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28757         with cw.
28759 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
28761         * NEWS: Use sourceware.org in Bugzilla URL.
28763 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28766         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28768         * stdio-common/tst-put-error.c (do_test): Add newline to the
28769         padded test to ensure flush.
28771 2012-12-05  Jeff Law  <law@redhat.com>
28773         * sunrpc/etc.rpc (fedfs_admin): Add entry.
28775 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
28777         * README: Don't refer to ports add-on as distributed separately.
28778         Mention AArch64 in list of systems supported in the ports add-on.
28780         * LICENSES: Add more non-FSF copyright and license notices.
28782         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28783         ((unused)).
28785         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28787         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28788         10000 as width of padded output.
28790 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28792         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28794         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28795         variable LX with __attribute__ ((unused)).
28796         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28797         Likewise.
28798         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28799         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28800         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28801         with __attribute__ ((unused)).
28803 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
28805         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28807 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28809         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28810         (CFLAGS-nldbl-acos.c): New variable.
28811         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28812         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28813         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28814         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28815         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28816         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28817         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28818         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28819         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28820         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28821         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28822         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28823         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28824         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28825         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28826         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28827         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28828         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28829         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28830         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28831         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28832         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28833         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28834         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28835         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28836         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28837         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28838         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28839         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28840         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28841         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28842         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28843         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28844         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28845         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28846         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28847         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28848         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28849         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28850         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28851         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28852         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28853         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28854         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28855         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28856         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28857         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28858         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28859         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28860         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28861         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28862         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28863         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28864         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28865         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28866         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28867         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28868         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28869         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28870         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28871         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28872         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28873         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28874         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28875         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28876         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28877         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28878         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28879         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28880         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28881         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28882         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28883         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28884         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28885         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28886         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28887         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28888         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28889         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28890         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28891         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28892         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28893         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28894         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28895         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28896         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28897         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28898         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28899         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28900         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28901         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28902         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28903         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28904         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28905         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28906         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28907         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28910         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28912         [BZ #14914]
28913         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28914         whole low double instead of just low 47 bits when splitting values
28915         into two parts.
28917 2012-12-03  Allan McRae  <allan@archlinux.org>
28919         * manual/stdio.texi (Predefined Printf Handlers): Remove
28920         @hsep and @vsep usage.
28922 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
28924         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28925         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28927 2012-12-03  Jeff Law  <law@redhat.com>
28929         * time/sys/time.h (settimeofday): Do not mark TV argument
28930         as __nonnull.
28932 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
28934         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28935         when currently writing and seek to current position when not.
28936         * libio/Makefile (tests): Remove bug-fclose1.
28937         * libio/bug-fclose1.c: Delete.
28939 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
28941         * manual/arith.texi (feenableexcept): Fix typo.
28942         (fedisableexcept): Likewise.
28944 2012-11-30  Roland McGrath  <roland@hack.frob.com>
28946         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28947         second, differently-typed declaration, rather than a cast.
28949 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28951         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28952         * include/rpc/svc.h: ... here.
28954 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
28956         [BZ #13013]
28957         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28958         depending n and resplen2 to catch cases where answer
28959         equals answerp2.
28961 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
28963         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28964         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28966 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
28968         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28970 2012-11-29  Roland McGrath  <roland@hack.frob.com>
28972         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28974 2012-11-28  Jeff Law  <law@redhat.com>
28976         [BZ #13761]
28977         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28978         dataset_temporary.  Track alloca usage into alloca_used.
28979         If dataset is large allocate and release it via malloc/free.
28981 2012-06-04  Florian Weimer  <fweimer@redhat.com>
28983         [BZ #14197]
28984         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28986 2012-11-28  David S. Miller  <davem@davemloft.net>
28988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28990 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28992         [BZ #14803]
28993         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28994         of pi/2 rounded to nearest to 64 bits.
28995         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28996         nearest to 64 bits.
28997         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28998         bits.
29000 2012-11-28  Jeff Law <law@redhat.com>
29001             Martin Osvald <mosvald@redhat.com>
29003         [BZ #14889]
29004         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29005         * sunrpc/svc.c: Include time.h.
29006         (__svc_accept_failed): New function.
29007         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29008         any reason other than EINTR, call __svc_accept_failed.
29009         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29010         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29012 2012-11-28  Andreas Schwab  <schwab@suse.de>
29014         * scripts/abilist.awk: Also handle indirect functions in .opd
29015         section.
29017 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29019         [BZ #13881]
29020         * sysdeps/x86/fpu/powl_helper.c: New file.
29021         * sysdeps/x86/fpu/Makefile: Likewise.
29022         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29023         (p3): New object.
29024         (__ieee754_powl): Use __powl_helper for finite arguments except
29025         integer exponents below 8.
29026         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29027         (p3): New object.
29028         (__ieee754_powl): Use __powl_helper for finite arguments except
29029         integer exponents below 8.
29030         * math/libm-test.inc (pow_test): Add more tests and enable some
29031         previously disabled tests.
29032         * sysdeps/i386/fpu/libm-test-ulps: Update.
29033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29035 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29036             Carlos O'Donell  <carlos_odonell@mentor.com>
29038         * nss/makedb.c (is_prime): Assert that input is odd and greater
29039         than 4.  Note that fact in a comment too.
29040         (next_prime): Add 4 to input.
29042 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29044         [BZ #11741]
29045         * libio/Makefile (tests): Add test case tst-fwrite-error.
29046         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29047         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29048         * libio/tst-fwrite-error.c: New test case.
29050 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
29052         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29053         before casting to void *.
29054         * include/libc-internal.h (__pointer_type): New macro.
29055         (__integer_if_pointer_type_sub): Likewise.
29056         (__integer_if_pointer_type): Likewise.
29057         (cast_to_integer): Likewise.
29058         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29059         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29060         before casting to atomic64_t.
29061         (atomic_exchange_acq): Likewise.
29062         (__arch_exchange_and_add_body): Likewise.
29063         (__arch_add_body): Likewise.
29064         (atomic_add_negative): Likewise.
29065         (atomic_add_zero): Likewise.
29067 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
29069         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29070         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29071         (add_fdes): Likewise.
29072         (linear_search_fdes): Likewise.
29073         (binary_search_unencoded_fdes): Likewise.
29075 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
29077         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29079 2012-11-24  Adam Conrad  <adconrad@0c3.net>
29081         * configure.in: Autodetect C++ header directories.
29082         * configure: Regenerated.
29084 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
29086         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29088 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
29090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29092 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29094         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29095         LDBL_MANT_DIG == 106]: Disable some tests.
29096         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29097         Likewise.
29098         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29099         Likewise.
29101         [BZ #14871]
29102         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29103         input for small inputs.  Return +/- pi/2 for large inputs.
29104         * math/libm-test.inc (atan_test): Add more tests.
29106         * sysdeps/generic/unwind-dw2-fde-glibc.c
29107         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29108         __attribute__ ((unused)).
29110         [BZ #14645]
29111         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29112         x * y if x and y are nonzero and z is zero.
29114         [BZ #14811]
29115         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29116         nonzero exponents with absolute value below 0x1p-117 to +/-
29117         0x1p-117.
29119         [BZ #14869]
29120         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29121         up arguments below 2**-450, not just those below 2**-500.
29122         * math/libm-test.inc (hypot_test): Add another test.
29124         [BZ #14868]
29125         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29126         Return a+b for ratio over 2**120, not 2**60.
29127         * math/libm-test.inc (hypot_test): Add another test.
29129         * math/libm-test.inc (clog_test): Use
29130         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29131         (clog10_test): Likewise.
29133         [BZ #6778]
29134         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29136 2012-11-22  Andreas Schwab  <schwab@suse.de>
29138         * sysdeps/i386/fpu/libm-test-ulps: Update.
29140 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29142         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29143         printf output with newline.
29145 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29147         [BZ #14865]
29148         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29149         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29150         -z nodlopen, -z initfirst and -z execstack support.
29151         * configure: Regenerated.
29153         * elf/elf.h (DF_1_NODIRECT): New macro.
29154         (DF_1_IGNMULDEF): Likewise.
29155         (DF_1_NOKSYMS): Likewise.
29156         (DF_1_NOHDR): Likewise.
29157         (DF_1_EDITED): Likewise.
29158         (DF_1_NORELOC): Likewise.
29159         (DF_1_SYMINTPOSE): Likewise.
29160         (DF_1_GLOBAUDIT): Likewise.
29161         (DF_1_SINGLETON): Likewise.
29162         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29163         DT_1_SUPPORTED_MASK bits.
29164         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29166 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29168         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29170 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29172         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29173         macro.
29175         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29176         (sendmmsg): Move declarations...
29177         * socket/sys/socket.h: ... here.
29178         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29179         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29180         include it from...
29181         * socket/recvmmsg.c: ... this new file.
29182         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29183         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29184         definition of __sendmmsg hidden.
29185         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29186         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29187         Move ENOSYS stub into and include it from...
29188         * socket/sendmmsg.c: ... this new file.
29189         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29190         (sysdep_routines): Move recvmmsg and sendmmsg...
29191         * socket/Makefile (routines): ... here.
29192         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29193         (GLIBC_PRIVATE): Add __sendmmsg.
29194         * include/sys/socket.h (__sendmmsg): Add declarations.
29195         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29196         sendmmsg.
29198 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29200         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29201         variable I1 with __attribute__ ((unused)).
29202         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29204 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29206         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29207         DUMMY variables with __attribute__ ((unused)).
29209         * bits/byteswap.h: Include <bits/types.h>.
29210         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29212 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29214         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29215         string_t.  Do not manually set errno.
29216         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29217         length with __strnlen.  Make sure to both set errno and return it on
29218         failure.
29220 2012-11-19  David S. Miller  <davem@davemloft.net>
29222         With help from Joseph Myers.
29223         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29224         very large arguments properly.
29225         * math/libm-test.inc (atan_test): New tests.
29226         (atan2_test): New tests.
29227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29230 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29232         [BZ #14856]
29233         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29234         Define to 3.
29236         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29237         [POSIX] (EADDRNOTAVAIL): Likewise.
29238         [POSIX] (EAFNOSUPPORT): Likewise.
29239         [POSIX] (EALREADY): Likewise.
29240         [POSIX] (ECONNABORTED): Likewise.
29241         [POSIX] (ECONNREFUSED): Likewise.
29242         [POSIX] (ECONNRESET): Likewise.
29243         [POSIX] (EDESTADDRREQ): Likewise.
29244         [POSIX] (EDQUOT): Likewise.
29245         [POSIX] (EHOSTUNREACH): Likewise.
29246         [POSIX] (EIDRM): Likewise.
29247         [POSIX] (EISCONN): Likewise.
29248         [POSIX] (ELOOP): Likewise.
29249         [POSIX] (EMULTIHOP): Likewise.
29250         [POSIX] (ENETDOWN): Likewise.
29251         [POSIX] (ENETUNREACH): Likewise.
29252         [POSIX] (ENOBUFS): Likewise.
29253         [POSIX] (ENODATA): Likewise.
29254         [POSIX] (ENOLINK): Likewise.
29255         [POSIX] (ENOMSG): Likewise.
29256         [POSIX] (ENOPROTOOPT): Likewise.
29257         [POSIX] (ENOSR): Likewise.
29258         [POSIX] (ENOSTR): Likewise.
29259         [POSIX] (ENOTCONN): Likewise.
29260         [POSIX] (ENOTSOCK): Likewise.
29261         [POSIX] (EOPNOTSUPP): Likewise.
29262         [POSIX] (EOVERFLOW): Likewise.
29263         [POSIX] (EPROTO): Likewise.
29264         [POSIX] (EPROTONOSUPPORT): Likewise.
29265         [POSIX] (EPROTOTYPE): Likewise.
29266         [POSIX] (ESTALE): Likewise.
29267         [POSIX] (ETIME): Likewise.
29268         [POSIX] (ETXTBSY): Likewise.
29269         [POSIX] (EWOULDBLOCK): Likewise.
29270         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29271         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29272         [POSIX] (SEEK_CUR): Likewise.
29273         [POSIX] (SEEK_END): Likewise.
29274         [POSIX || UNIX98] (mode_t): Do not require.
29275         [POSIX] (off_t): Likewise.
29276         [POSIX] (pid_t): Likewise.
29277         [POSIX] (sys/stat.h): Do not allow header.
29278         [POSIX] (unistd.h): Likewise.
29279         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29280         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29281         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29282         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29283         require.
29284         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29285         sigevent): Specify elements.
29286         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29287         entry.
29288         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29289         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29291         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29292         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29293         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29294         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29295         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29296         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29297         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29298         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29299         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29300         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29301         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29302         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29303         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29304         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29305         Likewise.
29306         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29307         Likewise.
29308         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29309         Likewise.
29310         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29311         Likewise.
29312         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29313         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29314         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29315         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29316         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29317         Specify lower bound on value.
29318         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29319         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29320         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29321         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29322         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29323         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29324         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29325         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29326         value.
29327         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29328         as optional.
29329         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29330         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29331         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29332         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29333         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29334         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29335         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29336         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29337         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29338         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29339         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29340         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29341         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29342         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29343         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29344         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29345         entry.
29346         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29347         optional.
29348         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29349         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29350         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29351         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29352         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29353         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29354         Likewise.
29355         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29356         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29357         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29358         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29359         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
29360         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29361         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29362         as optional.
29363         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29364         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29365         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29366         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29367         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29368         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29369         specify as optional.
29370         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29371         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29372         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29373         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29374         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29375         [XPG3] (NL_LANGMAX): Likewise.
29376         [POSIX || XPG3] (NL_MSGMAX): Likewise.
29377         [POSIX || XPG3] (NL_NMAX): Likewise.
29378         [POSIX || XPG3] (NL_SETMAX): Likewise.
29379         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29380         [XPG3] (NZERO): Likewise.
29381         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29382         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29383         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29384         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29385         (REG_ERANGE): Expect.
29386         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29387         optional-constant.
29388         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29389         Use (void) in prototype.
29390         [POSIX] (*_t): Allow.
29391         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29392         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29393         (WRDE_BADVAL): Expect.
29395         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29396         expect.
29397         [XPG3 || XPG4] (O_RSYNC): Likewise.
29398         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29399         Likewise.
29400         [XPG3 || XPG4] (pthread_sigmask): Likewise.
29401         [XPG3 || XPG4] (sigqueue): Likewise.
29402         [XPG3 || XPG4] (sigtimedwait): Likewise.
29403         [XPG3 || XPG4] (sigwaitinfo): Likewise.
29404         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29405         [XPG3 || XPG4] (vsnprintf): Likewise.
29406         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29407         Likewise.
29408         [XPG3 || XPG4] (blksize_t): Likewise.
29409         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29410         Likewise.
29411         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29412         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29413         [XPG3 || XPG4] (struct itimerspec): Likewise.
29414         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29415         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29416         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29417         [XPG3 || XPG4] (clockid_t): Likewise.
29418         [XPG3 || XPG4] (timer_t): Likewise.
29419         [XPG3 || XPG4] (clock_getres): Likewise.
29420         [XPG3 || XPG4] (clock_gettime): Likewise.
29421         [XPG3 || XPG4] (clock_settime): Likewise.
29422         [XPG3 || XPG4] (nanosleep): Likewise.
29423         [XPG3 || XPG4] (timer_create): Likewise.
29424         [XPG3 || XPG4] (timer_delete): Likewise.
29425         [XPG3 || XPG4] (timer_gettime): Likewise.
29426         [XPG3 || XPG4] (timer_getoverrun): Likewise.
29427         [XPG3 || XPG4] (timer_settime): Likewise.
29428         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29429         [XPG3 || XPG4] (getlogin_r): Likewise.
29430         [XPG3 || XPG4] (pread): Likewise.
29431         [XPG3 || XPG4] (pthread_atfork): Likewise.
29432         [XPG3 || XPG4] (pwrite): Likewise.
29434         [BZ #14835]
29435         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29436         <bits/siginfo.h>.
29438 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29440         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29441         finalizing MALLSTREAM.
29443         * sysdeps/mach/hurd/syncfs.c: New file.
29445 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29447         [BZ #14719]
29448         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29449         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29450         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29451         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29452         (_nss_dns_gethostbyname4_r): Likewise.
29453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29454         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29456 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
29458         [BZ #13763]
29459         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29461 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
29463         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29464         * elf/cache.c (print_entry): Print ",AArch64" for
29465         FLAG_AARCH64_LIB64
29467         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29468         * elf/cache.c (print_entry): Print ",hard-float" for
29469         FLAG_ARM_LIBHF.
29471 2012-11-18  David S. Miller  <davem@davemloft.net>
29473         With help from Joseph Myers.
29474         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29475         cutoff to 2**-13.
29476         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29477         cutoff to 2**-25.
29478         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29479         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29480         small.
29481         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29482         * math/libm-test.inc (y0_test): New tests.
29483         (y1_test): New tests.
29484         * sysdeps/i386/fpu/libm-test-ulps: Update.
29485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29488 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
29490         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29491         64-bit targets.
29492         * configure: Regenerated.
29494 2012-11-17  David S. Miller  <davem@davemloft.net>
29496         [BZ #14811]
29497         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29498         nonzero exponents with absolute value below 0x1p-128 to +/-
29499         0x1p-128.
29501 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
29503         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29505         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29507         * posix/getconf-speclist.c: New file.
29508         * posix/posix-envs.def: Likewise.
29509         * posix/confstr.c (START_ENV_GROUP): New macro.
29510         (END_ENV_GROUP): Likewise.
29511         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29512         (KNOWN_PRESENT_ENV_STRING): Likewise.
29513         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29514         (UNKNOWN_ENVIRONMENT): Likewise.
29515         (confstr): Include posix-envs.def instead of handling
29516         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29517         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29518         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29519         (END_ENV_GROUP): Likewise.
29520         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29521         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29522         (UNKNOWN_ENVIRONMENT): Likewise.
29523         (__sysconf): Include posix-envs.def instead of handling associated
29524         cases directly here.
29525         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29526         preprocessing getconf-speclist.c rather than running getconf or
29527         generating empty file.
29529 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
29531         * scripts/check-local-headers.sh: Ignore 'mach' headers.
29533 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
29535         [BZ #14672]
29536         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29538 2012-11-16  David S. Miller  <davem@davemloft.net>
29540         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29541         smaller than LDBL_EPSILON/2.0L, just return xm1.
29543 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
29545         * elf/tst-array1.c (init): Set constructor priority to 1000.
29546         (fini): Set destructor priority to 1000.
29547         * elf/tst-array2dep.c: Likewise.
29549 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29551         [BZ #11741]
29552         * libio/fileops.c (_IO_new_file_write): Correctly return error.
29553         (_IO_new_file_xsputn): Also return EOF if none of the input
29554         data was written when overflow failed.
29555         * libio/iopadn.c (_IO_padn): Likewise.
29556         * libio/iowpadn.c (_IO_wpadn): Likewise.
29557         * stdio-common/tst-put-error.c: Add copyright notice.
29558         (do_test): Add case for printing padded string.
29559         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29560         _IO_padn returned error.
29561         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29562         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29563         return EOF.
29565 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29567         * libio/libioP.h: Add comment note that the references to C++
29568         bits are now obsolete.
29570 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29572         * math/libm-test.inc (check_complex): Use asprintf.
29574 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
29576         * debug/pcprofiledump.c (print_version): Update copyright year.
29577         * malloc/memusagestat.c (print_version): Likewise.
29579 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
29581         [BZ #14831]
29582         * elf/Makefile (tests): Add tst-audit8.
29583         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29584         ($(objpfx)tst-audit8.out): New target.
29585         (tst-audit8-ENV): New variable.
29586         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29587         audit if l_reloc_result is NULL.
29588         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29589         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29590         * elf/tst-audit8.c: New file.
29592 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29594         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29595         * misc/Makefile (CFLAGS-select.c): Define.
29596         * posix/Makefile (CFLAGS-pause.c): Define.
29598 2012-11-13  David S. Miller  <davem@davemloft.net>
29600         * crypt/Makefile: Move test targets after toplevel Rules
29601         inclusion.  Grab any necessary sysdep routines when linking.
29602         * crypt/md5.c (md5_process_block): Remove define, we will always
29603         name it __md5_process_block.
29604         (md5_finish_ctx): Update md5_process_block call.
29605         (md5_stream): Likewise.
29606         (md5_process_bytes): Likewise.
29607         (md5_process_block): Rename to __md5_process_block and move to ...
29608         * crypt/md5-block.c: ... here.
29609         * crypt/sha256.c (sha256_process_block): Move to ...
29610         * crypt/sha256-block.c: ... here.
29611         * crypt/sha512.c (sha512_process_block): Move to ...
29612         * crypt/sha512-block.c: ... here.
29613         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29614         path.
29615         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29616         * sysdeps/sparc/sparc64/multiarch/Makefile
29617         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29618         crypt subdir.
29619         (localedef-aux): Add md5 crypto assembler when in locale subdir.
29620         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29621         multiarch changes.
29622         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29623         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29624         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29625         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29626         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29627         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29628         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29629         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29630         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29631         file.
29632         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29633         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29634         file.
29635         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29637 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
29639         * timezone/tzselect.ksh: Update from tzcode git revision
29640         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29641         * timezone/zdump.c: Likewise.
29642         * timezone/zic.c: Likewise.
29643         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29644         in TZVERSION setting, not $(PKGVERSION).
29645         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
29646         REPORT_BUGS_TO settings.
29648         [BZ #14838]
29649         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29650         macro.
29652 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29654         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29655         detection to immediately after _FP_ROUND().
29656         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29657         bits are 0.
29659 2012-11-11  David S. Miller  <davem@davemloft.net>
29661         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29662         inttypes.h
29663         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29664         __close rather than their public counterparts.
29666 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
29668         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29669         file.
29670         [UNIX98] (sem_timedwait): Do not expect.
29671         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29672         [XPG4 || UNIX98] (sockatmark): Do not expect.
29673         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29674         (clock_getcpuclockid): Do not expect.
29675         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29676         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29677         Do not expect.
29678         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29679         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29680         [UNIX98] (vwscanf): Likewise.
29681         [UNIX98] (vswscanf): Likewise.
29683 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
29685         * timezone/version.h: Remove file.
29686         * timezone/README: Do not refer to version.h.
29687         * timezone/Makefile ($(objpfx)zic.o): New dependency on
29688         $(objpfx)version.h.
29689         ($(objpfx)zdump.o): Likewise.
29690         ($(objpfx)version.h): New target.
29692         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29693         2012i.
29694         * timezone/README: Don't mention modification to tzselect.ksh.
29695         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29696         work on unmodified tzselect.ksh.  Substitute version numbers in
29697         tzselect.ksh.
29699         * Makefile (format-me): Remove.
29700         (INSTALL): Adjust indentation.  Use commands directly instead of
29701         using $(format-me).
29703         * aclocal.m4 (ACX_PKGVERSION): New macro.
29704         (ACX_BUGURL): Likewise.
29705         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29706         (PKGVERSION): New AC_DEFINE_UNQUOTED.
29707         (REPORT_BUGS_TO): Likewise.
29708         * configure: Regenerated.
29709         * config.h.in (PKGVERSION): New macro.
29710         (REPORT_BUGS_TO): Likewise.
29711         * config.make.in (PKGVERSION): New variable.
29712         (PKGVERSION_TEXI): Likewise.
29713         (REPORT_BUGS_TO): Likewise.
29714         (REPORT_BUGS_TEXI): Likewise.
29715         * Makefile (format-me): Use -I$(common-objpfx)manual.
29716         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29717         ($(common-objpfx)manual/%): New target.
29718         (manual/%): Remove target.
29719         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29720         (print_version): Use PKGVERSION.
29721         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29722         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29723         and REPORT_BUGS_TO.
29724         ($(objpfx)xtrace): Likewise.
29725         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29726         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29727         (print_version): Use PKGVERSION.
29728         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29729         (do_version): Use PKGVERSION.
29730         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29731         REPORT_BUGS_TO.
29732         (common-ldd-rewrite): Likewise.
29733         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29734         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29735         (print_version): Use PKGVERSION.
29736         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29737         * elf/pldd.c (argp_program_bug_address): Remove variable.
29738         (more_help): New function.
29739         (argp): Use more_help.
29740         (print_version): Use PKGVERSION.
29741         * elf/sln.c (main): Use PKGVERSION.
29742         (usage): Use REPORT_BUGS_TO.
29743         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29744         (top level): Use PKGVERSION.
29745         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29746         (print_version): Use PKGVERSION.
29747         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29748         (print_version): Use PKGVERSION.
29749         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29750         (print_version): Use PKGVERSION.
29751         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29752         (print_version): Use PKGVERSION.
29753         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29754         (print_version): Use PKGVERSION.
29755         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29756         (print_version): Use PKGVERSION.
29757         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29758         and BUGURL.
29759         ($(objpfx)memusage): Likewise.
29760         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29761         (do_version): Use PKGVERSION.
29762         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29763         (print_version): Use PKGVERSION.
29764         * malloc/mtrace.pl ($PACKAGE): Remove variable.
29765         ($PKGVERSION): New variable.
29766         ($REPORT_BUGS_TO): Likewise.
29767         (usage): Use $REPORT_BUGS_TO.
29768         (top level): Use $PKGVERSION.
29769         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29770         ($(objpfx)pkgvers.texi): New rule.
29771         ($(objpfx)stamp-pkgvers): Likewise.
29772         * manual/install.texi: Include pkgvers.texi.
29773         (--with-pkgversion): Document new configure option.
29774         (--with-bugurl): Likewise.
29775         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29776         than necessarily for this particular distribution.  Use
29777         REPORT_BUGS_TO for where to report bugs.
29778         * INSTALL: Regenerated.
29779         * manual/libc.texinfo: Include pkgvers.texi.
29780         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29781         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29782         (print_version): Use PKGVERSION.
29783         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29784         (print_version): Use PKGVERSION.
29785         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29786         (print_version): Use PKGVERSION.
29787         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29788         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29789         macro.
29790         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29791         (print_version): Use PKGVERSION.
29792         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29793         (print_version): Use PKGVERSION.
29794         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29795         and PKGVERSION.
29797         * timezone/checktab.awk: Update from tzcode 2012i.
29798         * timezone/ialloc.c: Likewise.
29799         * timezone/private.h: Likewise.
29800         * timezone/scheck.c: Likewise.
29801         * timezone/tzfile.h: Likewise.
29802         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29803         (TZVERSION): Hardcode tzcode version number.
29804         * timezone/zdump.c: Update from tzcode 2012i.
29805         * timezone/zic.c: Likewise.
29806         * timezone/version.h: New file.
29807         * timezone/README: Describe version.h.  Update upstream location.
29809         [BZ #14824]
29810         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29811         (mktemp): Enable declaration.
29812         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29813         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29814         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29815         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29816         Likewise.
29817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29818         Likewise.
29819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29820         Likewise.
29821         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29822         Likewise.
29823         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29824         Likewise.
29825         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29826         Likewise.
29828         [BZ #14821]
29829         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29830         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
29831         for copies of such integer values.
29832         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29833         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29835 2012-11-09  Andreas Jaeger  <aj@suse.de>
29837         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29838         definitions and declarations that are provided by
29839         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29841 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29843         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29844         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29845         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29846         definition.
29848 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29850         * elf/elf.h: Update comment before AArch64 relocations.
29852 2012-11-07  David S. Miller  <davem@davemloft.net>
29854         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29855         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29856         (__start_context): Declare.
29857         (__makecontext_ret): Delete.
29858         (__makecontext): Hook up __start_context instead of
29859         __makecontext_ret.
29860         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29861         (sysdep_routines): Add __start_context when in stdlib.
29863 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29865         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29866         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29867         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
29868         hardcoded "nm".
29869         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
29870         (READELF): New variable.  Use it instead of hardcoded "readelf".
29872 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29874         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29875         * sysdeps/x86/Makefile: Here.
29876         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29877         * sysdeps/x86/tst-xmmymm.sh: This.
29879 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29881         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29882         expectations.
29883         [UNIX98] (pthread_barrier_t): Do not expect.
29884         [UNIX98] (pthread_barrierattr_t): Likewise.
29885         [UNIX98] (pthread_spinlock_t): Likewise.
29886         [UNIX98] (pthread_barrier_destroy): Likewise.
29887         [UNIX98] (pthread_barrier_init): Likewise.
29888         [UNIX98] (pthread_barrier_wait): Likewise.
29889         [UNIX98] (pthread_barrierattr_destroy): Likewise.
29890         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29891         [UNIX98] (pthread_barrierattr_init): Likewise.
29892         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29893         [UNIX98] (pthread_getcpuclockid): Likewise.
29894         [UNIX98] (pthread_mutex_timedlock): Likewise.
29895         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29896         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29897         [UNIX98] (pthread_sigmask): Likewise.
29898         [UNIX98] (pthread_spin_destroy): Likewise.
29899         [UNIX98] (pthread_spin_init): Likewise.
29900         [UNIX98] (pthread_spin_lock): Likewise.
29901         [UNIX98] (pthread_spin_trylock): Likewise.
29902         [UNIX98] (pthread_spin_unlock): Likewise.
29903         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29904         Do not expect.
29905         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29906         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29907         [XPG3 || XPG4] (pthread_cond_t): Likewise.
29908         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29909         [XPG3 || XPG4] (pthread_key_t): Likewise.
29910         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29911         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29912         [XPG3 || XPG4] (pthread_once_t): Likewise.
29913         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29914         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29915         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29916         [XPG3 || XPG4] (pthread_t): Likewise.
29918         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29919         not expect.
29920         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29922         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29923         Change function return type to int.
29925         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29926         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29927         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29928         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29929         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29930         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29931         [!POSIX] (posix_madvise): Likewise.
29932         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29933         && !UNIX98].
29934         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29935         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29936         (mode_t): Likewise.
29937         (posix_mem_offset): Likewise.
29938         (posix_typed_mem_get_info): Likewise.
29939         (posix_typed_mem_open): Likewise.
29941         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29942         Change condition to [XOPEN2K8].
29944         * conform/conformtest.pl: Preprocess allow-header data with -x c
29945         instead of from stdin.
29946         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29947         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29948         [C99-based standards] (cerfc): Likewise.
29949         [C99-based standards] (cexp2): Likewise.
29950         [C99-based standards] (cexpm1): Likewise.
29951         [C99-based standards] (clog10): Likewise.
29952         [C99-based standards] (clog1p): Likewise.
29953         [C99-based standards] (clog2): Likewise.
29954         [C99-based standards] (clgamma): Likewise.
29955         [C99-based standards] (ctgamma): Likewise.
29956         [C99-based standards] (cerff): Likewise.
29957         [C99-based standards] (cerfcf): Likewise.
29958         [C99-based standards] (cexp2f): Likewise.
29959         [C99-based standards] (cexpm1f): Likewise.
29960         [C99-based standards] (clog10f): Likewise.
29961         [C99-based standards] (clog1pf): Likewise.
29962         [C99-based standards] (clog2f): Likewise.
29963         [C99-based standards] (clgammaf): Likewise.
29964         [C99-based standards] (ctgammaf): Likewise.
29965         [C99-based standards] (cerfl): Likewise.
29966         [C99-based standards] (cerfcl): Likewise.
29967         [C99-based standards] (cexp2l): Likewise.
29968         [C99-based standards] (cexpm1l): Likewise.
29969         [C99-based standards] (clog10l): Likewise.
29970         [C99-based standards] (clog1pl): Likewise.
29971         [C99-based standards] (clog2l): Likewise.
29972         [C99-based standards] (clgammal): Likewise.
29973         [C99-based standards] (ctgammal): Likewise.
29974         * conform/data/inttypes.h-data [C99-based standards]: Include
29975         stdint.h-data.  Remove all expectations for stdint.h contents.
29976         [C99-based standards] (PRI*): Do not allow.
29977         [C99-based standards] (SCN*): Likewise.
29978         [C99-based standards] (*_t): Likewise.
29979         [C99-based-standards] (PRId8): Expect macro.
29980         [C99-based-standards] (PRIi8): Likewise.
29981         [C99-based-standards] (PRIo8): Likewise.
29982         [C99-based-standards] (PRIu8): Likewise.
29983         [C99-based-standards] (PRIx8): Likewise.
29984         [C99-based-standards] (PRIX8): Likewise.
29985         [C99-based-standards] (SCNd8): Likewise.
29986         [C99-based-standards] (SCNi8): Likewise.
29987         [C99-based-standards] (SCNo8): Likewise.
29988         [C99-based-standards] (SCNu8): Likewise.
29989         [C99-based-standards] (SCNx8): Likewise.
29990         [C99-based-standards] (PRIdLEAST8): Likewise.
29991         [C99-based-standards] (PRIiLEAST8): Likewise.
29992         [C99-based-standards] (PRIoLEAST8): Likewise.
29993         [C99-based-standards] (PRIuLEAST8): Likewise.
29994         [C99-based-standards] (PRIxLEAST8): Likewise.
29995         [C99-based-standards] (PRIXLEAST8): Likewise.
29996         [C99-based-standards] (SCNdLEAST8): Likewise.
29997         [C99-based-standards] (SCNiLEAST8): Likewise.
29998         [C99-based-standards] (SCNoLEAST8): Likewise.
29999         [C99-based-standards] (SCNuLEAST8): Likewise.
30000         [C99-based-standards] (SCNxLEAST8): Likewise.
30001         [C99-based-standards] (PRIdFAST8): Likewise.
30002         [C99-based-standards] (PRIiFAST8): Likewise.
30003         [C99-based-standards] (PRIoFAST8): Likewise.
30004         [C99-based-standards] (PRIuFAST8): Likewise.
30005         [C99-based-standards] (PRIxFAST8): Likewise.
30006         [C99-based-standards] (PRIXFAST8): Likewise.
30007         [C99-based-standards] (SCNdFAST8): Likewise.
30008         [C99-based-standards] (SCNiFAST8): Likewise.
30009         [C99-based-standards] (SCNoFAST8): Likewise.
30010         [C99-based-standards] (SCNuFAST8): Likewise.
30011         [C99-based-standards] (SCNxFAST8): Likewise.
30012         [C99-based-standards] (PRId16): Likewise.
30013         [C99-based-standards] (PRIi16): Likewise.
30014         [C99-based-standards] (PRIo16): Likewise.
30015         [C99-based-standards] (PRIu16): Likewise.
30016         [C99-based-standards] (PRIx16): Likewise.
30017         [C99-based-standards] (PRIX16): Likewise.
30018         [C99-based-standards] (SCNd16): Likewise.
30019         [C99-based-standards] (SCNi16): Likewise.
30020         [C99-based-standards] (SCNo16): Likewise.
30021         [C99-based-standards] (SCNu16): Likewise.
30022         [C99-based-standards] (SCNx16): Likewise.
30023         [C99-based-standards] (PRIdLEAST16): Likewise.
30024         [C99-based-standards] (PRIiLEAST16): Likewise.
30025         [C99-based-standards] (PRIoLEAST16): Likewise.
30026         [C99-based-standards] (PRIuLEAST16): Likewise.
30027         [C99-based-standards] (PRIxLEAST16): Likewise.
30028         [C99-based-standards] (PRIXLEAST16): Likewise.
30029         [C99-based-standards] (SCNdLEAST16): Likewise.
30030         [C99-based-standards] (SCNiLEAST16): Likewise.
30031         [C99-based-standards] (SCNoLEAST16): Likewise.
30032         [C99-based-standards] (SCNuLEAST16): Likewise.
30033         [C99-based-standards] (SCNxLEAST16): Likewise.
30034         [C99-based-standards] (PRIdFAST16): Likewise.
30035         [C99-based-standards] (PRIiFAST16): Likewise.
30036         [C99-based-standards] (PRIoFAST16): Likewise.
30037         [C99-based-standards] (PRIuFAST16): Likewise.
30038         [C99-based-standards] (PRIxFAST16): Likewise.
30039         [C99-based-standards] (PRIXFAST16): Likewise.
30040         [C99-based-standards] (SCNdFAST16): Likewise.
30041         [C99-based-standards] (SCNiFAST16): Likewise.
30042         [C99-based-standards] (SCNoFAST16): Likewise.
30043         [C99-based-standards] (SCNuFAST16): Likewise.
30044         [C99-based-standards] (SCNxFAST16): Likewise.
30045         [C99-based-standards] (PRId32): Likewise.
30046         [C99-based-standards] (PRIi32): Likewise.
30047         [C99-based-standards] (PRIo32): Likewise.
30048         [C99-based-standards] (PRIu32): Likewise.
30049         [C99-based-standards] (PRIx32): Likewise.
30050         [C99-based-standards] (PRIX32): Likewise.
30051         [C99-based-standards] (SCNd32): Likewise.
30052         [C99-based-standards] (SCNi32): Likewise.
30053         [C99-based-standards] (SCNo32): Likewise.
30054         [C99-based-standards] (SCNu32): Likewise.
30055         [C99-based-standards] (SCNx32): Likewise.
30056         [C99-based-standards] (PRIdLEAST32): Likewise.
30057         [C99-based-standards] (PRIiLEAST32): Likewise.
30058         [C99-based-standards] (PRIoLEAST32): Likewise.
30059         [C99-based-standards] (PRIuLEAST32): Likewise.
30060         [C99-based-standards] (PRIxLEAST32): Likewise.
30061         [C99-based-standards] (PRIXLEAST32): Likewise.
30062         [C99-based-standards] (SCNdLEAST32): Likewise.
30063         [C99-based-standards] (SCNiLEAST32): Likewise.
30064         [C99-based-standards] (SCNoLEAST32): Likewise.
30065         [C99-based-standards] (SCNuLEAST32): Likewise.
30066         [C99-based-standards] (SCNxLEAST32): Likewise.
30067         [C99-based-standards] (PRIdFAST32): Likewise.
30068         [C99-based-standards] (PRIiFAST32): Likewise.
30069         [C99-based-standards] (PRIoFAST32): Likewise.
30070         [C99-based-standards] (PRIuFAST32): Likewise.
30071         [C99-based-standards] (PRIxFAST32): Likewise.
30072         [C99-based-standards] (PRIXFAST32): Likewise.
30073         [C99-based-standards] (SCNdFAST32): Likewise.
30074         [C99-based-standards] (SCNiFAST32): Likewise.
30075         [C99-based-standards] (SCNoFAST32): Likewise.
30076         [C99-based-standards] (SCNuFAST32): Likewise.
30077         [C99-based-standards] (SCNxFAST32): Likewise.
30078         [C99-based-standards] (PRId64): Likewise.
30079         [C99-based-standards] (PRIi64): Likewise.
30080         [C99-based-standards] (PRIo64): Likewise.
30081         [C99-based-standards] (PRIu64): Likewise.
30082         [C99-based-standards] (PRIx64): Likewise.
30083         [C99-based-standards] (PRIX64): Likewise.
30084         [C99-based-standards] (SCNd64): Likewise.
30085         [C99-based-standards] (SCNi64): Likewise.
30086         [C99-based-standards] (SCNo64): Likewise.
30087         [C99-based-standards] (SCNu64): Likewise.
30088         [C99-based-standards] (SCNx64): Likewise.
30089         [C99-based-standards] (PRIdLEAST64): Likewise.
30090         [C99-based-standards] (PRIiLEAST64): Likewise.
30091         [C99-based-standards] (PRIoLEAST64): Likewise.
30092         [C99-based-standards] (PRIuLEAST64): Likewise.
30093         [C99-based-standards] (PRIxLEAST64): Likewise.
30094         [C99-based-standards] (PRIXLEAST64): Likewise.
30095         [C99-based-standards] (SCNdLEAST64): Likewise.
30096         [C99-based-standards] (SCNiLEAST64): Likewise.
30097         [C99-based-standards] (SCNoLEAST64): Likewise.
30098         [C99-based-standards] (SCNuLEAST64): Likewise.
30099         [C99-based-standards] (SCNxLEAST64): Likewise.
30100         [C99-based-standards] (PRIdFAST64): Likewise.
30101         [C99-based-standards] (PRIiFAST64): Likewise.
30102         [C99-based-standards] (PRIoFAST64): Likewise.
30103         [C99-based-standards] (PRIuFAST64): Likewise.
30104         [C99-based-standards] (PRIxFAST64): Likewise.
30105         [C99-based-standards] (PRIXFAST64): Likewise.
30106         [C99-based-standards] (SCNdFAST64): Likewise.
30107         [C99-based-standards] (SCNiFAST64): Likewise.
30108         [C99-based-standards] (SCNoFAST64): Likewise.
30109         [C99-based-standards] (SCNuFAST64): Likewise.
30110         [C99-based-standards] (SCNxFAST64): Likewise.
30111         [C99-based-standards] (PRIdMAX): Likewise.
30112         [C99-based-standards] (PRIiMAX): Likewise.
30113         [C99-based-standards] (PRIoMAX): Likewise.
30114         [C99-based-standards] (PRIuMAX): Likewise.
30115         [C99-based-standards] (PRIxMAX): Likewise.
30116         [C99-based-standards] (PRIXMAX): Likewise.
30117         [C99-based-standards] (SCNdMAX): Likewise.
30118         [C99-based-standards] (SCNiMAX): Likewise.
30119         [C99-based-standards] (SCNoMAX): Likewise.
30120         [C99-based-standards] (SCNuMAX): Likewise.
30121         [C99-based-standards] (SCNxMAX): Likewise.
30122         [C99-based-standards] (PRIdPTR): Likewise.
30123         [C99-based-standards] (PRIiPTR): Likewise.
30124         [C99-based-standards] (PRIoPTR): Likewise.
30125         [C99-based-standards] (PRIuPTR): Likewise.
30126         [C99-based-standards] (PRIxPTR): Likewise.
30127         [C99-based-standards] (PRIXPTR): Likewise.
30128         [C99-based-standards] (SCNdPTR): Likewise.
30129         [C99-based-standards] (SCNiPTR): Likewise.
30130         [C99-based-standards] (SCNoPTR): Likewise.
30131         [C99-based-standards] (SCNuPTR): Likewise.
30132         [C99-based-standards] (SCNxPTR): Likewise.
30133         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30134         allow.
30135         * conform/data/stdint.h-data: Update comments to clarify
30136         requirements.
30137         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30138         type.
30139         [C99-based standards] (INT8_MAX): Likewise.
30140         [C99-based standards] (INT16_MIN): Likewise.
30141         [C99-based standards] (INT16_MAX): Likewise.
30142         [C99-based standards] (INT32_MIN): Likewise.
30143         [C99-based standards] (INT32_MAX): Likewise.
30144         [C99-based standards] (INT64_MIN): Likewise.
30145         [C99-based standards] (INT64_MAX): Likewise.
30146         [C99-based standards] (UINT8_MAX): Likewise.
30147         [C99-based standards] (UINT16_MAX): Likewise.
30148         [C99-based standards] (UINT32_MAX): Likewise.
30149         [C99-based standards] (UINT64_MAX): Likewise.
30150         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30151         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30152         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30153         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30154         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30155         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30156         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30157         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30158         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30159         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30160         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30161         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30162         [C99-based standards] (INT_FAST8_MIN): Likewise.
30163         [C99-based standards] (INT_FAST8_MAX): Likewise.
30164         [C99-based standards] (INT_FAST16_MIN): Likewise.
30165         [C99-based standards] (INT_FAST16_MAX): Likewise.
30166         [C99-based standards] (INT_FAST32_MIN): Likewise.
30167         [C99-based standards] (INT_FAST32_MAX): Likewise.
30168         [C99-based standards] (INT_FAST64_MIN): Likewise.
30169         [C99-based standards] (INT_FAST64_MAX): Likewise.
30170         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30171         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30172         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30173         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30174         [C99-based standards] (INTPTR_MIN): Likewise.
30175         [C99-based standards] (INTPTR_MAX): Likewise.
30176         [C99-based standards] (UINTPTR_MAX): Likewise.
30177         [C99-based standards] (INTMAX_MIN): Likewise.
30178         [C99-based standards] (INTMAX_MAX): Likewise.
30179         [C99-based standards] (UINTMAX_MAX): Likewise.
30180         [C99-based standards] (PTRDIFF_MIN): Likewise.
30181         [C99-based standards] (PTRDIFF_MAX): Likewise.
30182         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30183         [C99-based standards] (SIZE_MAX): Likewise.
30184         [C99-based standards] (WCHAR_MAX): Likewise.
30185         [C99-based standards] (WINT_MAX): Likewise.
30186         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30187         constraint on value.
30188         [C99-based standards] (WCHAR_MIN): Likewise.
30189         [C99-based standards] (WINT_MIN): Likewise.
30190         [C99-based standards] (*_t): Allow.
30191         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30192         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30193         Include math.h-data and complex.h-data.  Remove all expectations
30194         of math.h and complex.h contents.
30195         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30196         at end of line.
30197         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30198         (struct tm): Expect tag.
30199         [C99-based-standards] (wcstof): Expect function.
30200         [C99-based-standards] (wcstold): Likewise.
30201         [C99-based-standards] (wcstoll): Likewise.
30202         [C99-based-standards] (wcstoull): Likewise.
30203         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30204         macro-int-constant.  Specify type.
30205         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30206         constraint on value.
30207         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30208         Specify type.
30209         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30210         Specify value.
30211         [ISO C standards]: Do not allow headers.
30212         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30213         wcs[abcdefghijklmnopqrstuvwxyz]*.
30214         [ISO C standards] (*_t): Do not allow.
30215         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30216         Expect function.
30217         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30218         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30219         Specify type.
30220         [ISO C standards]: Do not allow headers.
30221         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30222         is[abcdefghijklmnopqrstuvwxyz]*.
30223         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30224         to[abcdefghijklmnopqrstuvwxyz]*.
30225         [ISO C standards] (*_t): Do not allow.
30226         * conform/data/stdalign.h-data: New file.
30227         * conform/data/stdbool.h-data: Likewise.
30228         * conform/data/stdnoreturn.h-data: Likewise.
30230 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30232         [BZ #14815]
30233         * manual/filesys.texi (Directory Entries): Typo fix.
30234         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30236 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30238         * elf/elf.h (EM_AARCH64): New macro.
30239         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30240         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30241         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30242         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30243         (R_AARCH64_TLSDESC): Likewise.
30244         (NT_ARM_TLS): Likewise.
30245         (NT_ARM_HW_BREAK): Likewise.
30246         (NT_ARM_HW_WATCH): Likewise.
30248 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30250         [BZ #14811]
30251         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30252         (__ieee754_powl): Saturate nonzero exponents with absolute value
30253         below 0x1p-79 to +/- 0x1p-79.
30254         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30255         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30256         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30257         nonzero exponents with absolute value below 0x1p-32 to +/-
30258         0x1p-32.
30259         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30260         (__ieee754_powl): Saturate nonzero exponents with absolute value
30261         below 0x1p-79 to +/- 0x1p-79.
30262         * math/libm-test.inc (pow_test): Add more tests.
30264 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30266         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30267         _dl_s390_cap_flags with kernel. Increase string length.
30268         (_dl_s390_platforms): Add z196 and zEC12.
30270 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30272         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30273         Change XOPEN21K to XOPEN2K.
30275 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30277         * string/memmove.c: Use memcpy when possible.
30279 2012-11-06  Andreas Jaeger  <aj@suse.de>
30281         * po/eo.po: Update from translation team.
30283 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30285         [BZ #14793]
30286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30287         exponent and small x and y exponents, scale x or y up.  Increase
30288         by 2 the exponent used in scaling up.
30289         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30290         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30291         * math/libm-test.inc (fma_test): Add more tests.
30292         (fma_test_towardzero): Likewise.
30293         (fma_test_downward): Likewise.
30294         (fma_test_upward): Likewise.
30296 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30298         [BZ #14805]
30299         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30300         fenv_t *.
30302         [BZ #14801]
30303         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30304         namespace for names of struct fields.
30305         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30306         fenv_t fields.
30307         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30308         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30310 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30312         [BZ #3665]
30313         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30315 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30317         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30318         PTR_DEMANGLE.
30320         [BZ #5246]
30321         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30322         PTR_DEMANGLE.
30324 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
30326         [BZ #14797]
30327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30328         definitely overflow as x * y not x * y + z.
30329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30330         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30331         * math/libm-test.inc (fma_test): Add more tests.
30332         (fma_test_towardzero): Likewise.
30333         (fma_test_downward): Likewise.
30334         (fma_test_upward): Likewise.
30336 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30338         [BZ #157]
30340         * include/stub-tag.h: Remove file.
30341         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30342         '#include' of it.
30343         * manual/maint.texi (Porting): Don't reference it.
30344         * Makerules ($(objpfx)stubs): Likewise.
30345         * dirent/closedir.c: Don't include <stub-tag.h>.
30346         * dirent/dirfd.c: Likewise.
30347         * dirent/fdopendir.c: Likewise.
30348         * dirent/getdents.c: Likewise.
30349         * dirent/getdents64.c: Likewise.
30350         * dirent/opendir.c: Likewise.
30351         * dirent/readdir.c: Likewise.
30352         * dirent/readdir64.c: Likewise.
30353         * dirent/readdir64_r.c: Likewise.
30354         * dirent/readdir_r.c: Likewise.
30355         * dirent/rewinddir.c: Likewise.
30356         * dirent/seekdir.c: Likewise.
30357         * dirent/telldir.c: Likewise.
30358         * gmon/profil.c: Likewise.
30359         * grp/setgroups.c: Likewise.
30360         * inet/if_index.c: Likewise.
30361         * io/access.c: Likewise.
30362         * io/chdir.c: Likewise.
30363         * io/chmod.c: Likewise.
30364         * io/chown.c: Likewise.
30365         * io/close.c: Likewise.
30366         * io/dup.c: Likewise.
30367         * io/dup2.c: Likewise.
30368         * io/dup3.c: Likewise.
30369         * io/euidaccess.c: Likewise.
30370         * io/faccessat.c: Likewise.
30371         * io/fchdir.c: Likewise.
30372         * io/fchmod.c: Likewise.
30373         * io/fchmodat.c: Likewise.
30374         * io/fchown.c: Likewise.
30375         * io/fchownat.c: Likewise.
30376         * io/fcntl.c: Likewise.
30377         * io/flock.c: Likewise.
30378         * io/fstatfs.c: Likewise.
30379         * io/fstatfs64.c: Likewise.
30380         * io/fstatvfs.c: Likewise.
30381         * io/fstatvfs64.c: Likewise.
30382         * io/futimens.c: Likewise.
30383         * io/fxstat.c: Likewise.
30384         * io/fxstat64.c: Likewise.
30385         * io/fxstatat.c: Likewise.
30386         * io/fxstatat64.c: Likewise.
30387         * io/getcwd.c: Likewise.
30388         * io/isatty.c: Likewise.
30389         * io/lchmod.c: Likewise.
30390         * io/lchown.c: Likewise.
30391         * io/link.c: Likewise.
30392         * io/linkat.c: Likewise.
30393         * io/lseek.c: Likewise.
30394         * io/lseek64.c: Likewise.
30395         * io/lxstat64.c: Likewise.
30396         * io/mkdir.c: Likewise.
30397         * io/mkdirat.c: Likewise.
30398         * io/mkfifo.c: Likewise.
30399         * io/mkfifoat.c: Likewise.
30400         * io/open.c: Likewise.
30401         * io/open64.c: Likewise.
30402         * io/openat.c: Likewise.
30403         * io/openat64.c: Likewise.
30404         * io/pipe.c: Likewise.
30405         * io/pipe2.c: Likewise.
30406         * io/poll.c: Likewise.
30407         * io/posix_fadvise.c: Likewise.
30408         * io/posix_fadvise64.c: Likewise.
30409         * io/posix_fallocate.c: Likewise.
30410         * io/posix_fallocate64.c: Likewise.
30411         * io/read.c: Likewise.
30412         * io/readlink.c: Likewise.
30413         * io/readlinkat.c: Likewise.
30414         * io/rmdir.c: Likewise.
30415         * io/sendfile.c: Likewise.
30416         * io/sendfile64.c: Likewise.
30417         * io/statfs.c: Likewise.
30418         * io/statfs64.c: Likewise.
30419         * io/statvfs.c: Likewise.
30420         * io/statvfs64.c: Likewise.
30421         * io/symlink.c: Likewise.
30422         * io/symlinkat.c: Likewise.
30423         * io/ttyname.c: Likewise.
30424         * io/ttyname_r.c: Likewise.
30425         * io/umask.c: Likewise.
30426         * io/unlink.c: Likewise.
30427         * io/unlinkat.c: Likewise.
30428         * io/utime.c: Likewise.
30429         * io/utimensat.c: Likewise.
30430         * io/write.c: Likewise.
30431         * io/xmknod.c: Likewise.
30432         * io/xmknodat.c: Likewise.
30433         * io/xstat.c: Likewise.
30434         * io/xstat64.c: Likewise.
30435         * login/getpt.c: Likewise.
30436         * login/grantpt.c: Likewise.
30437         * login/unlockpt.c: Likewise.
30438         * math/e_acoshl.c: Likewise.
30439         * math/e_acosl.c: Likewise.
30440         * math/e_asinl.c: Likewise.
30441         * math/e_atan2l.c: Likewise.
30442         * math/e_atanhl.c: Likewise.
30443         * math/e_coshl.c: Likewise.
30444         * math/e_expl.c: Likewise.
30445         * math/e_fmodl.c: Likewise.
30446         * math/e_gammal_r.c: Likewise.
30447         * math/e_hypotl.c: Likewise.
30448         * math/e_j0l.c: Likewise.
30449         * math/e_j1l.c: Likewise.
30450         * math/e_jnl.c: Likewise.
30451         * math/e_lgammal_r.c: Likewise.
30452         * math/e_log10l.c: Likewise.
30453         * math/e_log2l.c: Likewise.
30454         * math/e_logl.c: Likewise.
30455         * math/e_powl.c: Likewise.
30456         * math/e_rem_pio2l.c: Likewise.
30457         * math/e_sinhl.c: Likewise.
30458         * math/e_sqrtl.c: Likewise.
30459         * math/fclrexcpt.c: Likewise.
30460         * math/fedisblxcpt.c: Likewise.
30461         * math/feenablxcpt.c: Likewise.
30462         * math/fegetenv.c: Likewise.
30463         * math/fegetexcept.c: Likewise.
30464         * math/fegetround.c: Likewise.
30465         * math/feholdexcpt.c: Likewise.
30466         * math/fesetenv.c: Likewise.
30467         * math/fesetround.c: Likewise.
30468         * math/feupdateenv.c: Likewise.
30469         * math/fgetexcptflg.c: Likewise.
30470         * math/fraiseexcpt.c: Likewise.
30471         * math/fsetexcptflg.c: Likewise.
30472         * math/ftestexcept.c: Likewise.
30473         * math/k_cosl.c: Likewise.
30474         * math/k_rem_pio2l.c: Likewise.
30475         * math/k_sinl.c: Likewise.
30476         * math/k_tanl.c: Likewise.
30477         * math/s_asinhl.c: Likewise.
30478         * math/s_atanl.c: Likewise.
30479         * math/s_cbrtl.c: Likewise.
30480         * math/s_erfl.c: Likewise.
30481         * math/s_expm1l.c: Likewise.
30482         * math/s_log1pl.c: Likewise.
30483         * math/s_tanhl.c: Likewise.
30484         * misc/acct.c: Likewise.
30485         * misc/brk.c: Likewise.
30486         * misc/chflags.c: Likewise.
30487         * misc/chroot.c: Likewise.
30488         * misc/fchflags.c: Likewise.
30489         * misc/fgetxattr.c: Likewise.
30490         * misc/flistxattr.c: Likewise.
30491         * misc/fremovexattr.c: Likewise.
30492         * misc/fsetxattr.c: Likewise.
30493         * misc/fsync.c: Likewise.
30494         * misc/ftruncate.c: Likewise.
30495         * misc/futimes.c: Likewise.
30496         * misc/futimesat.c: Likewise.
30497         * misc/getdomain.c: Likewise.
30498         * misc/getdtsz.c: Likewise.
30499         * misc/gethostid.c: Likewise.
30500         * misc/gethostname.c: Likewise.
30501         * misc/getloadavg.c: Likewise.
30502         * misc/getpagesize.c: Likewise.
30503         * misc/getsysstats.c: Likewise.
30504         * misc/getxattr.c: Likewise.
30505         * misc/gtty.c: Likewise.
30506         * misc/ioctl.c: Likewise.
30507         * misc/lgetxattr.c: Likewise.
30508         * misc/listxattr.c: Likewise.
30509         * misc/llistxattr.c: Likewise.
30510         * misc/lremovexattr.c: Likewise.
30511         * misc/lsetxattr.c: Likewise.
30512         * misc/lutimes.c: Likewise.
30513         * misc/madvise.c: Likewise.
30514         * misc/mincore.c: Likewise.
30515         * misc/mlock.c: Likewise.
30516         * misc/mlockall.c: Likewise.
30517         * misc/mmap.c: Likewise.
30518         * misc/mprotect.c: Likewise.
30519         * misc/msync.c: Likewise.
30520         * misc/munlock.c: Likewise.
30521         * misc/munlockall.c: Likewise.
30522         * misc/munmap.c: Likewise.
30523         * misc/preadv.c: Likewise.
30524         * misc/preadv64.c: Likewise.
30525         * misc/ptrace.c: Likewise.
30526         * misc/pwritev.c: Likewise.
30527         * misc/pwritev64.c: Likewise.
30528         * misc/readv.c: Likewise.
30529         * misc/reboot.c: Likewise.
30530         * misc/remap_file_pages.c: Likewise.
30531         * misc/removexattr.c: Likewise.
30532         * misc/revoke.c: Likewise.
30533         * misc/select.c: Likewise.
30534         * misc/setdomain.c: Likewise.
30535         * misc/setegid.c: Likewise.
30536         * misc/seteuid.c: Likewise.
30537         * misc/sethostid.c: Likewise.
30538         * misc/sethostname.c: Likewise.
30539         * misc/setregid.c: Likewise.
30540         * misc/setreuid.c: Likewise.
30541         * misc/setxattr.c: Likewise.
30542         * misc/sstk.c: Likewise.
30543         * misc/stty.c: Likewise.
30544         * misc/swapoff.c: Likewise.
30545         * misc/swapon.c: Likewise.
30546         * misc/sync.c: Likewise.
30547         * misc/syncfs.c: Likewise.
30548         * misc/syscall.c: Likewise.
30549         * misc/truncate.c: Likewise.
30550         * misc/ualarm.c: Likewise.
30551         * misc/usleep.c: Likewise.
30552         * misc/ustat.c: Likewise.
30553         * misc/utimes.c: Likewise.
30554         * misc/vhangup.c: Likewise.
30555         * misc/writev.c: Likewise.
30556         * posix/_exit.c: Likewise.
30557         * posix/alarm.c: Likewise.
30558         * posix/execve.c: Likewise.
30559         * posix/fexecve.c: Likewise.
30560         * posix/fork.c: Likewise.
30561         * posix/fpathconf.c: Likewise.
30562         * posix/getaddrinfo.c: Likewise.
30563         * posix/getegid.c: Likewise.
30564         * posix/geteuid.c: Likewise.
30565         * posix/getgid.c: Likewise.
30566         * posix/getgroups.c: Likewise.
30567         * posix/getlogin.c: Likewise.
30568         * posix/getlogin_r.c: Likewise.
30569         * posix/getpgid.c: Likewise.
30570         * posix/getpid.c: Likewise.
30571         * posix/getppid.c: Likewise.
30572         * posix/getresgid.c: Likewise.
30573         * posix/getresuid.c: Likewise.
30574         * posix/getsid.c: Likewise.
30575         * posix/getuid.c: Likewise.
30576         * posix/glob64.c: Likewise.
30577         * posix/nanosleep.c: Likewise.
30578         * posix/pathconf.c: Likewise.
30579         * posix/pause.c: Likewise.
30580         * posix/posix_madvise.c: Likewise.
30581         * posix/pread.c: Likewise.
30582         * posix/pread64.c: Likewise.
30583         * posix/pwrite.c: Likewise.
30584         * posix/pwrite64.c: Likewise.
30585         * posix/sched_getaffinity.c: Likewise.
30586         * posix/sched_getp.c: Likewise.
30587         * posix/sched_gets.c: Likewise.
30588         * posix/sched_primax.c: Likewise.
30589         * posix/sched_primin.c: Likewise.
30590         * posix/sched_rr_gi.c: Likewise.
30591         * posix/sched_setaffinity.c: Likewise.
30592         * posix/sched_setp.c: Likewise.
30593         * posix/sched_sets.c: Likewise.
30594         * posix/sched_yield.c: Likewise.
30595         * posix/setgid.c: Likewise.
30596         * posix/setlogin.c: Likewise.
30597         * posix/setpgid.c: Likewise.
30598         * posix/setresgid.c: Likewise.
30599         * posix/setresuid.c: Likewise.
30600         * posix/setsid.c: Likewise.
30601         * posix/setuid.c: Likewise.
30602         * posix/sleep.c: Likewise.
30603         * posix/spawni.c: Likewise.
30604         * posix/sysconf.c: Likewise.
30605         * posix/times.c: Likewise.
30606         * posix/wait.c: Likewise.
30607         * posix/wait3.c: Likewise.
30608         * posix/wait4.c: Likewise.
30609         * posix/waitpid.c: Likewise.
30610         * resolv/gai_sigqueue.c: Likewise.
30611         * resource/getpriority.c: Likewise.
30612         * resource/getrlimit.c: Likewise.
30613         * resource/getrusage.c: Likewise.
30614         * resource/nice.c: Likewise.
30615         * resource/setpriority.c: Likewise.
30616         * resource/setrlimit.c: Likewise.
30617         * resource/ulimit.c: Likewise.
30618         * rt/aio_cancel.c: Likewise.
30619         * rt/aio_fsync.c: Likewise.
30620         * rt/aio_read.c: Likewise.
30621         * rt/aio_sigqueue.c: Likewise.
30622         * rt/aio_suspend.c: Likewise.
30623         * rt/aio_write.c: Likewise.
30624         * rt/clock_getres.c: Likewise.
30625         * rt/clock_gettime.c: Likewise.
30626         * rt/clock_nanosleep.c: Likewise.
30627         * rt/clock_settime.c: Likewise.
30628         * rt/lio_listio.c: Likewise.
30629         * rt/mq_close.c: Likewise.
30630         * rt/mq_getattr.c: Likewise.
30631         * rt/mq_notify.c: Likewise.
30632         * rt/mq_open.c: Likewise.
30633         * rt/mq_receive.c: Likewise.
30634         * rt/mq_send.c: Likewise.
30635         * rt/mq_setattr.c: Likewise.
30636         * rt/mq_timedreceive.c: Likewise.
30637         * rt/mq_timedsend.c: Likewise.
30638         * rt/mq_unlink.c: Likewise.
30639         * rt/shm_open.c: Likewise.
30640         * rt/shm_unlink.c: Likewise.
30641         * rt/timer_create.c: Likewise.
30642         * rt/timer_delete.c: Likewise.
30643         * rt/timer_getoverr.c: Likewise.
30644         * rt/timer_gettime.c: Likewise.
30645         * rt/timer_settime.c: Likewise.
30646         * setjmp/__longjmp.c: Likewise.
30647         * setjmp/setjmp.c: Likewise.
30648         * signal/kill.c: Likewise.
30649         * signal/killpg.c: Likewise.
30650         * signal/raise.c: Likewise.
30651         * signal/sigaction.c: Likewise.
30652         * signal/sigaltstack.c: Likewise.
30653         * signal/sigblock.c: Likewise.
30654         * signal/sigignore.c: Likewise.
30655         * signal/sigintr.c: Likewise.
30656         * signal/signal.c: Likewise.
30657         * signal/sigpause.c: Likewise.
30658         * signal/sigpending.c: Likewise.
30659         * signal/sigqueue.c: Likewise.
30660         * signal/sigreturn.c: Likewise.
30661         * signal/sigset.c: Likewise.
30662         * signal/sigsetmask.c: Likewise.
30663         * signal/sigstack.c: Likewise.
30664         * signal/sigsuspend.c: Likewise.
30665         * signal/sigtimedwait.c: Likewise.
30666         * signal/sigvec.c: Likewise.
30667         * signal/sigwait.c: Likewise.
30668         * signal/sigwaitinfo.c: Likewise.
30669         * signal/sysv_signal.c: Likewise.
30670         * socket/accept.c: Likewise.
30671         * socket/accept4.c: Likewise.
30672         * socket/bind.c: Likewise.
30673         * socket/connect.c: Likewise.
30674         * socket/getpeername.c: Likewise.
30675         * socket/getsockname.c: Likewise.
30676         * socket/getsockopt.c: Likewise.
30677         * socket/isfdtype.c: Likewise.
30678         * socket/listen.c: Likewise.
30679         * socket/recv.c: Likewise.
30680         * socket/recvfrom.c: Likewise.
30681         * socket/recvmsg.c: Likewise.
30682         * socket/send.c: Likewise.
30683         * socket/sendmsg.c: Likewise.
30684         * socket/sendto.c: Likewise.
30685         * socket/setsockopt.c: Likewise.
30686         * socket/shutdown.c: Likewise.
30687         * socket/sockatmark.c: Likewise.
30688         * socket/socket.c: Likewise.
30689         * socket/socketpair.c: Likewise.
30690         * stdio-common/ctermid.c: Likewise.
30691         * stdio-common/cuserid.c: Likewise.
30692         * stdio-common/remove.c: Likewise.
30693         * stdio-common/rename.c: Likewise.
30694         * stdio-common/renameat.c: Likewise.
30695         * stdio-common/tempname.c: Likewise.
30696         * stdlib/getcontext.c: Likewise.
30697         * stdlib/makecontext.c: Likewise.
30698         * stdlib/setcontext.c: Likewise.
30699         * stdlib/swapcontext.c: Likewise.
30700         * stdlib/system.c: Likewise.
30701         * streams/fattach.c: Likewise.
30702         * streams/fdetach.c: Likewise.
30703         * streams/getmsg.c: Likewise.
30704         * streams/getpmsg.c: Likewise.
30705         * streams/putmsg.c: Likewise.
30706         * streams/putpmsg.c: Likewise.
30707         * sysdeps/unix/bsd/getpt.c: Likewise.
30708         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30709         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30710         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30712         Likewise.
30713         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30714         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30715         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30716         * sysvipc/msgctl.c: Likewise.
30717         * sysvipc/msgget.c: Likewise.
30718         * sysvipc/msgrcv.c: Likewise.
30719         * sysvipc/msgsnd.c: Likewise.
30720         * sysvipc/semctl.c: Likewise.
30721         * sysvipc/semget.c: Likewise.
30722         * sysvipc/semop.c: Likewise.
30723         * sysvipc/semtimedop.c: Likewise.
30724         * sysvipc/shmat.c: Likewise.
30725         * sysvipc/shmctl.c: Likewise.
30726         * sysvipc/shmdt.c: Likewise.
30727         * sysvipc/shmget.c: Likewise.
30728         * termios/tcdrain.c: Likewise.
30729         * termios/tcflow.c: Likewise.
30730         * termios/tcflush.c: Likewise.
30731         * termios/tcgetattr.c: Likewise.
30732         * termios/tcgetpgrp.c: Likewise.
30733         * termios/tcsendbrk.c: Likewise.
30734         * termios/tcsetattr.c: Likewise.
30735         * termios/tcsetpgrp.c: Likewise.
30736         * time/adjtime.c: Likewise.
30737         * time/clock.c: Likewise.
30738         * time/getitimer.c: Likewise.
30739         * time/gettimeofday.c: Likewise.
30740         * time/setitimer.c: Likewise.
30741         * time/settimeofday.c: Likewise.
30742         * time/stime.c: Likewise.
30743         * time/time.c: Likewise.
30745 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
30747         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30748         /usr/old/bin.
30750         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30751         instead of spaces.
30752         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30754 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
30756         [BZ #14796]
30757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30758         FE_TONEAREST before applying Dekker multiplication and Knuth
30759         addition.  Clear inexact exceptions and check for exact zero
30760         results afterwards.
30761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30762         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30763         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30764         * math/libm-test.inc (fma_test): Add more tests.
30765         (fma_test_towardzero): Likewise.
30766         (fma_test_downward): Likewise.
30767         (fma_test_upward): Likewise.
30768         * sysdeps/generic/math_private.h (default_libc_fesetround): New
30769         function.
30770         (libc_fesetround): New macro.
30771         (libc_fesetroundf): Likewise.
30772         (libc_fesetroundl): Likewise.
30773         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30774         function.
30775         (libc_fesetround_387): Likewise.
30776         (libc_fesetroundf): New macro.
30777         (libc_fesetround): Likewise.
30778         (libc_fesetroundl): Likewise.
30779         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30780         function.
30781         (libc_fesetroundf): New macro.
30782         (libc_fesetround): Likewise.
30783         (libc_fesetroundl): Likewise.
30784         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30785         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30786         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30787         libm_hidden_ver.
30788         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30789         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30790         libm_hidden_def.
30791         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30792         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30793         libm_hidden_ver.
30794         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30795         libm_hidden_def.
30797         [BZ #3439]
30798         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30799         integer constant usable in #if and use that to give value to enum
30800         constant.
30801         (FE_DIVBYZERO): Likewise.
30802         (FE_UNDERFLOW): Likewise.
30803         (FE_OVERFLOW): Likewise.
30804         (FE_INVALID): Likewise.
30805         (FE_INVALID_SNAN): Likewise.
30806         (FE_INVALID_ISI): Likewise.
30807         (FE_INVALID_IDI): Likewise.
30808         (FE_INVALID_ZDZ): Likewise.
30809         (FE_INVALID_IMZ): Likewise.
30810         (FE_INVALID_COMPARE): Likewise.
30811         (FE_INVALID_SOFTWARE): Likewise.
30812         (FE_INVALID_SQRT): Likewise.
30813         (FE_INVALID_INTEGER_CONVERSION): Likewise.
30814         (FE_TONEAREST): Likewise.
30815         (FE_TOWARDZERO): Likewise.
30816         (FE_UPWARD): Likewise.
30817         (FE_DOWNWARD): Likewise.
30818         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30819         (FE_DIVBYZERO): Likewise.
30820         (FE_OVERFLOW): Likewise.
30821         (FE_UNDERFLOW): Likewise.
30822         (FE_INEXACT): Likewise.
30823         (FE_TONEAREST): Likewise.
30824         (FE_DOWNWARD): Likewise.
30825         (FE_UPWARD): Likewise.
30826         (FE_TOWARDZERO): Likewise.
30827         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30828         (FE_UNDERFLOW): Likewise.
30829         (FE_OVERFLOW): Likewise.
30830         (FE_DIVBYZERO): Likewise.
30831         (FE_INVALID): Likewise.
30832         (FE_TONEAREST): Likewise.
30833         (FE_TOWARDZERO): Likewise.
30834         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30835         (FE_OVERFLOW): Likewise.
30836         (FE_UNDERFLOW): Likewise.
30837         (FE_DIVBYZERO): Likewise.
30838         (FE_INEXACT): Likewise.
30839         (FE_TONEAREST): Likewise.
30840         (FE_TOWARDZERO): Likewise.
30841         (FE_UPWARD): Likewise.
30842         (FE_DOWNWARD): Likewise.
30843         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30844         (FE_DIVBYZERO): Likewise.
30845         (FE_OVERFLOW): Likewise.
30846         (FE_UNDERFLOW): Likewise.
30847         (FE_INEXACT): Likewise.
30848         (FE_TONEAREST): Likewise.
30849         (FE_DOWNWARD): Likewise.
30850         (FE_UPWARD): Likewise.
30851         (FE_TOWARDZERO): Likewise.
30853 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
30855         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30857 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
30859         * scripts/cross-test-ssh.sh (command): Use newlines to separate
30860         commands.  Quote $PWD.
30861         (blacklist_exports): Don't use remove_newlines.  Replace "declare
30862         -x" by "export".
30863         (remove_newlines): Remove.
30865 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
30867         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30868         * stdlib/stdlib.h (atof): Moved to ...
30869         * include/bits/stdlib-float.h: Here.  New file.
30870         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30871         * stdlib/bits/stdlib-float.h: New file.
30872         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30873         -mno-sse -mno-mmx.
30874         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30875         <xmmintrin.h>.
30877 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30879         * conform/conformtest.pl (@headers): Add fenv.h.
30880         * conform/data/fenv.h-data: New file.
30881         * include/fenv.h [_ISOMAC]: Disable all contents of file except
30882         include of <math/fenv.h>.
30884         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30885         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30886         && !UNIX98].  Enables tests for XOPEN2K8.
30887         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30888         POSIX2008]: Likewise.
30890         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30891         (struct rusage): Do not expect type or its members.
30893         [BZ #3439]
30894         * math/math.h (FP_NAN): Define macro to integer constant usable in
30895         #if and use that to give value to enum constant.
30896         (FP_INFINITE): Likewise.
30897         (FP_ZERO): Likewise.
30898         (FP_SUBNORMAL): Likewise.
30899         (FP_NORMAL): Likewise.
30901 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
30903         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30904         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30905         arguments.
30907 2012-11-02  Roland McGrath  <roland@hack.frob.com>
30909         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30910         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30911         autoconf-time if not.
30912         * configure.in: Remove AC_PREREQ.
30914 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30916         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30917         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30918         of the internal implementation.
30920 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30922         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30923         except include of <misc/sys/syslog.h>.
30925 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30928         function returns with a NULL context exit with zero.
30930 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30932         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30934 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
30936         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30937         (run_program_cmd): This.
30938         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30939         (tst_langinfo): New variable.  Use it.
30941 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
30943         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30944         floating point opcodes.
30946 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30948         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30949         variable.
30951         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30953         * sysdeps/mach/hurd/powerpc: Remove directory.
30954         * sysdeps/mach/powerpc: Likewise.
30956 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30958         * scripts/check-local-headers.sh: Ignore c++ headers.
30960 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30962         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30963         __libc_cleanup_region_start argument.
30965 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
30967         [BZ #14784]
30968         [BZ #14785]
30969         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30970         x * y using scaling, not as x * y + z.
30971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30972         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30973         * math/libm-test.inc (fma_test): Add more tests.
30974         (fma_test_towardzero): Likewise.
30975         (fma_test_downward): Likewise.
30976         (fma_test_upward): Likewise.
30978 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30980         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30982 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30984         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30985         New variable.
30987 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
30989         * rt/tst-shm.c (worker): Correct checking for mmap failure.
30991 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30994         Fix sort order.
30995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30996         Likewise.
30998 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31001         Fix the order of the list for glibc 2.17.
31002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31003         Likewise.
31005 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31009 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31011         [BZ #14610]
31012         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31013         for low part of x being zero before using __atanl (y).
31014         * math/libm-test.inc (atan2_test): Add another test.
31016         * manual/install.texi (Configuring and compiling): Document
31017         general use of test-wrapper and test-wrapper-env.
31018         * INSTALL: Regenerated.
31020         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31021         (__fma): Do not extract and scale down low bits on after-rounding
31022         systems when result rounded to normal precision would have normal
31023         exponent.
31024         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31025         (__fmal): Do not extract and scale down low bits on after-rounding
31026         systems when result rounded to normal precision would have normal
31027         exponent.
31028         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31029         (__fmal): Do not extract and scale down low bits on after-rounding
31030         systems when result rounded to normal precision would have normal
31031         exponent.
31032         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31033         macro.
31034         (fma_test): Add more tests.
31035         (fma_test_towardzero): Likewise.
31036         (fma_test_downward): Likewise.
31037         (fma_test_upward): Likewise.
31039 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
31041         * sysdeps/i386/tininess.h: Renamed to ...
31042         * sysdeps/x86/tininess.h: This.
31043         * sysdeps/x86_64/tininess.h: Removed.
31045 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31047         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31048         input.  Use $(build-program-cmd).
31049         ($(objpfx)tst-array1-static.out): Likewise.
31050         ($(objpfx)tst-array2.out): Likewise.
31051         ($(objpfx)tst-array3.out): Likewise.
31052         ($(objpfx)tst-array4.out): Likewise.
31053         ($(objpfx)tst-array5.out): Likewise.
31054         ($(objpfx)tst-array5-static.out): Likewise.
31056 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
31058         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31059         if defined.
31061         * nss/nsswitch.h (nss_interface_function): Provide new
31062         macro for use with NSS functions.
31063         * grp/initgroups.c: Use new macro.
31064         * nss/getXXbyYY.c: Likewise.
31065         * nss/getXXbyYY_r.c: Likewise.
31066         * nss/getXXent.c: Likewise.
31067         * nss/getXXent_r.c: Likewise.
31068         * sysdeps/posix/getaddrinfo.c: Likewise.
31070 2012-10-30  Andreas Jaeger  <aj@suse.de>
31072         * po/ru.po: Update Russion translation from translation project.
31074 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31076         [BZ #14152]
31077         [BZ #14783]
31078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31079         result and shift together with sticky bit instead of replicating
31080         round-to-nearest rounding.
31081         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31082         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31083         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
31084         missing underflow exceptions.
31085         (fma_test_towardzero): Add more tests.
31086         (fma_test_downward): Likewise.
31087         (fma_test_upward): Likewise.
31089         [BZ #14047]
31090         * sysdeps/generic/tininess.h: New file.
31091         * sysdeps/i386/tininess.h: Likewise.
31092         * sysdeps/sh/tininess.h: Likewise.
31093         * sysdeps/x86_64/tininess.h: Likewise.
31094         * stdlib/tst-strtod-underflow.c: Likewise.
31095         * stdlib/tst-tininess.c: Likewise.
31096         * stdlib/strtod_l.c: Include <tininess.h>.
31097         (round_and_return): Do not set errno for exact underflow cases.
31098         Force an underflow exception when setting errno for underflow.
31099         Determine underflow based on rounding to normal precision if
31100         TININESS_AFTER_ROUNDING.
31101         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31102         ERANGE for exact underflow cases.
31103         * stdlib/Makefile (tests): Add tst-tininess and
31104         tst-strtod-underflow.
31105         ($(objpfx)tst-tininess): Use $(link-libm).
31106         ($(objpfx)tst-strtod-underflow): Likewise.
31108 2012-10-30  Andreas Jaeger  <aj@suse.de>
31110         [BZ#14767]
31111         * elf/Makefile (tests): Remove conditional for have-initfini-array
31112         since this is now always required and the variable does not exist
31113         anymore.
31114         (tests-static): Likewise.
31115         (modules-names): Likewise.
31117         * po/eo.po: Add Esperanto translation from translation project.
31119         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31120         merged with constructor/destructor.
31121         (init_array): Likewise.
31122         * elf/tst-array2dep.c (fini_array): Likewise.
31123         (init_array): Likewise.
31125 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31127         * manual/message.texi: Delete @cartouche tags.
31129 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31131         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31132         EOPNOTSUPP.
31133         * sysdeps/mach/hurd/fsync.c: Likewise.
31135         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31136         [_POSIX_REALTIME_SIGNALS]: Change condition to
31137         [_POSIX_REALTIME_SIGNALS > 0].
31139 2012-10-27  Andreas Jaeger  <aj@suse.de>
31141         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31142         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31144         [__WORDSIZE != 64]: Likewise.
31146 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31148         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31149         *  iconvdata/tst-tables.sh: Likewise.
31151 2012-10-25  David S. Miller  <davem@davemloft.net>
31153         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31154         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31155         of strtoull.
31157         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31158         ifunc-impl-list.c
31159         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31160         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31161         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31162         file.
31164 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31166         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31167         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31168         __getdirentries.
31170 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31171             Jim Blandy  <jimb@codesourcery.com>
31173         * scripts/cross-test-ssh.sh: New file.
31174         * manual/install.texi (Configuring and compiling): Document use of
31175         cross-test-ssh.sh.
31176         * INSTALL: Regenerated.
31178 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31180         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31181         EOPNOTSUPP.
31183 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31185         * Makeconfig (run-program-prefix): Fix comment.
31187 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31188             Jim Blandy  <jimb@codesourcery.com>
31190         * Makeconfig (test-wrapper): New variable,
31191         (test-wrapper-env): Likewise.
31192         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31193         (run-built-tests): Define to yes.
31194         (run-program-prefix): Use $(test-wrapper).
31195         (built-program-cmd): Likewise.
31196         * Rules (make-test-out): Use $(test-wrapper-env) and
31197         $(host-built-program-cmd).
31198         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31199         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31200         tst-pathopt.sh.
31201         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31202         $(test-wrapper-env) to tst-rtld-load-self.sh.
31203         ($(objpfx)order2.out): Use $(test-wrapper).
31204         ($(objpfx)tst-initorder.out): Likewise.
31205         ($(objpfx)tst-initorder2.out): Likewise.
31206         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31207         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31208         (test_wrapper_env): New variable.  Use it to run ld.so.
31209         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31210         Use it to run ld.so.
31211         (test_wrapper_env): Likewise.
31212         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31213         $(test-wrapper) to run-iconv-test.sh.
31214         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31215         (ICONV): Use $test_wrapper.
31216         * posix/Makefile ($(objpfx)globtest.out): Pass
31217         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31218         globtest.sh, not $(run-program-prefix).
31219         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31220         (test_wrapper): Likewise.
31221         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31222         set together with run_via_rtld_prefix.
31223         (run_program_prefix): Define in terms of test_wrapper and
31224         run_via_rtld_prefix.
31226 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31228         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31229         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31230         Targets removed.
31232         [BZ #14743]
31233         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31234         Declare __clock_getres, __clock_gettime, __clock_settime,
31235         __clock_nanosleep, and __clock_getcpuclockid.
31236         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31237         Remove librt_hidden_def (clock_gettime).
31238         * sysdeps/unix/clock_gettime.c: Likewise.
31239         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31240         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31241         * rt/clock_getres.c: Define __clock_getres as an alias.
31242         * sysdeps/posix/clock_getres.c: Likewise.
31243         * rt/clock_settime.c: Define __clock_settime as an alias.
31244         * sysdeps/unix/clock_settime.c: Likewise.
31245         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31246         * sysdeps/unix/clock_nanosleep.c: Likewise.
31247         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31248         * rt/clock-compat.c: New file.
31249         * rt/Makefile (librt-routines): Add clock-compat and move
31250         $(clock-routines) to ...
31251         (routines): ... here, new variable.
31252         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31253         Don't add get_clockfreq here.
31254         * rt/Versions (libc: GLIBC_2.17): New version set.
31255         Add clock_* symbols here.
31256         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31257         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31258         (GLIBC_2.17): Add clock_* symbols.
31259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31261         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31263         Likewise.
31264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31265         Likewise.
31266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31270         * NEWS: Mention the move.
31272         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31273         Use __open, __read, __close rather than their public counterparts.
31274         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31275         (__get_clockfreq_via_cpuinfo): Likewise.
31276         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31277         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31279         * config.h.in (HAVE_IFUNC): New #undef.
31280         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31281         was successful.
31282         * configure: Regenerated.
31284 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31286         * configure.in: Move READELF check to start of file.
31287         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31288         libc_cv_asm_gnu_indirect_function in the process.
31289         * configure: Regenerated.
31291 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31293         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31294         send the output to /dev/null.
31295         (libc_cv_cc_with_libunwind): Likewise.
31296         (libc_cv_as_noexecstack): Likewise.
31297         * configure: Regenerate.
31299 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31301         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31303         * posix/globtest.sh (TMPDIR): Do not set.
31304         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31305         (testout): Likewise.
31307 2012-10-24  Andreas Jaeger  <aj@suse.de>
31309         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31310         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31311         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31312         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31313         posix_fadvise64, posix_fallocate64.
31315         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31316         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31317         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31318         Likewise.
31319         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31320         Likewise.
31321         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31324         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31325         <bits/fcntl-linux.h>.
31326         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31329         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31330         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31331         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31332         [__WORDSIZE != 64]: Likewise.
31334 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31336         * Makeconfig (run-built-tests): New variable.
31337         * Rules [$(cross-compiling) = yes]: Change condition to
31338         [$(run-built-tests) = no].
31339         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31340         to [$(run-built-tests) = yes].
31341         * elf/Makefile [$(cross-compiling) = no]: Likewise
31342         * grp/Makefile [$(cross-compiling) = no]: Likewise.
31343         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31344         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31345         * intl/Makefile [$(cross-compiling) = no]: Likewise.
31346         * io/Makefile [$(cross-compiling) = no]: Likewise.
31347         * libio/Makefile [$(cross-compiling) = no]: Likewise.
31348         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31349         * misc/Makefile [$(cross-compiling) = no]: Likewise.
31350         * posix/Makefile [$(cross-compiling) = no]: Likewise.
31351         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31352         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31353         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31354         * string/Makefile [$(cross-compiling) = no]: Likewise.
31356         * posix/Makefile ($(objpfx)globtest.out): Pass
31357         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31358         $(rtld-installed-name).
31359         * posix/globtest.sh (elf_objpfx): Remove variable.
31360         (rtld_installed_name): Likewise.
31361         (library_path): Likewise.
31362         (run_program_prefix): New variable.  Use for running globtest
31363         binary.
31365 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
31366             Joseph Myers  <joseph@codesourcery.com>
31368         * Makeconfig (host-built-program-cmd): New variable.
31369         * elf/Makefile (tst-stackguard1-ARGS): Use
31370         $(host-built-program-cmd).
31371         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31372         (tst-spawn-ARGS): Likewise.
31373         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31375 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31376             Jim Blandy  <jimb@codesourcery.com>
31378         * Makeconfig (run-via-rtld-prefix): New variable.
31379         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31380         (built-program-cmd): Likewise.
31382 2012-10-22  Andreas Jaeger  <aj@suse.de>
31384         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31385         __O_RSYNC if it exists, otherwise to O_SYNC.
31387 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
31388             Joseph Myers  <joseph@codesourcery.com>
31390         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31391         /dev/null.
31392         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31393         from /dev/null
31394         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31395         /dev/null.
31397 2012-10-22  Andreas Jaeger  <aj@suse.de>
31399         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31400         Define always.
31401         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31404         bits/fcntl-linux.h.
31406         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31407         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31409         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31410         to __O_LARGEFILE.
31411         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31412         to __O_LARGEFILE.
31414 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
31415             Joseph Myers  <joseph@codesourcery.com>
31417         * config.make.in (NM): New variable.
31419 2012-10-21  Andreas Jaeger  <aj@suse.de>
31421         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31422         definitions and declarations that are provided by
31423         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31425 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31427         [BZ #14683]
31428         * elf/Makefile (tests-static): Add tst-leaks1-static.
31429         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31430         ($(objpfx)tst-leaks1-static): New rule.
31431         ($(objpfx)tst-leaks1-static-mem): Likewise.
31432         (tst-leaks1-static-ENV): New macro.
31433         * elf/dl-open.c (dl_open_worker): Check the main application
31434         only if SHARED is defined.
31435         * elf/tst-leaks1-static.c: New file.
31437 2012-10-20  Andreas Jaeger  <aj@suse.de>
31439         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31440         generic values for Linux.
31441         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31442         and declarations that are provided by <bits/fcntl-linux.h> and
31443         include <bits/fcntl-linux.h>.
31444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31445         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31447 2012-10-20  Roland McGrath  <roland@hack.frob.com>
31449         * io/fcntl.h: Move include of <bits/types.h> to the top and
31450         include it unconditionally.
31452 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31454         * wcsmbs/Makefile (tests-ifunc): New variable.
31455         (tests): Add $(tests-ifunc).
31456         * wcsmbs/test-wcschr-ifunc.c: New file.
31457         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31458         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31459         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31460         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31461         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31463         * string/Makefile (tests-ifunc): New variable.
31464         (tests): Add $(tests-ifunc).
31465         * string/test-memccpy.c (TEST_NAME): New macro.
31466         * string/test-memchr.c (TEST_NAME): Likewise.
31467         * string/test-memcmp.c (TEST_NAME): Likewise.
31468         * string/test-memcpy.c (TEST_NAME): Likewise.
31469         * string/test-memmem.c (TEST_NAME): Likewise.
31470         * string/test-memmove.c (TEST_NAME): Likewise.
31471         * string/test-memset.c (TEST_NAME): Likewise.
31472         * string/test-rawmemchr.c (TEST_NAME): Likewise.
31473         * string/test-stpcpy.c (TEST_NAME): Likewise.
31474         * string/test-stpncpy.c (TEST_NAME): Likewise.
31475         * string/test-strcasecmp.c (TEST_NAME): Likewise.
31476         * string/test-strcasestr.c (TEST_NAME): Likewise.
31477         * string/test-strcat.c (TEST_NAME): Likewise.
31478         * string/test-strchr.c (TEST_NAME): Likewise.
31479         * string/test-strcmp.c(TEST_NAME): Likewise.
31480         * string/test-strcpy.c (TEST_NAME): Likewise.
31481         * string/test-strcspn.c (TEST_NAME): Likewise.
31482         * string/test-strlen.c (TEST_NAME): Likewise.
31483         * string/test-strncasecmp.c (TEST_NAME): Likewise.
31484         * string/test-strncmp.c (TEST_NAME): Likewise.
31485         * string/test-strncpy.c (TEST_NAME): Likewise.
31486         * string/test-strnlen.c (TEST_NAME): Likewise.
31487         * string/test-strpbrk.c (TEST_NAME): Likewise.
31488         * string/test-strrchr.c (TEST_NAME): Likewise.
31489         * string/test-strspn.c (TEST_NAME): Likewise.
31490         * string/test-strstr.c (TEST_NAME): Likewise.
31491         * string/test-bcopy-ifunc.c: New file.
31492         * string/test-bzero-ifunc.c: Likewise.
31493         * string/test-memccpy-ifunc.c: Likewise.
31494         * string/test-memchr-ifunc.c: Likewise.
31495         * string/test-memcmp-ifunc.c: Likewise.
31496         * string/test-memcpy-ifunc.c: Likewise.
31497         * string/test-memmem-ifunc.c: Likewise.
31498         * string/test-memmove-ifunc.c: Likewise.
31499         * string/test-mempcpy-ifunc.c: Likewise.
31500         * string/test-memset-ifunc.c: Likewise.
31501         * string/test-rawmemchr-ifunc.c: Likewise.
31502         * string/test-stpcpy-ifunc.c: Likewise.
31503         * string/test-stpncpy-ifunc.c: Likewise.
31504         * string/test-strcasecmp-ifunc.c: Likewise.
31505         * string/test-strcasestr-ifunc.c: Likewise.
31506         * string/test-strcat-ifunc.c: Likewise.
31507         * string/test-strchr-ifunc.c: Likewise.
31508         * string/test-strchrnul-ifunc.c: Likewise.
31509         * string/test-strcmp-ifunc.c: Likewise.
31510         * string/test-strcpy-ifunc.c: Likewise.
31511         * string/test-strcspn-ifunc.c: Likewise.
31512         * string/test-strlen-ifunc.c: Likewise.
31513         * string/test-strncasecmp-ifunc.c: Likewise.
31514         * string/test-strncat-ifunc.c: Likewise.
31515         * string/test-strncmp-ifunc.c: Likewise.
31516         * string/test-strncpy-ifunc.c: Likewise.
31517         * string/test-strnlen-ifunc.c: Likewise.
31518         * string/test-strpbrk-ifunc.c: Likewise.
31519         * string/test-strrchr-ifunc.c: Likewise.
31520         * string/test-strspn-ifunc.c: Likewise.
31521         * string/test-strstr-ifunc.c: Likewise.
31523         * debug/Makefile (tests-ifunc): New variable.
31524         (tests): Add $(tests-ifunc).
31525         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31526         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31527         * debug/test-stpcpy_chk-ifunc.c: New file.
31528         * debug/test-strcpy_chk-ifunc.c: Likewise.
31530 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31532         [BZ #13601]
31533         * elf/dl-load.c (open_verify): Retry read if the entire ELF
31534         header is not read in.
31536 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
31538         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
31539         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
31540         directly.  Pass built executable to script as
31541         $(built-program-cmd).
31542         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
31543         $testprogram without using LD_LIBRARY_PATH and $ldso.
31545         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31546         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31547         $(rtld-installed-name).
31548         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31549         (rtld_installed_name): Likewise.
31550         (library_path): Likewise.
31551         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
31552         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31553         $(run-program-prefix) to tst-tables.sh.
31554         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
31555         it to run tst-table-from and tst-table-to.
31556         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31557         Pass it to tst-table.sh.
31558         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31559         $(run-program-prefix) to tst-gettext.sh.
31560         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31561         tst-translit.sh.
31562         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31563         tst-gettext2.sh.
31564         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
31565         to run tst-gettext.
31566         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
31567         to run tst-gettext2.
31568         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
31569         to run tst-translit.
31570         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31571         $(run-program-prefix) to tst-mtrace.sh.
31572         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
31573         to run tst-mtrace.
31574         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31575         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31576         $(rtld-installed-name).
31577         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31578         (rtld_installed_name): Likewise.
31579         (run_program_prefix): New variable.  Use it to run wordexp-test.
31581         * Makeconfig (ARCH): Remove all definitions.
31582         (machine): Likewise.
31583         [ARCH]: Remove conditional code.
31584         [!objdir]: Give error.
31585         [!objdir] (objpfx): Remove.
31586         [!objdir] (common-objpfx): Likewise.
31587         [!objdir] (common-objdir): Likewise.
31588         * configure.in (config_makefile): Remove.  Hardcode Makefile in
31589         AC_CONFIG_FILES call.
31590         * configure: Regenerated.
31592         [BZ #13888]
31593         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31594         or TMPDIR.
31595         (testout): Likewise.
31597         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31598         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31599         $(rtld-installed-name).
31600         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31601         (rtld_installed_name): Likwise.
31602         (runit): Remove function.
31603         (run_getconf): New variable,  Use it for running getconf binary.
31605 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
31607         [BZ #14716]
31608         * string/test-memmem.c (check_result): New function.
31609         (do_one_test): Use it.
31610         (check1): New function.
31611         (test_main): Use it.
31613 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
31615         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31617 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
31619         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31620         (_G_LSEEK64): Likewise.
31621         (_G_MMAP64): Likewise.
31622         (_G_FSTAT64): Likewise.
31623         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31624         (_G_LSEEK64): Likewise.
31625         (_G_MMAP64): Likewise.
31626         (_G_FSTAT64): Likewise.
31627         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31628         unconditional.  Call __mmap64 directly.
31629         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31630         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
31631         __lseek64 directly.
31632         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31633         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
31634         __mmap64 directly.
31635         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31636         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31637         __lseek64 directly.
31638         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31639         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31640         __lseek64 directly.
31641         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31642         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
31643         __lseek64 directly.
31644         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31645         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
31646         __fxstat64 directly.
31647         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31648         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31649         unconditional.
31650         (freopen64) [!_G_OPEN64]: Remove conditional code.
31651         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31652         unconditional.
31653         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31654         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31655         unconditional.
31656         (ftello64) [!_G_LSEEK64]: Remove conditional code.
31657         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31658         unconditional.
31659         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31660         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31661         unconditional.
31662         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31663         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31664         unconditional.
31665         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31666         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31667         unconditional.
31668         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31669         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31670         unconditional.
31671         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31673 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31675         [BZ #12140]
31676         * manual/memory.texi (Malloc Tunable Parameters): Add note
31677         about free list pointers overwriting some perturb bytes.
31678         Wording suggested by Roland McGrath.
31680 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
31682         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31683         (lgamma_test): Likewise.
31684         (tgamma_test): Likewise.
31686 2012-10-16  Florian Weimer  <fweimer@redhat.com>
31688         [BZ #14700]
31689         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31690         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31692 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
31694         * NEWS: Mention BZ #14716.
31695         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31696         when removing AVAILABLE1_USES_J macro.
31698 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
31700         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31701         (__bswap_64): __uint64_t for unsigned 64-bit int.
31703 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
31705         * include/string.h (memmem): Declare libc hidden alias.
31706         * string/memmem.c (memmem): Define libc hidden alias.
31707         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31708         __read, __close instead of open, read, close.
31710 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
31712         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31713         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31714         global and hidden.
31715         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31716         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31717         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31718         Likewise.
31719         (__rawmemchr_sse2): Likewise.
31720         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31721         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31722         (__strchr_sse2): Likewise.
31723         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31724         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31725         (__strcasecmp_sse2): Likewise.
31726         (__strncasecmp_sse2): Likewise.
31727         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31728         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31729         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31730         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31731         (__strrchr_sse2): Likewise.
31732         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31733         ifunc-impl-list.c.
31734         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31735         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31736         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31737         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31738         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31739         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31740         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31741         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31742         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31743         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31744         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31745         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31746         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31747         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31748         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31749         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31750         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31751         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31752         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31753         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31754         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31755         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31756         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31757         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31758         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31759         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31760         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31761         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31762         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31763         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31765         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31766         global and hidden.
31767         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31768         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31769         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31770         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31771         Likewise.
31772         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31773         Likewise.
31774         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31775         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31776         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31777         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31778         ifunc-impl-list.c.
31779         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31780         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31781         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31782         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31783         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31784         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31785         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31786         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31787         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31788         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31789         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31790         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31791         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31792         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31793         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31794         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31795         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31796         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31797         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31798         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31799         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31800         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31801         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31802         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31803         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31804         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31805         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31806         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31807         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31808         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31809         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31810         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31811         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31812         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31813         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31814         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31815         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31816         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31817         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31818         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31819         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31821         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31822         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31823         * include/ifunc-impl-list.h: New file.
31824         * misc/ifunc-impl-list.c: Likewise.
31825         * misc/Makefile (routines): Add ifunc-impl-list.
31826         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31827         * string/test-string.h: Include <ifunc-impl-list.h>.
31828         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31829         TEST_NAME]: New variables.
31830         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31831         are defined.
31832         (test_init): Call __libc_ifunc_impl_list to initialize
31833         func_list if TEST_IFUNC and TEST_NAME are defined.
31835         * string/Makefile (strop-tests): Add bcopy and bzero.
31836         * string/test-bcopy.c: New file.
31837         * string/test-bzero.c: Likewise.
31838         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31839         defined.
31840         * string/test-memset.c: Support bzero test if TEST_BZERO is
31841         defined.
31842         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31843         __libc_memmove.
31844         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31845         __libc_memset.
31846         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31847         of memset.
31849 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
31851         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31852         * configure: Regenerated.
31854         * Makeconfig (+link-static-before-libc): Don't include
31855         $(link-static-libc).
31857         * libio/libio.h (_IO_pos_t): Remove.
31859 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31861         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
31862         McGrath.
31864 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31866         * crypt/crypt-entry.c: Include fips-private.h.
31867         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31868         * crypt/md5c-test.c (main): Tolerate disabled MD5.
31869         * sysdeps/unix/sysv/linux/fips-private.h: New file.
31870         * sysdeps/generic/fips-private.h: New file, dummy fallback.
31872 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31874         * crypt/crypt-private.h: Include stdbool.h.
31875         (_ufc_setup_salt_r): Return bool.
31876         * crypt/crypt-entry.c: Include errno.h.
31877         (__crypt_r): Return NULL with EINVAL for bad salt.
31878         * crypt/crypt_util.c (bad_for_salt): New.
31879         (_ufc_setup_salt_r): Check that salt is long enough and within
31880         the specified alphabet.
31881         * crypt/badsalttest.c: New file.
31882         * crypt/Makefile (tests): Add it.
31883         ($(objpfx)badsalttest): New.
31885 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
31887         * NEWS: Add entry for BZ #14602.
31889 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31891         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31892         type-generic.
31893         * math/libm-test.inc: Update comment listing what functions and
31894         macros are tested.
31895         (isgreater_test): New function.
31896         (isgreaterequal_test): Likewise.
31897         (isless_test): Likewise.
31898         (islessequal_test): Likewise.
31899         (islessgreater_test): Likewise.
31900         (isunordered_test): Likewise.
31901         (main): Call the new functions.
31903 2012-10-09  Roland McGrath  <roland@hack.frob.com>
31905         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31906         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31907         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31908         * sysdeps/i386/configure: Regenerated.
31909         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31910         * sysdeps/mach/configure: Regenerated.
31911         * sysdeps/mach/hurd/configure: Regenerated.
31912         * sysdeps/powerpc/configure: Regenerated.
31913         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31914         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31915         * sysdeps/s390/s390-32/configure: Regenerated.
31916         * sysdeps/s390/s390-64/configure: Regenerated.
31917         * sysdeps/sh/configure: Regenerated.
31918         * sysdeps/sparc/configure: Regenerated.
31919         * sysdeps/unix/sysv/linux/configure: Regenerated.
31920         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31921         * sysdeps/x86_64/configure: Regenerated.
31923         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31924         defined.  Don't check if MAP is NULL.
31926 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31928         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31929         (_G_stat64): Likewise.
31930         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31931         (_G_stat64): Likewise.
31932         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31933         instead of struct _G_stat64.
31934         * libio/fileops.c (mmap_remap_check): Likewise.
31935         (decide_maybe_mmap): Likewise.
31936         (_IO_new_file_seekoff): Likewise.
31937         (_IO_file_stat): Likewise.
31938         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31939         _G_off64_t.
31940         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31941         instead of struct _G_stat64.
31942         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31944 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
31946         [BZ #14602]
31947         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31948         Replace with ...
31949         (CHECK_EOL): New macro.
31950         (two_way_short_needle): Check beginning of haystack for EOL.  Use
31951         CHECK_EOL.
31952         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31953         Replace with CHECK_EOL.
31954         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31955         Replace with CHECK_EOL.
31957 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
31959         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31960         type-generic.
31961         * math/libm-test.inc: Update comment listing what functions and
31962         macros are tested.
31963         (finite_test): New function.
31964         (isinf_test): Likewise.
31965         (isnan_test): Likewise.
31966         (fpclassify_test): Test subnormal input.
31967         (isfinite_test): Likewise.
31968         (isnormal_test): Likewise.
31969         (main): Call the new functions.
31971 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
31973         [BZ #14660]
31974         * Makerules (%.dynsym): Force C locale when running
31975         $(OBJDUMP) --dynamic-syms.
31977 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
31979         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31980         <stdint.h>.
31982 2012-10-06  David S. Miller  <davem@davemloft.net>
31984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31985         upper 32-bits of the length value in %o2 since we use branch-on-register
31986         tests which consider the entire 64-bit register.
31988 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
31990         * string/test-strstr.c (check2): Add a test for page boundary.
31992 2012-10-05  David S. Miller  <davem@davemloft.net>
31994         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31995         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31996         file.
31997         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31998         sysdep_routines.
31999         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32000         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32001         and bzero when HWCAP_SPARC_CRYPTO is present.
32003 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
32005         [BZ #14602]
32006         * string/test-strstr.c (check2): New function.
32007         (test_main): Call check2.
32009         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32010         and bug-strchr1.
32011         * string/bug-strcasestr1.c (do_test): Moved to ...
32012         * string/test-strcasestr.c (check1): Here.  New function.
32013         (do_one_test): Break out result checking code into ...
32014         (check_result): This.  New function.
32015         (do_one_test): Call check_result.
32016         (test_main): Call check1.
32017         * string/bug-strchr1.c (do_test): Moved to ...
32018         * string/test-strchr.c (check1): Here.  New function.
32019         (do_one_test): Break out result checking code into ...
32020         (check_result): This.  New function.
32021         (do_one_test): Call check_result.
32022         (test_main): Call check1.
32023         * string/bug-strstr1.c (main): Moved to ...
32024         * string/test-strstr.c (check1): Here.  New function.
32025         (do_one_test): Break out result checking code into ...
32026         (check_result): This.  New function.
32027         (do_one_test): Call check_result.
32028         (test_main): Call check1.
32029         * string/bug-strcasestr1.c: Removed.
32030         * string/bug-strchr1.c: Likewise.
32031         * string/bug-strstr1.c: Likewise.
32033         * elf/Makefile (dl-routines): Add hwcaps.
32034         * elf/dl-support.c (_dl_important_hwcaps): Removed.
32035         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32036         (_dl_important_hwcaps): Moved to ...
32037         * elf/dl-hwcaps.c: Here.  New file.
32038         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32040         [BZ #14557]
32041         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32042         if IS_IN_rtld isn't defined.
32044         * elf/dl-support.c (_dl_sysinfo_map): New.
32045         Include "get-dynamic-info.h" and "setup-vdso.h".
32046         (_dl_non_dynamic_init): Call setup_vdso.
32047         * elf/dynamic-link.h: Don't include <assert.h>.
32048         (elf_get_dynamic_info): Moved to ...
32049         * elf/get-dynamic-info.h: Here.  New file.
32050         * elf/dynamic-link.h: Include "get-dynamic-info.h".
32051         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32052         * elf/setup-vdso.h: Here.  New file.
32053         * elf/rtld.c: Include "setup-vdso.h".
32054         (dl_main): Call setup_vdso.
32056 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
32058         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32059         creal in comment listing functions tested.  List finite, isinf,
32060         isnan, isless, islessequal, isgreater, isgreaterequal,
32061         islessgreater, isunordered, lgamma_r and pow10 as functions and
32062         macros not tested.  Mention which functions not tested are aliases
32063         for other functions.  Fix typo.  Note that signs of NaNs are not
32064         tested.
32066         * scripts/config.guess: Update from config.git.
32067         * scripts/config.sub: Likewise.
32069 2012-10-04  Roland McGrath  <roland@hack.frob.com>
32071         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32072         * misc/madvise.c (madvise): Renamed to __madvise.
32073         Make madvise a weak alias.
32074         * include/sys/mman.h: Declare __madvise.
32075         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32076         * sysdeps/unix/syscalls.list
32077         (madvise): Make __madvise the strong name, and madvise a weak alias.
32078         * sysdeps/unix/sysv/linux/syscalls.list
32079         (madvise, mmap): Remove redundant entries.
32080         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32081         * malloc/malloc.c (mtrim): Likewise.
32082         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32084 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32086         * sysdeps/mach/hurd/dl-cache.c: File removed.
32087         * config.h.in (USE_LDCONFIG): New #undef.
32088         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32089         * configure: Regenerated.
32090         * elf/Makefile (dl-routines): Add dl-cache only under
32091         [$(use-ldconfig) = yes].
32092         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32093         cache on [USE_LDCONFIG].
32094         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32095         [USE_LDCONFIG].
32096         * elf/rtld.c (dl_main): Likewise.
32098 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32100         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32101         _SC_LEVEL4_CACHE_LINESIZE.
32103 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32105         * sysdeps/unix/bsd/confstr.h: File removed.
32107 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32109         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32110         sys/sdt-config.h.
32112 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32114         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32115         Make 'mapoff' field ElfW(Off) rather than off_t.
32117 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32119         * nscd/Makefile: Remove nscd-cflags and all its users.
32120         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32121         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32123         [BZ #10631]
32124         * malloc.c (malloc_printerr): Clarify error message.
32126 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32128         [BZ #14648]
32129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32130         Set bit_FMA_Usable if FMA is supported.
32131         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32132         macro.
32133         (bit_FMA4_Usable): Updated.
32134         (index_FMA_Usable): New macro.
32135         (CPUID_FMA): Likewise
32136         (HAS_FMA): Defined with bit_FMA_Usable.
32138 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32140         * bits/types.h (__swblk_t): Type removed.
32141         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32142         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32143         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32144         (__SWBLK_T_TYPE): Likewise.
32145         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32146         (__SWBLK_T_TYPE): Likewise.
32147         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32148         (__SWBLK_T_TYPE): Likewise.
32149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32150         (__SWBLK_T_TYPE): Likewise.
32152 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32153             Honza Horak <hhorak@redhat.com>
32155         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32156         (xdr_mapname): Use YPMAXMAP as maxsize.
32157         (xdr_peername): Use YPMAXPEER as maxsize.
32158         (xdr_keydat): Use YPAXRECORD as maxsize.
32159         (xdr_valdat): Use YPMAXRECORD as maxsize.
32161 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32163         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32165         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32166         * csu/init-first.c: ... here.
32167         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32168         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32169         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32170         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32171         * sysdeps/i386/init-first.c: File removed.
32172         * sysdeps/sh/init-first.c: File removed.
32174 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32176         [BZ #14645]
32177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32178         if x * y might underflow to zero and z is zero.
32179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32180         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32181         * math/libm-test.inc (min_subnorm_value): New variable.
32182         (fma_test): Add more tests.
32183         (fma_test_towardzero): Likewise.
32184         (fma_test_downward): Likewise
32185         (fma_test_upward): Likewise.
32186         (initialize): Set min_subnorm_value.
32188 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32190         [BZ #14638]
32191         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32192         0 + 0.
32193         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32194         mode for addition resulting in exact zero.
32195         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32197         exact 0 + 0.
32198         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32199         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32200         * math/libm-test.inc (fma_test): Add more tests.
32201         (fma_test_towardzero): New function.
32202         (fma_test_downward): Likewise.
32203         (fma_test_upward): Likewise.
32204         (main): Call the new functions.
32206 2012-09-28  David S. Miller  <davem@davemloft.net>
32208         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32210 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32212         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32213         instead of SIGALRM.
32215         * sysdeps/gnu/_G_config.h: Moved to ...
32216         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32217         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32218         * sysdeps/generic/_G_config.h: ... here.
32220         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32222         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32224         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32225         Conditionalize target on [libnss_test1.so-version].
32227         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32229         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32230         (elfobjdir): Move out of conditionals.
32232         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32233         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32234         (__nss_lookup_function): Conditionalize label remove_from_tree on
32235         [!DO_STATIC_NSS || SHARED], matching its only use.
32237 2012-09-28  David S. Miller  <davem@davemloft.net>
32239         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32240         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32241         file.
32242         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32243         sysdep_routines.
32244         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32245         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32246         when HWCAP_SPARC_CRYPTO is present.
32248 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32250         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32252 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32254         [BZ #6530]
32255         * stdio-common/vfprintf.c (process_string_arg): Revert
32256         2000-07-22 change.
32258 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32260         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32261         for testcase.
32262         * stdio-common/tst-sprintf.c: Include <locale.h>
32263         (main): Test sprintf's handling of incomplete multibyte
32264         characters.
32266 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32268         * elf/dl-runtime.c (VERSYMIDX): Removed.
32269         * elf/dl-version.c (VERSYMIDX): Likewise.
32270         * elf/do-rel.h (VERSYMIDX): Likewise.
32271         (VALIDX): Likewise.
32272         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32273         * elf/rtld.c (VALIDX): Likewise.
32274         (ADDRIDX): Likewise.
32275         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32276         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32277         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32278         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32279         (VALIDX): Likewise.
32280         (ADDRIDX): Likewise.
32282 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32284         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32286 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32288         [BZ #11438]
32289         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32290         to global scope.
32291         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32292         addresses are in the same scope as 192.0.2/24.
32293         * posix/gai.conf: Document new scope table defaults.
32295 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32297         [BZ #5298]
32298         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32299         for ftell.  Compute offsets from write pointers instead.
32300         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32302 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32304         [BZ #14543]
32305         * libio/Makefile (tests): New test case tst-fseek.
32306         * libio/tst-fseek.c: New test case to verify that fseek/ftell
32307         combination works in wide mode.
32308         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32309         state when the external buffer state changes.
32311 2012-09-27  David S. Miller  <davem@davemloft.net>
32313         [BZ #14376]
32314         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32315         pass reloc->r_addend in as the 'high' argument to
32316         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32320 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32322         * rt/tst-aio2.c: Include <pthread.h>.
32323         * rt/tst-aio3.c: Likewise.
32325 2012-09-27  Steve Ellcey  <sellcey@mips.com>
32327         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32329 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
32331         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32332         contents on [SHARED].
32334 2012-09-26  Marek Polacek  <polacek@redhat.com>
32336         [BZ #14530]
32337         [BZ #13741]
32338         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32339         for C++ and GCC <4.3 as well as for non GCC compilers.
32341 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32343         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32345 2012-09-25  Roland McGrath  <roland@hack.frob.com>
32347         * Makefile.in (all, install): Declare with .PHONY.
32348         Reported by Michael Hope <michael.hope@linaro.org>.
32350 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32352         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32353         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32354         system header.
32355         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32356         Likewise.
32357         (sydep_routines): Add the new and the internal functions.
32358         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32359         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32361         (GLIBC_2.17): Add the new function.
32362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32363         (GLIBC_2.17): Likewise.
32364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32365         (GLIBC_2.17): Likewise.
32366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32367         (GLIBC_2.17): Likewise.
32368         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32370 2012-09-25  Alan Modra  <amodra@gmail.com>
32372         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32373         Add release barrier before setting once_control to say
32374         initialisation is done.  Add hints on lwarx.  Use macro in
32375         place of isync.
32376         (clear_once_control): Add release barrier.
32378 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32380         [BZ #13629]
32381         * math/s_clog.c (__clog): Handle more values close to |z| = 1
32382         specially.
32383         * math/s_clog10.c (__clog10): Likewise.
32384         * math/s_clog10f.c (__clog10f): Likewise.
32385         * math/s_clog10l.c (__clog10l): Likewise.
32386         * math/s_clogf.c (__clogf): Likewise.
32387         * math/s_clogl.c (__clogl): Likewise.
32388         * math/Makefile (libm-calls): Add x2y2m1.
32389         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32390         (__x2y2m1): Likewise.
32391         (__x2y2m1l): Likewise.
32392         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32393         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32394         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32395         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32396         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32397         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32398         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32399         * sysdeps/i386/fpu/libm-test-ulps: Update.
32400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32402         [BZ #14621]
32403         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32404         int as type of variable DEPTH.
32405         (glob): Use size_t instead of int as type of variables NEWCOUNT
32406         and OLD_PATHC.
32408 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32410         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32411         Add s_sincosf-sse2.
32412         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32413         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32414         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32415         macros for using routine as __sincosf_ia32.
32416         Use macro for function declaration and weak_alias.
32417         * sysdeps/i386/fpu/libm-test-ulps: Update.
32419         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32422         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32423         subnormal argument.
32424         * math/s_cexpf.c (__cexpf): Likewise.
32425         * math/s_csinf.c (__csinf): Likewise.
32426         * math/s_csinhf.c (__csinhf): Likewise.
32427         * math/s_ctanf.c (__ctanf): Likewise.
32428         * math/s_ctanhf.c (__ctanhf): Likewise.
32429         * math/s_ccosh.c (__ccoshf): Likewise.
32430         * math/s_cexp.c (__cexpl): Likewise.
32431         * math/s_csin.c (__csin): Likewise.
32432         * math/s_csinh.c (__csinh): Likewise.
32433         * math/s_ctan.c (__ctan): Likewise.
32434         * math/s_ctanh.c (ctanh): Likewise.
32435         * math/s_ccoshl.c (__ccoshl): Likewise.
32436         * math/s_cexpl.c (__cexpl): Likewise.
32437         * math/s_csinl.c (__csinl): Likewise.
32438         * math/s_csinhl.c (__csinhl): Likewise.
32439         * math/s_ctanl.c (__ctanl): Likewise.
32440         * math/s_ctanhl.c (__ctanhl): Likewise.
32442 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32444         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32445         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32446         (_IO_off_t): Define to __off_t, not _G_off_t.
32447         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32448         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32449         (_IO_wint_t): Define to wint_t, not _G_wint_t.
32450         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32451         type of __dummy and __dummy2 fields.
32452         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32453         (_G_ssize_t): Likewise.
32454         (_G_off_t): Likewise.
32455         (_G_pid_t): Likewise.
32456         (_G_uid_t): Likewise.
32457         (_G_wchar_t): Likewise.
32458         (_G_wint_t): Likewise.
32459         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32460         (_G_ssize_t): Likewise.
32461         (_G_off_t): Likewise.
32462         (_G_pid_t): Likewise.
32463         (_G_uid_t): Likewise.
32464         (_G_wchar_t): Likewise.
32465         (_G_wint_t): Likewise.
32466         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32467         (_G_ssize_t): Likewise.
32468         (_G_off_t): Likewise.
32469         (_G_pid_t): Likewise.
32470         (_G_uid_t): Likewise.
32471         (_G_wchar_t): Likewise.
32472         (_G_wint_t): Likewise.
32474 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32476         * malloc/arena.c: Include malloc-sysdep.h.
32477         (shrink_heap): Use check_may_shrink_heap to decide if madvise
32478         is sufficient to shrink the heap or an unmap is needed.
32479         * sysdeps/generic/malloc-sysdep.h: New file.  Define
32480         new function check_may_shrink_heap.
32481         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
32482         new function check_may_shrink_heap.
32484 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32486         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32487         comments.
32489 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
32491         * catgets/test-gencat.sh: Add "set -e".
32492         * elf/tst-pathopt.sh: Likewise.
32493         * grp/tst_fgetgrent.sh: Likewise.
32494         * iconvdata/run-iconv-test.sh: Likewise.
32495         * intl/tst-gettext.sh: Likewise.
32496         * intl/tst-gettext2.sh: Likewise.
32497         * intl/tst-gettext4.sh: Likewise.
32498         * intl/tst-gettext6.sh: Likewise.
32499         * intl/tst-translit.sh: Likewise.
32500         * io/ftwtest-sh: Likewise.
32501         * libio/test-freopen.sh: Likewise.
32502         * malloc/tst-mtrace.sh: Likewise.
32503         * posix/globtest.sh: Likewise.
32504         * posix/tst-getconf.sh: Likewise.
32505         * posix/wordexp-tst.sh: Likewise.
32506         * stdio-common/tst-printf.sh: Likewise.
32507         * stdio-common/tst-unbputc.sh: Likewise.
32508         * stdlib/tst-fmtmsg.sh: Likewise.
32509         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32510         * catgets/Makefile: Do not specify -e option when running
32511         testsuite shell scripts.
32512         * elf/Makefile: Likewise.
32513         * grp/Makefile: Likewise.
32514         * iconvdata/Makefile: Likewise.
32515         * intl/Makefile: Likewise.
32516         * io/Makefile: Likewise.
32517         * libio/Makefile: Likewise.
32518         * malloc/Makefile: Likewise.
32519         * posix/Makefile: Likewise.
32520         * stdio-common/Makefile: Likewise.
32521         * stdlib/Makefile: Likewise.
32522         * sysdeps/x86_64/Makefile: Likewise.
32524         * io/ftwtest-sh: Add copyright header.
32525         * posix/globtest.sh: Likewise.
32526         * posix/tst-getconf.sh: Likewise.
32527         * posix/wordexp-tst.sh: Likewise.
32528         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32530 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
32532         [BZ #13679]
32533         * Makeconfig (+link): Defined as $(+link-static) if
32534         $(build-shared) isn't yes.
32535         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32536         isn't yes.
32537         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32539         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32541         [BZ #14562]
32542         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32543         new chunk size with MALLOC_ALIGN_MASK.
32545 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
32547         [BZ #5044]
32548         * stdio-common/printf_fphex.c: Include <stdbool.h> and
32549         <rounding-mode.h>.
32550         (__printf_fphex): Determine rounding using get_rounding_mode and
32551         round_away.
32552         * stdio-common/tst-printf-round.c (struct hex_test): New
32553         structure.
32554         (hex_tests): New variable.
32555         (test_hex_in_one_mode): New function.
32556         (do_test): Also run tests for hex float output.
32558 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
32560         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32561         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32562         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32563         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32564         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32565         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32566         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32567         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32569 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
32571         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32572         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32573         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32574         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32576 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
32578         [BZ #14579]
32579         * elf/rtld.c (dl_main): Limit the check for self loading to normal
32580         mode only.
32581         * elf/tst-rtld-load-self.sh: New test.
32582         * elf/Makefile: Run it.
32584 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
32586         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32587         (tst-writev-ENV): Remove.
32588         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32590 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
32592         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32594 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
32596         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32597         unconditional.
32598         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32599         Likewise.
32600         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32601         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32602         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32603         Likewise.
32605 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
32607         [BZ #14587]
32608         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32609         * config.make.in (have-cpp-asm-debuginfo): Removed.
32610         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32611         * configure: Regenerated.
32613 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
32615         [BZ #5044]
32616         * stdio-common/printf_fp.c: Include <stdbool.h> and
32617         <rounding-mode.h>.
32618         (___printf_fp): Determine rounding using get_rounding_mode and
32619         round_away.
32620         * stdio-common/tst-printf-round.c: New file.
32621         * stdio-common/Makefile (tests): Add tst-printf-round.
32622         (link-libm): New variable.
32623         ($(objpfx)tst-printf-round): Depend in $(link-libm).
32625 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
32627         [BZ #14576]
32628         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32629         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32630         Likewise.
32631         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32632         Likewise.
32634 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
32636         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32637         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32638         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32639         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32641 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
32643         [BZ #14518]
32644         * include/rounding-mode.h: New file.
32645         * sysdeps/generic/get-rounding-mode.h: Likewise.
32646         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32647         * stdlib/strtod_l.c: Include <rounding-mode.h>.
32648         (MAX_VALUE): New macro.
32649         (MIN_VALUE): Likewise.
32650         (overflow_value): New function.
32651         (underflow_value): Likewise.
32652         (round_and_return): Use overflow_value and underflow_value to
32653         determine return values in overflow and underflow cases.  Use
32654         round_away to determine rounding depending on rounding mode.
32655         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32656         determine return values in overflow and underflow cases.
32657         * stdlib/tst-strtod-round.c: Include <fenv.h>.
32658         (struct test_results): New structure.
32659         (struct test): Use struct test_results to store expected results
32660         for all rounding modes.
32661         (TEST): Include expected results for all rounding modes.
32662         (test_in_one_mode): New function.
32663         (do_test): Use test_in_one_mode to compute and check results.
32664         Check results for all rounding modes.
32665         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32666         $(link-libm).
32668 2012-12-09  Allan McRae  <allan@archlinux.org>
32670         * sysdeps/i386/fpu/libm-test-ulps: Update
32672 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
32674         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32675         (_G_int32_t): Likewise.
32676         (_G_uint16_t): Likewise.
32677         (_G_uint32_t): Likewise.
32678         (_G_HAVE_BOOL): Likewise.
32679         (_G_HAVE_ATEXIT): Likewise.
32680         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32681         (_G_HAVE_IO_FILE_OPEN): Likewise.
32682         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32683         (_G_int32_t): Likewise.
32684         (_G_uint16_t): Likewise.
32685         (_G_uint32_t): Likewise.
32686         (_G_HAVE_BOOL): Likewise.
32687         (_G_HAVE_ATEXIT): Likewise.
32688         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32689         (_G_HAVE_IO_FILE_OPEN): Likewise.
32690         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32691         (_G_int32_t): Likewise.
32692         (_G_uint16_t): Likewise.
32693         (_G_uint32_t): Likewise.
32694         (_G_HAVE_BOOL): Likewise.
32695         (_G_HAVE_ATEXIT): Likewise.
32696         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32697         (_G_HAVE_IO_FILE_OPEN): Likewise.
32699 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
32701         * csu/libc-tls.c: Update copyright years.
32703 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
32705         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32706         [!_G_USING_THUNKS]: Remove conditional code.
32707         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32708         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32710         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32711         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32712         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32713         (_G_VTABLE_LABEL_PREFIX): Likewise.
32714         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32715         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32716         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32717         (_G_VTABLE_LABEL_PREFIX): Likewise.
32718         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32719         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32720         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32721         (_G_VTABLE_LABEL_PREFIX): Likewise.
32722         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32724 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
32726         * libio/Makefile: Include ../Makeconfig before tests.
32727         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32728         only if $(build-shared) is yes.
32730         * iconv/gconv_db.c: Update copyright years.
32732 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32734         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32735         unwind info if defined PIC. Fix special cases description.
32736         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32738         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32739         DP_HI_MASK entry.
32740         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32742 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
32744         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32746         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32747         is NULL.
32749         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32750         (LDLIBS-tst-chk4): This.
32751         (LDFLAGS-tst-chk5): Renamed to ...
32752         (LDLIBS-tst-chk5): This.
32753         (LDFLAGS-tst-chk6): Renamed to ...
32754         (LDLIBS-tst-chk6): This.
32755         (LDFLAGS-tst-lfschk4): Renamed to ...
32756         (LDLIBS-tst-lfschk4): This.
32757         (LDFLAGS-tst-lfschk5): Renamed to ...
32758         (LDLIBS-tst-lfschk5): This.
32759         (LDFLAGS-tst-lfschk6): Renamed to ...
32760         (LDLIBS-tst-lfschk6): This.
32762         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32763         on $(common-objpfx)soversions.mk.
32765 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
32767         [BZ #10014]
32768         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32769         example host name.
32771 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32773         * malloc/arena.c (arena_get_retry): New function that gets
32774         another arena for the caller to try its request on.
32775         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32776         current arena cannot fulfill the request.
32777         (__libc_memalign): Likewise.
32778         (__libc_memalign): Likewise.
32779         (__libc_pvalloc): Likewise.
32780         (__libc_calloc): Likewise.
32782 2012-09-05  John Tobey  <john.tobey@gmail.com>
32784         [BZ #13542]
32785         * manual/arith.texi (Operations on Complex): Fix description
32786         of carg branch cut.
32788 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32790         [BZ #10014]
32791         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32792         host name.
32794         [BZ #10038]
32795         * manual/memory.texi (Memory): Make order of menu items match
32796         order of sections.
32798 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32800         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32801         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
32802         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32804 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32806         * csu/libc-tls.c (static_dtv): Renamed to ...
32807         (_dl_static_dtv): This.  Make it global.
32808         (_dl_initial_dtv): Removed.
32809         (__libc_setup_tls): Updated.
32810         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32811         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32812         DL_INITIAL_DTV.
32814 2012-09-06  Petr Machata  <pmachata@redhat.com>
32816         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32817         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32818         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32819         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32821 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32823         [BZ #14545]
32824         * csu/libc-tls.c (_dl_initial_dtv): New variable.
32825         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32826         freeing dtv[-1].
32828 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32830         [BZ #14544]
32831         * Makeconfig (link-static-before-libc): Replace $(+prector)
32832         with $(+prectorT).
32833         (link-static-after-libc): Replace $(+postctor) with
32834         $(+postctorT).
32835         (link-bounded): Replace $(+prector)/$(+postctor) with
32836         $(+prectorT)/$(+postctorT).
32837         (+prectorT): New macro.
32838         (+postctorT): Likewise.
32840 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32842         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32843         (round_str): Handle values above the maximum for IBM long double
32844         as inexact.
32845         * stdlib/tst-strtod-round.c (tests): Regenerated.
32847 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32849         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32850         assembler flag.
32851         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32852         zarch_nohighgprs around the zarch optimized routines.
32853         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32854         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32855         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32856         for zarch.
32858 2012-09-05  David S. Miller  <davem@davemloft.net>
32860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32862         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32863         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32864         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32865         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32866         entries.
32868 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32870         * malloc/arena.c: Fold copyright years.
32871         * malloc/mcheck.c, malloc/memusage.c: Likewise.
32873 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32875         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32877 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32879         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
32881 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32883         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32884         change internal state upon failure.
32886 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32888         * malloc/mcheck.c (mcheck_check_all): Fix typo.
32889         * malloc/memusage.c (mmap): Likewise.
32890         (mmap64, mremap): Likewise.  Adjust name in comment.
32892 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32894         * libio/fileops.c: Fix typos in comments.
32895         * libio/oldfileops.c: Likewise.
32896         * libio/wfileops.c: Likewise.
32898 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32900         [BZ #1349]
32901         * malloc/Makefile (tests): Add tst-malloc-usable test case.
32902         (tst-malloc-usable-ENV): Set environment for test case.
32903         * malloc/hooks.c (malloc_check_get_size): New function to get
32904         requested size.
32905         * malloc/malloc.c (musable): Use malloc_check_get_size.
32906         * malloc/tst-malloc-usable.c: New test case.
32908 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32910         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32912 2012-09-05  Allan McRae  <allan@archlinux.org>
32914         [BZ #13966]
32915         * configure.in (CXX_SYSINCLUDES): Use compiler output to
32916         determine header location.
32917         * configure: Regenerated.
32919 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32921         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32922         float format.
32923         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32924         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32925         format.
32926         (test): Regenerate.
32928 2012-09-04  David S. Miller  <davem@davemloft.net>
32930         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32931         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32932         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32934 2012-09-04  Florian Weimer  <fweimer@redhat.com>
32936         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32937         failures.
32939         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32941 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
32943         [BZ #9914]
32944         * libio/iogetdelim.c: Include <limits.h>.
32945         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32946         + len + 1 would overflow.
32948 2012-09-03  Andreas Jaeger  <aj@suse.de>
32950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32951         * sysdeps/i386/fpu/libm-test-ulps: Update.
32953 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32955         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32956         Add s_sinf-sse2, s_conf-sse2.
32958         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32959         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32960         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32961         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32963         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32964         for using routine as __sinf_ia32.
32965         Use macro for function declaration and weak_alias.
32966         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32967         for using routine as __cosf_ia32.
32968         Use macro for function declaration and weak_alias.
32970         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32971         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32973         * sysdeps/x86_64/fpu/s_sinf.S: New file.
32974         * sysdeps/x86_64/fpu/s_cosf.S: New file.
32975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32977         * math/libm-test.inc (cos_test): Add more test cases.
32978         (sin_test): Likewise.
32979         (sincos_test): Likewise.
32981 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32983         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32984         (IFUNC_RESOLVE): Make pointers to the specialized implementations
32985         hidden.
32986         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32988 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
32990         [BZ #14538]
32991         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32992         first element of the GOT.
32993         (elf_machine_load_address): Return the difference between
32994         the runtime address of _DYNAMIC and elf_machine_dynamic ().
32996 2012-09-01  Allan McRae  <allan@archlinux.org>
32998         [BZ #13412]
32999         * configure.in (AWK): Require gawk version 3.0 or later.
33000         * configure: Regenerated.
33002 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
33004         * sysdeps/unix/sysv/linux/kernel-features.h
33005         (__ASSUME_POSIX_CPU_TIMERS): Remove.
33006         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33007         [__NR_clock_getres]: Make code unconditional.
33008         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33009         (clock_getcpuclockid): Remove code left unreachable by removal of
33010         conditionals.
33011         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33012         code unconditional.
33013         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33014         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33015         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33016         Make code unconditional.
33017         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33018         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33019         * sysdeps/unix/sysv/linux/clock_settime.c
33020         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33021         conditional code.
33022         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33023         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33025 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
33027         [BZ #14476]
33028         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33029         scripts/test-installation.pl.
33031         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33032         and $ld_so_version if it is set.
33034 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33036         [BZ #14516]
33037         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33038         failure if reading from procfs failed.
33039         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33041 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33043         * sysdeps/unix/sysv/linux/kernel-features.h
33044         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33045         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33046         Remove conditional code.
33047         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33048         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33049         Remove conditional code.
33050         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33051         * sysdeps/unix/sysv/linux/i386/fxstat.c
33052         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33053         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33054         * sysdeps/unix/sysv/linux/i386/fxstatat.c
33055         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33056         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33057         * sysdeps/unix/sysv/linux/i386/lxstat.c
33058         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33059         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33060         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33061         Remove conditional code.
33062         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33063         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33064         Remove conditional code.
33065         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33066         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33067         <kernel-features.h>.
33068         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33069         Remove.
33070         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33071         Remove conditional code.
33072         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33073         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33074         Remove conditional.
33076 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
33078         [BZ #5400]
33079         * NEWS: Add fixed bug number.
33081 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33083         [BZ #14519]
33084         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33085         underflowing exponent in case of negative sign.
33086         * stdlib/tst-strtod-round-data: Add more tests.
33087         * stdlib/tst-strtod-round.c (tests): Regenerated.
33089         [BZ #3479]
33090         * stdlib/strtod_l.c (NDIG): Remove.
33091         (HEXNDIG): Likewise.
33092         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33093         smallest representable value.
33094         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33095         lie within an exact representation of 1/2 ulp of the result.
33096         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33097         unconditionally.
33098         (TENS_P9_IDX): Define unconditionally.
33099         (TENS_P9_SIZE): Likewise.
33100         (TENS_P10_IDX): Likewise.
33101         (TENS_P10_SIZE): Likewise.
33102         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33103         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33104         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33105         entries for 10^2^13 and 10^2^14.
33106         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33107         (TENS_P13_IDX): Define.
33108         (TENS_P13_SIZE): Likewise.
33109         (TENS_P14_IDX): Likewise.
33110         (TENS_P14_SIZE): Likewise.
33111         (_fpioconst_pow10): Change array size to
33112         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33113         unconditional.
33114         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33115         1024]: Add entries for 10^2^13 and 10^2^14.
33116         [LAST_POW10 > _LAST_POW10]: Remove #error.
33117         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33118         (_fpioconst_pow10): Change array size to
33119         FPIOCONST_POW10_ARRAY_SIZE.
33120         * stdlib/gen-fpioconst.c: New file.
33121         * stdlib/gen-tst-strtod-round.c: Likewise.
33122         * stdlib/tst-strtod-round-data: Likewise.
33123         * stdlib/tst-strtod-round.c: Likewise.
33124         * stdlib/Makefile (tests): Add tst-strtod-round.
33126         [BZ #14459]
33127         * stdlib/strtod_l.c: Include <stdint.h>.
33128         (NDEBUG): Do not define.
33129         (round_and_return): Change EXPONENT parameter to type intmax_t.
33130         Rearrange calculations to avoid internal overflow possibilities.
33131         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33132         Rearrange calculations to avoid internal overflow possibilities.
33133         Assert that number fits inside MPNSIZE limbs.
33134         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33135         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33136         calculations and add assertions to avoid internal overflow
33137         possibilities.  Add casts to avoid signed/unsigned operations.
33138         * stdlib/tst-strtod-overflow.c: New file.
33139         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33141 2012-08-25  Marek Polacek  <polacek@redhat.com>
33143         * time/time.h: Fix some typos in comments.
33145 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33147         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33148         * posix/tst-rfc3484-2.c: Likewise.
33149         * posix/tst-rfc3484-3.c: Likewise.
33151 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33153         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33154         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33156 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33158         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33159         #include of fxstatat64.c.
33161 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33163         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33164         * shadow/getspent_r.c: Likewise.
33165         * shadow/getspnam.c: Likewise.
33166         * shadow/getspnam_r.c: Likewise.
33167         * gshadow/getsgent.c: Likewise.
33168         * gshadow/getsgent_r.c: Likewise.
33169         * gshadow/getsgnam.c: Likewise.
33170         * gshadow/getsgnam_r.c: Likewise.
33171         * inet/getnetbyad.c: Likewise.
33172         * inet/getnetbyad_r.c: Likewise.
33173         * inet/getnetbynm.c: Likewise.
33174         * inet/getnetbynm_r.c: Likewise.
33175         * inet/getnetent.c: Likewise.
33176         * inet/getnetent_r.c: Likewise.
33177         * inet/getproto.c: Likewise.
33178         * inet/getproto_r.c: Likewise.
33179         * inet/getprtent.c: Likewise.
33180         * inet/getprtent_r.c: Likewise.
33181         * inet/getprtname.c: Likewise.
33182         * inet/getprtname_r.c: Likewise.
33183         * inet/getrpcbyname.c: Likewise.
33184         * inet/getrpcbyname_r.c: Likewise.
33185         * inet/getrpcbynumber.c: Likewise.
33186         * inet/getrpcbynumber_r.c: Likewise.
33187         * inet/getrpcent.c: Likewise.
33188         * inet/getrpcent_r.c: Likewise.
33189         * inet/getaliasent.c: Likewise.
33190         * inet/getaliasent_r.c: Likewise.
33191         * inet/getaliasname.c: Likewise.
33192         * inet/getaliasname_r.c: Likewise.
33193         * nscd/getgrgid_r.c: Likewise.
33194         * nscd/getgrnam_r.c: Likewise.
33195         * nscd/gethstbyad_r.c: Likewise.
33196         * nscd/gethstbynm3_r.c: Likewise.
33197         * nscd/getpwnam_r.c: Likewise.
33198         * nscd/getpwuid_r.c: Likewise.
33199         * nscd/getsrvbynm_r.c: Likewise.
33200         * nscd/getsrvbypt_r.c: Likewise.
33201         * nscd/gai.c: Likewise.
33203         * configure.in (build_nscd): New substituted variable, set
33204         by --disable-build-nscd and defaults to $use_nscd.
33205         * configure: Regenerated.
33206         * config.make.in (build-nscd): New substituted variable.
33207         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33208         Change conditional to require [$(build-nscd) = yes] as well.
33209         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33211         [BZ# 13696]
33212         * configure.in (use_nscd): New substituted variable, set by
33213         --disable-nscd.  If enabled, define USE_NSCD.
33214         * configure: Regenerated.
33215         * config.h.in: Add USE_NSCD.
33216         * config.make.in (use-nscd): New substituted variable.
33217         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33218         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33219         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33220         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33221         (CFLAGS-getgrnam_r.c): Likewise.
33222         (CFLAGS-initgroups.c): Likewise.
33223         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33224         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33225         Variables removed.
33226         * inet/getnetgrent_r.c
33227         (nscd_setnetgrent): New function, broken out of ...
33228         (setnetgrent): ... here.  Call it.
33229         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33230         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33231         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33232         * nscd/Makefile (routines, aux): Move definitions after include of
33233         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33234         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33235         Conditionalize on [USE_NSCD].
33236         (is_nscd, nscd_init_cb): Likewise.
33237         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33238         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33239         * nss/nss_db/db-init.c: Likewise.
33240         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33241         [USE_NSCD].
33242         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33243         (make_request): Use it.
33244         (cache_valid_p): New function.
33245         (__check_pf): Use it.
33246         * NEWS: Add item for --disable-nscd.
33248 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33250         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33251         to support sed >= 4.2.1-20-ga9bf076.
33252         * configure: Regenerated.
33254 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33256         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33257         Conditionalize whole body on [IREL].
33259 2012-08-22  Jeff Law <law@redhat.com>
33261         [BZ #14505]
33262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33263         if the family is PF_UNSPEC.
33265 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33267         * Makerules (lib-version): Rename from V.
33268         (install-lib-nosubdir): Change V to lib-version.
33270 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33272         [BZ #14252]
33273         * powerpc32/power6/wcschr.c: New file.
33274         * powerpc32/power6/wcscpy.c: New file.
33275         * powerpc32/power6/wcsrchr.c: New file.
33276         * powerpc64/power6/wcschr.c: New file.
33277         * powerpc64/power6/wcscpy.c: New file.
33278         * powerpc64/power6/wcsrchr.c: New file.
33280 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33282         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33283         (two_way_short_needle): Use it.
33284         * string/strstr.c (AVAILABLE1_USES_J): Define.
33285         * string/strcasestr.c: Likewise.
33287         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33288         array references.
33289         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33291         [BZ #11607]
33292         * NEWS: Add an entry.
33293         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33294         define their defaults.
33295         (two_way_short_needle): Detect end-of-string on-the-fly.
33296         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33297         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33298         * string/bug-strcasestr1.c: New test.
33299         * string/Makefile: Run it.
33301 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33303         [BZ #11607]
33304         * string/str-two-way.h (two_way_short_needle): Optimize matching of
33305         the first character.
33307 2012-08-21  Roland McGrath  <roland@hack.frob.com>
33309         * csu/elf-init.c (__libc_csu_irel): Function removed.
33310         * csu/libc-start.c (apply_irel): New function.
33311         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33313 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
33315         * sysdeps/unix/sysv/linux/kernel-features.h
33316         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33317         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33318         <kernel-features.h>.
33319         [__NR_fadvise64_64]: Make code unconditional.
33320         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33321         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33322         !__NR_fadvise64_64)]: Likewise.
33323         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33324         !__NR_fadvise64_64))]: Likewise.
33325         [__NR_fadvise64]: Make code unconditional.
33326         [!__NR_fadvise64]: Remove conditional code.
33327         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33328         <kernel-features.h>.
33329         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33330         unconditional.
33331         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33332         conditional code.
33333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33334         not include <kernel-features.h>.
33335         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33336         unconditional.
33337         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33338         conditional code.
33339         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33340         include <kernel-features.h>.
33341         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33342         unconditional.
33343         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33344         conditional code.
33346 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33348         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33349         slight instruction rearrangements per scrollpipe analysis.
33350         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33352 2012-08-20  Roland McGrath  <roland@hack.frob.com>
33354         * manual/syslog.texi (syslog; vsyslog, closelog):
33355         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33356         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33358         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33359         DSOCAPS to match condition on defining it.
33361 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
33363         * sysdeps/unix/sysv/linux/kernel-features.h
33364         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33366         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33367         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33369         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33370         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33372         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33373         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33375         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33376         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33378         * sysdeps/unix/sysv/linux/kernel-features.h
33379         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33380         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33381         unconditional.
33382         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33383         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33384         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33385         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33386         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33387         Make code unconditional.
33388         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33389         (__mmap64) [!__NR_mmap2]: Likewise.
33390         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33391         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33392         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33393         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33394         [__NR_mmap2]: Make code unconditional.
33395         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33396         (__mmap64) [!__NR_mmap2]: Likewise.
33398 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33400         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33402 2012-08-18  Andreas Jaeger  <aj@suse.de>
33404         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33406 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33408         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33409         * include/unistd.h (__have_sock_cloexec): Likewise.
33410         (__have_pipe2): Likewise.
33411         (__have_dup3): Likewise.
33413 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33415         [BZ #9685]
33416         * include/unistd.h (__have_pipe2): Change define into an extern int.
33417         (__have_dup3): Likewise.
33418         * socket/have_sock_cloexec.c: Include fcntl.h.
33419         (__have_pipe2): New variable.
33420         (__have_dup3): Likewise.
33422 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
33424         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33426 2012-08-17  Marek Polacek  <polacek@redhat.com>
33428         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33429         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33431 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33433         * configure.in: Add AC_SUBST for sysheaders.
33434         * configure: Regenerated.
33435         * config.make.in (sysheaders): New substituted variable.
33437         * sysdeps/unix/mkfifo.c: Moved ...
33438         * sysdeps/posix/mkfifo.c: ... here.
33439         * sysdeps/unix/mkfifoat.c: Moved ...
33440         * sysdeps/posix/mkfifoat.c: ... here.
33442         * sysdeps/unix/utime.c: Moved ...
33443         * sysdeps/posix/utime.c: ... here.
33445         * sysdeps/unix/time.c: Moved ...
33446         * sysdeps/posix/time.c: ... here.
33447         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33448         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33450         * sysdeps/unix/nice.c: Moved ...
33451         * sysdeps/posix/nice.c: ... here.
33453         * sysdeps/unix/alarm.c: Moved ...
33454         * sysdeps/posix/alarm.c: ... here.
33456         * intl/Makefile ($(codeset_mo)): Depend on the input file.
33458 2012-08-17  Jeff Law <law@redhat.com>
33460         * intl/Makefile (codeset_mo): New variable.
33461         ($(codeset_mo)): New target.
33462         (tst-codeset.out): Depend on that.  Remove explicit rule.
33463         (tst-gettext3.out, tst-gettext5.out): Likewise.
33464         (LOCPATH-ENV, tst-codeset-ENV): New variables.
33465         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33466         * intl/tst-codeset.sh: Remove.
33467         * intl/tst-gettext3.sh: Likewise.
33468         * intl/tst-gettext5.sh: Likewise.
33470 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33472         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
33473         * sysdeps/unix/syscalls.list: ... here.
33475         * sysdeps/posix/getaddrinfo.c
33476         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33477         (gaiconf_init, gaiconf_reload): Use them.
33478         [!_STATBUF_ST_NSEC]
33479         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33480         Define using time_t rather than struct timespec.
33482         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33483         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33484         Macros removed.
33485         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33486         [!NO_THREADS].
33487         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33488         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33489         Likewise.
33491         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33492         __libc_cleanup_push argument.
33494         * bits/param.h: New file.
33495         * misc/sys/param.h: New file.
33496         * include/sys/param.h: New file.
33497         * misc/Makefile (headers): Add bits/param.h.
33498         * sysdeps/generic/sys/param.h: File removed.
33499         * sysdeps/unix/sysv/linux/bits/param.h: New file.
33500         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33501         * sysdeps/mach/hurd/bits/param.h: New file.
33502         * sysdeps/mach/hurd/sys/param.h: File removed.
33504         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33505         last change.
33507         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33508         [_IO_MTSAFE_IO].
33509         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33510         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33511         New macros.
33513         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33514         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33515         rather than -D_IO_MTSAFE_IO conditionally.
33516         * stdio-common/Makefile (CPPFLAGS): Likewise.
33517         * wcsmbs/Makefile (CPPFLAGS): Likewise.
33518         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33519         Use $(libio-mtsafe).
33520         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33521         of -D_IO_MTSAFE_IO.
33522         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33523         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33524         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33525         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33526         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33527         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33528         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33529         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33530         (CFLAGS-fread_u_chk.c): Likewise.
33531         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33532         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33533         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33534         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33535         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33536         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33537         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33538         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33539         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33541         * libio/Makefile: Test [$(libc-reentrant) = yes]
33542         instead of [$(filter %REENTRANT, $(defines)) nonempty].
33544         * Makeconfig
33545         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33546         * sysdeps/pthread/configure: File removed.
33547         * sysdeps/pthread/Makeconfig: New file.
33548         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33549         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33551 2012-08-16  Gary Benson  <gbenson@redhat.com>
33553         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33554         unmapping the first object in a namespace.
33556 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33558         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33559         (__internal_setnetgrent): ... this.  Add internal_function to
33560         definition.  Add libc_hidden_def.
33561         (setnetgrent): Update caller.
33562         (internal_endnetgrent): Renamed to ...
33563         (__internal_endnetgrent): ... this.  Add internal_function to
33564         definition.  Add libc_hidden_def.
33565         (endnetgrent): Update caller.
33566         (internal_getnetgrent_r): Renamed to ...
33567         (__internal_getnetgrent_r): ... this.  Add internal_function to
33568         definition.  Add libc_hidden_def.
33569         (__getnetgrent_r): Update caller.
33570         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
33572 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33574         * stdlib/longlong.h: Update from GCC.
33576 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33578         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33579         on _QL, which is set by umul_ppmm but never used.
33580         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33581         variables, which are set by GMP macros but never used.
33582         * stdio-common/_itowa.c (_itowa): Likewise.
33583         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33584         * stdlib/mod_1.c (mpn_mod_1): Likewise.
33586 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
33588         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33589         struct La_sh_regs is not constant.
33590         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33591         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33592         and struct La_sparc64_regs are not constant.
33594 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33596         * sysdeps/unix/sysv/linux/kernel-features.h
33597         (__ASSUME_POSIX_TIMERS): Remove.
33598         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33599         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33600         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33601         Make code unconditional.
33602         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33603         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33604         Make code unconditional.
33605         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33606         * sysdeps/unix/sysv/linux/clock_nanosleep.c
33607         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33608         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33609         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33610         Make code unconditional.
33611         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33612         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33613         (__libc_missing_posix_timers): Remove.
33615 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33617         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33618         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33620         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33622         * elf/dl-sym.c: Include <stdlib.h>.
33624         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33625         constants, which avoids warnings in 32-bit builds.
33627         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33628         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33630         * misc/lseek.c: File moved to ...
33631         * io/lseek.c: ... here.
33633         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33635         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33636         shifting LEN more than 31 bits at once.
33638 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33640         [BZ #14195]
33641         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33642         segmentation fault for a case of two empty input strings.
33643         * string/test-strncasecmp.c (check1): Renamed to...
33644         (bz12205): ...this.
33645         (bz14195): Add new testcase for two empty input strings and N > 0.
33646         (test_main): Call new testcase, adapt for renamed function.
33648 2012-08-15  Andreas Jaeger  <aj@suse.de>
33650         [BZ #14090]
33651         * crypt/md5test2.c: New test, based on test supplied by Serge
33652         Belyshev <belyshev@depni.sinp.msu.ru>.
33653         * crypt/Makefile (xtests): Add md5test-giant..
33654         * crypt/Makefile ($(objpfx)md5test-giant): Add.
33656 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
33658         [BZ #14090]
33659         * crypt/md5.c (md5_process_block): Don't assume the buffer
33660         length is less than 2**32.
33661         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33662         length is less than 2**64.
33664 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33666         * string/str-two-way.h: Include <sys/param.h>.
33667         (MAX): Macro removed.
33669         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33670         Move #define and #undef of memmove to just before and after
33671         including <string.h>.
33673         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33674         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33675         and after including <string.h>.  Move declarations of
33676         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33677         to before #include "string/memmove.c".
33679         * include/dirent.h: Declare __getdirentries.
33681         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33682         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33684 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
33686         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33687         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33688         * sysdeps/i386/configure: Regenerated.
33689         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33690         STABS_CURRENT_FILE, and STABS_FUN.
33691         (END): Remove call to STABS_FUN_END.
33692         (STABS_CURRENT_FILE1): Delete.
33693         (STABS_CURRENT_FILE): Likewise.
33694         (STABS_FUN): Likewise.
33695         (STABS_FUN_END): Likewise.
33696         (STABS_FUN2): Likewise.
33697         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33698         * sysdeps/x86_64/configure: Regenerated.
33700 2012-08-14  Roland McGrath  <roland@hack.frob.com>
33702         * elf/dl-open.c: Include <atomic.h>.
33703         * elf/dl-lookup.c: Likewise.
33705 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
33707         * sysdeps/unix/sysv/linux/kernel-features.h
33708         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33709         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33710         unconditionally.
33711         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33712         unconditionally.
33713         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33714         condition on __ASSUME_CLONE_THREAD_FLAGS.
33716 2012-08-14  Andreas Jaeger  <aj@suse.de>
33718         * sysdeps/i386/fpu/libm-test-ulps: Update.
33720 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
33722         * include/atomic.h (atomic_exchange_and_add): Split into ...
33723         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33724         New atomic macros.
33726 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
33728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33730 2012-08-13  Jeff Law <law@redhat.com>
33732         * manual/stdio.texi (snprintf): Clarify handling of the trailing
33733         null byte in the output string.
33735 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
33737         * sysdeps/unix/sysv/linux/kernel-features.h
33738         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33739         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33740         (__ASSUME_ARG_MAX_STACK_BASED): Define.
33741         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33742         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33743         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
33744         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33746 2012-08-09  Jeff Law <law@redhat.com>
33748         [BZ #13939]
33749         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33750         When avoid_arena is set, don't retry in the that arena.  Pick the
33751         next one, whatever it might be.
33752         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33753         (arena_lock): Pass in new parameter to arena_get2.
33754         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33755         arena_get2.
33756         (__libc_malloc): Unify retrying after main arena failure with
33757         __libc_memalign version.
33758         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33760 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33762         [BZ #14166]
33763         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33764         to __redirect_strstr.
33765         (__strstr_sse42): Use typeof __redirect_strstr.
33766         (__strstr_ia32): Likewise.
33767         (__libc_strstr): New prototype.
33768         (strstr): Renamed to ...
33769         (__libc_strstr): This.
33770         (strstr): New strong alias of __libc_strstr.
33771         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33772         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33773         __redirect_time.
33774         Include <time.h>.
33775         (__libc_time): New prototype.
33776         (time_ifunc): Replace time with __libc_time.
33777         (time): New strong alias and hidden definition of __libc_time.
33778         (__GI_time): Remove strong alias.
33779         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33780         Include <stddef.h>.
33781         (memmove): Redefined to __redirect_memmove.
33782         (__memmove_sse2): Use typeof __redirect_memmove.
33783         (__memmove_ssse3): Likewise.
33784         (__memmove_ssse3_back): Likewise.
33785         (__libc_memmove): New prototype.
33786         (memmove): Renamed to ...
33787         (__libc_memmove): This.
33788         (memmove): New strong alias of __libc_memmove.
33790 2012-08-08  Mark Salter  <msalter@redhat.com>
33792         * elf/elf.h
33793         (R_MN10300_TLS_GD): Define.
33794         (R_MN10300_TLS_LD): Likewise.
33795         (R_MN10300_TLS_LDO): Likewise.
33796         (R_MN10300_TLS_GOTIE): Likewise.
33797         (R_MN10300_TLS_IE): Likewise.
33798         (R_MN10300_TLS_LE): Likewise.
33799         (R_MN10300_TLS_DTPMOD): Likewise.
33800         (R_MN10300_TLS_DTPOFF): Likewise.
33801         (R_MN10300_TLS_TPOFF): Likewise.
33802         (R_MN10300_SYM_DIFF): Likewise.
33803         (R_MN10300_ALIGN): Likewise.
33804         (R_MN10300_NUM): Update.
33806 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
33808         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33809         Remove.
33811 2012-08-08  Roland McGrath  <roland@hack.frob.com>
33813         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33815         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33816         sysdeps/unix -> sysdeps/posix move.
33817         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33819 2012-08-07      Allan McRae     <allan@archlinux.org>
33821         [BZ #14303]
33822         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33823         (SUNOS_CPP): Likewise.
33824         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33825         not found.
33826         (open_input): Call CPP using execvp.
33828 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33830         * sysdeps/unix/sysv/linux/kernel-features.h
33831         (__ASSUME_PROT_GROWSUPDOWN): Remove.
33832         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33833         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33834         (__ASSUME_WAITID_SYSCALL): Likewise.
33835         * sysdeps/unix/sysv/linux/dl-execstack.c
33836         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33837         code unconditional.
33838         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33839         conditional code.
33840         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33841         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33842         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33843         code.
33844         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33845         unconditional.
33846         [__ASSUME_WAITID_SYSCALL]: Likewise.
33847         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33849 2012-08-07  Roland McGrath  <roland@hack.frob.com>
33851         * sysdeps/unix/closedir.c: Renamed to ...
33852         * sysdeps/posix/closedir.c: ... here.
33853         * sysdeps/unix/dirfd.c: Renamed to ...
33854         * sysdeps/posix/dirfd.c: ... here.
33855         * sysdeps/unix/dirstream.h: Renamed to ...
33856         * sysdeps/posix/dirstream.h: ... here.
33857         * sysdeps/unix/fdopendir.c: Renamed to ...
33858         * sysdeps/posix/fdopendir.c: ... here.
33859         * sysdeps/unix/opendir.c: Renamed to ...
33860         * sysdeps/posix/opendir.c: ... here.
33861         * sysdeps/unix/readdir.c: Renamed to ...
33862         * sysdeps/posix/readdir.c: ... here.
33863         * sysdeps/unix/readdir_r.c: Renamed to ...
33864         * sysdeps/posix/readdir_r.c: ... here.
33865         * sysdeps/unix/rewinddir.c: Renamed to ...
33866         * sysdeps/posix/rewinddir.c: ... here.
33867         * sysdeps/unix/seekdir.c: Renamed to ...
33868         * sysdeps/posix/seekdir.c: ... here.
33869         * sysdeps/unix/telldir.c: Renamed to ...
33870         * sysdeps/posix/telldir.c: ... here.
33871         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33872         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33873         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33874         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33876         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33877         * bits/fcntl.h: ... here.
33879         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33880         not 0.
33881         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33882         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33883         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33884         (struct flock): Move l_start, l_len to the beginning.
33885         Use __pid_t for l_pid.
33886         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33887         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33888         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33889         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33890         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33891         [__USE_LARGEFILE64] (struct flock64): New type.
33892         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33894         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33895         * bits/dirent.h: ... here.
33897         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33898         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33900 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33902         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33903         Change from 2.6.0 to 2.6.16.
33904         * sysdeps/unix/sysv/linux/configure: Regenerated.
33905         * sysdeps/unix/sysv/linux/kernel-features.h
33906         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33907         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33908         version.
33909         (__ASSUME_UTIMES): Likewise.
33910         (__ASSUME_CLONE_STOPPED): Remove.
33911         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33912         architectures, not kernel version.
33913         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33914         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33915         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33916         (__ASSUME_WAITID_SYSCALL): Likewise.
33917         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33918         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33919         * README: State 2.6.16 as minimum Linux kernel version.  Do not
33920         refer to older versions.
33922 2012-08-06  Roland McGrath  <roland@hack.frob.com>
33924         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33925         Define alphasort64 as an alias.
33926         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33927         Define versionsort64 as an alias.
33928         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33929         Define scandir64 as an alias.
33930         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33931         Define scandirat64 as an alias.
33932         * dirent/alphasort64.c (alphasort64):
33933         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33934         * dirent/versionsort64.c: Likewise.
33935         * dirent/scandir64.c: Likewise.
33936         * dirent/scandirat64.c: Likewise.
33937         * sysdeps/wordsize-64/alphasort.c: File removed.
33938         * sysdeps/wordsize-64/alphasort64.c: File removed.
33939         * sysdeps/wordsize-64/scandir.c: File removed.
33940         * sysdeps/wordsize-64/scandir64.c: File removed.
33941         * sysdeps/wordsize-64/scandirat.c: File removed.
33942         * sysdeps/wordsize-64/scandirat64.c: File removed.
33943         * sysdeps/wordsize-64/versionsort.c: File removed.
33944         * sysdeps/wordsize-64/versionsort64.c: File removed.
33945         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33946         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33947         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33948         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33949         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33950         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33951         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33952         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33954         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33955         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33956         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33957         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33958         [defined __arch64__ || defined __sparcv9]
33959         (__INO_T_MATCHES_INO64_T): New macro.
33960         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33961         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33962         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33963         * sysdeps/unix/sysv/linux/bits/dirent.h
33964         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33965         (_DIRENT_MATCHES_DIRENT64): New macro.
33967         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33968         Define lockf64 as an alias.
33969         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33970         Define fseeko64 as an alias.
33971         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33972         Define ftello64 as an alias.
33973         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33974         Define _IO_fgetpos64 and fgetpos64 as aliases.
33975         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33976         Define _IO_fsetpos64 and fsetpos64 as aliases.
33977         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33978         Conditionalize body on this.
33979         * libio/fseeko64.c: Likewise.
33980         * libio/ftello64.c: Likewise.
33981         * libio/iofgetpos64.c: Likewise.
33982         * libio/iofsetpos64.c: Likewise.
33983         * sysdeps/wordsize-64/lockf.c: File removed.
33984         * sysdeps/wordsize-64/lockf64.c: File removed.
33985         * sysdeps/wordsize-64/fseeko.c: File removed.
33986         * sysdeps/wordsize-64/fseeko64.c: File removed.
33987         * sysdeps/wordsize-64/ftello.c: File removed.
33988         * sysdeps/wordsize-64/ftello64.c: File removed.
33989         * sysdeps/wordsize-64/iofgetpos.c: File removed.
33990         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33991         * sysdeps/wordsize-64/iofsetpos.c: File removed.
33992         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33993         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33994         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33995         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33996         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33997         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33998         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33999         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34000         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34001         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34002         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34004         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34006         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34007         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34008         [defined __arch64__ || defined __sparcv9]
34009         (__OFF_T_MATCHES_OFF64_T): New macro.
34010         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34011         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34012         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34013         (__OFF_T_MATCHES_OFF64_T): New macro.
34015 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34017         * stdlib/secure-getenv.c (__secure_getenv): Replace
34018         GLIBC_2_16 with GLIBC_2_17.
34020 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34022         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34023         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34025 2012-08-03  David S. Miller  <davem@davemloft.net>
34027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34029 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34031         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34032         Remove.
34033         (__ASSUME_CORRECT_SI_PID): Likewise.
34034         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34035         (__ASSUME_TMPFS_NAME): Likewise.
34036         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34037         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34038         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34039         (HAVE_AUX_SECURE): Make definition unconditional.
34040         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34041         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34043 2012-08-03  Roland McGrath  <roland@hack.frob.com>
34045         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34046         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34047         * sysdeps/mach/hurd/eloop-threshold.h: New file.
34048         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34049         __eloop_threshold instead of SYMLOOP_MAX.
34051         * sysdeps/generic/eloop-threshold.h: New file.
34052         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34053         of MAXSYMLINKS.
34054         * elf/chroot_canon.c (chroot_canon): Likewise.
34056 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34058         [BZ #13717]
34059         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34060         Change to 2.6.0 everywhere.
34061         * sysdeps/unix/sysv/linux/configure: Regenerated.
34062         * sysdeps/unix/sysv/linux/kernel-features.h
34063         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34064         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34065         kernel versions.
34066         (__ASSUME_POSIX_TIMERS): Define unconditionally.
34067         (__ASSUME_FUTEX_REQUEUE): Remove.
34068         (__ASSUME_STATFS64): Define unconditionally.
34069         (__ASSUME_AT_SECURE): Likewise.
34070         (__ASSUME_CORRECT_SI_PID): Likewise.
34071         (__ASSUME_TGKILL): Define without depending on kernel version for
34072         i386.
34073         (__ASSUME_UTIMES): Likewise.
34074         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34075         kernel version.
34076         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34077         (__ASSUME_TMPFS_NAME): Likewise.
34078         * README: Update reference to Linux kernel versions.
34080 2012-08-02  Marek Polacek  <polacek@redhat.com>
34082         [BZ# 14150]
34083         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
34084         libc_cv_asm_type_prefix with %.
34085         * configure: Regenerated.
34086         * include/libc-symbols.h: Remove comment about
34087         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34088         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34089         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34090         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34091         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34092         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34093         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34094         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34095         * elf/tst-unique2mod1.c: Likewise.
34096         * elf/tst-unique1mod2.c: Likewise.
34097         * elf/tst-unique1mod1.c: Likewise.
34098         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34099         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34100         Replace ASM_TYPE_DIRECTIVE with .type.
34101         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34102         * sysdeps/i386/sysdep.h: Likewise.
34103         * sysdeps/x86_64/sysdep.h: Likewise.
34104         * sysdeps/sh/sysdep.h: Likewise.
34105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34106         Do not define ASM_TYPE_DIRECTIVE.
34107         * sysdeps/powerpc/sysdep.h: Likewise.
34108         * sysdeps/powerpc/powerpc32/sysdep.h:
34109         Replace ASM_TYPE_DIRECTIVE with .type.
34110         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34111         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34112         * sysdeps/i386/fpu/e_powf.S: Likewise.
34113         * sysdeps/i386/fpu/e_expl.S: Likewise.
34114         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34115         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34116         * sysdeps/i386/fpu/e_pow.S: Likewise.
34117         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34118         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34119         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34120         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34121         * sysdeps/i386/fpu/e_log2.S: Likewise.
34122         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34123         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34124         * sysdeps/i386/fpu/e_powl.S: Likewise.
34125         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34126         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34127         * sysdeps/i386/fpu/e_logl.S: Likewise.
34128         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34129         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34130         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34131         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34132         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34133         * sysdeps/i386/fpu/e_log.S: Likewise.
34134         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34135         * sysdeps/i386/fpu/e_logf.S: Likewise.
34136         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34137         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34138         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34139         * sysdeps/i386/fpu/e_log10.S: Likewise.
34140         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34141         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34142         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34143         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34144         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34145         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34146         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34147         * sysdeps/i386/i686/strtok.S: Likewise.
34148         * sysdeps/i386/i386-mcount.S: Likewise.
34149         * sysdeps/i386/strtok.S: Likewise.
34150         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34151         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34152         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34153         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34154         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34155         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34156         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34157         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34158         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34159         * sysdeps/x86_64/_mcount.S: Likewise.
34160         * sysdeps/x86_64/strtok.S: Likewise.
34161         * sysdeps/sh/_mcount.S: Likewise.
34163 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34165         * libio/iofopen.c: Include <fcntl.h>.
34166         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34167         (_IO_fopen64, fopen64): Define as aliases.
34168         * libio/iofopen64.c: Include <fcntl.h>.
34169         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34170         Conditionalize body on this.
34171         * sysdeps/wordsize-64/iofopen.c: File removed.
34172         * sysdeps/wordsize-64/iofopen64.c: File removed.
34174 2012-08-01  Marek Polacek  <polacek@redhat.com>
34176         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34177         Use dlfcn directly instead of a variable.
34178         (binfmt-subdir): Do not define.
34179         (dlfcn): Likewise.
34181 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34183         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34184         Remove all definitions.
34185         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34186         <kernel-features.h>.
34187         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34188         (miss_F_GETOWN_EX): Remove all definitions.
34189         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34190         macro definition.
34191         [!__ASSUME_FCNTL64]: Remove conditional code.
34192         [__ASSUME_FCNTL64]: Make code unconditional.
34193         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34194         <kernel-features.h>.
34195         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34196         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34197         (lockf64) [__NR_fcntl64]: Make code unconditional.
34198         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34200         * sysdeps/unix/sysv/linux/kernel-features.h
34201         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34202         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34203         Make code unconditional.
34204         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34205         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34207         [__NR_vfork]: Make code unconditional.
34208         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34209         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34211         [__NR_vfork]: Make code unconditional.
34212         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34213         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34215 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34217         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34218         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34220         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34221         Define mkstemp64 as an alias.
34222         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34223         Define mkstemps64 as an alias.
34224         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34225         Define mkostemp64 as an alias.
34226         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34227         Define mkostemps64 as an alias.
34228         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34229         Conditionalize body on this.
34230         * misc/mkostemp64.c: Likewise.
34231         * misc/mkostemps64.c: Likewise.
34232         * misc/mkstemps64.c: Likewise.
34233         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34234         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34235         * sysdeps/wordsize-64/mkostemp.c: File removed.
34236         * sysdeps/wordsize-64/mkstemp.c: File removed.
34237         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34238         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34239         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34240         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34242         [BZ #14138]
34243         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34244         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34245         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34246         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34248         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34249         compat_symbol macros from <shlib-compat.h> rather than the underlying
34250         default_symbol_version and symbol_version macros, so that DEFAULT
34251         lines in shlib-versions are respected.
34252         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34254 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34256         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34257         Declare with warn_unused_result.
34258         (setgid, setregid, setegid, setresgid): Likewise.
34259         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34260         Likewise.
34261         * WUR-REPORT: Remove set*id functions.
34263 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34265         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34267 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34269         [BZ #10191]
34270         * include/sys/socket.h (__libc_accept, __libc_accept4):
34271         Add attribute_hidden.
34272         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34274         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34275         use of PTR_MANGLE.
34276         * inet/getnetgrent_r.c (setup): Likewise.
34278         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34280 2012-07-31  David S. Miller  <davem@davemloft.net>
34282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34284 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34286         [BZ #13629]
34287         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34288         value between 1.0 and 2.0 and smaller part has absolute value less
34289         than 1.0.
34290         * math/s_clog10.c (__clog10): Likewise.
34291         * math/s_clog10f.c (__clog10f): Likewise.
34292         * math/s_clog10l.c (__clog10l): Likewise.
34293         * math/s_clogf.c (__clogf): Likewise.
34294         * math/s_clogl.c (__clogl): Likewise.
34295         * math/libm-test.inc (clog_test): Add more tests.
34296         (clog10_test): Likewise.
34297         * sysdeps/i386/fpu/libm-test-ulps: Update.
34298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34300 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34302         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34303         Exit with zero in case no suitable GID is found, and write a
34304         message to standard error.
34306 2012-07-30  Roland McGrath  <roland@hack.frob.com>
34308         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34309         rather than to 1.
34310         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34311         (MAXPATHLEN): Removed.
34312         (NOGROUP, NODEV): New macros.
34313         (setbit, clrbit, isset, isclr): New macros.
34314         (howmany, roundup, powerof2): New macros.
34315         (DEV_BSIZE): New macro.
34317         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34318         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34320         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34321         definition on [!__NO_LONG_DOUBLE_MATH].
34323         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34324         PTR_MANGLE and PTR_DEMANGLE.
34326         * socket/accept4.c (accept4): Rename to __libc_accept4.
34327         Define accept4 as a weak alias.
34329         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34330         on [_DIRENT_HAVE_D_TYPE].
34331         * io/ftw.c (ftw_dir): Likewise.
34333         * io/xmknod.c (__xmknod): Don't check PATH for being null.
34335         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34337         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34338         Use the BSD numbers rather than the arbitrary ones we had.
34339         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34340         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34341         (SIGXCPU, SIGXFSZ): New macros.
34342         (_NSIG): Now 32.
34344         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34345         initializer on [_LIBC_REENTRANT].
34347         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34348         definitions inside [_POSIX_MAPPED_FILES].
34350         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34352         * dirent/opendir.c: Include <fcntl.h>.
34354         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34355         (__libc_getspecific): Likewise.
34356         (__libc_key_create): Likewise.
34358         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34359         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34360         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34361         (tmpfile64): Define as alias.
34362         * sysdeps/wordsize-64/tmpfile.c: File removed.
34363         * sysdeps/wordsize-64/tmpfile64.c: File removed.
34364         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34365         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34367         * stdio-common/vfscanf.c: Include <stdbool.h>.
34368         * nss/makedb.c: Likewise.
34369         * stdio-common/_i18n_number.h: Likewise.
34370         * argp/argp-help.c: Likewise.
34371         * posix/wordexp.c: Likewise.
34372         * sysdeps/posix/spawni.c: Likewise.
34373         * nss/nss_files/files-initgroups.c: Likewise.
34374         * stdio-common/reg-modifier.c: Include <stdlib.h>.
34375         * nss/nss_files/files-initgroups.c: Likewise.
34376         * nss/nss_db/db-netgrp.c: Likewise.
34377         * nss/nss_db/db-initgroups.c: Likewise.
34378         * io/fchmodat.c: Include <sys/stat.h>.
34380         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34381         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34383         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34384         [HAVE_MMAP].
34386         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34387         Add multiple inclusion protection.
34389 2012-07-27  David S. Miller  <davem@davemloft.net>
34391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34393 2012-07-27  Gary Benson  <gbenson@redhat.com>
34395         [BZ #14298]
34396         * elf/rtld.c: Include <stap-probe.h>.
34397         (dl_main): Added static probes "init_start" and "init_complete".
34398         * elf/dl-load.c: Include <stap-probe.h>.
34399         (lose): Take new parameter "nsid".
34400         Added static probe "map_failed".
34401         (_dl_map_object_from_fd): Pass namespace id to lose.
34402         Added static probe "map_start".
34403         (open_verify): Pass namespace id to lose.
34404         * elf/dl-open.c: Include <stap-probe.h>.
34405         (dl_open_worker) Added static probes "map_complete", "reloc_start"
34406         and "reloc_complete".
34407         * elf/dl-close.c: Include <stap-probe.h>.
34408         (_dl_close_worker): Added static probes "unmap_start" and
34409         "unmap_complete".
34410         * elf/rtld-debugger-interface.txt: New file documenting the above.
34412 2012-07-26  Roland McGrath  <roland@hack.frob.com>
34414         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34415         rather than a string variable.
34416         * sunrpc/rpc_main.c (h_output): Likewise.
34417         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34419 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
34421         * inet/check_native.c: New file.
34423 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
34425         [BZ #13629]
34426         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34427         if larger part has absolute value 1.0.
34428         * math/s_clog10.c (__clog10): Likewise.
34429         * math/s_clog10f.c (__clog10f): Likewise.
34430         * math/s_clog10l.c (__clog10l): Likewise.
34431         * math/s_clogf.c (__clogf): Likewise.
34432         * math/s_clogl.c (__clogl): Likewise.
34433         * math/libm-test.inc (clog_test): Add more tests.
34434         (clog10_test): Likewise.
34435         * sysdeps/i386/fpu/libm-test-ulps: Update.
34436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34438         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34439         (pltexit): Likewise.
34440         (La_regs): Likewise.
34441         (La_retval): Likewise.
34442         (int_retval): Likewise.
34443         Update #error for removed macros to refer only to definitions in
34444         tst-audit.h.
34445         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34446         macro.
34447         (pltexit): Likewise.
34448         (La_regs): Likewise.
34449         (La_retval): Likewise.
34450         (int_retval): Likewise.
34451         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34452         macro.
34453         (pltexit): Likewise.
34454         (La_regs): Likewise.
34455         (La_retval): Likewise.
34456         (int_retval): Likewise.
34457         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34458         macro.
34459         (pltexit): Likewise.
34460         (La_regs): Likewise.
34461         (La_retval): Likewise.
34462         (int_retval): Likewise.
34463         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34464         macro.
34465         (pltexit): Likewise.
34466         (La_regs): Likewise.
34467         (La_retval): Likewise.
34468         (int_retval): Likewise.
34469         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34470         macro.
34471         (pltexit): Likewise.
34472         (La_regs): Likewise.
34473         (La_retval): Likewise.
34474         (int_retval): Likewise.
34475         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34476         macro.
34477         (pltexit): Likewise.
34478         (La_regs): Likewise.
34479         (La_retval): Likewise.
34480         (int_retval): Likewise.
34481         * sysdeps/generic/tst-audit.h: Update comment to refer only to
34482         macro definitions in tst-audit.h.
34483         * sysdeps/i386/tst-audit.h: New file.
34484         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34485         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34486         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34487         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34488         * sysdeps/sh/tst-audit.h: Likewise.
34489         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34490         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34491         * sysdeps/x86_64/tst-audit.h: Likewise.
34493 2012-07-26  Andreas Jaeger  <aj@suse.de>
34495         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34496         ptrace.
34498         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34499         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34500         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34501         PTRACE_O_MASK.
34502         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34503         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34504         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34506         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34507         value.
34509         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34510         _sigsys.
34511         (si_call_addr, si_syscall, si_arch): Define new macro.
34512         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34513         _sigsys.
34514         (si_call_addr, si_syscall, si_arch): Define new marcro.
34515         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34516         _sigsys.
34517         (si_call_addr, si_syscall, si_arch): Define new macro.
34518         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34519         _sigsys.
34520         (si_call_addr, si_syscall, si_arch): Define new macro.
34522 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34524         [BZ #13717]
34525         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34526         Change to 2.4.21 where previously 2.4.1.
34527         * sysdeps/unix/sysv/linux/configure: Regenerated.
34528         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34529         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34530         Linux kernel version.
34531         (__ASSUME_STD_AUXV): Remove.
34532         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34533         kernel version.
34534         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34535         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34536         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34537         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34538         (__ASSUME_NETLINK_SUPPORT): Likewise.
34539         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34540         (__no_netlink_support): Remove conditional definition.
34541         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34542         Remove.
34543         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34544         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34545         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34546         (if_nameindex_ioctl): Remove.
34547         (if_nameindex_netlink): Do not handle __no_netlink_support.
34548         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34549         code.
34550         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34551         Remove conditional code.
34552         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34553         code.
34554         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34555         unconditional.
34556         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34557         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34558         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34559         Remove.
34560         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34561         [!__ASSUME_STD_AUXV]: Remove conditional code.
34562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34563         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34564         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34566         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34567         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34568         code.
34569         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34571         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34572         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34573         conditional code.
34574         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34576         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34577         code.
34578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34579         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34580         conditional code.
34581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34582         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34583         code unconditional.
34584         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34585         conditional code.
34586         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34587         unconditional.
34588         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34589         conditional code.
34590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34591         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34592         unconditional.
34593         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34594         conditional code.
34595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34596         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34597         code unconditional.
34598         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34599         conditional code.
34600         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34601         unconditional.
34602         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34603         conditional code.
34604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34605         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34606         code unconditional.
34607         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34608         conditional code.
34609         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34610         unconditional.
34611         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34612         conditional code.
34614 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
34616         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34617         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34618         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34619         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34620         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34621         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34622         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34623         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34624         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34625         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34626         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34627         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34628         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34629         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34630         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34631         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34632         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34633         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34634         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34636         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34637         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34638         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34640 2012-07-25  Florian Weimer  <fweimer@redhat.com>
34642         * Versions.def: Add GLIBC_2.17.
34643         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34644         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34645         Introduce __libc_secure_getenv.
34646         * stdlib/Versions (2.17): Add secure_getenv
34647         (GLIBC_PRIVATE): Add __libc_secure_getenv.
34648         * stdlib/secure-getenv.c: Rename __secure_getenv to
34649         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
34650         symbol __secure_getenv for GLIBC_2.0.
34651         * stdlib/tst-secure-getenv.c: New.
34652         * stdlib/Makefile (tests): Add testcase.
34653         * manual/startup.texi (Environment Access): Document
34654         secure_getenv.
34655         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34656         __libc_secure_getenv.
34657         * inet/ruserpass.c (ruserpass): Likewise.
34658         * malloc/mtrace.c (mtrace): Likewise.
34659         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34660         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34661         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34662         * sysdeps/posix/tempname.c: Likewise.  Evaluate
34663         HAVE_SECURE_GETENV.
34664         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34665         __secure_getenv to __libc_secure_getenv.
34666         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34668         Likewise.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34670         Likewise.
34671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34673         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34679 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34681         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34682         (struct La_i86_retval): Likewise.
34683         (struct La_x86_64_regs): Likewise.
34684         (struct La_x86_64_retval): Likewise.
34685         (struct La_x32_regs): Likewise.
34686         (struct La_x32_retval): Likewise.
34687         (struct La_ppc32_regs): Likewise.
34688         (struct La_ppc32_retval): Likewise.
34689         (struct La_ppc64_regs): Likewise.
34690         (struct La_ppc64_retval): Likewise.
34691         (struct La_sh_regs): Likewise.
34692         (struct La_sh_retval): Likewise.
34693         (struct La_s390_32_regs): Likewise.
34694         (struct La_s390_32_retval): Likewise.
34695         (struct La_s390_64_regs): Likewise.
34696         (struct La_s390_64_retval): Likewise.
34697         (struct La_sparc32_regs): Likewise.
34698         (struct La_sparc32_retval): Likewise.
34699         (struct La_sparc64_regs): Likewise.
34700         (struct La_sparc64_retval): Likewise.
34701         (struct audit_ifaces): Remove architecture-specific pltenter and
34702         pltexit members.
34703         * sysdeps/i386/ldsodefs.h: New file.
34704         * sysdeps/powerpc/ldsodefs.h: Likewise.
34705         * sysdeps/s390/ldsodefs.h: Likewise.
34706         * sysdeps/sh/ldsodefs.h: Likewise.
34707         * sysdeps/sparc/ldsodefs.h: Likewise.
34708         * sysdeps/x86_64/ldsodefs.h: Likewise.
34710 2012-07-25  Marek Polacek  <polacek@redhat.com>
34712         [BZ #6808]
34713         * math/libm-test.inc (yn_test): Add another test.
34714         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34715         to ERANGE when the result is +-Inf.
34716         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34717         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34718         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34719         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34721 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
34723         * conform/data/time.h-data (NULL): Use macro-constant.  Require
34724         equal to 0.
34725         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
34726         clock_t.
34727         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
34729 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
34731         * configure.in <sysdeps resolving>: Correct printing
34732         Implies_before.
34733         * configure: Regenerate.
34735 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
34737         * math/w_ilogb.c: Include <limits.h>.
34738         * math/w_ilogbl.c: Likewise.
34740 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34742         * manual/lang.texi (__va_copy): Document primarily as ISO C99
34743         va_copy.  Document allowing for unavailable va_copy only as
34744         pre-C99 compatibility.
34745         * manual/string.texi (Copying and Concatenation): Use va_copy
34746         instead of __va_copy in concat example.
34748 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
34750         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34751         (__sendto): Use create_address_port.  Initialize APORT and deallocate
34752         it if not null.
34754         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34755         with O_NOLINK passed to __file_name_lookup.
34757         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34758         with O_NOLINK passed to __file_name_lookup.
34760         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34761         negative N or less than NGIDS.
34763         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34764         type to string_t.  Set ERANGE as errno and return it if NAME is not big
34765         enough.  Use memcpy instead of strncpy.
34767 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34769         * elf/Makefile (check-data): Remove.
34770         (localplt.data): New vpath directive.
34771         ($(objpfx)check-localplt.out): Use localplt.data from vpath
34772         instead of $(check-data).
34773         * scripts/data/localplt-generic.data: Move to ...
34774         * sysdeps/generic/localplt.data: ... here.
34775         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34776         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34777         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34779         ... here.
34780         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34782         ... here.
34783         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34785         ... here.
34786         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34788         ... here.
34789         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34791         ... here.
34792         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34794         ... here.
34796 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34798         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34799         PPC32 and PPC64 files.
34800         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34801         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34803 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34805         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34806         __makecontext_ret to ...
34807         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34808         ... here and call exit if uc_link is NULL.  New file.
34809         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34810         __makecontext_ret.S.
34811         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34812         __makecontext_ret to ...
34813         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34814         ... here and call exit if uc_link is NULL.  New file.
34815         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34816         __makecontext_ret.S.
34818 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34820         * elf/elf.h (R_390_IRELATIVE): New definition.
34821         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34822         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
34823         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34824         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34825         (elf_machine_lazy_rel): Likewise.
34826         * sysdeps/s390/dl-irel.h: New file.
34827         * sysdeps/s390/s390-64/memcpy.S: New asm code.
34828         * sysdeps/s390/s390-64/memset.S: New asm code.
34829         * sysdeps/s390/s390-64/memcmp.S: New asm code.
34830         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34831         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34832         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34833         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34834         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34835         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34836         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34837         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34838         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34839         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34840         * sysdeps/s390/s390-32/memcpy.S: New asm code.
34841         * sysdeps/s390/s390-32/memset.S: New asm code.
34842         * sysdeps/s390/s390-32/memcmp.S: New asm code.
34844 2012-07-17  Marek Polacek  <polacek@redhat.com>
34846         [BZ #14349]
34847         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34848         * sysdeps/s390/s390-64/configure.in: Likewise.
34849         * sysdeps/sparc/configure.in: Likewise.
34850         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34851         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34852         * sysdeps/i386/configure.in: Likewise.
34853         * sysdeps/x86_64/configure.in: Likewise.
34854         * sysdeps/sh/configure.in: Likewise.
34855         * sysdeps/s390/s390-32/configure: Regenerated.
34856         * sysdeps/s390/s390-64/configure: Likewise.
34857         * sysdeps/x86_64/configure: Likewise.
34858         * sysdeps/sh/configure: Likewise.
34859         * sysdeps/powerpc/powerpc64/configure: Likewise.
34860         * sysdeps/powerpc/powerpc32/configure: Likewise.
34861         * sysdeps/sparc/configure: Likwise.
34862         * sysdeps/i386/configure: Likewise.
34864         * elf/dl-open.c: Comment fixes.
34866 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
34868         * Makefile [CXX] (check-data): Remove.
34869         [CXX] (c++-types.data): New vpath directive.
34870         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34871         vpath.  Do not allow for C++ type data being missing.
34872         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34873         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34874         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34875         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34876         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34877         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34878         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34880         ... here.
34881         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34883         ... here.
34884         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34886         ... here.
34887         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34889         ... here.
34890         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34892         ... here.
34893         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34895         ... here.
34896         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34898         ... here.
34899         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34902         * elf/tls-macros.h (TLS_LE): Move architecture-specific
34903         definitions to architecture-specific files.
34904         (TLS_IE): Likewise.
34905         (TLS_LD): Likewise.
34906         (TLS_GD): Likewise.
34907         * sysdeps/i386/tls-macros.h: New file.
34908         * sysdeps/powerpc/tls-macros.h: Likewise.
34909         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34910         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34911         * sysdeps/sh/tls-macros.h: Likewise.
34912         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34913         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34914         * sysdeps/x86_64/tls-macros.h: Likewise.
34916 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34918         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34919         zero value for regular exit case.
34921         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34922         (__start_context): Preserve zero value for regular exit case.
34924 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34925             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34927         * manual/setjmp.texi (setcontext): Clarify normal process
34928         termination when uc_link is the null pointer.
34929         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34930         exit call.
34932 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
34934         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34935         preprocessor.  Test for each exception mask separately.
34937 2012-07-16  Andreas Jaeger  <aj@suse.de>
34939         * po/ru.po: Update from translation team.
34941 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
34943         * conform/data/string.h-data (NULL): Use macro-constant.  Require
34944         equal to 0.
34945         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34946         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34947         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34948         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34949         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34951 2012-07-13  Andreas Jaeger  <aj@suse.de>
34953         * po/fr.po: Update from translation team.
34955 2012-07-12  Marek Polacek  <polacek@redhat.com>
34957         [BZ #14173]
34958         * math/libm-test.inc (yn_test): Add test for BZ #14173.
34959         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34960         loop condition.
34962 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
34964         [BZ #13717]
34965         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34966         Change to 2.4.1 where previously 2.4.0.
34967         * sysdeps/unix/sysv/linux/configure: Regenerated.
34968         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34969         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34970         version.
34971         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34972         (__ASSUME_AT_CLKTCK): Remove.
34973         (__ASSUME_AT_PAGESIZE): Likewise.
34974         (__ASSUME_AT_XID): Likewise.
34975         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34976         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34977         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34978         unconditionally.
34979         (HAVE_AUX_PAGESIZE): Likewise.
34980         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34981         [__ASSUME_AT_CLKTCK]: Make code unconditional.
34982         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34984 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
34986         [BZ #14307]
34987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34988         the temporary buffer used to invoke __gethostbyname2_r,
34989         __gethostbyaddr_r and gethostbyname4_r to make room for struct
34990         host_data / struct gaih_addrtuple.
34991         * resolv/nss_dns/dns-host.c (global scope): Move definition of
34992         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34993         header file nss/nsswitch.h.
34994         * nss/nsswitch.h (global scope): Add definition of implementation
34995         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34996         resolv/nss_dns/dns-host.c).
34998 2012-07-11  Andreas Jaeger  <aj@suse.de>
35000         * po/fr.po: Update from translation team.
35002         * po/sv.po: Update from translation team
35003         * po/fr.po: Another update from translation team.
35005 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35007         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35008         for subnormals or multiply small sinh result by itself.
35009         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35012 2012-07-11  David S. Miller  <davem@davemloft.net>
35014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35016 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
35018         [BZ #14347]
35019         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35020         (INTERNAL_MARK): Shift it here.
35022 2012-07-10  Marek Polacek  <polacek@redhat.com>
35024         [BZ #14151]
35025         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
35026         libc_cv_asm_global_directive with .globl.
35027         * configure: Regenerated.
35028         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35029         with .globl.
35030         * sysdeps/i386/configure: Regenerated.
35031         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35032         with .globl.
35033         * sysdeps/x86_64/configure: Regenerated.
35034         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35035         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35036         * elf/tst-unique2mod2.c: Likewise.
35037         * elf/tst-unique2mod1.c: Likewise.
35038         * elf/tst-unique1mod2.c: Likewise.
35039         * elf/tst-unique1mod1.c: Likewise.
35040         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35041         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35042         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35043         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35044         * sysdeps/mach/sysdep.h: Likewise.
35045         * sysdeps/i386/sysdep.h: Likewise.
35046         * sysdeps/i386/i386-mcount.S: Likewise.
35047         * sysdeps/x86_64/_mcount.S: Likewise.
35048         * sysdeps/x86_64/sysdep.h: Likewise.
35049         * sysdeps/sh/_mcount.S: Likewise.
35050         * sysdeps/sh/sysdep.h: Likewise.
35051         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35052         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35053         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35054         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35055         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35056         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35057         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35058         * locale/localeinfo.h: Likewise.
35059         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35060         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35062 2012-07-09  Roland McGrath  <roland@hack.frob.com>
35064         [BZ #14336]
35065         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35066         system".
35067         * manual/message.texi (The Uniforum approach): Likewise.
35068         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35069         (glibc iconv Implementation): Likewise.
35071 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
35073         [BZ #14337]
35074         * math/s_clog.c (__clog): Avoid scaling a value down where that
35075         could result in underflow.
35076         * math/s_clog10.c (__clog10): Likewise.
35077         * math/s_clog10f.c (__clog10f): Likewise.
35078         * math/s_clog10l.c (__clog10l): Likewise.
35079         * math/s_clogf.c (__clogf): Likewise.
35080         * math/s_clogl.c (__clogl): Likewise.
35081         * math/libm-test.inc (clog_test): Add more tests.
35082         (clog10_test): Likewise.
35083         * sysdeps/i386/fpu/libm-test-ulps: Update.
35084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35086 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
35088         [BZ #14283]
35089         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35090         by 7 not 8 to examine high bit of fractional part.
35092         [BZ #14042]
35093         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35094         for call to __mcount_internal.
35095         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35096         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35097         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35099 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35101         [BZ #14154]
35102         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35103         approximation for values within 0x1p-13f of an odd multiple of
35104         pi/4.
35105         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35106         exception.  Add more tests.
35107         * sysdeps/i386/fpu/libm-test-ulps: Update.
35109         [BZ #6778]
35110         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35111         inputs and return -1 for them.  Do not check for +Inf in case not
35112         reachable for +Inf.
35113         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35114         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35115         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35116         and return -1 for them.  Do not check for +Inf in case not
35117         reachable for +Inf.
35118         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35119         define.
35120         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35121         and return -1 for them.  Do not check for +Inf in case not
35122         reachable for +Inf.
35123         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35124         spurious underflow.
35125         * sysdeps/i386/fpu/libm-test-ulps: Update.
35126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35128 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35130         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35132 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35134         [BZ #14157]
35135         [BZ #14331]
35136         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35137         could result in spurious underflow.  Scale down values above
35138         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35139         * math/s_csqrtf.c (__csqrtf): Likewise.
35140         * math/s_csqrtl.c (__csqrtl): Likewise.
35141         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35142         spurious underflow.
35143         * sysdeps/i386/fpu/libm-test-ulps: Update.
35144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35146 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35148         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35149         xopen-msg.sed.
35150         * catgets/xopen-msg.awk: New file.
35151         * catgets/xopen-msg.sed: Removed.
35153         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35154         po2text.sed.
35155         * intl/po2test.awk: New file.
35156         * intl/po2test.sed: Removed.
35158 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35160         [BZ #14328]
35161         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35162         or multiply small sinh result by itself.
35163         * math/s_ctanf.c (__ctanf): Likewise.
35164         * math/s_ctanh.c (__ctanh): Likewise.
35165         * math/s_ctanhf.c (__ctanhf): Likewise.
35166         * math/s_ctanhl.c (__ctanhl): Likewise.
35167         * math/s_ctanl.c (__ctanl): Likewise.
35168         * math/libm-test.inc (ctan_test_tonearest): New function.
35169         (ctan_test_towardzero): Likewise.
35170         (ctan_test_downward): Likewise.
35171         (ctan_test_upward): Likewise.
35172         (ctanh_test_tonearest): Likewise.
35173         (ctanh_test_towardzero): Likewise.
35174         (ctanh_test_downward): Likewise.
35175         (ctanh_test_upward): Likewise.
35176         (main): Call these new functions.
35177         * sysdeps/i386/fpu/libm-test-ulps: Update.
35178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35180 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35182         * .gitignore: Delete /ports entry.
35184 2012-07-03  Andreas Jaeger  <aj@suse.de>
35186         * po/bg.po: Update from translation team.
35187         * po/cs.po: Likewise.
35188         * po/de.po: Likewise.
35189         * po/hr.po: Likewise.
35190         * po/nl.pl: Likewise.
35191         * po/pl.po: Likewise.
35192         * po/vi.po: Likewise.
35194 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35196         * Makeconfig [!+link] (+link-before-libc): New variable.
35197         [!+link] (+link-after-libc): Likewise.
35198         [!+link] (+link-tests): Likewise.
35199         [!+link] (+link): Define in terms of $(+link-before-libc) and
35200         $(+link-after-libc).
35201         [!+link-static] (+link-static-before-libc): New variable.
35202         [!+link-static] (+link-static-after-libc): Likewise.
35203         [!+link-static] (+link-static-tests): Likewise.
35204         [!+link-static] (+link-static): Define in terms of
35205         $(+link-static-before-libc) and $(+link-static-after-libc).
35206         [build-shared] (link-libc-before-gnulib): New variable.
35207         [build-shared] (link-libc-tests): Likewise.
35208         [build-shared] (link-libc): Define in terms of
35209         $(link-libc-before-gnulib).
35210         [!build-shared] (link-libc-tests): New variable.
35211         (link-libc-static-tests): New variable.
35212         [!gnulib] (gnulib-arch): New variable.
35213         [!gnulib] (gnulib-tests): Likewise.
35214         [!gnulib] (static-gnulib-arch): Likewise.
35215         [!gnulib] (static-gnulib-tests): Likewise.
35216         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35217         Define with "=" instead of ":=".
35218         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35219         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35220         * Rules (binaries-all-notests): New variable.
35221         (binaries-all-tests): Likewise.
35222         (binaries-static-notests): Likewise.
35223         (binaries-static-tests): Likewise.
35224         (binaries-all): Define using $(binaries-all-notests) and
35225         $(binaries-all-tests).
35226         (binaries-static): Define using $(binaries-static-notests) and
35227         $(binaries-static-tests).
35228         (binaries-shared-tests): New variable.
35229         (binaries-shared-notests): Likewise.
35230         (binaries-shared): Remove variable.
35231         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35232         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35233         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35234         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35235         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35236         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35237         * elf/Makefile (sln-modules): New variable.
35238         (extra-objs): Add $(sln-modules:=.o).
35239         (ldconfig-modules): Add static-stubs.
35240         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35241         * elf/static-stubs.c: New file.
35243         [BZ #14283]
35244         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35245         by 7 not 8 to examine high bit of fractional part.  Use volatile
35246         variables when splitting into final array of floats if
35247         __FLT_EVAL_METHOD__ != 0.
35248         * math/libm-test.inc (cos_test): Add another test.
35249         (sin_test): Likewise.
35250         * sysdeps/i386/fpu/libm-test-ulps: Update.
35252         [BZ #14273]
35253         * math/libm-test.inc (cosh_test): Add more tests.
35255         * version.h (RELEASE): Set to "development".
35256         (VERSION): Set to "2.16.90".
35258 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35260         * NEWS: Update copyright. Remove last-updated date.
35261         Mention math library bug fixes and timezone data changes.
35262         * README: Mention GNU/Hurd, x32, and HPPA support status.
35264 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35266         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35268 2012-06-27  Andreas Jaeger  <aj@suse.de>
35270         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35272 2012-06-25  Andreas Jaeger  <aj@suse.de>
35274         * sysdeps/s390/fpu/libm-test-ulps: Update.
35276 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35277             Thomas Schwinge  <thomas@codesourcery.com>
35279         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35280         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35281         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35282         fanotify_mark.
35284 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35286         * sysdeps/mach/start.c: Remove file.
35287         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35288         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35289         * sysdeps/sh/init-first.c: Likewise.
35291         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35292         registers for frame unwinding purposes, add CFI directives.
35293         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35294         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35295         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35296         Likewise.
35298         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35299         __fortify_fail returning.
35300         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35302         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35303         sysdeps/sh/____longjmp_chk.S.
35304         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35305         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35306         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35307         (gen-as-const-headers): Append sigaltstack-offsets.sym.
35309         * sysdeps/sh/abort-instr.h: New file.
35310         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35311         process in case exit returns.
35313         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35314         initialize the GOT register before use.
35316         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35317         calculation of ARGC > 4.
35319         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35320         meaningful names to some local labels.
35322 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35323             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35325         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35326         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35327         (__arch_compare_and_exchange_val_16_acq): Likewise.
35328         (__arch_compare_and_exchange_val_32_acq): Likewise.
35329         (atomic_exchange_and_add): Fix gUSA sequence.
35330         (atomic_add): Likewise.
35331         (atomic_add_negative): Likewise.
35332         (atomic_add_zero): Likewise.
35333         (atomic_bit_test_set): Likewise.
35335 2012-06-22  Andreas Schwab  <schwab@redhat.com>
35337         [BZ #13579]
35338         * include/link.h (struct link_map): Add l_free_initfini.
35339         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35340         l_initfini.
35341         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35342         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35343         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35344         set.
35346 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
35348         * configure.in: Use AC_LANG_SOURCE.
35349         * configure: Regenerate.
35351 2012-06-22  Roland McGrath  <roland@hack.frob.com>
35353         * configure.in (libc_cv_localstatedir): New substituted variable.
35354         * configure: Regenerated.
35355         * config.make.in (localstatedir): New variable, substituted from
35356         libc_cv_localstatedir.
35357         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35358         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35359         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35360         * sysdeps/gnu/configure: Regenerated.
35362 2012-06-21  Jeff Law  <law@redhat.com>
35364         [BZ #14277]
35365         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35366         free.  Simplify list management for _LIBC case.
35368 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
35370         [BZ #14273]
35371         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35372         Clear sign bit of 64-bit integer value before comparing against
35373         overflow value.
35375         * sysdeps/mach/configure: Regenerated.
35377 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
35379         [BZ #14278]
35380         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35382 2012-06-21  Jeff Law  <law@redhat.com>
35384         [BZ #13882]
35385         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
35386         uint16_t for elements in the "seen" array to avoid char overflows.
35387         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35388         * elf/dl-open.c (dl_open_worker): Likewise.
35390 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
35392         * scripts/list-sources.sh: Scan PORTS for translations.
35393         * po/libc.pot: Regenerated.
35395 2012-06-21  Andreas Jaeger  <aj@suse.de>
35397         [BZ #12194]
35398         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35399         warning.
35400         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35401         * bits/byteswap-16.h (__bswap_16): Likewise.
35402         * bits/byteswap.h (__bswap_constant_16): Likewise.
35404 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
35406         [BZ #14117]
35407         * sysdeps/i386/fpu_control.h: Removed.
35408         * sysdeps/x86_64/fpu_control.h: Moved to ...
35409         * sysdeps/x86/fpu_control.h: Here.
35411         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35412         (_FPU_SETCW): Likewise.
35414 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
35416         [BZ #14117]
35417         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35418         * sysdeps/x86/fpu/bits/mathinline.h: This.
35419         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35421         [BZ #14050]
35422         [BZ #14117]
35423         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35424         functions if __x86_64__ is defined.
35426 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
35428         * string/endian.h: Add !__ASSEMBLER__ condition for including
35429         conversion interfaces.
35431 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
35433         [BZ #14241]
35434         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35435         of ABS(x) in calculating zero to negative powers other than odd
35436         integers.
35437         * math/libm-test.inc (pow_test): Add more tests.
35439 2012-06-15  Andreas Jaeger  <aj@suse.de>
35441         * manual/contrib.texi (Contributors): Update entry of Liubov
35442         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35443         Machado Filho.
35445 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
35447         * string/string.h: Add __wur to GNU version of strerror_r.
35449 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
35451         [BZ #14229]
35452         * string/Makefile (tests): Add tst-strtok_r.
35453         * string/tst-strtok_r.c: New file.
35454         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35455         RAX_LP/RDX_LP on SAVE_PTR.
35457 2012-06-14  Roland McGrath  <roland@hack.frob.com>
35459         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35461 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
35463         * libm_test.inc (csqrt_test): Allow more spurious underflow
35464         exceptions.
35465         (j0_test): Likewise.
35466         (j1_test): Likewise.
35467         (y0_test): Likewise.
35468         (y1_test): Likewise.
35470 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
35472         * po/Makefile (libc.pot): Use UTF-8 charset.
35474 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
35476         [BZ #14210]
35477         Suppress sign-conversion warning from FD_SET.
35478         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35479         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35480         not unsigned long int.
35481         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35483 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
35485         [BZ #14050]
35486         [BZ #14117]
35487         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35488         __extern_always_inline instead of __extern_inline.
35489         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35490         (__signbit): Likewise.
35491         (__signbitl): Support C++ namespace.
35492         (lrintf): New inline function.
35493         (lrint): Likewise.
35494         (llrintf): Likewise.
35495         (llrint): Likewise.
35496         (fmaxf): Likewise.
35497         (fmax): Likewise.
35498         (fminf): Likewise.
35499         (fmin): Likewise.
35500         (rint): Likewise.
35501         (rintf): Likewise.
35502         (ceil): Likewise.
35503         (ceilf): Likewise.
35504         (floor): Likewise.
35505         (floorf): Likewise.
35506         (nearbyint): Likewise.
35507         (nearbyintf): Likewise.
35509 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
35511         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35512         non-default versions.
35514 2012-06-11  Roland McGrath  <roland@hack.frob.com>
35516         [BZ #14218]
35517         * manual/argp.texi (Argp): Reword argp_parse description slightly.
35519 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
35521         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35522         (FE_UPWARD, FE_DOWNWARD): Don't define.
35523         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35524         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35526         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35527         reading it.
35528         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35529         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35531 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35533         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35534         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35535         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35536         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35538 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
35540         [BZ #14117]
35541         * sysdeps/i386/fpu/bits/fenv.h: Removed.
35542         * sysdeps/i386/fpu/Implies: New file.
35543         * sysdeps/x86_64/fpu/Implies: Likewise.
35544         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35545         * sysdeps/x86/fpu/bits/fenv.h: This.
35547         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35548         __SSE_MATH__.
35550 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35552         [BZ #14134]
35553         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35554         character 0xffff that matches the last element of the
35555         conversion table.
35557 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35559         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35560         fmodl commit.
35562 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35564         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35565         values higher than 25.6283.
35567 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35569         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35570         subnormal exponent extraction and add some __builtin_expect.
35571         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35572         Fix for subnormal mantissa calculation.
35574 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
35576         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35577         cpu2 is -1 and errno is not ENOSYS.
35579 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
35581         [BZ #14117]
35582         * sysdeps/i386/i486/bits/string.h: Renamed to ...
35583         * sysdeps/x86/bits/string.h: This.
35584         * sysdeps/x86_64/bits/string.h: Removed.
35586         * sysdeps/i386/i486/bits/string.h: Define inline functions only
35587         if not compiling for x86-64, but compiling for >= i486.
35589         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35590         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35592         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35593         New macro from Linux kernel 3.4.0.
35594         (FP_XSTATE_MAGIC2): Likewise.
35595         (FP_XSTATE_MAGIC2_SIZE): Likewise.
35596         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35597         (struct _fpx_sw_bytes): New struct.
35598         (struct _xsave_hdr): Likewise.
35599         (struct _ymmh_state): Likewise.
35600         (struct _xstate): Likewise.
35602         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35603         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35604         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35605         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35606         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35607         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35609         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35610         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35611         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35612         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35613         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35614         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35616 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35618         [BZ #13743]
35619         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35620         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35621         (sysdep_headers): Include sys/platform/ppc.h.
35622         * sysdeps/powerpc/test-gettimebase.c: Test for
35623         __ppc_get_timebase() to catch future ISA opcode/insn changes.
35624         * manual/Makefile (appendices): Include platform.texi.
35625         * manual/contrib.texi (Contributors): Update @node pointers.
35626         * manual/maint.texi (Maintenance): Likewise.
35627         (Platform): New node.
35628         * manual/platform.texi: New file.  Document the new features.
35630 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35631             Jakub Jelinek  <jakub@redhat.com>
35633         [BZ #14188]
35634         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35635         where __builtin_expect is unavailable.
35637 2012-06-03  David S. Miller  <davem@davemloft.net>
35639         * stdlib/longlong.h: Updated from GCC.
35641 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
35643         [BZ #14042]
35644         * sysdeps/powerpc/powerpc32/mcount.c: New file.
35645         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35646         __mcount_internal.
35647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35648         (GLIBC_2.16): Likewise.
35650 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35652         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35654 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35657         (default-abi): New variable.
35658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35659         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35660         variable.
35661         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35662         Likewise.
35663         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35664         Likewise.
35665         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35666         Likewise.
35668         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35669         definition.  Document in comment.
35671 2012-06-01  David S. Miller  <davem@davemloft.net>
35673         * stdlib/longlong.h: Updated from GCC.
35675 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35677         [BZ #14117]
35678         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35679         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35680         sys/debugreg.h sys/io.h here.
35681         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35682         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35683         sys/io.h.
35684         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35685         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35686         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35687         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35688         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35689         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35691         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35692         Define only if __x86_64__ is defined.
35694 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35696         [BZ #14048]
35697         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35698         Use int64_t for variable i.
35699         * math/libm-test.inc (fmod_test): Add more tests.
35701         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35702         z computation is not scheduled after fetestexcept.
35703         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35704         Use math_force_eval instead of asm to ensure calculation scheduled
35705         before exception test.
35706         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35707         Ensure a1 + u.d computation is not scheduled after fetestexcept.
35709 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
35711         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35712         computation is not scheduled after fetestexcept.
35714 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35716         [BZ #14117]
35717         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35718         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35720 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35722         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35723         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35725 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35727         [BZ #14117]
35728         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35729         <bits/wordsize.h>.
35730         (__WCHAR_MIN): Support __WORDSIZE == 64.
35731         (__WCHAR_MAX): Likewise.
35733         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35734         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35736         [BZ #14183]
35737         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35738         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35740         [BZ #14117]
35741         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35742         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35744         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35745         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35747         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35748         Defined to 1 if __x86_64__ isn't defined.
35749         (_STAT_VER_LINUX_OLD): New.
35750         (st_atime): Remove duplicate.
35751         (st_mtime): Likewise.
35752         (st_ctime): Likewise.
35754 2012-05-31  David S. Miller  <davem@davemloft.net>
35756         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35757         entries.
35759 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
35761         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35762         gen-libm-test.pl.
35764         [BZ #14132]
35765         * elf/dl-reloc.c: Include <_itoa.h>.
35766         (_dl_reloc_bad_type): Remove use of INTUSE.
35767         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35768         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35769         * stdio-common/psiginfo.c (psiginfo): Likewise.
35770         * stdio-common/psignal.c (psignal): Likewise.
35771         * string/strsignal.c (strsignal): Likewise.
35772         * include/signal.h (_sys_siglist): Declare hidden proto.
35773         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
35774         INTVARDEF with libc_hidden_data_def.
35775         * stdio-common/itoa-udigits.c: Likewise.
35776         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35777         (_itoa_lower_digits_internal): Remove declaration.
35778         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35779         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35780         (_sys_sigabbrev_internal): Remove aliases.
35781         (_sys_siglist): Define hidden alias.
35783 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
35785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35786         bits/sysctl.h.
35788 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35790         [BZ #14117]
35791         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35792         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35794         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35795         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35796         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35797         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35798         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35799         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35801         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35802         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35803         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35805         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35806         with __addr.
35807         (insw): Likewise.
35808         (insl): Likewise.
35809         (outsb): Likewise.
35810         (outsw): Likewise.
35811         (outsl): Likewise.
35813         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35814         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35815         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35817         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35818         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35819         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35820         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35821         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35822         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35824         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35825         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35827         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35828         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35830         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35831         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35832         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35834         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35835         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35836         to ...
35837         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35839         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35840         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35841         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35843         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35844         for x86-64.
35845         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35847 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
35849         * math/math.h (M_El): Use two more decimal places.
35850         (M_LOG2El): Likewise.
35851         (M_LOG10El): Likewise.
35852         (M_LN2l): Likewise.
35853         (M_LN10l): Likewise.
35854         (M_PIl): Likewise.
35855         (M_PI_2l): Likewise.
35856         (M_PI_4l): Likewise.
35857         (M_1_PIl): Likewise.
35858         (M_2_PIl): Likewise.
35859         (M_2_SQRTPIl): Likewise.
35860         (M_SQRT2l): Likewise.
35861         (M_SQRT1_2l): Likewise.
35863 2012-05-31  David S. Miller  <davem@davemloft.net>
35865         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35866         values between float registers.
35867         * sysdeps/sparc/sparc64/memset.S: Likewise.
35868         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35870 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
35872         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35873         -D_FORTIFY_SOURCE=1.
35874         (CPPFLAGS-tst-longjmp_chk.c): Define.
35875         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35876         (CPPFLAGS-tst-longjmp_chk2.c): Define.
35877         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35878         CFLAGS-tst-wchar-h.c.
35880 2012-05-31  Marek Polacek  <polacek@redhat.com>
35882         [BZ #14132]
35883         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35884         __endmntent_internal): Remove declaration.
35885         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35886         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35887         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35889 2012-05-30  David S. Miller  <davem@davemloft.net>
35891         * sysdeps/sparc/sparc32/soft-fp/q_util.c
35892         (___Q_simulate_exceptions): Use real FP ops rather than writing
35893         into the %fsr.
35894         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35895         Likewise.
35897 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35899         [BZ #14117]
35900         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35901         * sysdeps/x86/bits/xtitypes.h: This.
35903         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35904         * sysdeps/x86/bits/wordsize.h: This.
35906         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35907         * sysdeps/x86/bits/huge_vall.h: This.
35909         * sysdeps/i386/bits/select.h: Removed.
35910         * sysdeps/x86_64/bits/select.h: Renamed to ...
35911         * sysdeps/x86/bits/select.h: This.
35913         * sysdeps/i386/bits/setjmp.h: Removed.
35914         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35915         * sysdeps/x86/bits/setjmp.h: This.
35917         * sysdeps/i386/bits/mathdef.h: Removed.
35918         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35919         * sysdeps/x86/bits/mathdef.h: This.
35921 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
35923         [BZ #14132]
35924         * include/sys/socket.h (__connect_internal)
35925         (__libc_sa_len_internal): Remove declaration.
35926         (__connect, __libc_sa_len): Declare hidden_proto.
35927         (SA_LEN): Remove use of INTUSE.
35928         * socket/connect.c: Add libc_hidden_def.
35929         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35930         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35931         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35932         alias.
35933         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35934         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35935         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35936         of adding _internal alias.
35938 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35940         [BZ #14117]
35941         * sysdeps/i386/bits/link.h: Removed.
35942         * sysdeps/i386/bits/linkmap.h: Likewise.
35943         * sysdeps/x86_64/bits/link.h: Renamed to ...
35944         * sysdeps/x86/bits/link.h: This.
35945         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35946         * sysdeps/x86/bits/linkmap.h: This.
35948         * sysdeps/i386/bits/endian.h: Removed.
35949         * sysdeps/x86_64/bits/endian.h: Renamed to ...
35950         * sysdeps/x86/bits/endian.h: This.
35952         * sysdeps/i386/bits/byteswap.h: Removed.
35953         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35954         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35955         * sysdeps/x86/bits/byteswap.h: This.
35956         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35957         * sysdeps/x86/bits/byteswap-16.h: This.
35958         * sysdeps/i386/Implies: Add x86.
35959         * sysdeps/x86_64/Implies: Likewise.
35961 2012-05-30  David S. Miller  <davem@davemloft.net>
35963         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35964         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35965         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35966         (FP_TRAPPING_EXCEPTIONS): Define.
35967         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35968         (FP_TRAPPING_EXCEPTIONS): Define.
35969         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35970         subnormals only when inexact has been signalled or underflow
35971         exceptions are enabled.
35972         (_FP_PACK_CANONICAL): Likewise.
35974 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35976         [BZ #14183]
35977         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35978         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35980 2012-05-30  Richard Henderson  <rth@twiddle.net>
35982         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35983         with #ifndef NOT_IN_libc.
35985         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
35986         marked to avoid plt entry.
35988 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35990         [BZ #14112]
35991         * Makeconfig (default-abi): New macro.
35992         (abi-includes): Likewise.
35993         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
35994         $(abi-$(default-abi)-lib-soname) for soname if defined.
35995         ($(common-objpfx)gnu/lib-names.stmp): Generate from
35996         abi-variants.
35997         * Makefile (installed-stubs): Likewise.
35998         * include/stubs-biarch.h: Removed.
35999         * scripts/lib-names.awk: Only handle one library at a time.
36000         * scripts/soversions.awk: Remove WORDSIZE support.
36001         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36002         entries.
36003         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36004         Removed.
36005         (syscall-list-default-condition): Likewise.
36006         (syscall-list-default-condition): Likewise.
36007         (syscall-list-includes): Likewise.
36008         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36009         syscall-list-* with abi-*.  Handle undefined abi-variants.
36010         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36011         * sysdeps/unix/sysv/linux/i386/Implies: New file.
36012         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36013         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36014         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36015         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36016         Removed.
36017         (syscall-list-32-options): Likewise.
36018         (syscall-list-32-condition): Likewise.
36019         (syscall-list-64-options): Likewise.
36020         (syscall-list-64-condition): Likewise.
36021         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36022         macro.
36023         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36024         Renamed to ...
36025         (abi-*): This.
36026         (abi-64-ld-soname): New macro.
36027         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36028         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36029         Renamed to ...
36030         (abi-*): This.
36031         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36032         * sysdeps/x86_64/x32/shlib-versions: Likewise.
36034 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
36036         * sysdeps/unix/sysv/linux/kernel-features.h
36037         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36038         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36039         include <kernel-features.h>.
36040         [!__NR_ftruncate64]: Remove conditional code.
36041         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36042         [__NR_ftruncate64]: Make code unconditional.
36043         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36044         * sysdeps/unix/sysv/linux/truncate64.c: Do not
36045         include <kernel-features.h>.
36046         [!__NR_ftruncate64]: Remove conditional code.
36047         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36048         [__NR_ftruncate64]: Make code unconditional.
36049         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36051         include <kernel-features.h>.
36052         [!__NR_ftruncate64]: Remove conditional code.
36053         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36054         [__NR_ftruncate64]: Make code unconditional.
36055         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36057         include <kernel-features.h>.
36058         [!__NR_ftruncate64]: Remove conditional code.
36059         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36060         [__NR_ftruncate64]: Make code unconditional.
36061         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36063         * configure.in (libc_cv_fpie): Weaken to a compile test using
36064         LIBC_TRY_CC_OPTION.
36065         * configure: Regenerated.
36067 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36073         Refreshed.
36074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36080         Refreshed.
36082 2012-05-27  David S. Miller  <davem@davemloft.net>
36084         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36085         (___Q_zero): New.
36086         (__Q_simulate_exceptions): Return void.  Change to simulate
36087         exceptions by writing into the %fsr.
36088         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36089         (__Qp_handle_exceptions): Likewise.
36090         (numbers): Delete.
36091         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36092         __Qp_handle_exceptions.
36093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36094         __Qp_handle_exceptions.
36095         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36096         as unused and give dummy FP_RND_NEAREST initializer.
36097         (FP_INHIBIT_RESULTS): Define.
36098         (___Q_simulate_exceptions): Update declaration.
36099         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36100         formatting.
36101         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36102         as unused and give dummy FP_RND_NEAREST initializer.
36103         (__Qp_handle_exceptions): Update declaration.
36104         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36105         formatting.
36107 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36109         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36110         the temporary FPU control word.
36111         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36112         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36113         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36114         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36115         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36116         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36117         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36118         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36119         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36120         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36121         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36123 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36125         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36126         fields.
36128 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36130         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36131         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36132         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36133         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36134         Likewise.
36135         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36136         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36137         Likewise.
36139 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36141         * po/h.po: Update from translation team.
36143 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36145         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36147         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36148         handling of denormals.
36149         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36150         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36151         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36152         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36153         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36154         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36155         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36156         Likewise.
36158 2012-05-26  Marek Polacek  <polacek@redhat.com>
36160         [BZ #14152]
36161         * math/libm-test.inc (fma_test): Don't always expect underflow
36162         exception.
36164 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36166         [BZ #12416]
36167         * elf/tst-execstack.c: Include stackinfo.h.
36168         (do_test): Adjust test case to ensure that pthread_getattr_np
36169         behaviour remains the same after marking stack executable.
36171 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36173         * sysdeps/unix/sysv/linux/kernel-features.h
36174         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36175         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36176         kernel-features.h.
36177         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36178         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36179         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36180         kernel-features.h.
36181         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36182         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36184 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36186         * configure.in: Define the default includes to being none.
36187         * configure: Regenerated.
36189 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36191         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36192         * sysdeps/x86_64/setjmp.S: Likewise.
36193         * sysdeps/i386/bsd-setjmp.S: Likewise.
36194         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36195         * sysdeps/i386/setjmp.S: Likewise.
36196         * sysdeps/i386/__longjmp.S: Likewise.
36197         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36198         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36200         * include/stap-probe.h: New file.
36201         * configure.in: Handle --enable-systemtap.
36202         * configure: Regenerated.
36203         * config.h.in (USE_STAP_PROBE): New #undef.
36204         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36205         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36206         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36208 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36210         [BZ #13717]
36211         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36212         to 2.4.0 where earlier.
36213         * sysdeps/unix/sysv/linux/configure: Regenerated.
36214         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36215         <kernel-features.h>.
36216         [__ASSUME_32BITUIDS]: Make code unconditional.
36217         [!__ASSUME_32BITUIDS]: Remove conditional code.
36218         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36219         <kernel-features.h>.
36220         [__ASSUME_32BITUIDS]: Make code unconditional.
36221         [!__ASSUME_32BITUIDS]: Remove conditional code.
36222         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36223         [__ASSUME_32BITUIDS]: Make code unconditional.
36224         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36225         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36226         <kernel-features.h>.
36227         [__ASSUME_32BITUIDS]: Make code unconditional.
36228         [!__ASSUME_32BITUIDS]: Remove conditional code.
36229         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36230         <kernel-features.h>.
36231         [__ASSUME_32BITUIDS]: Make code unconditional.
36232         [!__ASSUME_32BITUIDS]: Remove conditional code.
36233         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36234         <kernel-features.h>.
36235         [__ASSUME_32BITUIDS]: Make code unconditional.
36236         [!__ASSUME_32BITUIDS]: Remove conditional code.
36237         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36238         <kernel-features.h>.
36239         [__ASSUME_32BITUIDS]: Make code unconditional.
36240         [!__ASSUME_32BITUIDS]: Remove conditional code.
36241         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36242         <kernel-features.h>.
36243         [__ASSUME_32BITUIDS]: Make code unconditional.
36244         [!__ASSUME_32BITUIDS]: Remove conditional code.
36245         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36246         <kernel-features.h>.
36247         [__ASSUME_32BITUIDS]: Make code unconditional.
36248         [!__ASSUME_32BITUIDS]: Remove conditional code.
36249         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36250         <kernel-features.h>.
36251         [__ASSUME_32BITUIDS]: Make code unconditional.
36252         [!__ASSUME_32BITUIDS]: Remove conditional code.
36253         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36254         <kernel-features.h>.
36255         [__ASSUME_32BITUIDS]: Make code unconditional.
36256         [!__ASSUME_32BITUIDS]: Remove conditional code.
36257         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36258         <kernel-features.h>.
36259         [__ASSUME_32BITUIDS]: Make code unconditional.
36260         [!__ASSUME_32BITUIDS]: Remove conditional code.
36261         * sysdeps/unix/sysv/linux/i386/semctl.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/i386/setegid.c: Do not include
36266         <kernel-features.h>.
36267         [__NR_setresgid] (__setresgid): Do not declare.
36268         [__ASSUME_32BITUIDS]: Make code unconditional.
36269         [!__ASSUME_32BITUIDS]: Remove conditional code.
36270         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36271         <kernel-features.h>.
36272         [__NR_setresuid] (__setresuid): Do not declare.
36273         [__ASSUME_32BITUIDS]: Make code unconditional.
36274         [!__ASSUME_32BITUIDS]: Remove conditional code.
36275         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36276         <kernel-features.h>.
36277         [__ASSUME_32BITUIDS]: Make code unconditional.
36278         [!__ASSUME_32BITUIDS]: Remove conditional code.
36279         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36280         <kernel-features.h>.
36281         [__ASSUME_32BITUIDS]: Make code unconditional.
36282         [!__ASSUME_32BITUIDS]: Remove conditional code.
36283         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36284         <kernel-features.h>.
36285         [__ASSUME_32BITUIDS]: Make code unconditional.
36286         [!__ASSUME_32BITUIDS]: Remove conditional code.
36287         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36288         <kernel-features.h>.
36289         [__ASSUME_32BITUIDS]: Make code unconditional.
36290         [!__ASSUME_32BITUIDS]: Remove conditional code.
36291         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36292         <kernel-features.h>.
36293         [__ASSUME_32BITUIDS]: Make code unconditional.
36294         [!__ASSUME_32BITUIDS]: Remove conditional code.
36295         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36296         <kernel-features.h>.
36297         [__ASSUME_32BITUIDS]: Make code unconditional.
36298         [!__ASSUME_32BITUIDS]: Remove conditional code.
36299         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36300         <kernel-features.h>.
36301         [__ASSUME_32BITUIDS]: Make code unconditional.
36302         [!__ASSUME_32BITUIDS]: Remove conditional code.
36303         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36304         <kernel-features.h>.
36305         [__ASSUME_32BITUIDS]: Make code unconditional.
36306         [!__ASSUME_32BITUIDS]: Remove conditional code.
36307         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36308         <kernel-features.h>.
36309         [__ASSUME_32BITUIDS]: Make code unconditional.
36310         [!__ASSUME_32BITUIDS]: Remove conditional code.
36311         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36312         <kernel-features.h>.
36313         [__ASSUME_32BITUIDS]: Make code unconditional.
36314         [!__ASSUME_32BITUIDS]: Remove conditional code.
36315         * sysdeps/unix/sysv/linux/kernel-features.h
36316         (__ASSUME_SETRESUID_SYSCALL): Remove.
36317         (__ASSUME_SETRESGID_SYSCALL): Likewise.
36318         (__ASSUME_32BITUIDS): Likewise.
36319         (__ASSUME_LDT_WORKS): Likewise.
36320         (__ASSUME_O_DIRECTORY): Likewise.
36321         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36322         architecture but not kernel version.
36323         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36324         (__ASSUME_MMAP2_SYSCALL): Likewise.
36325         (__ASSUME_STAT64_SYSCALL): Likewise.
36326         (__ASSUME_IPC64): Likewise.
36327         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36328         <kernel-features.h>.
36329         [__ASSUME_32BITUIDS]: Make code unconditional.
36330         [!__ASSUME_32BITUIDS]: Remove conditional code.
36331         * sysdeps/unix/sysv/linux/opendir.c: Do not include
36332         <kernel-features.h>.
36333         [__ASSUME_O_DIRECTORY]: Make code unconditional.
36334         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36335         132096]: Remove conditional code.
36336         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36337         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36338         <kernel-features.h>.
36339         [__ASSUME_32BITUIDS]: Make code unconditional.
36340         [!__ASSUME_32BITUIDS]: Remove conditional code.
36341         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36342         <kernel-features.h>.
36343         [__ASSUME_32BITUIDS]: Make code unconditional.
36344         [!__ASSUME_32BITUIDS]: Remove conditional code.
36345         * sysdeps/unix/sysv/linux/setegid.c: Do not include
36346         <kernel-features.h>.
36347         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36348         unconditional.
36349         (__setresgid): Do not declare.
36350         [__ASSUME_32BITUIDS]: Make code unconditional.
36351         [!__ASSUME_32BITUIDS]: Remove conditional code.
36352         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36353         <kernel-features.h>.
36354         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36355         unconditional.
36356         (__setresuid): Do not declare.
36357         [__ASSUME_32BITUIDS]: Make code unconditional.
36358         [!__ASSUME_32BITUIDS]: Remove conditional code.
36359         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36360         <kernel-features.h>.
36361         [__ASSUME_32BITUIDS]: Make code unconditional.
36362         [!__ASSUME_32BITUIDS]: Remove conditional code.
36363         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36364         <kernel-features.h>.
36365         [__ASSUME_32BITUIDS]: Make code unconditional.
36366         [!__ASSUME_32BITUIDS]: Remove conditional code.
36368 2012-05-25  Richard Henderson  <rth@twiddle.net>
36370         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36371         dl_hwcap to ifunc resolver.
36372         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36373         elf_ifunc_invoke.
36374         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36375         dl_hwcap to ifunc resolver.
36376         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36378 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36380         [BZ #14153]
36381         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36382         for |x| <= 2**-26, not 2**-57.
36383         * math/libm-test.inc (acos_test): Do not allow spurious underflow
36384         exception.
36386 2012-05-24  Jeff Law  <law@redhat.com>
36388         * stdio-common/Makefile (tests): Add bug25.
36389         * stdio-common/bug25.c: New test.
36391 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36393         [BZ #13576]
36394         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36395         multiple of MALLOC_ALIGNMENT in size.
36396         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36398 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36400         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36401         Require >= 256.
36402         (FILENAME_MAX): Use macro-int-constant.
36403         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
36404         (_IOFBF): Use macro-int-constant.
36405         (_IOLBF): Likewise.
36406         (_IONBF): Likewise.
36407         (SEEK_CUR): Likewise.
36408         (SEEK_END): Likewise.
36409         (SEEK_SET): Likewise.
36410         (TMP_MAX): Likewise.
36411         (EOF): Use macro-int-constant.  Require < 0.
36412         (NULL): Use macro-constant.  Require == 0.
36413         (stdin): Require type to be FILE *.
36414         (stdout): Likewise.
36415         (stderr): Likewise.
36416         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36417         macro-int-constant.
36418         (EXIT_SUCCESS): Likewise.
36419         (NULL): Use macro-constant.  Require == 0.
36420         (RAND_MAX): Use macro-int-constant.
36421         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36422         [C99-based standards] (strtof): Require function.
36423         [C99-based standards] (strtold): Likewise.
36424         [C99-based standards] (strtoll): Likewise.
36425         [C99-based standards] (strtoull): Likewise.
36426         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36427         [ISO || ISO99 || ISO11] (limits.h): Likewise.
36428         [ISO || ISO99 || ISO11] (math.h): Likewise.
36429         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36430         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36431         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36433 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
36435         [BZ #14132]
36436         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36437         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36438         * intl/dgettext.c (DCGETTEXT): Likewise.
36439         * intl/gettext.c (DCGETTEXT): Likewise.
36440         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36441         * posix/regex_internal.h (gettext): Likewise.
36442         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36443         Remove declaration.
36444         * include/argz.h (__argz_count_internal)
36445         (__argz_stringify_internal): Remove declaration.
36446         (__argz_count, __argz_stringify): Declare hidden proto.
36447         * intl/dcgettext.c: Remove use of INTDEF.
36448         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36449         * string/argz-stringify.c: Likewise.
36450         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36451         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36452         Declare hidden proto.
36453         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36454         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36455         Declare hidden proto.
36456         * include/stdio.h (__asprintf_internal): Don't declare.
36457         (__asprintf): Don't define as macro.  Declare hidden proto.
36458         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36459         (__fsetlocking): Declare hidden proto.
36460         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36461         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36462         hidden proto.
36463         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36464         (_IO_setlinebuf): Remove use of INTUSE.
36465         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36466         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36467         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36468         Remove declaration.
36469         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36470         (_IO_do_flush): Remove use of INTUSE.
36471         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36472         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36473         (_IO_adjust_column, _IO_least_wmarker)
36474         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36475         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36476         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36477         (_IO_default_doallocate, _IO_wdefault_doallocate)
36478         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36479         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36480         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36481         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36482         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36483         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36484         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36485         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36486         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36487         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36488         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36489         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36490         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36491         proto.
36492         (_IO_flush_all_internal, _IO_adjust_column_internal)
36493         (_IO_default_uflow_internal, _IO_default_finish_internal)
36494         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36495         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36496         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36497         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36498         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36499         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36500         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36501         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36502         (_IO_file_close_internal, _IO_file_close_it_internal)
36503         (_IO_file_underflow_internal, _IO_file_overflow_internal)
36504         (_IO_file_init_internal, _IO_file_attach_internal)
36505         (_IO_file_fopen_internal, _IO_file_read_internal)
36506         (_IO_file_sync_internal, _IO_file_seek_internal)
36507         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36508         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36509         (_IO_str_underflow_internal, _IO_str_overflow_internal)
36510         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36511         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36512         (_IO_list_all_internal, _IO_link_in_internal)
36513         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36514         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36515         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36516         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36517         (_IO_do_write_internal, _IO_padn_internal)
36518         (_IO_getline_info_internal, _IO_getline_internal)
36519         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36520         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36521         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36522         (_IO_vfscanf_internal, _IO_vfprintf_internal)
36523         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36524         (_IO_init_internal, _IO_un_link_internal): Don't declare.
36525         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36526         with libc_hidden_ver, remove use of INTUSE.
36527         * libio/genops.c: Likewise.
36528         * libio/freopen.c: Likewise.
36529         * libio/freopen64.c: Likewise.
36530         * libio/iofclose.c: Likewise.
36531         * libio/iofdopen.c: Likewise.
36532         * libio/iofflush.c: Likewise.
36533         * libio/iofflush_u.c: Likewise.
36534         * libio/iofgets.c: Likewise.
36535         * libio/iofgets_u.c: Likewise.
36536         * libio/iofopen.c: Likewise.
36537         * libio/iofopncook.c: Likewise.
36538         * libio/iofread.c: Likewise.
36539         * libio/iofread_u.c: Likewise.
36540         * libio/ioftell.c: Likewise.
36541         * libio/iofwrite.c: Likewise.
36542         * libio/iogetline.c: Likewise.
36543         * libio/iogets.c: Likewise.
36544         * libio/iogetwline.c: Likewise.
36545         * libio/iopadn.c: Likewise.
36546         * libio/iopopen.c: Likewise.
36547         * libio/ioseekoff.c: Likewise.
36548         * libio/ioseekpos.c: Likewise.
36549         * libio/iosetbuffer.c: Likewise.
36550         * libio/iosetvbuf.c: Likewise.
36551         * libio/ioungetc.c: Likewise.
36552         * libio/ioungetwc.c: Likewise.
36553         * libio/iovdprintf.c: Likewise.
36554         * libio/iovsprintf.c: Likewise.
36555         * libio/iovsscanf.c: Likewise.
36556         * libio/memstream.c: Likewise.
36557         * libio/obprintf.c: Likewise.
36558         * libio/oldfileops.c: Likewise.
36559         * libio/oldiofclose.c: Likewise.
36560         * libio/oldiofdopen.c: Likewise.
36561         * libio/oldiofopen.c: Likewise.
36562         * libio/oldiopopen.c: Likewise.
36563         * libio/oldstdfiles.c: Likewise.
36564         * libio/putc.c: Likewise.
36565         * libio/setbuf.c: Likewise.
36566         * libio/setlinebuf.c: Likewise.
36567         * libio/stdfiles.c: Likewise.
36568         * libio/strops.c: Likewise.
36569         * libio/vasprintf.c: Likewise.
36570         * libio/vscanf.c: Likewise.
36571         * libio/vsnprintf.c: Likewise.
36572         * libio/vswprintf.c: Likewise.
36573         * libio/wfiledoalloc.c: Likewise.
36574         * libio/wfileops.c: Likewise.
36575         * libio/wgenops.c: Likewise.
36576         * libio/wmemstream.c: Likewise.
36577         * libio/wstrops.c: Likewise.
36578         * libio/__fpurge.c: Likewise.
36579         * libio/__fsetlocking.c: Likewise.
36580         * assert/assert.c: Likewise.
36581         * debug/fgets_chk.c: Likewise.
36582         * debug/fgets_u_chk.c: Likewise.
36583         * debug/fread_chk.c: Likewise.
36584         * debug/fread_u_chk.c: Likewise.
36585         * debug/gets_chk.c: Likewise.
36586         * debug/obprintf_chk.c: Likewise.
36587         * debug/vasprintf_chk.c: Likewise.
36588         * debug/vdprintf_chk.c: Likewise.
36589         * debug/vsnprintf_chk.c: Likewise.
36590         * debug/vsprintf_chk.c: Likewise.
36591         * malloc/mtrace.c: Likewise.
36592         * misc/error.c: Likewise.
36593         * misc/syslog.c: Likewise.
36594         * stdio-common/asprintf.c: Likewise.
36595         * stdio-common/fxprintf.c: Likewise.
36596         * stdio-common/getw.c: Likewise.
36597         * stdio-common/isoc99_fscanf.c: Likewise.
36598         * stdio-common/isoc99_scanf.c: Likewise.
36599         * stdio-common/isoc99_vfscanf.c: Likewise.
36600         * stdio-common/isoc99_vscanf.c: Likewise.
36601         * stdio-common/isoc99_vsscanf.c: Likewise.
36602         * stdio-common/printf-prs.c: Likewise.
36603         * stdio-common/printf_fp.c: Likewise.
36604         * stdio-common/printf_fphex.c: Likewise.
36605         * stdio-common/printf_size.c: Likewise.
36606         * stdio-common/putw.c: Likewise.
36607         * stdio-common/scanf.c: Likewise.
36608         * stdio-common/sprintf.c: Likewise.
36609         * stdio-common/tmpfile.c: Likewise.
36610         * stdio-common/vfprintf.c: Likewise.
36611         * stdio-common/vfscanf.c: Likewise.
36612         * stdlib/strfmon_l.c: Likewise.
36613         * sunrpc/openchild.c: Likewise.
36614         * sunrpc/xdr_stdio.c: Likewise.
36615         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36616         * sysdeps/mach/hurd/tmpfile.c: Likewise.
36618 2012-05-24  Roland McGrath  <roland@hack.frob.com>
36620         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36622         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36623         in the third column, to generate for the shared library an IFUNC
36624         that uses _dl_vdso_vsym.
36625         * Makerules (COMPILE.c, compile-stdin.c): New variables.
36626         * Makeconfig (object-suffixes-noshared): New variable.
36628         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36629         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36630         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36631         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36633         [BZ #14132]
36634         * include/sys/time.h (__gettimeofday): Remove macro.
36635         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36636         * time/gettimeofday.c (__gettimeofday): Remove #undef.
36637         Remove INTDEF.
36638         (__gettimeofday): Add libc_hidden_def.
36639         (gettimeofday): Add libc_hidden_weak.
36640         * sysdeps/mach/gettimeofday.c: Likewise.
36641         * sysdeps/posix/gettimeofday.c: Likewise.
36642         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36643         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36644         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36645         (__gettimeofday_internal): Remove strong_alias.
36646         (__gettimeofday): Add libc_hidden_def.
36647         (gettimeofday): Add libc_hidden_weak.
36648         * sysdeps/unix/syscalls.list (gettimeofday):
36649         Remove __gettimeofday_internal alias.
36651 2012-05-24  Daniel Jacobowitz  <drow@false.org>
36652             H.J. Lu  <hongjiu.lu@intel.com>
36654         [BZ #12495]
36655         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36656         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36657         (largebin_index_32_big): New.
36658         (largebin_index): Use it for 16-byte alignment.
36659         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
36660         correction with front_misalign.
36662 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36666         Likewise.
36667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36668         Likewise.
36669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36670         Likewise.
36671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36672         Likewise.
36673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36674         Likewise.
36675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36676         Likewise.
36677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36678         Likewise.
36679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36680         Likewise.
36681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36682         Likewise.
36683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36684         Likewise.
36685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36686         Likewise.
36687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36688         Likewise.
36690         * scripts/data/c++-types-x32-linux-gnu.data: New file.
36691         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36693 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36695         [BZ #10846]
36696         [BZ #14036]
36697         * math/libm-test.inc (exp_test): Add test from bug 14036.
36698         (pow_test): Add test from bug 10846.
36700         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36701         and other flags.
36702         (special_function): Do not include flags in test name.
36703         (parse_args): Likewise.
36704         * sysdeps/i386/fpu/libm-test-ulps: Update.
36705         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36706         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36707         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36710         * math/gen-libm-test.pl (%beautify): Add entries for underflow
36711         exceptions.
36712         * math/libm-test.inc ("Philosophy"): Update comment about
36713         exception testing.
36714         (UNDERFLOW_EXCEPTION): New macro.
36715         (UNDERFLOW_EXCEPTION_OK): Likewise.
36716         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36717         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36718         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36719         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36720         (INVALID_EXCEPTION_OK): Update value.
36721         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36722         (OVERFLOW_EXCEPTION_OK): Likewise.
36723         (IGNORE_ZERO_INF_SIGN): Likewise.
36724         (test_exceptions): Handle underflow exceptions.
36725         (acos_test): Update for underflow exception expectations.
36726         (cexp_test): Likewise.
36727         (clog_test): Likewise.
36728         (clog10_test): Likewise.
36729         (csqrt_test): Likewise.
36730         (ctan_test): Likewise.
36731         (ctanh_test): Likewise.
36732         (exp_test): Likewise.
36733         (exp10_test): Likewise.
36734         (exp2_test): Likewise.
36735         (expm1_test): Likewise.
36736         (fma_test): Likewise.
36737         (j0_test): Likewise.
36738         (jn_test): Likewise.
36739         (nexttoward_test): Likewise.
36740         (pow_test): Likewise.
36741         (scalbn_test): Likewise.
36742         (scalbln_test): Likewise.
36743         (tan_test): Likewise.
36744         (y1_test): Likewise.
36745         * sysdeps/i386/fpu/libm-test-ulps: Update.
36746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36748 2012-05-23  David S. Miller  <davem@davemloft.net>
36750         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36751         (__libc_sigaction): Remove unused local variables.
36753 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36755         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36757 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
36759         mktime: avoid signed integer overflow
36760         * time/mktime.c (__mktime_internal): Do not mishandle the case
36761         where diff == INT_MIN.
36763         mktime: simplify computation of average
36764         * time/mktime.c (ranged_convert): Use new time_t_avg function
36765         instead of rolling our own (probably-slower) code.
36767         mktime: do not assume signed right shift propagates sign bit
36768         * time/mktime.c (isdst_differ): New static function.
36769         (__mktime_internal): No need to normalize tm_isdst now.
36770         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36771         tm_isdst values.
36773         mktime: merge another wrapv change from gnulib
36774         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36775         from some compilers.
36777         mktime: remove incorrect attempt at unusual arithmetics
36778         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36779         The code didn't really work on such machines anyway.
36780         (TYPE_MINIMUM): Assume two's complement.
36781         (twos_complement_arithmetic): Verify that long_int and time_t
36782         are two's complement (or unsigned, in the latter case).
36784         mktime: check signed shifts on long_int and time_t, too
36785         * time/mktime.c (SHR): Check that shifts work as desired
36786         on the types long_int and time_t too, as SHR is used on
36787         such types.
36789         mktime: do not assume 'long' is wide enough
36790         * time/mktime.c (verify): Move decl up.
36791         (long_int): New type.
36792         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36793         to remove assumption in the code that 'long' is wide enough to
36794         store year values.  This assumption is not true on x32 and on
36795         some non-glibc platforms.
36797         mktime: merge wrapv change from gnulib
36798         * time/mktime.c (WRAPV): New macro.
36799         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36800         (guess_time_tm, __mktime_internal): Do not assume that signed
36801         integer overflow wraps around; modern compilers generate code
36802         where this assumption is no longer valid.
36804 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36806         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36807         Replace "jmp L(pseudo_end)" with "ret".
36808         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36809         Likewise.
36811 2012-05-23  Andreas Jaeger  <aj@suse.de>
36813         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36814         * sysdeps/unix/sysv/linux/poll.c: Remove file.
36816 2012-05-23  Andreas Jaeger  <aj@suse.de>
36817             Maximilian Attems  <max@stro.at>
36819         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36820         New macros.
36822 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36824         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36825         code so that pseudo_end is just ret and the stack pointer is
36826         correct also for static library in error case.
36828 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
36830         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36831         move to syscalls.list.
36832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36837         * manual/install.texi (Running make install): Do not mention Linux
36838         kernel version for which pt_chown is not needed.
36839         (Linux): Do not mention problems with nscd with 2.0 kernels.
36840         * INSTALL: Regenerated.
36842 2012-05-23  Andreas Jaeger  <aj@suse.de>
36844         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36845         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36846         macro.
36847         * sysdeps/unix/sysv/linux/s390/bits/mman.h
36848         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36849         * sysdeps/unix/sysv/linux/sh/bits/mman.h
36850         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36851         * sysdeps/unix/sysv/linux/i386/bits/mman.h
36852         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36853         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36854         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36855         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36856         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36857         * sysdeps/unix/sysv/linux/bits/in.h
36858         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36860 2012-05-22  Roland McGrath  <roland@hack.frob.com>
36862         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36863         (PREPARE_VERSION): Just use assert instead, it will be elided
36864         under [NDEBUG] anyway.
36866 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36868         * sysdeps/unix/sysv/linux/Makefile: Include
36869         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36870         (sysdep_routines): Remove sysctl.
36871         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36872         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36873         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36874         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36875         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36877 2012-05-22  Andreas Jaeger  <aj@suse.de>
36879         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36880         that pseudo_end is just ret and the stack pointer is correct also
36881         for static library in error case.
36883 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36885         [BZ #14122]
36886         * nss/nsswitch.c (defconfig_entries): New variable.
36887         (__nss_database_lookup): Don't leak defconfig entries.
36888         (nss_parse_service_list): Don't leak on error paths.
36889         (free_database_entries): New function.
36890         (free_defconfig): New function.
36891         (free_mem): Move common code to free_database_entries.
36893 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36895         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36896         Add arch_prctl.
36897         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36900         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36902         New macro.
36903         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36904         (INTERNAL_SYSCALL_TYPES): Likewise.
36905         (LOAD_ARGS_TYPES_[1-6]): Likewise.
36906         (LOAD_REGS_TYPES_[1-6]): Likewise.
36907         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36908         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36910 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36912         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36913         copysignl for GLIBC_2_0.
36914         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36915         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36916         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36917         logbl for GLIBC_2_0.
36918         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36919         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36921 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36923         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36924         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36926         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36927         Use "neg %eax".
36929         * time/mktime.c: Update copyright years.
36931 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36933         mktime: merge comment-quoting-style change from gnulib
36934         * time/mktime.c: Quote 'like this' in comments.
36935         The GNU coding standards suggest that we no longer quote `like this',
36936         as "`" and "'" are typically rendered asymmetrically nowadays.
36937         The typical gnulib style is to quote 'like this' when quoting
36938         code, and "like this" when quoting English.
36940         * time/mktime.c (compile-command): Add "-I.".
36942         mktime: merge mktime-internal.h change from gnulib
36943         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36945         mktime: merge time_r change from gnulib
36946         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36948         mktime: merge DEBUG change from gnulib
36949         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36950         case system <time.h> has a #define.
36952         mktime: merge <sys/types.h> change from gnulib
36953         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36954         since <time.t> is now guaranteed to define time_t.
36956         mktime: merge HAVE_CONFIG_H change from gnulib
36957         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36959 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36962         Use "neg %eax".
36964         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36965         __rlim_t cast.
36966         (struct rusage): Use anonymous union to pad each field to
36967         __syscall_slong_t.
36969 2012-05-21  David S. Miller  <davem@davemloft.net>
36971         * Makefules (o-iterator): Remove .s cases.
36972         (compile-command.s): Delete.
36973         (COMPILE.s): Delete.
36974         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36976 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
36978         * configure.in (libc_cv_predef_stack_protector): Only consider
36979         "foobar" and "__stack_chk_fail" lines in libc_undefs.
36980         * configure: Regenerated.
36982 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36985         New macro.  Use R*LP on int and pointer.
36986         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36987         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36988         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36989         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36991         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36992         [__WORDSIZE_TIME64_COMPAT32] instead of
36993         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36994         (struct utmp): Likewise.
36995         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36996         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36997         Renamed to ...
36998         (__WORDSIZE_TIME64_COMPAT32): This.
36999         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37000         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37001         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37002         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37003         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37004         (__WORDSIZE_TIME64_COMPAT32): New macro.
37006 2012-05-21  Andreas Jaeger  <aj@suse.de>
37008         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37009         only if [SHARED]. Add prototype for __wcschr_ia32.
37011 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37013         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37014         of %rbp unmolested in the jmp_buf while mangling the low bits.
37015         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37016         unmolested high bits of %rbp while demangling the low bits.
37017         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37019 2012-05-21  Andreas Jaeger  <aj@suse.de>
37021         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37022         * sunrpc/svc_simple.c: Use it for registerrpc.
37023         * sunrpc/xcrypt.c: Use it for passwd2des.
37025         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37027 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37029         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37030         Don't define if [__SYSCALL_WORDSIZE != 32].
37031         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37032         New macro.
37034 2012-05-21  Bruno Haible  <bruno@clisp.org>
37035             Andreas Jaeger  <aj@suse.de>
37037         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37038         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37039         inptr and inend for must_buffer_ch.
37040         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37041         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37042         * stdio-common/Makefile (tests): Remove bug15.
37043         (bug15-ENV): Remove macro.
37044         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37045         anymore.
37047 2012-05-19  Andreas Jaeger  <aj@suse.de>
37048             Roland McGrath  <roland@hack.frob.com>
37050         * manual/contrib.texi: Completely rewritten. It contains now an
37051         alphabetical list of contributors and their contributions.
37053 2012-05-21  Richard Henderson  <rth@twiddle.net>
37055         * misc/getauxval.c (__getauxval): Use unsigned long int.
37056         * misc/sys/auxv.h: Include <sys/cdefs.h>.
37057         (getauxval): Use unsigned long int.
37059 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37061         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37063 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37065         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37066         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37067         __alignof__ (long double).
37069 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37073 2012-05-20  Richard Henderson  <rth@twiddle.net>
37075         * misc/getauxval.c: New file.
37076         * misc/sys/auxv.h: New file.
37077         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37078         (routines): Add getauxval.
37079         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37080         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37081         * elf/dl-sysdep.c (_dl_auxv): Remove.
37082         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37083         * elf/dl-support.c (_dl_auxv): New variable.
37084         (_dl_aux_init): Initialize it.
37085         * manual/startup.texi (Auxiliary Vector): New node.
37086         * sysdeps/generic/bits/hwcap.h: New file.
37087         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37088         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37089         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37090         * sysdeps/sparc/sysdep.h: ... here.  Include it.
37091         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37092         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37094         Update.
37095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37098         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37104 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37108 2012-05-19  David S. Miller  <davem@davemloft.net>
37110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37112 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37114         [BZ #14123]
37115         * math/s_ccosh.c: Include <float.h>
37116         (__ccosh): Avoid internal overflow calculating sinh and cosh
37117         values before multiplying by sin and cos values.
37118         * math/s_ccoshf.c: Likewise.
37119         * math/s_ccoshl.c: Likewise.
37120         * math/s_csin.c: Likewise.
37121         * math/s_csinf.c: Likewise.
37122         * math/s_csinl.c: Likewise.
37123         * math/s_csinh.c: Likewise.
37124         * math/s_csinhf.c: Likewise.
37125         * math/s_csinhl.c: Likewise.
37126         * math/libm-test.inc (ccos_test): Add more tests.
37127         (ccosh_test): Likewise.
37128         (csin_test): Likewise.
37129         (csinh_test): Likewise.
37130         * sysdeps/i386/fpu/libm-test-ulps: Update.
37131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37133 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37135         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37136         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37138         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37140 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37142         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37143         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37144         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37145         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37146         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37147         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37148         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37149         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37150         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37151         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37152         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37153         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37154         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37155         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37156         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37157         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37158         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37159         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37160         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37161         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37162         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37163         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37164         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37165         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37166         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37167         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37168         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37169         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37170         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37171         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37172         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37174 2012-05-18  Andreas Jaeger  <aj@suse.de>
37176         * csu/.gitignore: Delete.
37178 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37180         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37181         (timex): Use __syscall_slong_t.
37183 2012-05-18  Andreas Jaeger  <aj@suse.de>
37184             Carlos O'Donell  <carlos_odonell@mentor.com>
37186         * manual/install.texi (Configuring and compiling): Update
37187         description about files modified in the source directory.
37188         * INSTALL: Regenerated.
37190 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37192         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37193         value.  Use "or" to set return value to -1.
37194         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37195         negate return value.
37197 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37199         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37200         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37201         failure if the compiler has Graphite support disabled.
37202         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37203         Likewise.
37204         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37205         (CFLAGS-memmove.c): Likewise.
37206         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37207         Likewise.
37209 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37211         * sysdeps/x86_64/x32/_itoa.h: New file.
37213         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37214         getdents system call only if kernel and user dirents have the
37215         same d_ino and d_off.
37217         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37218         LLONG_MAX != LONG_MAX.
37219         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37220         (_fitoa_word): Likewise.
37222         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37223         years.
37224         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37225         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37226         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37228         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37229         include <bits/wordsize.h>.  Check __x86_64__ instead of
37230         __WORDSIZE.
37231         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37232         if __x86_64__ is defined.  Use anonymous union on fpstate.
37234         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37235         anonymous union.
37237 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37239         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37240         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37241         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37242         Refer to _rtld_local_ro instead of _rtld_global_ro.
37243         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37244         Likewise.
37245         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37246         Likewise.
37247         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37248         Likewise.
37249         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37250         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37251         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37253         * sysdeps/powerpc/powerpc32/dl-machine.c
37254         (__elf_machine_runtime_setup) [PROF]: Don't reference
37255         _dl_prof_resolve.
37257 2012-05-18  Andreas Jaeger  <aj@suse.de>
37259         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37260         function only available for GCCs before 3.4 since GCC 3.4
37261         introduced a builtin.
37262         (lrint): Likewise.
37263         (llrintf): Likewise.
37264         (llrint): Likewise.
37265         (fmaxf): Likewise.
37266         (fmax): Likewise.
37267         (fminf): Likewise.
37268         (fmin): Likewise.
37269         (rint): Likewise.
37270         (rintf): Likewise.
37271         (nearbyint): Likewise.
37272         (nearbyintf): Likewise.
37273         (ceil): Likewise.
37274         (ceilf): Likewise.
37275         (floor): Likewise.
37276         (floorf): Likewise.
37278 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37280         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37281         on both fields and cast pointer to __syscall_ulong_t.
37283         * bits/types.h (__fsword_t): New type.
37284         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37285         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37287         (__FSWORD_T_TYPE): Likewise.
37288         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37289         (__FSWORD_T_TYPE): Likewise.
37290         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37291         (__FSWORD_T_TYPE): Likewise.
37292         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37293         (__FSWORD_T_TYPE): Likewise.
37294         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37295         __SWORD_TYPE with __fsword_t.
37296         (statfs64): Likewise.
37298 2012-05-17  David S. Miller  <davem@davemloft.net>
37300         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37302 2012-05-17  Andreas Jaeger  <aj@suse.de>
37304         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37305         warning.
37307 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37309         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37311 2012-05-17  Andreas Jaeger  <aj@suse.de>
37313         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37314         when it is used.
37316 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37318         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37320 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37322         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37323         * sysdeps/x86_64/tst-mallocalign1.c: New file.
37325 2012-05-17  Andreas Jaeger  <aj@suse.de>
37326             Carlos O'Donell  <carlos_odonell@mentor.com>
37328         [BZ #14059]
37329         * sysdeps/x86_64/multiarch/init-arch.h
37330         (bit_YMM_Usable): Rename to...
37331         (bit_AVX_Usable): ... this.
37332         (bit_FMA4_Usable): New macro.
37333         (bit_XMM_state): New macro.
37334         (bit_YMM_state): New macro.
37335         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37336         [__ASSEMBLER__] (index_AVX_Usable): ... this.
37337         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37338         (CPUID_OSXSAVE): New macro.
37339         (CPUID_AVX): New macro.
37340         (CPUID_FMA4): New macro.
37341         (index_YMM_Usable): Rename to...
37342         (index_AVX_Usable): ... this.
37343         (HAS_AVX): Use HAS_ARCH_FEATURE.
37344         (HAS_FMA4): Likewise.
37345         (HAS_YMM_USABLE): Remove.
37346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37347         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37348         are present.
37349         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37350         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37351         * sysdeps/x86_64/multiarch/Makefile: Likewise.
37352         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37353         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37355 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37357         * math/libm-test.c: Support platforms without multiple rounding modes.
37358         * math/bug-nextafter.c: Support platforms without FP exceptions.
37359         * math/bug-nexttoward.c: Likewise.
37360         * math/test-fenv.c: Likewise.
37361         * math/test-misc.c: Likewise.
37362         * stdlib/bug-getcontext.c: Likewise.
37364 2012-05-17  Andreas Jaeger  <aj@suse.de>
37366         * manual/examples/search.c (critter_cmp): Change signature to
37367         avoid warnings.
37368         * manual/string.texi (Collation Functions): Likewise.
37370 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37372         * bits/types.h: Fold copyright years.
37373         * bits/typesizes.h: Likewise.
37374         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37375         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37377         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37378         * time/time.h: Likewise.
37380 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
37382         [BZ #208]
37383         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37384         in instead of returning them.  Return void.
37385         (__libc_mallinfo): Accumulate over all arenas.
37386         (__malloc_stats): Adjust for change in int_mallinfo interface.
37388 2012-05-16  Roland McGrath  <roland@hack.frob.com>
37390         [BZ #10375]
37391         * configure.in (NM): Add AC_CHECK_TOOL for it.
37392         (libc_extra_cflags): New substituted variable.
37393         Check for -fstack-protector being used implicitly.
37394         * configure: Regenerated.
37395         * config.make.in (config-extra-cflags): New variable,
37396         gets @libc_extra_cflags@.
37397         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37399         [BZ #10375]
37400         * configure.in: Check for _FORTIFY_SOURCE being predefined.
37401         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37402         * configure: Regenerated.
37403         * config.make.in (CPPUNDEFS): New substituted variable.
37404         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37405         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37406         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37408 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37410         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37411         (mq_attr): Use __syscall_slong_t.
37413 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37415         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37416         Check __x86_64__ instead of __WORDSIZE.
37417         (_STAT_VER_LINUX): Likewise.
37418         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
37419         __syscall_ulong_t and __syscall_slong_t.
37420         (stat64): Likewise.
37422 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37424         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37426 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37428         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37430 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37432         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37433         __syscall_ulong_t.
37435         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37436         include <bits/wordsize.h>.  Check __x86_64__ instead of
37437         __WORDSIZE.
37438         (greg_t): Use "__extension__ long long int" if __x86_64__ is
37439         defined.
37440         (mcontext_t): Replace "unsigned long" with "unsigned long long".
37442         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37443         include <bits/wordsize.h>.  Check __x86_64__ instead of
37444         __WORDSIZE.
37445         (user_regs_struct): Use "__extension__ unsigned long long"
37446         instead of "unsigned long" if __x86_64__ is defined.
37447         (user): Likewise.  Pad after pointer field if __ILP32__ is
37448         defined.
37450 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
37452         * configure.in (makeinfo): Require version 4.5 or later.  Allow
37453         versions 5 to 9.
37454         * configure: Regenerated.
37455         * manual/install.texi (texinfo): Increase version requirement to
37456         4.5 or later.
37457         * INSTALL: Regenerated.
37459         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37461 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37463         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37465         * sysdeps/x86_64/x32/ffs.c: New file.
37467         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37468         __syscall_ulong_t.
37469         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37470         defined.  Use __syscall_ulong_t.
37471         (shminfo): Use __syscall_ulong_t.
37472         (shm_info): Likewise.
37474         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37475         __syscall_ulong_t.
37477         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37478         <bits/wordsize.h>.
37479         (msgqnum_t): Use __syscall_ulong_t.
37480         (msglen_t): Likewise.
37481         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
37482         __syscall_ulong_t.
37484         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37485         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37487         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37489         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37490         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37492         * sysvipc/sys/msg.h (msgbuf): Replace long int with
37493         __syscall_slong_t.
37495         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37496         include <bits/wordsize.h>.  Check __x86_64__ instead of
37497         __WORDSIZE.
37499         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37500         "unsigned long long int" if __x86_64__ is defined.
37501         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37503         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37504         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37505         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37507         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37508         <stdint.h>.
37509         (GET_PC): Cast to uintptr_t first.
37510         (GET_FRAME): Likewise.
37511         (GET_STACK): Likewise.
37513         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37514         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37515         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37516         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37517         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37518         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37519         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37520         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37521         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37522         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37523         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37524         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37525         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37526         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37527         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37528         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37529         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37530         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37531         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37532         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37533         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37534         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37535         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37536         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37537         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37538         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37539         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37540         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37541         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37543 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
37545         * Makerules (+depfiles): Also collect depfiles from .oS in
37546         $(extra-objs).
37547         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37548         .oS, $(libnldbl-routines)).
37550         * Makerules (native-compile-mkdep-flags): Define.
37551         * sunrpc/Makefile (extra-objs): Add $(addprefix
37552         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37553         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37554         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
37555         calling $(make-target-directory).
37557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37559         * bits/types.h (__snseconds_t): Removed.
37560         * time/time.h (struct timespec): Replace __snseconds_t with
37561         __syscall_slong_t.
37562         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37563         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37564         Likewise.
37565         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37566         (__SNSECONDS_T_TYPE): Likewise.
37567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37568         (__SNSECONDS_T_TYPE): Likewise.
37569         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37570         (__SNSECONDS_T_TYPE): Likewise.
37572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37574         * sysdeps/mach/hurd/bits/typesizes.h
37575         (__SYSCALL_SLONG_TYPE): New macro.
37576         (__SYSCALL_ULONG_TYPE): Likewise.
37578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37580         * bits/types.h (__syscall_slong_t): New type.
37581         (__syscall_ulong_t): Likewise.
37583         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37584         (__SYSCALL_ULONG_TYPE): Likewise.
37585         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37586         (__SYSCALL_SLONG_TYPE): Likewise.
37587         (__SYSCALL_ULONG_TYPE): Likewise.
37588         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37589         (__SYSCALL_SLONG_TYPE): Likewise.
37590         (__SYSCALL_ULONG_TYPE): Likewise.
37591         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37592         (__SYSCALL_SLONG_TYPE): Likewise.
37593         (__SYSCALL_ULONG_TYPE): Likewise.
37595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37597         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37598         Add sigaltstack-offsets.sym.
37599         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37600         <sigaltstack-offsets.h>.
37601         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
37602         longjmp_msg pointer.
37603         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
37604         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37605         signal stack.
37606         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37608 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37610         * elf/stackguard-macros.h: Remove file.
37611         * sysdeps/generic/stackguard-macros.h: New file.
37612         * sysdeps/i386/stackguard-macros.h: Likewise.
37613         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37614         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37615         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37616         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37617         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37618         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37619         * sysdeps/x86_64/stackguard-macros.h: Likewise.
37620         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37621         <elf/stackguard-macros.h>.
37623         [BZ #14109]
37624         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37625         __aligned__ in attribute.
37626         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37627         (gregset_t): Likewise.
37629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37631         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37632         * sysdeps/x86_64/64/Implies-after: Here.  New file.
37633         * sysdeps/x86_64/x32/Implies-after: New file.
37635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37637         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37638         and access return value for _dl_profile_fixup.  Use R10_LP to
37639         load frame size.
37641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37643         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37647         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37648         * sysdeps/x86_64/x32/sysdep.h: New file.
37650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37652         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37653         * sysdeps/x86_64/setjmp.S: Likewise.
37655 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37657         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37658         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37659         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37660         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37661         remove unused global constant.
37663 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
37665         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37666         include of <not-cancel.h>.
37668 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37670         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37672 2012-05-15  Jeff Law  <law@redhat.com>
37673             Andreas Jaeger  <aj@suse.de>
37675         [BZ #13594]
37676         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37677         out from...
37678         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37679         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37680         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37681         code changing __hst_map_handle.map.
37683 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37685         * configure.in (sysnames): Look for Implies-before and Implies-after
37686         files.
37687         * configure: Regenerated.
37689 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37691         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37692         8-byte data alignment with LP_SIZE alignment.
37694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37696         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37697         into R10_LP.
37699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37701         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37705         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37706         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37707         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37708         Likewise.
37709         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37713         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37714         (stackinfo_sub_sp): Likewise.
37716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37718         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37719         RAX_LP.
37721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37723         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37724         into R*_LP.
37726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37728         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37729         sizes into R*_LP.
37731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37733         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37737         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37738         into R11_LP and load __x86_64_shared_cache_size_half into
37739         R8_LP.
37741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37743         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37744         R8_LP.
37746 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37748         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37749         logb for POWER7.
37750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37751         logbf for POWER7.
37752         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37753         logbl for POWER7.
37754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37755         powerpc32/power7/fpu/s_logb.c via #include.
37756         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37757         powerpc32/power7/fpu/s_logbf.c via #include.
37758         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37759         powerpc32/power7/fpu/s_logbl.c via #include.
37761 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37763         * README.libm: Remove file.
37765 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37767         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37768         count for x32.  Use R*_LP and omit operand-size suffix.
37770 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37772         * shlib-versions: Move x86_64-.*-linux.* entries to ...
37773         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
37774         * sysdeps/x86_64/x32/shlib-versions: New file.
37776 2012-05-14  Roland McGrath  <roland@hack.frob.com>
37778         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37779         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37780         Use _dl_fatal_printf instead.
37782 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37784         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37785         set if not set by the user.  Do not allow for being unset.
37786         * sysdeps/unix/sysv/linux/configure: Regenerated.
37788 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37790         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37791         the `q' suffix from lea and replace .quad with ASM_ADDR.
37793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37796         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
37797         instead of $17.
37798         (PTR_DEMANGLE): Likewise.
37800 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37802         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37803         (LP_OP): Likewise.
37804         (ASM_ADDR): Likewise.
37805         (RAX_LP): Likewise.
37806         (RBP_LP): Likewise.
37807         (RBX_LP): Likewise.
37808         (RCX_LP): Likewise.
37809         (RDI_LP): Likewise.
37810         (RSI_LP): Likewise.
37811         (RSP_LP): Likewise.
37812         (R8_LP): Likewise.
37813         (R9_LP): Likewise.
37814         (R10_LP): Likewise.
37815         (R10_LP): Likewise.
37816         (R11_LP): Likewise.
37817         (R12_LP): Likewise.
37818         (R13_LP): Likewise.
37819         (R14_LP): Likewise.
37820         (R15_LP): Likewise.
37822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37824         * sysdeps/x86_64/x32/dl-machine.h: New file.
37826 2012-05-14  Andreas Jaeger  <aj@suse.de>
37828         * manual/Makefile (subdir): Remove export of subdir.
37829         (all): Remove target.
37830         (.PHONY): Remove all from list.
37831         (mkinstalldirs): Remove.
37832         (.PHONY): Remove installdirs from list.
37833         ($(inst_infodir)/libc.info): Use make-target-directory.
37834         (installdirs): Remove.
37835         (subdir_%): Remove.
37836         (glibc-targets): Remove.
37837         (lib): Remove.
37838         (stubs): Remove.
37839         ($(objpfx)stubs ../po/manual.pot): Remove.
37840         ($(objpfx)stamp%): Remove.
37841         (make-target-directory): Remove.
37842         (subdir_install): Remove.
37843         (routines): Remove.
37844         (aux): Remove.
37845         (sources): Remove.
37846         (objects): Remove.
37847         (headers): Remove.
37849         [BZ #13750]
37850         * manual/.gitignore: Remove, it's not needed anymore.
37851         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37852         all files in it.
37853         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37854         directory.
37855         (texis): Renamed to $(objpfx)texis.
37856         (texis-path): New, contains path to generated files.
37857         (chapters.%): Use texis-path for complete path, add extra argument
37858         libc-texinfo.sh.
37859         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37860         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37861         (summary,texi, stamp-summary): Use complete path of
37862         files. Generate files in build dir.
37863         (dir-add.texi): Build in build dir.
37864         (libm-err.texi,stamp-libm-err): Likewise.
37865         (version.texi, stamp-version): Likewise.
37866         (.%c.texi): Likewise.
37867         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37868         (mostlyclean): Remove target.
37869         (realclean): Remove target.
37870         (generated): Add new variable with contents from mostlyclean and
37871         realclean, remove entries duplicated in common-mostlyclean, add
37872         stamp-libm-err and stamp-version.
37873         (generated-dirs): Add libc directory.
37874         ($(inst_infodir)/libc.info): Install files from build dir.
37876         * manual/install.texi (Configuring and compiling): Adjust since
37877         the info files are not part of the tar ball anymore.
37879 2012-05-14  Andreas Jaeger  <aj@suse.de>
37881         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37882         variable.
37884 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37886         [BZ #13717]
37887         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37888         to 2.2.0 where earlier.
37889         * sysdeps/unix/sysv/linux/configure: Regenerated.
37890         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37891         Remove conditional code.
37892         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37893         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37894         Remove conditional code.
37895         [!__NR_lchown]: Likewise.
37896         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37897         [__NR_lchown]: Likewise.
37898         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37899         comment referencing __ASSUME_LCHOWN_SYSCALL.
37900         * sysdeps/unix/sysv/linux/i386/sigaction.c
37901         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37902         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37903         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37904         Remove conditional code.
37905         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37906         (__protocol_available): Remove #if 0 code.
37907         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37908         conditional code.
37909         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37910         * sysdeps/unix/sysv/linux/kernel-features.h
37911         (__ASSUME_GETCWD_SYSCALL): Don't define.
37912         (__ASSUME_REALTIME_SIGNALS): Likewise.
37913         (__ASSUME_PREAD_SYSCALL): Likewise.
37914         (__ASSUME_PWRITE_SYSCALL): Likewise.
37915         (__ASSUME_POLL_SYSCALL): Likewise.
37916         (__ASSUME_LCHOWN_SYSCALL): Likewise.
37917         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37918         non-SPARC.
37919         (__ASSUME_SIOCGIFNAME): Don't define.
37920         (__ASSUME_MSG_NOSIGNAL): Likewise.
37921         (__ASSUME_SENDFILE): Define unconditionally.
37922         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37923         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37924         conditional code.
37925         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37926         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37927         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37928         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37929         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37930         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37931         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37933         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37934         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37936         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37937         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37939         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37940         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37942         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37943         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37945         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37946         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37948         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37949         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37951         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37952         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37954         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37955         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37956         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37957         Remove conditional code.
37958         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37959         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37960         Remove conditional code.
37961         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37962         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37963         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37964         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37965         Remove conditional code.
37966         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37967         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37968         Remove conditional code.
37969         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37970         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37971         Remove conditional code.
37972         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37973         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37974         Remove conditional code.
37975         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37976         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37977         Remove conditional code.
37978         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37979         * sysdeps/unix/sysv/linux/sh/pwrite64.c
37980         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37981         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37982         * sysdeps/unix/sysv/linux/sigaction.c
37983         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37984         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37985         * sysdeps/unix/sysv/linux/sigpending.c
37986         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37987         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37988         * sysdeps/unix/sysv/linux/sigprocmask.c
37989         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37990         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37991         * sysdeps/unix/sysv/linux/sigsuspend.c
37992         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37993         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37994         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37995         (__libc_missing_rt_sigs): Remove.
37996         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37997         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37998         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37999         Remove conditional code.
38000         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38001         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38002         return 1.
38003         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38004         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38005         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38006         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38008 2012-05-14  Andreas Jaeger  <aj@suse.de>
38010         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38011         it's not used in glibc.
38012         (__coshm1): Likewise.
38013         (__acosh1p): Likewise.
38014         (__sgn): Likewise.
38016         * manual/string.texi (Copying and Concatenation): Add missing
38017         variable in concat example.
38018         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38020 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38022         [BZ #14103]
38023         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38024         __builtin_clzl with __builtin_clzll.
38026 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38028         [BZ #14104]
38029         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38030         libc_freeres_ptr.
38032 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38034         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38035         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38036         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38037         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38039 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
38041         * NEWS: Update ia64 info.
38043 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
38045         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38046         used as bcopy.
38048 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
38050         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38051         * sysdeps/unix/syscalls.list (dup3): Likewise.
38052         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38053         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38055 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38057         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38058         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38060 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38062         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38063         thread pointer.
38064         (TLS_IE): Use mov/add instead of movq/addq to load thread
38065         pointer.
38066         (TLS_GD_PREFIX): New.
38067         (TLS_GD): Use it.
38069 2012-05-11  David S. Miller  <davem@davemloft.net>
38071         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38072         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38073         (_FPU_SETCW): Likewise.
38075 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38077         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38078         is 32-byte aligned.
38080 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
38082         [BZ #11837]
38083         * iconvdata/gb18030.c: Update tables.
38084         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
38085         characters specially.
38086         (BODY for TO_LOOP): Add encoding of missing ranges.
38088 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
38090         [BZ #13673]
38091         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38092         * sysdeps/mach/hurd/dup3.c: Likewise.
38093         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38094         * sysdeps/powerpc/memmove.c:: Likewise.
38096 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38098         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38099         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38101 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38103         * elf/elf.h (R_X86_64_RELATIVE64): New.
38104         (R_X86_64_NUM): Updated.
38105         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38106         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38107         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38108         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38109         tst-quad1pie tst-quad2pie
38110         (modules-names): Add tst-quadmod1 tst-quadmod2.
38111         ($(objpfx)tst-quad1): New dependency.
38112         ($(objpfx)tst-quad2): Likewise.
38113         ($(objpfx)tst-quad1pie): Likewise.
38114         ($(objpfx)tst-quad2pie): Likewise.
38115         * sysdeps/x86_64/tst-quad1.c: New file.
38116         * sysdeps/x86_64/tst-quad1pie.c: New file.
38117         * sysdeps/x86_64/tst-quad2.c: Likewise.
38118         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38119         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38120         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38121         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38122         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38124 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38126         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38127         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38128         * streams/stropts.h (t_scalar_t): Define type.
38130         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38131         (_PATH_PRESERVE): Set to "/var/lib".
38132         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38134         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38135         instead of int.
38137         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38138         if __dir_mkfile succeeded.
38140         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38141         checking for _hurd_dtablesize.  Unlock it right after having
38142         finished _hurd_dtable allocation.
38144 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38146         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38147         * sysdeps/mach/hurd/configure: Regenerated.
38148         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38149         special-casing to...
38150         * sysdeps/gnu/configure.in: ... this new file.
38151         * sysdeps/unix/sysv/linux/configure: Regenerated.
38152         * sysdeps/gnu/configure: New generated file.
38154         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38155         for Linux: use nsec instead of usec, as well as:
38156         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38157         members of type struct timespec.
38158         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38159         New macros.
38160         (struct stat64): Likewise.
38161         (_STATBUF_ST_NSEC): New macro.
38162         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38164         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38165         __strtoul_internal rather than strtoul.
38167 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38169         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38170         and reject them.
38172 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38174         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38175         which preserves existing values.
38176         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38178 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38180         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38181         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38182         greater than FD_SETSIZE.
38184 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38186         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38187         allocated, call __vm_protect to finish enabling the existing space, and
38188         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38189         allocate the remainder.
38191 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38193         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38194         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38196 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38198         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38199         sysdeps/mach/hurd/readlink.c.
38201         * posix/tst-sysconf.c (posix_options): Only use
38202         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38203         _POSIX_SYNCHRONIZED_IO when they are defined
38204         * sysdeps/mach/hurd/bits/posix_opt.h:
38205         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38206         (_XOPEN_REALTIME): Undefine macro.
38207         (_XOPEN_REALTIME_THREADS): Undefine macro.
38208         (_XOPEN_SHM): Undefine macro.
38209         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38210         macro to -1.
38211         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38212         macro to -1.
38213         (_POSIX_ASYNC_IO): Undefine macro.
38214         (_POSIX_PRIORITIZED_IO): Undefine macro.
38215         (_POSIX_SPIN_LOCKS): Define macro to -1.
38217         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38218         SA_NODEFER, SA_RESETHAND.
38219         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38220         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38221         F_DUPFD_CLOEXEC.
38223 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38225         * elf/Makefile (pldd-modules): Define unconditionally.
38227 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38229         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38231 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38233         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38234         Return ENOENT when name is empty.
38235         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38237 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38239         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38241         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38243 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38245         Fix mlock in all cases except non-readable pages.
38246         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38247         instead of VM_PROT_ALL as parameter to __vm_wire function.
38249         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38250         (__mkdir): When path is `/', just fail with EEXIST.
38251         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38253 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38255         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38256         <sys/uio.h> (for writev).
38257         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38258         and <sys/param.h> (for MIN).
38260 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38262         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38263         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38264         if interrupted.
38266 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38268         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38269         Depend on against $(link-rpcuserlibs).
38271 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38273         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38274         (__libc_stack_end): Do not use attribute_relro.
38275         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38276         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38277         to libthread-provided value.
38278         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38279         attribute_relro.
38281 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38283         [BZ #3748]
38284         * bits/libc-lock.h (__libc_once_get): New macro.
38285         * sysdeps/mach/bits/libc-lock.h: Likewise.
38286         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38287         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38288         instead of using implementation details.
38290         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38291         * libio/freopen.c: Likewise.
38292         * libio/freopen64.c: Likewise.
38293         * misc/syslog.c: Likewise.
38294         * nscd/connections.c: Likewise.
38295         * nscd/netgroupcache.c: Likewise.
38296         * sysdeps/posix/getcwd.c: Likewise.
38298 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38300         * math/w_ilogbf.c: Add #include <limits.h>.
38302 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38304         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38305         path instead of returning without unlocking.
38307         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38308         immediate-write ioctls.
38309         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38311 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38313         * sysdeps/mach/hurd/i386/init-first.c (init): Use
38314         __builtin_frame_address instead of making assumptions about the
38315         location of the return address relative to DATA.  Force early load of
38316         the return address.
38317         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38318         __builtin_frame_address.
38320         dup3 for GNU Hurd.
38321         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38322         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
38323         implement dup3 and do some further code clean-ups.
38324         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38325         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38327 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38329         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38331         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38332         HURD_CRITICAL_END around holding _hurd_dtable_lock.
38333         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38334         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38335         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38336         d->port.lock.
38338         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38339         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
38340         when handler == SIG_ERR, not when handler != SIG_ERR.
38342 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38344         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38345         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38346         definitions.
38348         accept4 for GNU Hurd.
38349         * include/sys/socket.h (__libc_accept4): New prototype.
38350         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
38351         to implement __libc_accept4.
38352         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38353         __libc_accept4.
38354         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38356         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38357         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38358         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38359         signal-defines.sym.
38361 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38363         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38365 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38367         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38368         assertion on O_CLOEXEC flag.
38369         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38370         * hurd/intern-fd.c: Likewise.
38371         * hurd/port2fd.c: Likewise.
38373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38375         [BZ #3906]
38376         * bits/in.h (IPV6_PKTINFO): Define new macro.
38377         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38379 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38381         [BZ #13954]
38382         [BZ #13955]
38383         [BZ #13956]
38384         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38385         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38386         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38387         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38388         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38389         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38390         * math/libm-test.inc (logb_test) : Additional logb tests.
38392 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
38393             Andreas Jaeger  <aj@suse.de>
38395         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38396         * configure: Regenerated.
38397         * config.h.in (LINK_OBSOLETE_RPC): New macro.
38398         * config.make.in (link-obsolete-rpc): New substituted variable.
38399         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38400         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38401         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38402         (shared-only-routines): Don't set it under [link-obsolete-rpc],
38403         so that libc.a contains the symbols.
38404         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38405         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38406         * sunrpc/auth_none.c: Likewise.
38407         * sunrpc/auth_unix.c: Likewise.
38408         * sunrpc/authdes_prot.c: Likewise.
38409         * sunrpc/authuxprot.c: Likewise.
38410         * sunrpc/clnt_gen.c: Likewise.
38411         * sunrpc/clnt_perr.c: Likewise.
38412         * sunrpc/clnt_raw.c: Likewise.
38413         * sunrpc/clnt_simp.c: Likewise.
38414         * sunrpc/clnt_tcp.c: Likewise.
38415         * sunrpc/clnt_udp.c: Likewise.
38416         * sunrpc/clnt_unix.c: Likewise.
38417         * sunrpc/des_crypt.c: Likewise.
38418         * sunrpc/des_soft.c: Likewise.
38419         * sunrpc/get_myaddr.c: Likewise.
38420         * sunrpc/key_call.c: Likewise.
38421         * sunrpc/key_prot.c: Likewise.
38422         * sunrpc/netname.c: Likewise.
38423         * sunrpc/pm_getmaps.c: Likewise.
38424         * sunrpc/pm_getport.c: Likewise.
38425         * sunrpc/pmap_clnt.c: Likewise.
38426         * sunrpc/pmap_prot.c: Likewise.
38427         * sunrpc/pmap_prot2.c: Likewise.
38428         * sunrpc/pmap_rmt.c: Likewise.
38429         * sunrpc/publickey.c: Likewise.
38430         * sunrpc/rpc_cmsg.c: Likewise.
38431         * sunrpc/rpc_common.c: Likewise.
38432         * sunrpc/rpc_dtable.c: Likewise.
38433         * sunrpc/rpc_prot.c: Likewise.
38434         * sunrpc/rpc_thread.c: Likewise.
38435         * sunrpc/rtime.c: Likewise.
38436         * sunrpc/svc.c: Likewise.
38437         * sunrpc/svc_auth.c: Likewise.
38438         * sunrpc/svc_raw.c: Likewise.
38439         * sunrpc/svc_run.c: Likewise.
38440         * sunrpc/svc_tcp.c: Likewise.
38441         * sunrpc/svc_udp.c: Likewise.
38442         * sunrpc/svc_unix.c: Likewise.
38443         * sunrpc/svcauth_des.c: Likewise.
38444         * sunrpc/xcrypt.c: Likewise.
38445         * sunrpc/xdr.c: Likewise.
38446         * sunrpc/xdr_array.c: Likewise.
38447         * sunrpc/xdr_float.c: Likewise.
38448         * sunrpc/xdr_intXX_t.c: Likewise.
38449         * sunrpc/xdr_mem.c: Likewise.
38450         * sunrpc/xdr_rec.c: Likewise.
38451         * sunrpc/xdr_ref.c: Likewise.
38452         * sunrpc/xdr_sizeof.c: Likewise.
38453         * sunrpc/xdr_stdio.c: Likewise.
38455 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38457         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38458         change.  Update copyright years.
38460 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38462         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38464 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
38465             Joseph Myers  <joseph@codesourcery.com>
38466             Paul Pluzhnikov  <ppluzhnikov@google.com>
38468         [BZ #14012]
38469         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38470         requiring rpcgen.
38471         [cross-compiling] (extra-libs): Likewise.
38472         [cross-compiling] (extra-libs-others): Likewise.
38473         [cross-compiling] (librpcsvc-routines): Likewise.
38474         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38475         [cross-compiling] (omit-deps): Likewise.
38476         (sunrpc-CPPFLAGS): New variable.
38477         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38478         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38479         (cross-rpcgen-objs): New variable.
38480         (extra-objs): Append $(cross-rpcgen-objs).
38481         ($(cross-rpcgen-objs)): New rule.
38482         ($(objpfx)cross-rpcgen): Likewise.
38483         (rpcgen-cmd): Define to use $(built-program-file).  Expand
38484         comment.
38485         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38486         ($(objpfx)x%.stmp): Likewise.
38487         * sunrpc/proto.h [IS_IN_build] (_): Define.
38488         [IS_IN_build] (_libc_intl_domainname): Likewise.
38490 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38492         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38493         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38494         and R_X86_64_TPOFF64.
38496 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38498         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38499         sysdeps/unix/sysv/syscalls.list.
38500         (stime): Likewise.
38501         (utime): Likewise.
38502         * sysdeps/unix/sysv/syscalls.list: Remove file.
38504 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
38506         [BZ #3440]
38507         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38508         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38509         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38510         (__LC_IDENTIFICATION): Make these macros useful in #if
38511         expressions, as required by C99.
38513 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
38515         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38516         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
38517         after this.
38519 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
38521         * stdlib/longlong.h: Updated from GCC.
38523 2012-05-09  Andreas Jaeger  <aj@suse.de>
38525         * nscd/nscd.c (run_modes): Make named enum, reorder so that
38526         default is first entry.
38527         (run_mode): Set type.
38528         (main): Remove informal message about syslog.
38529         (options): Fix typo.
38531         [BZ #14053]
38532         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38533         to asm.
38534         (lrint): Likewise.
38535         (llrintf): Likewise.
38536         (llrint): Likewise.
38537         (rint): Likewise.
38538         (rintf): Likewise.
38539         (nearbyint): Likewise.
38540         (nearbyintf): Likewise.
38542 2012-05-09  Andreas Jaeger  <aj@suse.de>
38543             Pedro Alves  <palves@redhat.com>
38545         * nscd/nscd.c (run_mode): Use enum.
38546         (main): Cleanup coding style issue.
38548 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
38549             Andreas Jaeger  <aj@suse.de>
38551         * nscd/nscd.c (go_background): Replaced with...
38552         (run_mode): ... this.
38553         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38554         (options): Add -F --foreground.
38555         (main): Implement it.
38556         (parse_opt): Parse it.
38558 2012-05-09  Andreas Jaeger  <aj@suse.de>
38560         [BZ #14083]
38561         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38562         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38563         -Wconversion warning.
38564         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38565         Likewise.
38567 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
38569         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
38570         == 0.
38571         (LC_ALL): Use macro-int-constant.
38572         (LC_COLLATE): Likewise.
38573         (LC_CTYPE): Likewise.
38574         (LC_MESSAGES): Likewise.
38575         (LC_MONETARY): Likewise.
38576         (LC_NUMERIC): Likewise.
38577         (LC_TIME): Likewise.
38578         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38579         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38580         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38581         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38582         Specify type.
38583         [C99-based standards] (float_t): Expect type.
38584         [C99-based standards] (double_t): Expect type.
38585         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
38586         type.
38587         [C99-based standards] (HUGE_VALL): Likewise.
38588         [C99-based standards] (INFINITY): Likewise.
38589         [C99-based standards] (NAN): Likewise.
38590         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38591         [C99-based standards] (FP_NAN): Likewise.
38592         [C99-based standards] (FP_NORMAL): Likewise.
38593         [C99-based standards] (FP_SUBNORMAL): Likewise.
38594         [C99-based standards] (FP_ZERO): Likewise.
38595         [C99-based standards] (FP_FAST_FMA): Use
38596         optional-macro-int-constant.  Specify type.  Require == 1.
38597         [C99-based standards] (FP_FAST_FMAF): Likewise.
38598         [C99-based standards] (FP_FAST_FMAL): Likewise.
38599         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38600         [C99-based standards] (FP_ILOGBNAN): Likewise.
38601         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38602         Specify type.
38603         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38604         [C99-based standards] (math_errhandling): Specify type.
38605         [ISO99 || ISO11] (signgam): Do not allow.
38606         [non-C99-based standards] (copysignf): Do not allow.
38607         [non-C99-based standards] (exp2f): Likewise.
38608         [non-C99-based standards] (log2f): Likewise.
38609         [non-C99-based standards] (modff): Allow.
38610         [non-C99-based standards] (erff): Do not allow.
38611         [non-C99-based standards] (erfcf): Likewise.
38612         [non-C99-based standards] (gammaf): Likewise.
38613         [non-C99-based standards] (hypotf): Likewise.
38614         [non-C99-based standards] (j0f): Likewise.
38615         [non-C99-based standards] (j1f): Likewise.
38616         [non-C99-based standards] (jnf): Likewise.
38617         [non-C99-based standards] (lgammaf): Likewise.
38618         [non-C99-based standards] (tgammaf): Likewise.
38619         [non-C99-based standards] (y0f): Likewise.
38620         [non-C99-based standards] (y1f): Likewise.
38621         [non-C99-based standards] (ynf): Likewise.
38622         [non-C99-based standards] (isnanf): Likewise.
38623         [non-C99-based standards] (acoshf): Likewise.
38624         [non-C99-based standards] (asinhf): Likewise.
38625         [non-C99-based standards] (atanhf): Likewise.
38626         [non-C99-based standards] (cbrtf): Likewise.
38627         [non-C99-based standards] (expm1f): Likewise.
38628         [non-C99-based standards] (ilogbf): Likewise.
38629         [non-C99-based standards] (log1pf): Likewise.
38630         [non-C99-based standards] (logbf): Likewise.
38631         [non-C99-based standards] (nextafterf): Likewise.
38632         [non-C99-based standards] (remainderf): Likewise.
38633         [non-C99-based standards] (rintf): Likewise.
38634         [non-C99-based standards] (scalbf): Likewise.
38635         [non-C99-based standards] (copysignl): Likewise.
38636         [non-C99-based standards] (exp2l): Likewise.
38637         [non-C99-based standards] (log2l): Likewise.
38638         [non-C99-based standards] (modfl): Allow.
38639         [non-C99-based standards] (erfl): Do not allow.
38640         [non-C99-based standards] (erfcl): Likewise.
38641         [non-C99-based standards] (gammal): Likewise.
38642         [non-C99-based standards] (hypotl): Likewise.
38643         [non-C99-based standards] (j0l): Likewise.
38644         [non-C99-based standards] (j1l): Likewise.
38645         [non-C99-based standards] (jnl): Likewise.
38646         [non-C99-based standards] (lgammal): Likewise.
38647         [non-C99-based standards] (tgammal): Likewise.
38648         [non-C99-based standards] (y0l): Likewise.
38649         [non-C99-based standards] (y1l): Likewise.
38650         [non-C99-based standards] (ynl): Likewise.
38651         [non-C99-based standards] (isnanl): Likewise.
38652         [non-C99-based standards] (acoshl): Likewise.
38653         [non-C99-based standards] (asinhl): Likewise.
38654         [non-C99-based standards] (atanhl): Likewise.
38655         [non-C99-based standards] (cbrtl): Likewise.
38656         [non-C99-based standards] (expm1l): Likewise.
38657         [non-C99-based standards] (ilogbl): Likewise.
38658         [non-C99-based standards] (log1pl): Likewise.
38659         [non-C99-based standards] (logbl): Likewise.
38660         [non-C99-based standards] (nextafterl): Likewise.
38661         [non-C99-based standards] (remainderl): Likewise.
38662         [non-C99-based standards] (rintl): Likewise.
38663         [non-C99-based standards] (scalbl): Likewise.
38664         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38665         [non-C99-based standards] (FP_*): Do not allow.
38666         [C99-based standards] (FP_*): Change to
38667         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38668         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38669         allow.
38670         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38671         (SIG_ERR): Likewise.
38672         [X/Open-based standards] (SIG_HOLD): Likewise.
38673         (SIG_IGN): Likewise.
38674         (SIGABRT): Use macro-int-constant.  Specify type.  Require
38675         positive value.
38676         (SIGFPE): Likewise.
38677         (SIGILL): Likewise.
38678         (SIGINT): Likewise.
38679         (SIGSEGV): Likewise.
38680         (SIGTER): Likewise.
38681         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38682         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38683         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38684         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38685         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38686         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38687         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38688         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38689         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38690         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38691         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38692         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38693         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38694         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38695         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38696         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38697         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38698         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38699         [X/Open-based standards] (SIGTRAP): Likewise.
38700         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38701         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38702         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38703         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38704         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38705         allow.
38707 2012-05-08  Ian Wienand  <ianw@vmware.com>
38709         [BZ #14080]
38710         * time/tzset.c (__tzset_parse_tz): Update default rules for
38711         daylight time changes in the Energy Policy Act of 2005.
38713 2012-05-09  Andreas Jaeger  <aj@suse.de>
38715         [BZ #13983]
38716         * elf/ldconfig.c (parse_conf): Change string to make clear that
38717         ldconfig only issued a warning if ld.so.conf does not exist.
38719 2012-05-08  David S. Miller  <davem@davemloft.net>
38721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38722         movxtod instead of popping the value on the stack.
38724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38726 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
38728         * config.h.in: Add HAVE_ARM_PCS_VFP.
38730 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
38732         [BZ #13979]
38733         * include/features.h: Warn if user requests __FORTIFY_SOURCE
38734         checking but the checks are disabled for any reason.
38736 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
38738         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38739         and ELF64_R_TYPE with ELFW(R_TYPE).
38741 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
38743         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38744         (ulimit): Likewise.
38746         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38747         (settimeofday): Likewise.
38749 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
38751         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
38752         a struct th_u2 inside the union, and move tu_block/tu_code into
38753         a new th_u3 union of tu_block/tu_code inside of that.  Move
38754         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
38755         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
38756         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38757         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38758         (th_stuff): Change to th_u1.tu_stuff.
38759         (th_data): Define.
38760         (th_msg): Change to th_u1.th_u2.tu_data.
38762 2012-05-07  David S. Miller  <davem@davemloft.net>
38764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38766         [BZ #14074]
38767         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38768         (SETUP_PIC_REG): Use it.
38769         (SETUP_PIC_REG_LEAF): Use it.
38771 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
38773         [BZ #13885]
38774         [BZ #13923]
38775         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38776         USE_AS_EXPM1L.
38777         (EXPL_FINITE): Likewise.
38778         (FLDLOG): Likewise.
38779         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38780         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38781         e_expl.S.
38782         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38783         USE_AS_EXPM1L.
38784         (EXPL_FINITE): Likewise.
38785         (FLDLOG): Likewise.
38786         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38787         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38788         e_expl.S.
38789         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
38790         test of -max_value argument for long double.
38791         * sysdeps/i386/fpu/libm-test-ulps: Update.
38792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38794 2012-05-06  David S. Miller  <davem@davemloft.net>
38796         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38797         quad soft-float symbols whose references which are compiler
38798         generated.
38799         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38801 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
38803         [BZ #13884]
38804         [BZ #13914]
38805         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38806         USE_AS_EXP10L.
38807         (EXPL_FINITE): Likewise.
38808         (FLDLOG): Likewise.
38809         (c0): Likewise.
38810         (c1): Likewise.
38811         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38812         Adjust comments for base varying.
38813         (__expl_finite): Change alias to EXPL_FINITE.
38814         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38815         e_expl.S.
38816         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38817         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38818         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38819         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38820         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38821         USE_AS_EXP10L.
38822         (EXPL_FINITE): Likewise.
38823         (FLDLOG): Likewise.
38824         (c0): Likewise.
38825         (c1): Likewise.
38826         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38827         Adjust comments for base varying.
38828         (__expl_finite): Change alias to EXPL_FINITE.
38829         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
38830         tests for bugs.
38831         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38833         [BZ #14064]
38834         * math/libm-test.inc (check_float_internal): Correct ulp
38835         calculation for subnormal expected results.
38837 2012-05-06  Andreas Jaeger  <aj@suse.de>
38839         * Makeconfig (+math-flags): New, set to -frounding-math.
38840         (+cflags): Add +math-flags so that all of glibc gets compiled with
38841         it.
38843         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38845 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
38847         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38848         Disable one test.
38850         [BZ #13787]
38851         [BZ #13922]
38852         [BZ #14036]
38853         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38854         (__ieee754_expl): Allow for and saturate large arguments.
38855         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38856         (u_threshold): Likewise.
38857         (__exp): Call __ieee754_exp before checking for overflow and
38858         underflow.
38859         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38860         (u_threshold): Likewise.
38861         (__expf): Call __ieee754_expf before checking for overflow and
38862         underflow.
38863         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38864         (u_threshold): Likewise.
38865         (__expl): Call __ieee754_expl before checking for overflow and
38866         underflow.
38867         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38868         (__ieee754_expl): Allow for and saturate large arguments.
38869         * math/libm-test.inc (exp_test): Add another test.  Do not allow
38870         missing overflow exception on overflow.
38871         (expm1_test): Do not allow missing overflow exception on overflow.
38873         * sysdeps/i386/fpu/e_expl.c: Move to ...
38874         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
38875         rather than using inline asm.
38876         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38877         * sysdeps/x86_64/fpu/e_expl.S: Copy from
38878         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38880         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38881         (nice): Likewise.
38882         (poll): Likewise.
38883         (signal): Likewise.
38884         (time): Likewise.
38885         (times): Likewise.
38887 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38889         * sysdeps/unix/syscalls.list (adjtime): Add entry from
38890         sysdeps/unix/common/syscalls.list.
38891         (fchmod): Likewise.
38892         (fchown): Likewise.
38893         (ftruncate): Likewise.
38894         (getrusage): Likewise.
38895         (gettimeofday): Likewise.
38896         (setpgid): Likewise.
38897         (setregid): Likewise.
38898         (setreuid): Likewise.
38899         (sigaction): Likewise.
38900         (truncate): Likewise.
38901         (vhangup): Likewise.
38902         * sysdeps/unix/common/syscalls.list: Remove file.
38903         * sysdeps/unix/bsd/Implies: Don't include unix/common.
38904         * sysdeps/unix/sysv/linux/Implies: Likewise.
38906 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
38908         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38910         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38911         Moved to ...
38912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38913         Here.
38914         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38915         to ...
38916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38917         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38918         to ...
38919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38920         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38921         to ...
38922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38923         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38924         to ...
38925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38926         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38927         to ...
38928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38929         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38930         to ...
38931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38932         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38933         to ...
38934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38935         Here.
38936         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38937         to ...
38938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38939         Here.
38940         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38941         to ...
38942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38943         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38944         Moved to ...
38945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38946         Here.
38947         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38948         to ...
38949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38951 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38953         * sysdeps/unix/common/bits/dirent.h: Remove file.
38954         * sysdeps/unix/common/bits/fcntl.h: Likewise.
38956         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38957         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38958         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38959         * sysdeps/unix/bsd/isatty.c: Likewise.
38960         * sysdeps/unix/bsd/tcdrain.c: Likewise.
38961         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38962         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38964 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38966         [BZ #13563]
38967         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38968         long double comparison inaccuracies.
38969         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38972 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
38974         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38975         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38977 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38979         [BZ #14049]
38980         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38981         nonzero digits before rounding a hex value.
38982         * stdlib/tst-strtod.c (tests): Add another test.
38984 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38986         * sysdeps/s390/fpu/libm-test-ulps: Update.
38988 2012-05-03  Andreas Jaeger  <aj@suse.de>
38990         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38991         does not get optimized out.
38992         (malloc_opt_barrier): New.
38994 2012-05-03  Andreas Jaeger  <aj@suse.de>
38995             Roland McGrath  <roland@hack.frob.com>
38997         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38998         intermediate file deletion.
38999         (generated): Add .symlist files.
39001 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
39003         [BZ #13775]
39004         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39005         Redirect under this condition.
39006         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39007         [__USE_GNU] (__dprintf_chk): Not under this condition.
39008         [__USE_GNU] (__vdprintf_chk): Likewise.
39009         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39010         under this condition.
39011         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39012         [__USE_XOPEN2K8] (dprintf): Define under this condition.
39013         [__USE_XOPEN2K8] (vdprintf): Likewise.
39014         [__USE_GNU] (__dprintf_chk): Not under this condition.
39015         [__USE_GNU] (__vdprintf_chk): Likewise.
39016         [__USE_GNU] (dprintf): Likewise.
39017         [__USE_GNU] (vdprintf): Likewise.
39019 2012-05-03  Roland McGrath  <roland@hack.frob.com>
39021         * elf/Makefile (common-generated): Set this instead of generated for
39022         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
39023         $(all-built-dso)-derived lists.
39025 2012-05-03  Andreas Jaeger  <aj@suse.de>
39027         * sysdeps/i386/fpu/libm-test-ulps: Update.
39029         * FAQ: Removed.
39030         * FAQ.in: Likewise.
39031         * scripts/gen-FAQ.pl: Likewise.
39032         * manual/install.texi (Installation): Point to online location of
39033         FAQ.
39034         * Makefile (files-for-dist): Remove FAQ.
39035         (FAQ): Remove.
39037 2012-05-02  Allan McRae  <allan@archlinux.org>
39039         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39040         (LDFLAGS-reldepmod5.so): Likewise.
39041         (LDFLAGS-reldep6mod1.so): Likewise.
39042         (LDFLAGS-reldep6mod4.so): Likewise.
39043         (LDFLAGS-reldep8mod3.so): Likewise.
39044         (LDFLAGS-unload4mod1.so): Likewise.
39045         (LDFLAGS-unload4mod2.so): Likewise.
39046         (LDFLAGS-tst-initorder): Likewise.
39047         (LDFLAGS-tst-initordera2.so): Likewise.
39048         (LDFLAGS-tst-initordera3.so): Likewise.
39049         (LDFLAGS-tst-initordera4.so): Likewise.
39050         (LDFLAGS-tst-initorderb2.so): Likewise.
39051         (LDFLAGS-noload): Likewise.
39052         (LDFLAGS-next): Likewise.
39053         (LDFLAGS-order2mod1.so): Likewise.
39054         (LDFLAGS-order2mod2.so): Likewise.
39055         (LDFLAGS-tst-initorder2): Likewise.
39056         (LDFLAGS-tst-initorder2a.so): Likewise.
39057         (LDFLAGS-tst-initorder2b.so): Likewise.
39058         (LDFLAGS-tst-initorder2c.so): Likewise.
39059         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39061 2012-05-02  David S. Miller  <davem@davemloft.net>
39063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39065 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39067         [BZ #14055]
39068         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39070 2012-05-02  Andreas Jaeger  <aj@suse.de>
39072         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39073         since we manipulate rounding mode.
39074         (CPPFLAGS-test-idouble.c): Likewise.
39075         (CPPFLAGS-test-ifloat.c): Likewise.
39076         (CFLAGS-test-ldouble.c): Likewise.
39077         (CFLAGS-test-double.c): Likewise.
39078         (CFLAGS-test-float.c): Likewise.
39079         (CFLAGS-test-misc.c): Likewise.
39080         (CFLAGS-test-test-fenv.c): Likewise.
39082 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39084         [BZ #2550]
39085         [BZ #2570]
39086         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39087         comparisons to determine direction to adjust input.
39089 2012-05-01  Roland McGrath  <roland@hack.frob.com>
39091         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39092         output to the target.
39094         * scripts/localplt.awk: New file.
39095         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39096         (check-localplt-CFLAGS): Variable removed.
39097         ($(all-built-dso:=.jmprel)): New static pattern rule.
39098         (generated): Add those targets.
39099         (localplt-built-dso): New variable.
39100         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39102         * elf/check-localplt.c: File removed.
39104         * scripts/check-execstack.awk: New file.
39105         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39106         (check-execstack-CFLAGS): Variable removed.
39107         ($(objpfx)check-execstack.h): Target removed.
39108         ($(objpfx)execstack-default): New target.
39109         (generated): Add that instead of check-execstack.h.
39110         ($(all-built-dso:=.phdr)): New static pattern rule.
39111         (generated): Add those targets.
39112         * elf/check-execstack.c: File removed.
39114         * scripts/check-textrel.awk: New file.
39115         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39116         (check-textrel-CFLAGS): Variable removed.
39117         (all-built-dso): Use := to define.o
39118         ($(all-built-dso:=.dyn)): New static pattern rule.
39119         (generated): Add those targets.
39120         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39121         * config.make.in (READELF): New substituted variable.
39122         * elf/check-textrel.c: File removed.
39124 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39126         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39127         allow.
39128         * conform/data/ctype.h-data [C99-based standards] (isblank):
39129         Expect function.
39130         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39131         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39132         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39133         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39134         Specify type.  Require positive value.
39135         (EILSEQ): Likewise.
39136         (ERANGE): Likewise.
39137         [ISO || POSIX] (EILSEQ): Do not expect.
39138         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39139         Specify type.  Require positive value.
39140         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39141         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39142         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39143         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39144         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39145         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39146         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39147         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39148         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39149         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39150         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39151         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39152         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39153         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39154         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39155         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39156         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39157         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39158         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39159         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39160         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39161         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39162         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39163         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39164         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39165         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39166         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39167         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39168         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39169         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39170         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39171         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39172         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39173         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39174         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39175         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39176         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39177         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39178         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39179         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39180         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39181         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39182         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39183         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39184         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39185         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39186         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39187         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39188         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39189         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39190         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39191         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39192         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39193         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39194         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39195         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39196         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39197         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39198         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39199         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39200         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39201         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39202         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39203         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39204         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39205         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39206         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39207         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39208         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39209         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39210         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39211         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39212         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39213         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39214         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39215         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39216         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39217         Require >= 2.
39218         (FLT_ROUNDS): Expect as macro, not constant.
39219         (FLT_MANT_DIG): Use macro-int-constant.
39220         (DBL_MANT_DIG): Likewise.
39221         (LDBL_MANT_DIG): Likewise.
39222         (FLT_DIG): Likewise.
39223         (DBL_DIG): Likewise.
39224         (LDBL_DIG): Likewise.
39225         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39226         (DBL_MIN_EXP): Likewise.
39227         (LDBL_MIN_EXP): Likewise.
39228         (FLT_MAX_EXP): Use macro-int-constant.
39229         (DBL_MAX_EXP): Likewise.
39230         (LDBL_MAX_EXP): Likewise.
39231         (FLT_MAX_10_EXP): Likewise.
39232         (DBL_MAX_10_EXP): Likewise.
39233         (LDBL_MAX_10_EXP): Likewise.
39234         (FLT_MAX): Use macro-constant.
39235         (DBL_MAX): Likewise.
39236         (LDBL_MAX): Likewise.
39237         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39238         (DBL_EPSILON): Likewise.
39239         (LDBL_EPSILON): Likewise.
39240         (FLT_MIN): Likewise.
39241         (DBL_MIN): Likewise.
39242         (LDBL_MIN): Likewise.
39243         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39244         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39245         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39246         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39247         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39248         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39249         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39250         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39251         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39252         [ISO11] (FLT_TRUE_MIN): Likewise.
39253         [ISO11] (LDBL_TRUE_MIN): Likewise.
39254         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39255         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39256         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39257         (SCHAR_MAX): Likewise.
39258         (UCHAR_MAX): Likewise.
39259         (CHAR_MIN): Likewise.
39260         (CHAR_MAX): Likewise.
39261         (MB_LEN_MAX): Use macro-int-constant.
39262         (SHRT_MIN): Use macro-int-constant.  Specify type.
39263         (SHRT_MAX): Likewise.
39264         (USHRT_MAX): Likewise.
39265         (INT_MAX): Likewise.
39266         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39267         bound negative.
39268         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39269         bound with "U".
39270         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39271         bound with "L".
39272         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39273         bound negative.  Suffix upper bound with "L".
39274         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39275         bound with "UL".
39276         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39277         Specify type.
39278         [C99-based standards] (LLONG_MAX): Likewise.
39279         [C99-based standards] (ULLONG_MAX): Likewise.
39280         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39281         == 0.
39282         [ISO11] (max_align_t): Require type.
39283         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39285         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39286         from $CFLAGS, without defining away __attribute__ calls.
39287         (checknamespace): Use $CFLAGS_namespace.
39289         * conform/conformtest.pl (@keywords): Only include C99 keywords
39290         for standards based on C99 or C11.
39292         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39293         Disable tests.
39294         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39295         UNIX98]: Likewise.
39297         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39298         usability of symbols in #if.
39300         * conform/conformtest.pl: If macro or constant types start
39301         "promoted:", expect the symbol to be of the following type
39302         promoted by the integer promotions.
39304         * conform/conformtest.pl: Parse all "constant" and "macro" lines
39305         in one place.  Also handle "macro-constant".
39307         * conform/conformtest.pl: Only accept expected macro values with
39308         "==".  Parse all "macro" lines in one place.
39309         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39311         * conform/conformtest.pl: Handle braced types on "constant" lines
39312         instead of handling "typed-constant".
39313         * conform/data/signal.h-data: Use "constant" instead of
39314         "typed-constant".
39316         * conform/conformtest.pl: Handle "optional-" at start of lines in
39317         one place rather than duplicating several cases.  Handle each
39318         format of "macro" line with initial "optional-".
39320         * conform/conformtest.pl: Only accept expected constant or
39321         optional-constant values with "==".  Parse all "constant" lines in
39322         one place.  Parse all "optional-constant" lines in one place.
39323         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39324         * conform/data/fmtmsg.h-data: Likewise.
39325         * conform/data/netinet/in.h-data: Likewise.
39326         * conform/data/tar.h-data: Likewise.
39327         * conform/data/limits.h-data: Use "==" form on "constant" and
39328         "optional-constant" lines.
39330         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39331         Use -std=c99 for XOPEN2K.
39332         (@knownproblems): Remove.
39333         (newtoken): Don't check %isknown.
39335         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39336         Do not expect macro.
39337         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39338         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39339         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39340         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39341         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39342         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39343         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39344         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39345         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39346         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39347         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39348         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39349         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39350         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39351         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39352         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39353         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39354         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39355         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39356         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39357         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39358         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39359         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39360         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39361         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39362         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39363         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39364         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39365         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39366         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39367         [XPG3] (acosh): Likewise.
39368         [XPG3] (asinh): Likewise.
39369         [XPG3] (atanh): Likewise.
39370         [XPG3] (cbrt): Likewise.
39371         [XPG3] (expm1): Likewise.
39372         [XPG3] (ilogb): Likewise.
39373         [XPG3] (log1p): Likewise.
39374         [XPG3] (logb): Likewise.
39375         [XPG3] (nextafter): Likewise.
39376         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39377         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39378         [XPG3] (remainder): Likewise.
39379         [XPG3] (rint): Likewise.
39380         [XPG3 || XPG4 || UNIX98] (round): Likewise.
39381         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39382         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39383         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39384         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39385         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39386         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39387         [UNIX98 || XOPEN2K] (scalb): Expect.
39388         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39389         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39390         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39391         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39392         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39393         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39394         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39395         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39396         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39397         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39398         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39399         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39400         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39401         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39402         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39403         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39404         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39405         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39406         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39407         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39408         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39409         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39410         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39411         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39412         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39413         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39414         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39415         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39416         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39417         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39418         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39419         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39420         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39421         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39422         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39423         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39424         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39425         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39426         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39427         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39428         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39429         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39430         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39431         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39432         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39433         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39434         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39435         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39436         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39437         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39438         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39439         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39440         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39441         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39442         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39443         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39444         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39445         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39446         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39447         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39448         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39449         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39450         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39451         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39452         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39453         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39454         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39455         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39456         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39457         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39458         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39459         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39460         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39461         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39462         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39463         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39464         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39465         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39466         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39467         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39468         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39469         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39470         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39471         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39472         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39473         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39474         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39475         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39476         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39477         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39478         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39479         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39480         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39481         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39482         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39483         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39484         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39485         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39486         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39487         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39488         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39489         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39490         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39491         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39492         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39493         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39494         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39495         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39496         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39497         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39498         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39499         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39500         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39501         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39502         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39503         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39504         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39505         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39506         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39507         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39508         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39509         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39510         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39511         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39512         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39513         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39514         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39515         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39516         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39517         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39518         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39519         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39520         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39521         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39522         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39523         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39524         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39526         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39527         _XOPEN_SOURCE_EXTENDED for XPG4.
39529         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39531         * Makeconfig (localtime): Remove variable.
39532         (inst_localtime-file): Likewise.
39534 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39537         Update.
39538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39539         Update.
39540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39541         Update.
39542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39543         Update.
39544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39545         Update.
39546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39547         Update.
39548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39549         Update.
39550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39551         Update.
39552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39553         Update.
39555 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39557         [BZ #2550]
39558         [BZ #2570]
39559         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39560         comparisons to determine direction to adjust input.
39561         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39562         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39563         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39564         Likewise.
39565         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39566         Likewise.
39567         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39568         Likewise.
39569         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39570         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39571         Likewise.
39572         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39573         Likewise.
39574         * math/libm-test.inc (nexttoward_test): Add more tests.
39576 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39578         [BZ #14040]
39579         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39580         in version GLIBC_2.1, not GLIBC_2.0.
39581         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39582         Likewise.
39584 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
39586         [BZ #13942]
39587         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39588         (1 - x) * (1 + x).
39589         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39590         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39591         * math/libm-test.inc (acos_test): Add more tests.
39592         (asin_test): Likewise.
39593         * sysdeps/i386/fpu/libm-test-ulps: Update.
39594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39596         [BZ #14034]
39597         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39598         of square root.
39599         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39600         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39601         * math/libm-test.inc (acos_test_tonearest): New function.
39602         (acos_test_towardzero): Likewise.
39603         (acos_test_downward): Likewise.
39604         (acos_test_upward): Likewise.
39605         (asin_test_tonearest): Likewise.
39606         (asin_test_towardzero): Likewise.
39607         (asin_test_downward): Likewise.
39608         (asin_test_upward): Likewise.
39609         (main): Call the new functions.
39610         * sysdeps/i386/fpu/libm-test-ulps: Update.
39611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39613         [BZ #13884]
39614         [BZ #13924]
39615         * math/e_exp10.c: Include <float.h>.
39616         (__ieee754_exp10): Handle underflow here rather than multiplying
39617         large negative argument by M_LN10.
39618         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39619         of __ieee754_expf.
39620         * math/e_exp10l.c: Include <float.h>.
39621         (__ieee754_exp10l): Handle underflow here rather than multiplying
39622         large negative argument by M_LN10l.
39623         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
39624         spurious overflow exception on underflow.
39626 2012-04-29  Marek Polacek  <polacek@redhat.com>
39628         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39629         (__fortify_function): New macro.
39630         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39631         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39632         __extern_always_inline.
39633         * libio/bits/stdio2.h: Likewise.
39634         * libio/bits/stdio.h: Likewise.
39635         * string/string.h: Likewise.
39636         * string/bits/string3.h: Likewise.
39637         * include/stdio.h: Likewise.
39638         * stdlib/bits/stdlib.h: Likewise.
39639         * stdlib/stdlib.h: Likewise.
39640         * rt/bits/mqueue2.h: Likewise.
39641         * rt/mqueue.h: Likewise.
39642         * posix/bits/unistd.h: Likewise.
39643         * posix/unistd.h: Likewise.
39644         * io/bits/poll2.h: Likewise.
39645         * io/bits/fcntl2.h: Likewise.
39646         * io/fcntl.h: Likewise.
39647         * io/sys/poll.h: Likewise.
39648         * misc/bits/syslog.h: Likewise.
39649         * misc/bits/syslog-ldbl.h: Likewise.
39650         * misc/sys/syslog.h: Likewise.
39651         * socket/bits/socket2.h: Likewise.
39652         * socket/sys/socket.h: Likewise.
39653         * debug/tst-chk1.c: Likewise.
39654         * wcsmbs/bits/wchar2.h: Likewise.
39655         * wcsmbs/bits/wchar-ldbl.h: Likewise.
39656         * wcsmbs/wchar.h: Likewise.
39658 2012-04-29  Andreas Jaeger  <aj@suse.de>
39660         * Makerules (tests): Remove enable-check-abi protection.
39661         (check-abi-warn): Remove.
39662         (check-abi-%): Remove check-abi-warn usage.
39664         * configure.in: Remove check-abi configure option.
39665         * configure: Regenerated.
39666         * config.make.in (enable-check-abi): Remove.
39668 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
39670         [BZ #14033]
39671         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39672         double functions to double *_finite functions.
39674         [BZ #13941]
39675         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39676         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39677         LDBL_MIN_EXP.
39678         * stdio-common/Makefile (tests): Add tst-sprintf3.
39679         * stdio-common/tst-sprintf3.c: New file.
39681         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39682         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39684 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39686         * conform/conformtest.pl: Remove duplicate typed-constant
39687         handling.
39689 2012-04-28  David S. Miller  <davem@davemloft.net>
39691         * Makerules (%.abilist): Add vpath on sysdep_dirs.
39692         (check-abi-%): Remove AWK script prerequisite and explicit
39693         abilist directory.
39694         (check-abi): Rewrite to just diff the symlist with the abilist.
39695         (config-tls, config-abi-config): Delete, no longer used.
39696         (update-abi-%): Remove AWK script and explicit abilist directory.
39697         (update-abi): Rewrite to simply compare and conditionally copy the
39698         symlist and the sysdep abilist file.  Remove update-abi-config
39699         checks.
39700         * abilist/ld.abilist: Remove.
39701         * abilist/libBrokenLocale.abilist: Remove.
39702         * abilist/libanl.abilist: Remove.
39703         * abilist/libcrypt.abilist: Remove.
39704         * abilist/libdl.abilist: Remove.
39705         * abilist/librt.abilist: Remove.
39706         * abilist/libthread_db.abilist: Remove.
39707         * abilist/libutil.abilist: Remove.
39708         * scripts/extract-abilist.awk: Remove.
39709         * scripts/merge-abilist.awk: Remove.
39710         * sysdeps/generic/libcidn.abilist: New file.
39711         * sysdeps/generic/libnss_compat.abilist: New file.
39712         * sysdeps/generic/libnss_db.abilist: New file.
39713         * sysdeps/generic/libnss_dns.abilist: New file.
39714         * sysdeps/generic/libnss_files.abilist: New file.
39715         * sysdeps/generic/libnss_hesiod.abilist: New file.
39716         * sysdeps/generic/libnss_nis.abilist: New file.
39717         * sysdeps/generic/libnss_nisplus.abilist: New file.
39718         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39719         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39720         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39721         file.
39722         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39723         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39724         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39725         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39726         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39727         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39728         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39729         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39730         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39731         file.
39732         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39733         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39734         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39735         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39736         file.
39737         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39738         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39739         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39740         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39741         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39742         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39743         file.
39744         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39745         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39746         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39747         file.
39748         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39750         New file.
39751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39752         New file.
39753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39754         New file.
39755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39756         New file.
39757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39758         New file.
39759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39760         New file.
39761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39762         New file.
39763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39764         New file.
39765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39766         New file.
39767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39768         New file.
39769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39770         New file.
39771         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39772         New file.
39773         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39774         New file.
39775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39776         file.
39777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39778         New file.
39779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39780         New file.
39781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39782         file.
39783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39784         New file.
39785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39786         New file.
39787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39788         file.
39789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39790         New file.
39791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39792         New file.
39793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39794         New file.
39795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39796         New file.
39797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39798         New file.
39799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39800         New file.
39801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39803         file.
39804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39805         New file.
39806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39807         file.
39808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39809         file.
39810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39811         file.
39812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39813         file.
39814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39815         file.
39816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39817         New file.
39818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39819         file.
39820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39821         file.
39822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39823         New file.
39824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39825         file.
39826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39828         file.
39829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39830         New file.
39831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39832         file.
39833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39834         file.
39835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39836         file.
39837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39838         file.
39839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39840         file.
39841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39842         New file.
39843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39844         file.
39845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39846         file.
39847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39848         New file.
39849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39850         file.
39851         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39852         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39853         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39854         file.
39855         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39856         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39857         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39858         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39859         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39860         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39861         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39862         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39863         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39864         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39867         file.
39868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39869         New file.
39870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39871         file.
39872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39873         file.
39874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39875         file.
39876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39877         file.
39878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39879         file.
39880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39881         New file.
39882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39883         New file.
39884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39885         file.
39886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39887         New file.
39888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39889         file.
39890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39892         file.
39893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39894         New file.
39895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39896         file.
39897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39898         file.
39899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39900         file.
39901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39902         file.
39903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39904         file.
39905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39906         New file.
39907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39908         New file.
39909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39910         file.
39911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39912         New file.
39913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39914         file.
39916 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39918         * conform/conformtest.pl: Fix typo in handling typed-constant from
39919         allow-header.
39921 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39923         * README: Cut down references to pre-2.6 Linux kernels and
39924         Linuxthreads.  Update lists of configurations in libc and ports
39925         and sort alphabetically.  Say "or newer" with Linux kernel version
39926         requirements.
39928         * config.h.in [IS_IN_build]: Allow compiling without optimization.
39930 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39932         [BZ #887]
39933         * math/libm-test.inc (logb_test_downward): New test to expose
39934         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39935         rounding mode.
39937 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39939         [BZ #14027]
39940         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39941         to be done.
39942         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39943         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39945 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
39947         * sysdeps/unix/i386/brk.S: Remove file.
39948         * sysdeps/unix/i386/dl-brk.S: Likewise.
39949         * sysdeps/unix/i386/pipe.S: Likewise.
39950         * sysdeps/unix/i386/sigreturn.S: Likewise.
39951         * sysdeps/unix/i386/syscall.S: Likewise.
39952         * sysdeps/unix/i386/vfork.S: Likewise.
39953         * sysdeps/unix/i386/wait.S: Likewise.
39955         * sysdeps/unix/common/tcsendbrk.c: Move to ...
39956         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39958         * configure.in (arm*-none*): Do not allow without
39959         --enable-hacker-mode.
39960         (netbsd*): Remove case setting base_os.
39961         (386bsd*): Likewise.
39962         (freebsd*): Likewise.
39963         (bsdi*): Likewise.
39964         (osf*): Likewise.
39965         (sunos*): Likewise.
39966         (ultrix*): Likewise.
39967         (newsos*): Likewise.
39968         (dynix*): Likewise.
39969         (*bsd*): Likewise.
39970         (sysv*): Likewise.
39971         (isc*): Likewise.
39972         (esix*): Likewise.
39973         (sco*): Likewise.
39974         (minix*): Likewise.
39975         (irix4*): Likewise.
39976         (irix6*): Likewise.
39977         (solaris[2-9]*): Likewise.
39978         (none): Likewise.
39979         * configure: Regenerated.
39981 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39983         [BZ #11521]
39984         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39985         overflow or cancellation in calculating denominator.
39986         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39987         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39988         down expression to avoid unexpected rounding in newer GCCs.
39989         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39991 2012-04-26  David S. Miller  <davem@davemloft.net>
39993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39994         long-double compat symbols.
39995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40009 2012-04-25  David S. Miller  <davem@davemloft.net>
40011         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40012         HWCAP_* values only after the memory barriers have been defined.
40013         (atomic_full_barrier): Define.
40014         (atomic_read_barrier): Define.
40015         (atomic_write_barrier): Define.
40017 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40019         * shlib-versions: Add libgcc_s version information.
40020         * sysdeps/generic/libgcc_s.h: Remove.
40021         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40022         libgcc_s.h.
40023         * sysdeps/gnu/unwind-resume.c: Likewise.
40024         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40026 2012-04-25  David S. Miller  <davem@davemloft.net>
40028         * sysdeps/unix/sparc/brk.S: Delete.
40029         * sysdeps/unix/sparc/dl-brk.S: Delete.
40030         * sysdeps/unix/sparc/pipe.S: Delete.
40031         * sysdeps/unix/sparc/sysdep.S: Delete.
40032         * sysdeps/unix/sparc/sysdep.h: Delete.
40033         * sysdeps/unix/sparc/vfork.S: Delete.
40034         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40035         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40036         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40037         (ret_ERRVAL, r0, r1, MOVE): Define.
40038         (JUMPTARGET): Remove.
40039         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40040         sysdeps/unix/sparc/sysdep.h
40041         (ENTRY, END): Remove.
40042         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40044 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
40046         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40047         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40048         -DIS_IN_build.
40050         * timezone/README: Update upstream location and email address for
40051         tzcode and tzdata.
40052         * timezone/zdump.c: Update from tzcode 2012b.
40053         * timezone/zic.c: Likewise.
40055         * configure.in (libc_cv_as_needed): Remove test.
40056         * configure: Regenerated.
40057         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40058         conditional definition.
40059         [$(have-as-needed) != yes] (no-as-needed): Likewise.
40060         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40061         * config.make.in (have-as-needed): Remove variable.
40063 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40064             Paul Pluzhnikov  <ppluzhnikov@google.com>
40066         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40067         strings correctly.
40069 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
40071         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40072         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40073         * sysdeps/sh/strlen.S: Likewise.
40075 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40077         * sysdeps/unix/fork.S: Remove file.
40078         * sysdeps/unix/i386/fork.S: Likewise.
40079         * sysdeps/unix/sparc/fork.S: Likewise.
40081         * sysdeps/unix/system.c: Remove file.
40082         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40084         * sysdeps/unix/getegid.S: Remove file.
40085         * sysdeps/unix/geteuid.S: Likewise.
40087 2012-04-24  Roland McGrath  <roland@hack.frob.com>
40089         * scripts/check-localplt.awk: New file.
40090         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40091         of diff.
40092         * scripts/data/localplt-generic.data: Add a comment.
40094         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40095         NODE when __dir_mkfile failed.
40096         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40097         Reported by Ludovic Courtès <ludo@gnu.org>.
40099 2012-04-24  Andreas Jaeger  <aj@suse.de>
40101         * Makerules (common-clean): Also remove gen-as-const-headers
40102         files.
40104 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40106         * Makerules (native-compile): Do not change working directory for
40107         build.  Use $(OUTPUT_OPTION) in command.
40108         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40110 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40112         [BZ #13886]
40113         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40114         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40115         * math/libm-test.inc (floor_test): Add more tests.
40116         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40118 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40120         * sysdeps/unix/getdents.c: Remove file.
40121         * sysdeps/unix/sysv/getdents.c: Likewise.
40122         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40124         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40125         sysdeps/unix/mman/syscalls.list.
40126         (mmap): Likewise.
40127         (mprotect): Likewise.
40128         (msync): Likewise.
40129         (munmap): Likewise.
40130         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40131         * sysdeps/unix/mman/syscalls.list: Remove.
40132         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40134         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40135         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40136         * configure: Regenerated.
40137         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40138         $(libgcc_s_suffix).
40139         * config.make.in (libgcc_s_suffix): Remove variable.
40141 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40143         * sysdeps/unix/sysv/gethostname.c: Move to ...
40144         * sysdeps/posix/gethostname.c: ... here.
40146         * sysdeps/unix/execve.S: Remove file.
40148         * sysdeps/unix/_exit.S: Remove file.
40150 2012-04-23  Andreas Jaeger  <aj@suse.de>
40152         [BZ #13739]
40153         * manual/Makefile: Remove make dist support, there's no
40154         need for a stand-alone documentation tar ball.
40155         (TEXI2DVI): Define always, it's not in Makeconfig.
40156         (dist): Removed.
40157         (tar-it): Removed.
40158         (edition): Removed.
40159         (glibc-doc-$(edition).tar): Removed
40160         (%.Z): Removed.
40161         (%.gz): Removed.
40162         (%.uu): Removed.
40163         (ETAGS): Remove, it's in Makeconfig.
40164         (move-if-change): Remove, it's in Makeconfig.
40166 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40168         [BZ #13970]
40169         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40170         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40171         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40172         (strtod_l, strtof_l, strtold_l): Remove __wur.
40173         It is not necessarily an error to ignore strtol's return value.
40174         One can reliably look at the stored endptr to decide whether
40175         the number had valid syntax.
40177 2012-04-21  Andreas Jaeger  <aj@suse.de>
40179         [BZ #13739]
40180         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40182 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40184         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40185         * sysdeps/unix/sysv/Versions: Remove file.
40187 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40189         [BZ #13927]
40190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40192 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40194         [BZ #7064]
40195         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40196         version from __vm86.
40198 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40200         * sysdeps/unix/common/lxstat.c: Remove file.
40201         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40203         * sysdeps/unix/sysv/Makefile: Remove file.
40205         * sysdeps/unix/sysv/direct.h: Remove file.
40207         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40208         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40209         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40210         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40211         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40212         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40213         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40215         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40217         * sysdeps/unix/xmknod.c: Remove file.
40218         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40220         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40222         * sysdeps/unix/sysv/i386/time.S: Remove file.
40224         * sysdeps/unix/fxstat.c: Remove file.
40225         * sysdeps/unix/xstat.c: Likewise.
40226         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40228         * sysdeps/unix/sysv/sigaction.c: Remove file.
40230         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40231         (sysdep_headers): Remove variable.
40232         [termio.h not in sysdep_headers] (generated): Likewise.
40233         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40234         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40235         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40236         * sysdeps/unix/sysv/tcflow.c: Likewise.
40237         * sysdeps/unix/sysv/tcflush.c: Likewise.
40238         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40239         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40240         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40241         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40242         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40244         * sysdeps/unix/siglist.c: Remove file.
40246         * sysdeps/unix/getppid.S: Remove file.
40248         * sysdeps/unix/mkdir.c: Remove file.
40249         * sysdeps/unix/rmdir.c: Likewise.
40251 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40253         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40254         ERR_MAX value.
40255         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40256         errlist-compat value.
40258 2012-04-18  David S. Miller  <davem@davemloft.net>
40260         * sysdeps/generic/memcopy.h (reg_char): Delete.
40261         * debug/strcat_chk.c: Use char, not reg_char.
40262         * debug/strcpy_chk.c: Likewise.
40263         * debug/strncat_chk.c: Likewise.
40264         * debug/strncpy_chk.c: Likewise.
40265         * string/memchr.c: Likewise.
40266         * string/memrchr.c: Likewise.
40267         * string/rawmemchr.c: Likewise.
40268         * string/strcat.c: Likewise.
40269         * string/strchr.c: Likewise.
40270         * string/strchrnul.c: Likewise.
40271         * string/strcmp.c: Likewise.
40272         * string/strcpy.c: Likewise.
40273         * string/strncat.c: Likewise.
40274         * string/strncmp.c: Likewise.
40275         * string/strncpy.c: Likewise.
40277 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40279         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40280         __builtin_memcopy is called when src and dest ranges are known to not
40281         overlap.
40283 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40285         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40286         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40287         fwd_align_merge macro call.
40288         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40289         bwd_align_merge macro call.
40290         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40292 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40294         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40295         bwd_align_merge macros.
40296         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40297         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40298         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40300 2012-04-18  David S. Miller  <davem@davemloft.net>
40302         * sysdeps/sparc/sparc64/memcopy.h: Delete.
40304 2012-04-18  Andreas Jaeger  <aj@suse.de>
40306         [BZ# 6794]
40307         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40308         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40309         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40311         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40312         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40313         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40315         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40316         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40317         Adjust for changed ldbl-128 files.
40319         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40320         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40321         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40323 2012-04-17  David S. Miller  <davem@davemloft.net>
40325         * sysdeps/sparc/sparc32/memcopy.h: Delete.
40327 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
40329         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40330         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40331         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40332         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40333         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40334         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40336 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40338         [BZ #6794]
40339         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40340         * math/libm-test.inc: Add ilogb errno and exception tests.
40341         * math/w_ilogb.c: New file: ilogb wrapper.
40342         * math/w_ilogbf.c: New file: ilogbf wrapper.
40343         * math/w_ilogbl.c: New file: ilogbl wrapper.
40344         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40345         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40346         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40347         exception being thrown with 0.0 as argument.
40348         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40349         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40350         exception being thrown with 0.0 as argument.
40351         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40352         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40353         exception being thrown with 0.0 as argument.
40354         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40355         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40356         exception being thrown with 0.0 as argument.
40357         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40358         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40359         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40360         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40361         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40362         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40363         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40364         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40365         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40367 2012-04-17  Petr Baudis  <pasky@ucw.cz>
40369         * include/sys/uio.h: Change __vector to __iovec to avoid clash
40370         with altivec.
40372 2012-04-16  Marek Polacek  <polacek@redhat.com>
40374         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40376 2012-04-16  Marek Polacek  <polacek@redhat.com>
40378         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40379         operands of fdivp instruction.
40381 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40383         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40384         * elf/tst-auditmod3b.c: Likewise.
40385         * elf/tst-auditmod4b.c: Likewise.
40386         * elf/tst-auditmod5b.c: Likewise.
40387         * elf/tst-auditmod6b.c: Likewise.
40388         * elf/tst-auditmod6c.c: Likewise.
40389         * elf/tst-auditmod7b.c: Likewise.
40390         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40391         * sysdeps/x86_64/preconfigure.in: Likewise.
40392         * sysdeps/x86_64/preconfigure: Regenerated.
40394 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40396         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40397         __ILP32__.
40399 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
40401         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40402         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40404 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
40406         [BZ #13973]
40407         * locale/iso-639.def: Fix gl language name. Spotted by
40408         Yaron Shahrabani.
40410 2012-04-12  Roland McGrath  <roland@hack.frob.com>
40412         [BZ #2074]
40413         * libio/libio.h (__io_write_fn): Update comment.
40415 2012-04-12  Petr Baudis  <pasky@ucw.cz>
40417         [BZ #2074]
40418         * stdio.texi (Hook Functions): The user provided writer function
40419         is not allowed to return -1.
40421 2012-04-11  David S. Miller  <davem@davemloft.net>
40423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40425 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
40427         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40428         Add a leading slash to rtkaio.
40430 2012-04-11  Jim Meyering  <meyering@redhat.com>
40432         [BZ #11959]
40433         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40434         It is not necessarily an error to ignore fwrite's return
40435         value.  One can reliably use ferror to test for errors after
40436         the fact.
40438 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40440         * bits/types.h (__snseconds_t): New type.
40441         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40443         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40445         (__SNSECONDS_T_TYPE): Likewise.
40446         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40447         (__SNSECONDS_T_TYPE): Likewise.
40448         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40449         (__SNSECONDS_T_TYPE): Likewise.
40451 2012-04-10  Andreas Jaeger  <aj@suse.de>
40453         [BZ #2636]
40454         * manual/time.texi (Processor Time): Return type of times is
40455         elapsed real time since an arbitrary point in the past.
40456         (CPU Time): Move CLK_TCK from here...
40457         (Processor Time): ...to here.  Correct description.
40458         * manual/conf.texi (Constants for Sysconf): Correct description of
40459         _SC_CLK_TCK.
40461 2012-04-10  David S. Miller  <davem@davemloft.net>
40463         [BZ #13967]
40464         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40465         where the is a gap between DT_REL(A) and DT_JMPREL.
40467 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40469         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40470         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40471         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40473 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40475         * elf/dl-support.c (_dl_inhibit_cache): New variable.
40476         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40477         (dl_main): Handle --inhibit-cache.
40478         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40479         _dl_inhibit_cache.
40480         * elf/dl-load.c (_dl_map_object): Use it.
40481         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40483 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40485         [BZ #13872]
40486         * sysdeps/i386/fpu/e_powl.S (p78): New object.
40487         (__ieee754_powl): Saturate large exponents rather than testing for
40488         overflow of y*log2(x).
40489         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40490         * math/libm-test.inc (pow_test): Do not permit spurious overflow
40491         exceptions.
40493         [BZ #11521]
40494         * math/s_ctan.c: Include <float.h>.
40495         (__ctan): Avoid internal overflow or cancellation in calculating
40496         denominator.
40497         * math/s_ctanf.c: Likewise.
40498         * math/s_ctanl.c: Likewise.
40499         * math/s_ctanh.c: Likewise.
40500         * math/s_ctanhf.c: Likewise.
40501         * math/s_ctanhl.c: Likewise.
40502         * math/libm-test.inc (ctan_test): Add more tests.
40503         (ctanh_test): Likewise.
40504         * sysdeps/i386/fpu/libm-test-ulps: Update.
40505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40507 2012-04-09  Andreas Jaeger  <aj@suse.de>
40509         [BZ #6894]
40510         * manual/filesys.texi (Directory Entries): Mention that d_namlen
40511         is an optional BSD extension.
40513         [BZ #10254]
40514         * manual/stdio.texi (Opening Streams): Document additional fopen
40515         parameters.
40517 2012-04-09  Roland McGrath  <roland@hack.frob.com>
40519         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40520         %eax without telling the compiler.
40522 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
40524         [BZ # 13963]
40525         * manual/install.texi: Use sourceware.org.
40527 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40529         [BZ #13873]
40530         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40531         (__ieee754_pow): Generate overflow and underflow using huge*huge
40532         and tiny*tiny rather than just returning constant infinity or zero
40533         for large exponents.
40534         * math/libm-test.inc (pow_test): Require overflow exceptions for
40535         applicable cases of large exponents.
40537         [BZ #706]
40538         * sysdeps/i386/fpu/e_pow.S (p10): New object.
40539         (__ieee754_pow): Use iterative multiplication algorithm only for
40540         integer exponents with absolute value below 1024.  Check for odd
40541         integer exponents when using algorithm for real exponents.
40542         * math/libm-test.inc (pow_test): Add more tests.
40543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40545 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
40547         [BZ #13705]
40548         * math/libm-test.inc (exp_test): Do not allow overflow exception
40549         on underflow test.
40551 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
40553         [BZ #13705]
40554         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40555         instead of __kernel_standard_f.
40557 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
40559         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40560         * sysdeps/x86_64/memset_chk.S: Likewise.
40562 2012-04-08  Andreas Jaeger  <aj@suse.de>
40564         [BZ #10153]
40565         * manual/startup.texi (Environment Access): Describe return value
40566         for putenv and setenv.
40568         [BZ #6895]
40569         * manual/filesys.texi (Directory Entries): Add description for
40570         DT_LNK.
40572         [BZ #6890]
40573         * manual/filesys.texi (Directory Entries): Clarify that it's file
40574         system not operating system in the description of DT_UNKNOWN.
40576         [BZ #6578]
40577         * manual/syslog.texi (closelog): Fix reference, it's openlog.
40579 2012-04-08  Stephen Compall  <s11@member.fsf.org>
40581         [BZ #6649]
40582         * manual/llio.texi (Opening and Closing Files): Add cross
40583         reference to explain mode argument.
40585 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
40587         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40588         * sysdeps/x86_64/memset_chk.S: Likewise.
40590 2012-04-07  David S. Miller  <davem@davemloft.net>
40592         * elf/elf.h (R_SPARC_WDISP10): Define.
40593         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40594         R_SPARC_SIZE32.
40595         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40596         R_SPARC_SIZE64 and R_SPARC_H34.
40598 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
40600         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40601         conditions and remove no longer applicable assertion.
40603 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40605         * bits/byteswap.h: Include <features.h>.
40606         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40607         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40609 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40611         * bits/byteswap.h (__bswap_16): Removed.
40612         Include <bits/byteswap-16.h> to get __bswap_16.
40613         * sysdeps/i386/bits/byteswap.h: Likewise.
40614         * sysdeps/s390/bits/byteswap.h: Likewise.
40615         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40616         * bits/byteswap-16.h: New file.
40617         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40618         * sysdeps/s390/bits/byteswap-16.h: Likewise.
40619         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40620         * string/Makefile (headers): Add bits/byteswap-16.h.
40622 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40624         [BZ #13895]
40625         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40626         extra indirection.
40627         * nss/Makefile (tests-static, tests): Add tst-nss-static.
40628         * nss/tst-nss-static.c: New.
40630 2012-04-06  Robert Millan  <rmh@gnu.org>
40632         [BZ #6486]
40633         * manual/llio.texi (File Position Primitive): lseek
40634         refers to WHENCE when it really means OFFSET.
40636 2012-04-06  Andreas Jaeger  <aj@suse.de>
40638         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40639         strncmp declarations.
40641         * abilist/libc.abilist: Add __poll and __ppoll.
40643 2012-04-05  David S. Miller  <davem@davemloft.net>
40645         * scripts/check-local-headers.sh: Accept a host triplet in the
40646         path matched by the exclude regexp.
40648         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40649         definition.
40650         * sysdeps/powerpc/powerpc32/dl-machine.h
40651         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40652         * sysdeps/s390/s390-32/dl-machine.h
40653         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40654         * sysdeps/sparc/sparc32/dl-machine.h
40655         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40656         * sysdeps/sparc/sparc64/dl-machine.h
40657         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40659         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40660         lazy binding.
40661         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40662         undefined symbol errors.
40664         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40665         DT_NEEDED entries.
40667 2012-04-05  Michael Matz  <matz@suse.de>
40669         [BZ #13592]
40670         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40672 2012-04-05  Andreas Jaeger  <aj@suse.de>
40674         [BZ #13908]
40675         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40676         comment.
40678 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40680         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40681         which ROUND is no valid rounding mode.
40683 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40685         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40686         read again.
40687         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40689 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40691         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40692         an exception using FPU order intentionally.
40694 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40696         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40697         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40698         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40699         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40701 2012-04-05  Simon Josefsson  <simon@josefsson.org>
40703         [BZ #12340]
40704         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40705         EINVAL when BUFLEN is too smal.
40707 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40709         [BZ #13553]
40710         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40711         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40713 2012-04-03  Andreas Jaeger  <aj@suse.de>
40715         [BZ #13938]
40716         * manual/setjmp.texi (System V contexts): Fix sentence.
40718         [BZ #13926]
40719         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40720         New macro for this case.
40721         [!__GNUC__] (__bswap_64): New inline function for this case.
40722         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40723         * bits/byteswap.h: Likewise.
40724         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40725         ull, guard with __GLIBC_HAVE_LONG_LONG.
40727         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40728         __GLIBC_HAVE_LONG_LONG.
40730         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40731         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40733 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40735         [BZ #13691]
40736         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40737         inptr and inend, rather than using last_ch.
40739 2012-04-02  David S. Miller  <davem@davemloft.net>
40741         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40742         * stdio-common/printf-parse.h (read_int): Change return type to
40743         'int', return -1 on INT_MAX overflow.
40744         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40745         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
40746         overflows INT_MAX.  Check for overflow of in-format-string precision
40747         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
40748         SIZE_MAX not INT_MAX for integer overflow test.
40749         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40750         skip the construct in the format string but do not record anything.
40751         * stdio-common/bug22.c: Adjust to test both width/prevision
40752         INT_MAX overflow as well as total length INT_MAX overflow.  Check
40753         explicitly for proper errno values.
40755 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
40757         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40758         CHAR_MAX.
40759         * string/test-strcmp.c [! WIDE]: Likewise.
40760         * time/tst-mktime2.c: Likewise for INT_MAX.
40761         * string/test-string.h: #include <sys/param.h> for MIN.
40763         * csu/init-first.c (__libc_init_first): Call __ctype_init.
40764         * sysdeps/i386/init-first.c (init): Likewise.
40765         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40766         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40767         * sysdeps/sh/init-first.c (init): Likewise.
40769 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
40771         * po/ru.po: Update from translation team.
40772         * po/vi.po: Likewise.
40774 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40776         * resolv/nss_dns/dns-host.c: Merge copyright years.
40778 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40780         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40781         Optimize memcpy with prefetch if
40782         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
40783         src, dst pointers have unequal 16 byte alignments.
40785 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40787         [BZ #13928]
40788         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40789         from a CNAME entry and return the minimum ttl for the query.
40790         (gaih_getanswer_slice): Likewise.
40792 2012-03-30  Jeff Law  <law@redhat.com>
40794         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40795         due to long keys.
40796         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40797         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40799         * resolv/nss_dns/dns-host.c: Update copyright year.
40801 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
40803         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40804         requests to save a system call.  Fix check that all bytes are sent.
40806         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40807         comments for sendmmsg.
40809 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40811         [BZ #13691]
40812         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40813         with only 1 character between 0x0041 and 0x01b0.
40814         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40815         * wcsmbs/tst-mbsnrtowcs.c: New file.
40817 2012-03-29  David S. Miller  <davem@davemloft.net>
40819         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40820         small copies by hand.
40822 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40824         [BZ #13761]
40825         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40826         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40827         group memberships.
40829 2012-03-28  David S. Miller  <davem@davemloft.net>
40831         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40832         that branches into memcpy.
40833         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40834         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40836         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40837         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40838         bits.
40839         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40840         implementation too.
40841         * sysdeps/sparc/mempcpy.S: New file.
40843         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40844         the IFUNC routine in the libc case.
40845         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40847         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40848         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40849         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40850         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40851         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40852         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40853         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40854         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40856         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40857         loop to 256 bytes instead of 64 bytes and fix test signedness.
40859         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40860         * sysdeps/sparc/sparc32/Makefile: rather than here...
40861         * sysdeps/sparc/sparc64/Makefile: and here.
40863 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
40865         * malloc/mallocbug.c: Avoid warnings about unused variables.
40867 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40869         [BZ #13760]
40870         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40871         in the right place. Discard and retry query if response is
40872         larger than input buffer size.
40874 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
40876         [BZ #369]
40877         [BZ #2678]
40878         [BZ #3866]
40879         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40880         x for large integer exponent.
40881         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40882         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
40883         sign of result as needed afterwards.
40884         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40885         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40886         result for underflowing pow the same as for overflow.
40887         (__kernel_standard_l): Handle powl overflow and underflow here
40888         rather than calling __kernel_standard.
40889         * math/libm-test.inc (pow_test): Add more tests.
40891         [BZ #3868]
40892         [BZ #13879]
40893         [BZ #13910]
40894         [BZ #13911]
40895         [BZ #13912]
40896         [BZ #13913]
40897         [BZ #13915]
40898         [BZ #13916]
40899         [BZ #13917]
40900         [BZ #13918]
40901         [BZ #13919]
40902         [BZ #13920]
40903         [BZ #13921]
40904         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40905         * sysdeps/ieee754/k_standard.c: Include <float.h>.
40906         (__kernel_standard_l): New function.
40907         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40908         __kernel_standard.
40909         * math/w_acosl.c (__acosl): Likewise.
40910         * math/w_asinl.c (__asinl): Likewise.
40911         * math/w_atan2l.c (__atan2l): Likewise.
40912         * math/w_atanhl.c (__atanhl): Likewise.
40913         * math/w_coshl.c (__coshl): Likewise.
40914         * math/w_exp10l.c (__exp10l): Likewise.
40915         * math/w_exp2l.c (__exp2l): Likewise.
40916         * math/w_fmodl.c (__fmodl): Likewise.
40917         * math/w_hypotl.c (__hypotl): Likewise.
40918         * math/w_j0l.c (__j0l, __y0l): Likewise.
40919         * math/w_j1l.c (__j1l, __y1l): Likewise.
40920         * math/w_jnl.c (__jnl, __ynl): Likewise.
40921         * math/w_lgammal.c (__lgammal): Likewise.
40922         * math/w_log10l.c (__log10l): Likewise.
40923         * math/w_log2l.c (__log2l): Likewise.
40924         * math/w_logl.c (__logl): Likewise.
40925         * math/w_powl.c (__powl): Likewise.
40926         * math/w_remainderl.c (__remainderl): Likewise.
40927         * math/w_scalbl.c (sysv_scalbl): Likewise.
40928         * math/w_sinhl.c (__sinhl): Likewise.
40929         * math/w_sqrtl.c (__sqrtl): Likewise.
40930         * math/w_tgammal.c (__tgammal): Likewise.
40931         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40932         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40933         * math/libm-test.inc (acos_test): Add more tests.
40934         (acosh_test): Likewise.
40935         (asin_test): Likewise.
40936         (atanh_test): Likewise.
40937         (exp_test): Likewise.
40938         (exp10_test): Likewise.
40939         (exp2_test): Likewise.
40940         (expm1_test): Likewise.
40941         (lgamma_test): Likewise.
40942         (log_test): Likewise.
40943         (log10_test): Likewise.
40944         (log1p_test): Likewise.
40945         (log2_test): Likewise.
40946         (pow_test): Do not allow some spurious overflow exceptions.
40947         (sqrt_test): Add more tests.
40948         (tgamma_test): Likewise.
40949         (y0_test): Likewise.
40950         (y1_test): Likewise.
40951         (yn_test): Likewise.
40953 2012-03-27  Anton Blanchard  <anton@samba.org>
40955         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40956         MAP_HUGETLB.
40957         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40958         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40959         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40961 2012-03-27  David S. Miller  <davem@davemloft.net>
40963         * conform/Makefile: Run run-conformtest.sh using $(BASH).
40965         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40966         have-as-vis3 check.
40968 2012-03-27  Andreas Jaeger  <aj@suse.de>
40970         * sysdeps/x86_64/elf/configure.in: Moved to ...
40971         * sysdeps/x86_64/configure.in: ... here.
40972         * sysdeps/x86_64/elf/start.S: Moved to ...
40973         * sysdeps/x86_64/start.S: ... here.
40974         * sysdeps/x86_64/elf/configure: Delete.
40976         * sysdeps/x86_64/configure.in: Merge contents from
40977         sysdeps/i386/configure.in (without i686 check).
40979         * sysdeps/i386/elf/Versions: Merge into ...
40980         * sysdeps/i386/Versions: ... this.
40981         * sysdeps/i386/elf/Versions: Delete file.
40982         * sysdeps/i386/elf/start.S: Moved to ...
40983         * sysdeps/i386/start.S: ...here.
40984         * sysdeps/i386/elf/configure.in: Merge into...
40985         * sysdeps/i386/configure.in: ...here.
40986         * sysdeps/i386/elf/configure.in: Delete file.
40987         * sysdeps/i386/elf/configure: Delete file.
40989         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40990         * debug/backtracesyms.c: ... here.
40991         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40992         * debug/backtracesymsfd.c: ... here.
40993         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40994         * sysdeps/generic/ifunc-sel.h: ... here.
40996         * sysdeps/unix/i386/start.c: Delete file.
40997         * sysdeps/unix/sparc/start.c: Delete file.
40998         * sysdeps/unix/start.c: Delete file.
41000         * sysdeps/sh/elf/configure.in: Moved to ...
41001         * sysdeps/sh/configure.in: ... here.
41002         * sysdeps/sh/elf/start.S: Moved to ...
41003         * sysdeps/sh/start.S: ... here.
41004         * sysdeps/sh/elf/configure: Delete file.
41006         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41007         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41008         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41009         * sysdeps/powerpc/powerpc64/entry.h: ... here.
41010         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41011         * sysdeps/powerpc/powerpc64/start.S: here.
41012         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41013         * sysdeps/powerpc/powerpc64/Makefile: ... this.
41014         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41015         * sysdeps/powerpc/powerpc64/configure.in: ... this.
41016         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41018         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41019         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41020         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41021         * sysdeps/powerpc/powerpc32/start.S: ... here.
41022         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41023         * sysdeps/powerpc/powerpc32/configure.in: ... this.
41024         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41026         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41027         * sysdeps/powerpc/ifunc-sel.h: ... here.
41028         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41029         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41031         * sysdeps/sparc/elf/configure.in: Moved to ...
41032         * sysdeps/sparc/configure.in: ... here.
41033         * sysdeps/sparc/elf/configure: Delete file.
41034         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41035         * sysdeps/sparc/sparc32/start.S: ... here.
41036         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41037         * sysdeps/sparc/sparc64/start.S: ... here.
41038         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41039         * sysdeps/sparc/sparc32/Makefile: ... this.
41040         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41041         * sysdeps/sparc/sparc64/Makefile: ... this.
41043         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41044         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41045         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41046         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41047         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41048         * sysdeps/s390/s390-32/setjmp.S: ... here.
41049         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41050         * sysdeps/s390/s390-32/configure.in: ... here.
41051         * sysdeps/s390/s390-32/elf/configure: Delete file.
41052         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41053         * sysdeps/s390/s390-32/start.S: ... here.
41055         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41056         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41057         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41058         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41059         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41060         * sysdeps/s390/s390-64/setjmp.S: ... here.
41061         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41062         * sysdeps/s390/s390-64/configure.in: ... here
41063         * sysdeps/s390/s390-64/elf/configure: Delete file.
41064         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41065         * sysdeps/s390/s390-64/start.S: ... here.
41066         * sysdeps/s390/s390-64/elf/configure: Delete.
41068         * configure.in: Remove support for elf directories in sysdeps.
41070         * configure: Regenerated.
41071         * sysdeps/i386/configure: Regenerated.
41072         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41073         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41074         * sysdeps/s390/s390-32/configure: Regenerated.
41075         * sysdeps/s390/s390-64/configure: Regenerated.
41076         * sysdeps/sh/configure: Regenerated.
41077         * sysdeps/sparc/configure: Regenerated.
41078         * sysdeps/x86_64/configure: Regenerated.
41080 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
41082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41084         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41085         denormal result into account.
41087 2012-03-25  Roland McGrath  <roland@hack.frob.com>
41089         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41090         Reported by Allan McRae <allan@archlinux.org>.
41092 2012-03-23  Jeff Law  <law@redhat.com>
41094         * nss/getnssent.c (__nss_getent): Fix typo.
41096 2012-03-23  David S. Miller  <davem@davemloft.net>
41098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41100 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41102         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41103         to pad to uint64_t for each field.
41104         (dl_tls_index): Replace unsigned long with uint64_t.
41106 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41107         Paul Pluzhnikov  <ppluzhnikov@google.com>
41109         [BZ #6528]
41110         * grp/Makefile (otherlibs): Don't set it.
41111         * inet/Makefile (otherlibs): Likewise.
41112         * login/Makefile (otherlibs): Likewise.
41113         * nscd/Makefile (otherlibs): Likewise.
41114         * posix/Makefile (otherlibs): Likewise.
41115         * pwd/Makefile (otherlibs): Likewise.
41116         * rt/Makefile (otherlibs): Likewise.
41117         * sunrpc/Makefile (otherlibs): Likewise.
41118         * nss/Makefile (otherlibs): Likewise.
41119         Add libnss_files to routines and static-only-routines.
41120         ($(objpfx)getent): Remove rule.
41121         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41122         static-only-routines.
41124 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41126         [BZ #13892]
41127         * math/s_cexp.c: Include <float.h>.
41128         (__cexp): Handle exp result overflowing not necessarily
41129         overflowing both real and imaginary parts of result.
41130         * math/s_cexpf.c: Likewise.
41131         * math/s_cexpl.c: Likewise.
41132         * math/libm-test.inc (cexp_test): Add more tests.
41133         * sysdeps/i386/fpu/libm-test-ulps: Update.
41134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41136 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41138         * include/link.h (ELFW): New macro.
41139         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41140         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41142 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41144         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41145         with uint64_t.
41147 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41149         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41150         declaration.
41151         (struct La_x32_retval): Likewise.
41153 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41155         * sysdeps/x86_64/preconfigure.in: New file.
41156         * sysdeps/x86_64/preconfigure: New generated file.
41158 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41160         [BZ #13824]
41161         * math/e_exp2l.c: Include <float.h>.
41162         (__ieee754_exp2l): Handle overflow and underflow cases
41163         separately.  Only pass fractional part of argument to
41164         __ieee754_expl.
41165         * math/libm-test.inc (exp2_test): Add more tests.
41167         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41168         negating x to take absolute value.
41169         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41170         Likewise.
41171         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41172         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41173         Likewise.
41174         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41175         computing low part if x was negated.
41176         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41178 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41180         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41181         la_x32_gnu_pltexit.
41182         (pltexit): Cast int_retval to ptrdiff_t.
41183         * elf/tst-auditmod3b.c: Likewise.
41184         * elf/tst-auditmod4b.c: Likewise.
41185         * elf/tst-auditmod5b.c: Likewise.
41186         * elf/tst-auditmod6b.c: Likewise.
41187         * elf/tst-auditmod6c.c: Likewise.
41188         * elf/tst-auditmod7b.c: Likewise.
41190         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41191         and x32_gnu_pltexit.
41193         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41194         __ELF_NATIVE_CLASS.
41195         (La_x32_regs): New macro.
41196         (La_x32_retval): Likewise.
41197         (la_x32_gnu_pltenter): New function prototype.
41198         (la_x32_gnu_pltexit): Likewise.
41200 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41202         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41203         exponent.
41205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41207         * configure.in (libc_cv_cc_nofma): Check for option to disable
41208         generation of FMA instructions.
41209         * configure: Regenerate.
41210         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41211         * sysdeps/ieee754/dbl-64/Makefile: New file.
41212         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41213         Remove brandred-fma4.
41214         (CFLAGS-brandred-fma4.c): Remove.
41215         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41216         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41217         define.
41218         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41219         define.
41221 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41223         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41224         LLONG_MAX != LONG_MAX.
41225         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41226         (_fitoa_word): Likewise.
41227         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41228         LLONG_MAX != LONG_MAX.
41229         * stdio-common/_itowa.h: Include <_itoa.h>.
41230         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41231         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41232         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41233         only if not defined.
41234         (_ITOA_WORD_TYPE): Likewise.
41235         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41236         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41238 2012-03-21  David S. Miller  <davem@davemloft.net>
41240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41242 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41244         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41245         of x86_64 when setting libc_cv_slibdir, libdir and
41246         libc_cv_localedir.
41247         * sysdeps/unix/sysv/linux/configure: Regenerated.
41249 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41251         * manual/lang.texi (Old Varargs): Remove section.
41252         (How Variadic): Update menu.
41253         (va_start): Do not mention varargs.h.
41255 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41256             Joseph Myers  <joseph@codesourcery.com>
41258         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41259         link test.
41260         * configure: Regenerated.
41262 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41264         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41265         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41266         conformtest.pl
41268 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41270         * NOTES: Remove.
41271         * Makefile (files-for-dist): Remove NOTES.
41272         (NOTES): Remove rule.
41273         * README: Don't refer to NOTES.
41274         * manual/creature.texi: Don't include macros.texi.
41275         * manual/intro.texi (creature.texi): Remove comment referring to
41276         NOTES.
41278         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41279         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41280         * configure: Regenerated.
41281         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41282         LIBC_TRY_CC_OPTION.
41283         (libc_cv_as_i686): Likewise.
41284         (libc_cv_cc_avx): Likewise.
41285         (libc_cv_cc_sse2avx): Likewise.
41286         (libc_cv_cc_fma4): Likewise.
41287         (libc_cv_cc_novzeroupper): Likewise.
41288         * sysdeps/i386/configure: Regenerated.
41290         [BZ #13883]
41291         * sysdeps/i386/fpu/s_cexp.S: Remove.
41292         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41293         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41294         * math/libm-test.inc (cexp_test): Add more tests.
41295         * sysdeps/i386/fpu/libm-test-ulps: Update.
41296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41298 2012-03-21  Allan McRae  <allan@archlinux.org>
41300         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41302 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41304         [BZ #13871]
41305         * math/w_exp2.c: Do not include <float.h>.
41306         (o_threshold, u_threshold): Remove.
41307         (__exp2): Calculate result before checking finiteness and calling
41308         __kernel_standard.
41309         * math/w_exp2f.c: Likewise.
41310         * math/w_exp2l.c: Likewise.
41311         * math/libm-test.inc (exp2_test): Require overflow exception for
41312         1e6 input.
41314         [BZ #3866]
41315         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41316         range of signed 64-bit integers before using fistpll.  Remove
41317         checks for whether integers fit in mantissa bits.
41318         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41319         the range of signed 32-bit integers before using fistpl.  Remove
41320         checks for whether integers fit in mantissa bits.
41321         * sysdeps/i386/fpu/e_powl.S (p64): New object.
41322         (__ieee754_powl): Test for y outside the range of signed 64-bit
41323         integers before using fistpll.  Reduce 64-bit values to 63-bit
41324         ones as needed.
41325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41326         divide-by-zero is raised for zero to large negative powers.
41327         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41328         (__ieee754_powl): Test for y outside the range of signed 64-bit
41329         integers before using fistpll.  Reduce 64-bit values to 63-bit
41330         ones as needed.
41331         * math/libm-test.inc (pow_test): Add more tests.
41333 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41335         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41336         <stdio-common/_itoa.h>.
41337         * debug/segfault.c: Likewise.
41338         * elf/dl-cache.c: Likewise.
41339         * elf/dl-minimal.c: Likewise.
41340         * elf/dl-misc.c: Likewise.
41341         * elf/dl-sysdep.c: Likewise.
41342         * elf/dl-version.c: Likewise.
41343         * elf/rtld.c: Likewise.
41344         * hurd/hurdsock.c: Likewise.
41345         * hurd/lookup-retry.c: Likewise.
41346         * malloc/malloc.c: Likewise.
41347         * malloc/mtrace.c: Likewise.
41348         * nscd/nscd_getgr_r.c: Likewise.
41349         * nscd/nscd_getpw_r.c: Likewise.
41350         * nscd/nscd_getserv_r.c: Likewise.
41351         * posix/getopt_init.c: Likewise.
41352         * posix/wordexp.c: Likewise.
41353         * stdio-common/_itoa.c: Likewise.
41354         * stdio-common/printf_fphex.c: Likewise.
41355         * stdio-common/vfprintf.c: Likewise.
41356         * string/_strerror.c: Likewise.
41357         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41358         * sysdeps/i386/i686/hp-timing.h: Likewise.
41359         * sysdeps/mach/_strerror.c: Likewise.
41360         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41361         * sysdeps/mach/hurd/sethostid.c: Likewise.
41362         * sysdeps/mach/hurd/xmknodat.c: Likewise.
41363         * sysdeps/mach/xpg-strerror.c: Likewise.
41364         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41365         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41366         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41367         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41368         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41369         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41370         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41371         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41372         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41373         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41374         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41375         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41376         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41377         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41378         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41379         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41380         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41381         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41382         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41383         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41384         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41386         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41388         * stdio-common/_itoa.h: Moved to ...
41389         * sysdeps/generic/_itoa.h: Here.
41391         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41393         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41394         instead of "_itoa.h" and "_itowa.h".
41395         * stdio-common/vfprintf.: Likewise.
41397 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41399         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41400         <bits/wordsize.h>.
41401         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41402         (__signbit): Likwise.
41403         (llrintf): Likwise.
41404         (llrint): Likwise.
41406 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41408         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41409         __WORDSIZE != 64.
41411 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
41413         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41414         OVERFLOW_EXCEPTION_OK.
41415         * math/libm-test.inc ("Philosophy"): Update comment about
41416         exception testing.
41417         (OVERFLOW_EXCEPTION): Define.
41418         (OVERFLOW_EXCEPTION_OK): Likewise.
41419         (INVALID_EXCEPTION_OK): Renumber.
41420         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41421         (IGNORE_ZERO_INF_SIGN): Likewise.
41422         (test_exceptions): Handle FE_OVERFLOW.
41423         (exp10_test): Expect overflow exceptions.
41424         (exp2_test): Likewise.
41425         (expm1_test): Likewise.
41426         (nextafter_test): Likewise.
41427         (pow_test): Likewise.
41428         (scalbn_test): Likewise.
41429         (scalbln_test): Likewise.
41431 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41433         * sysdeps/x86_64/bits/atomic.h
41434         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41435         64bit integer.
41436         (atomic_exchange_acq): Likewise.
41437         (__arch_exchange_and_add_body): Likewise.
41438         (__arch_add_body): Likewise.
41439         (atomic_add_negative): Likewise.
41440         (atomic_add_zero): Likewise.
41442 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41444         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41445         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41447 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41449         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41450         Check __x86_64__ instead of __WORDSIZE.
41452 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41454         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41456 2012-03-19  David S. Miller  <davem@davemloft.net>
41458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41460         * sysdeps/sparc/fpu/fenv_private.h: New file.
41461         * sysdeps/sparc/fpu/math_private.h: Use it.
41462         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41463         Remove.
41464         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41465         (libc_feholdexcept_setroundl): Remove.
41466         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41467         Remove.
41468         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41469         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41471 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41473         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41474         int64_t instead of long int.
41475         (INSERT_WORDS64): Likwise.
41477 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41479         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41480         _Unwind_GetCFA return to _Unwind_Ptr first.
41482 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
41484         [BZ #13629]
41485         * math/s_clog.c: Include <float.h>.
41486         (__clog): Scale large or subnormal inputs.
41487         * math/s_clogf.c: Likewise.
41488         * math/s_clogl.c: Likewise.
41489         * math/s_clog10.c: Include <float.h>.
41490         (M_LOG10_2): Define.
41491         (__clog10): Scale large or subnormal inputs.
41492         * math/s_clog10f.c: Likewise.
41493         * math/s_clog10l.c: Likewise.
41494         * math/libm-test.inc (clog_test): Add more tests.
41495         (clog10_test): Likewise.
41496         * sysdeps/i386/fpu/libm-test-ulps: Update.
41497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41499         [BZ #11451]
41500         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41501         x and y.
41502         * math/libm-test.inc (atan2_test): Add another test.
41504         * Makerules (common-objdir-compile): Remove.
41505         * sysdeps/unix/Makefile (config-generated): Do not add
41506         $(unix-generated) to variable.
41507         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41508         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41509         Remove rule.
41510         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41511         Likewise.
41512         [generic bits/local_lim.h] (before-compile): Do not append to
41513         variable.
41514         [generic bits/local_lim.h] (common-generated): Likewise.
41515         [generic sys/param.h] (before-compile): Do not append to variable.
41516         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41517         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41518         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41519         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41520         include.
41521         [generic sys/param.h] (sys/param.h-includes): Remove variable.
41522         [generic sys/param.h] (sys/param.h-includes): Remove rule.
41523         [generic sys/param.h] ($(addprefix
41524         $(common-objpfx),$(sys/param.h-includes))): Likewise.
41525         [generic sys/param.h] (common-generated): Do not append to
41526         variable.
41527         [generic sys/param.h] (sysdep_headers): Likewise.
41528         [generic bits/errno.h] (before-compile): Do not append to
41529         variable.
41530         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41531         rule.
41532         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41533         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41534         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41535         [generic bits/errno.h] (common-generated): Do not append to
41536         variable.
41537         [generic bits/ioctls.h] (before-compile): Do not append to
41538         variable.
41539         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41540         rule.
41541         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41542         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41543         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41544         rule.
41545         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41546         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41547         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41548         [generic bits/ioctls.h] (common-generated): Do not append to
41549         variable.
41550         [generic sys/syscall.h] (syscall.h): Remove variable.
41551         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41552         rule.
41553         [generic sys/syscall.h] (before-compile): Do not append to
41554         variable.
41555         [generic sys/syscall.h] (common-generated): Likewise.
41556         * sysdeps/unix/errnos-tmpl.c: Remove file.
41557         * sysdeps/unix/errnos.awk: Likewise.
41558         * sysdeps/unix/ioctls-tmpl.c: Likewise.
41559         * sysdeps/unix/ioctls.awk: Likewise.
41560         * sysdeps/unix/mk-local_lim.c: Likewise.
41561         * sysdeps/unix/snarf-ioctls: Likewise.
41563 2012-03-19  Richard Henderson  <rth@twiddle.net>
41565         * sysdeps/i386/fpu/fenv_private.h: New file.
41566         * sysdeps/i386/fpu/math_private.h: Use it.
41567         (math_opt_barrier, math_force_eval): Remove.
41568         (libc_feholdexcept_setround_53bit): Remove.
41569         (libc_feupdateenv_53bit): Remove.
41570         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41571         (math_opt_barrier, math_force_eval): Remove.
41572         (libc_feholdexcept): Remove.
41573         (libc_feholdexcept_setround): Remove.
41574         (libc_fetestexcept, libc_fesetenv): Remove.
41575         (libc_feupdateenv_test): Remove.
41576         (libc_feupdateenv, libc_feholdsetround): Remove.
41577         (libc_feresetround): Remove.
41579         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41580         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41582         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41583         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41584         (libc_feupdateenv_testl): New.
41585         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41586         (libc_feupdateenv_testf): New.
41587         (libc_feupdateenv): Use libc_feupdateenv_test.
41588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41589         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41591         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41592         (libc_feholdsetroundf, libc_feholdsetroundl): New.
41593         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41594         (libc_feresetround_noex): New.
41595         (libc_feresetround_noexf): New.
41596         (libc_feresetround_noexl): New.
41597         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41598         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41599         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41600         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41601         SET_RESTORE_ROUND.
41602         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41603         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41604         (__cos): Likewise.
41605         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41606         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41607         SET_RESTORE_ROUND_NOEX.
41608         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41609         SET_RESTORE_ROUND_NOEXF.
41610         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41611         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41612         (libc_feholdsetroundf): New.
41613         (libc_feresetround, libc_feresetroundf): New.
41615         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41616         (libc_feholdexcept_setround_53bit): Convert from macro to function.
41617         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
41619         * sysdeps/generic/math_private.h: Include <fenv.h>.
41620         (default_libc_feholdexcept): New.
41621         (default_libc_feholdexcept_setround): New.
41622         (default_libc_fesetenv, default_libc_feupdateenv): New.
41623         (libc_feholdexcept): Only define if undefined.
41624         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41625         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41626         (libc_feholdexcept_setroundl): Likewise.
41627         (libc_feholdexcept_setround_53bit): Likewise.
41628         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41629         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41630         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41631         (libc_feupdateenv_53bit): Likewise.
41632         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41633         (libc_feholdexcept): Convert from macro to inline function.
41634         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41635         (libc_fesetenv, libc_feupdateenv): Likewise.
41637         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41638         not previously defined.
41639         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41640         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41641         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41642         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41643         * sysdeps/ieee754/flt-32/math_private.h: New file.
41644         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41645         math_private.h below SET_FLOAT_WORD.
41646         (__isnan, __isinf_ns, __finite): Remove.
41647         (__isnanf, __isinf_nsf, __finitef): Remove.
41649 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
41651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41653 2012-03-17  David S. Miller  <davem@davemloft.net>
41655         [BZ #6471]
41656         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41657         for 2.16.
41659 2012-03-16  David S. Miller  <davem@davemloft.net>
41661         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41662         warnings.
41664         [BZ #6471]
41665         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41666         properly.
41667         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41668         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41669         sysdep_routines when subdir is sysvipc.
41670         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41671         __getshmlba helper.
41673         * sysdeps/sparc/fpu/libm-test/ulps: Update.
41675 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41677         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41678         [__LP64__].
41680 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41682         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41683         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41684         (__lround): Renamed to ...
41685         (__llround): This.  Replace long int with long long int.
41686         Define lround functions as aliases of llround functions.
41687         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41689 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41691         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41692         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
41693         adresses to uintptr_t.  Replace "long int" and "unsigned long
41694         int" with "greg_t" on va_arg.
41696 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41698         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41699         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41701         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41702         Move e_machine check before EI_CLASS check.  Handle x32
41703         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41704         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41705         SKIP_EM_IA_64 and include
41706         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41708         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41709         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41710         (add_system_dir): New macro.
41712         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41713         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41715 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41717         [BZ #2551]
41718         [BZ #2552]
41719         [BZ #2553]
41720         [BZ #2554]
41721         [BZ #2562]
41722         [BZ #2563]
41723         [BZ #2565]
41724         [BZ #2566]
41725         [BZ #2576]
41726         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41727         (y0): Likewise.
41728         * math/w_j0f.c (j0f): Likewise.
41729         (y0f): Likewise.
41730         * math/w_j0l.c (__j0l): Likewise.
41731         (__y0l): Likewise.
41732         * math/w_j1.c (j1): Likewise.
41733         (y1): Likewise.
41734         * math/w_j1f.c (j1f): Likewise.
41735         (y1f): Likewise.
41736         * math/w_j1l.c (__j1l): Likewise.
41737         (__y1l): Likewise.
41738         * math/w_jn.c (jn): Likewise.
41739         (yn): Likewise.
41740         * math/w_jnf.c (jnf): Likewise.
41741         (ynf): Likewise.
41742         * math/w_jnl.c (__jnl): Likewise.
41743         (__ynl): Likewise.
41744         * math/libm-test.inc (j0_test): Add more tests.
41745         (j1_test): Likewise.
41746         (jn_test): Likewise.  Add trailing semicolon to existing test.
41747         (y0_test): Likewise.
41748         (y1_test): Likewise.
41749         * sysdeps/i386/fpu/libm-test-ulps: Update.
41750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41752         [BZ #13851]
41753         [BZ #13854]
41754         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41755         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41756         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41757         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41758         (__tanl): Set errno for infinite argument.
41759         * sysdeps/i386/fpu/mptan.c: Remove.
41760         * sysdeps/i386/fpu/s_tan.S: Likewise.
41761         * sysdeps/i386/fpu/s_tanl.S: Likewise.
41762         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41763         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41764         * math/libm-test.inc (tan_test): Add more tests and enable more
41765         tests for double and long double.
41766         * sysdeps/i386/fpu/libm-test-ulps: Update.
41767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41769 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
41771         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41772         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41774 2012-03-16  Roland McGrath  <roland@hack.frob.com>
41776         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41777         * configure.in: Use it for both main tree and add-ons.
41778         * configure: Regenerated.
41780 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41782         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41784 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41786         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41787         in comment.
41789         [BZ #13851]
41790         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41791         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41792         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41793         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41794         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41795         infinite argument.
41796         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41797         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41798         != 0 for prec == 2.
41799         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41800         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41801         * sysdeps/i386/fpu/s_cosl.S: Likewise.
41802         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41803         * sysdeps/i386/fpu/s_sinl.S: Likewise.
41804         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41805         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41806         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41807         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41808         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41809         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41810         * math/libm-test.inc (cos_test): Add more tests and enable more
41811         tests for long double.
41812         (sin_test): Likewise.
41813         (sincos_test): Likewise.
41814         * sysdeps/i386/fpu/libm-test-ulps: Update.
41815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41817 2012-03-16  David S. Miller  <davem@davemloft.net>
41819         * sysdeps/sparc/fpu/math_private.h: New file.
41821 2012-03-15  David S. Miller  <davem@davemloft.net>
41823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41824         file.
41825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41827         file.
41828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41829         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41830         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41833         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41834         sysdep routines.
41835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41837         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41838         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41840         * sysdeps/sparc/sparc-ifunc.h: New file.
41841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41842         sparc-ifunc.h
41843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41845         Likewise.
41846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41847         Likewise.
41848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41852         Likewise.
41853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41858         Likewise.
41859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41860         Likewise.
41861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41867         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41868         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41869         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41871         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41872         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41875         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41876         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41879         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41880         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41881         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41882         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41883         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41884         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41886 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41888         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41889         scaling.
41890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41892 2012-03-15  Andreas Jaeger  <aj@suse.de>
41894         [BZ #13852]
41895         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41896         ieee754/flt-32 implementation for sin, cos and sincos.
41897         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41898         * sysdeps/i386/fpu/s_cosf.S: Likewise.
41899         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41900         * sysdeps/i386/fpu/s_sinf.S: Likewise.
41901         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41902         ieee754/flt-32 implementation for tan.
41904         * math/libm-test.inc (cos_test): Enable some large input tests for
41905         float as well
41906         (sin_test): Likewise.
41907         (sincos_test): Likewise.
41908         (tan_test): Add tests for large input.
41910         * sysdeps/i386/fpu/libm-test-ulps: Update.
41912 2012-03-15  Andreas Jaeger  <aj@suse.de>
41914         [BZ #13658]
41915         * math/libm-test.inc (cos_test): Add more test cases.
41916         (sin_test): Likewise.
41917         (sincos_test): Likewise.
41919 2012-03-15  Andreas Jaeger  <aj@suse.de>
41921         [BZ #13837]
41922         * math/libm-test.inc (cos_test): Add a test case for large input
41923         value.
41924         (sin_test): Likewise.
41925         (sincos_test): Likewise.
41927 2012-03-15  Andreas Jaeger  <aj@suse.de>
41928             Joseph Myers  <joseph@codesourcery.com>
41930         [BZ #13658]
41931         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41932         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41933         * sysdeps/i386/fpu/branred.c: Likewise.
41934         * sysdeps/i386/fpu/dosincos.c: Likewise.
41935         * sysdeps/i386/fpu/mpa.c: Likewise.
41936         * sysdeps/i386/fpu/s_cos.S: Likewise.
41937         * sysdeps/i386/fpu/s_sin.S: Likewise.
41938         * sysdeps/i386/fpu/s_sincos.S: Likewise.
41939         * sysdeps/i386/fpu/sincos32.c: Likewise.
41941         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41942         Define.
41943         (libc_feupdateenv_53bit): Define.
41944         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41945         Define.
41946         (libc_feupdateenv_53bit): Define.
41948         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41949         53 bit (without extend i386 double precision).
41951         * math/libm-test.inc (sincos_test): Add tests for large input.
41952         (sin): Likewise.
41953         (cos): Likewise.
41955         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41957 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41961 2012-03-15  David S. Miller  <davem@davemloft.net>
41963         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41964         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41965         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41966         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41979         file.
41980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41982         file.
41983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41985         file.
41986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41988         file.
41989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41990         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41991         fmin/fmax sysdep routines.
41992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41994 2012-03-14  David S. Miller  <davem@davemloft.net>
41996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42000         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42001         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42002         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42003         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42008         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42016         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42017         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42018         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42019         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42020         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42022         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42023         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42024         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42025         routines.
42026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42027         file.
42028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42030         file.
42031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42033         file.
42034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42036         file.
42037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42039         file.
42040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42042         file.
42043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42044         file.
42045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42046         file.
42047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42048         file.
42049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42050         New file.
42051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42052         file.
42053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42054         file.
42055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42057         file.
42058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42060         file.
42061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42063         file.
42064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42066         VIS3 routines.
42068         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42069         New file.
42071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42073         * sysdeps/sparc/configure.in: New file.
42074         * sysdeps/sparc/configure: Generate.
42075         * configure.in (libc_cv_sparc_as_vis3): Substitute.
42076         * configure: Regenerate.
42077         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42078         * config.make.in (have-as-vis3): New.
42079         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42080         available use -Av9d instead of -Av9a.
42081         * sysdeps/sparc/sparc64/Makefile: Likewise.
42082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42084         New file.
42085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42086         file.
42087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42088         New file.
42089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42090         file.
42091         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42092         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42093         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42094         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42095         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42097         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42098         fzeros/fnegs to load 0x80000000 into a float register instead of
42099         using the stack.
42100         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42102 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42104         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42105         bits/syscall.h.
42106         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42107         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42108         ($(inst_includedir)/bits/syscall.h): Remove rule.
42109         ($(objpfx)bits/syscall.d): Include instead of
42110         $(objpfx)syscall-list.d.
42111         (generated): Change syscall-list.h and syscall-list.d to
42112         bits/syscall.h and bits/syscall.d.
42114 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42116         [BZ #13846]
42117         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42119 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42121         [BZ #13841]
42122         * math/s_csqrt.c: Include <float.h>.
42123         (__csqrt): Scale large or subnormal inputs.
42124         * math/s_csqrtf.c: Likewise.
42125         * math/s_csqrtl.c: Likewise.
42126         * math/libm-test.inc (csqrt_test): Add more tests.
42127         * sysdeps/i386/fpu/libm-test-ulps: Update.
42128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42130         [BZ #13840]
42131         * math/libm-test.inc (hypot_test): Add more tests.
42133 2012-03-13  David S. Miller  <davem@davemloft.net>
42135         [BZ #13840]
42136         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42137         double-precision for the calculation instead of scaling.
42139 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42141         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42142         manipulate bits before adding and subtracting TWO52[sx].
42143         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42144         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42145         Likewise.
42146         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42148 2012-03-13  David S. Miller  <davem@davemloft.net>
42150         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42151         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42152         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42153         rtld-global-offsets.h
42154         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42156         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42157         large parameters.
42159         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42161         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42162         'err' in the ifdef scope in which it is actually used.
42164         * nss/nss_db/db-init.c: Include string.h
42166 2012-03-12  David S. Miller  <davem@davemloft.net>
42168         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42169         masking out of the most significant byte of random value used.
42170         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42171         Fix coding style in previous change.
42173         * sysdeps/unix/sysv/linux/kernel-features.h
42174         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42175         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42176         expression.
42177         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42178         later.
42180 2012-03-11  David S. Miller  <davem@davemloft.net>
42182         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42183         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42184         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42185         for 'resultvar' otherwise things get truncated on 64-bit.
42187         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42188         Fix masking out of the most significant byte of random value used.
42190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42192 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42196 2012-03-09  David S. Miller  <davem@davemloft.net>
42198         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42199         variables with appropriate CPP guards.
42200         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42201         from the frame pointer, not the stack pointer.  Correct layout
42202         comments.  Fix test on resulting framesize and the management of
42203         the outregs buffer for pltexit.  Preserve floating point return
42204         values across _dl_call_pltexit call.
42205         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42206         framesize and the management of the outregs buffer for pltexit.
42207         Preserve floating point return values across _dl_call_pltexit
42208         call.
42209         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42210         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42211         (la_sparc64_gnu_pltexit): New functions.
42212         (print_exit): Fix format string for return register value.
42214 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42216         * sunrpc/Makefile (others): Add rpcgen.
42217         ($(objpfx)rpcgen): Remove special build rule and dependency on
42218         libc.
42219         * sunrpc/rpcgen.c: New file.
42221 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42223         [BZ #13673]
42224         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42225         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42226         * sysdeps/i386/crti.S: Likewise.
42227         * sysdeps/i386/crtn.S: Likewise.
42228         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42229         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42230         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42231         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42232         * sysdeps/sh/crti.S: Likewise.
42233         * sysdeps/sh/crtn.S: Likewise.
42234         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42236         [BZ #13673]
42237         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42238         with URL.
42239         * locale/programs/locfile-kw.gperf: Likewise.
42240         * locale/programs/charmap-kw.h: Regenerated.
42241         * locale/programs/locfile-kw.h: Likewise.
42243         [BZ #13673]
42244         * intl/plural.y: Replace FSF snail mail address with URL.
42245         * intl/plural.c: Regenerated.
42247 2012-03-09  Richard Henderson  <rth@twiddle.net>
42249         * include/math_private.h: Remove file.
42250         * math/math_private.h: Move file ...
42251         * sysdeps/generic/math_private.h: ... here.
42253         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42254         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42255         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42257         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42258         and <math_private.h>.
42259         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42260         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42261         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42262         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42263         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42264         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42265         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42266         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42267         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42268         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42269         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42270         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42271         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42272         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42273         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42274         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42275         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42276         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42277         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42278         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42279         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42280         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42281         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42282         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42283         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42284         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42285         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42286         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42287         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42288         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42289         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42290         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42291         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42292         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42293         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42294         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42295         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42296         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42297         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42298         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42299         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42300         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42301         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42302         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42303         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42304         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42305         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42306         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42307         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42308         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42309         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42310         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42311         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42312         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42313         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42314         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42315         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42316         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42317         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42318         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42319         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42320         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42321         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42322         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42323         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42324         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42325         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42326         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42327         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42328         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42329         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42330         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42331         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42332         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42333         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42334         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42335         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42336         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42337         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42338         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42339         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42340         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42341         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42342         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42343         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42344         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42345         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42346         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42347         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42348         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42349         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42350         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42351         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42352         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42353         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42354         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42355         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42356         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42357         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42358         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42359         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42360         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42361         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42362         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42363         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42364         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42365         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42366         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42367         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42368         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42369         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42370         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42371         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42372         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42373         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42374         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42375         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42376         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42377         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42378         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42379         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42380         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42381         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42382         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42383         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42384         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42385         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42386         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42387         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42388         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42389         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42390         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42391         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42392         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42393         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42394         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42395         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42396         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42397         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42398         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42399         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42400         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42401         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42402         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42403         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42404         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42405         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42406         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42407         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42408         * sysdeps/ieee754/k_standard.c: Likewise.
42409         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42410         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42411         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42412         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42413         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42414         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42415         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42416         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42417         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42418         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42419         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42420         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42421         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42422         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42423         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42424         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42425         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42426         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42427         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42428         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42429         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42430         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42431         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42432         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42433         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42434         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42435         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42436         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42437         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42438         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42439         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42440         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42441         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42442         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42443         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42444         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42445         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42446         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42447         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42448         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42449         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42450         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42451         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42452         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42454         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42455         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42456         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42457         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42458         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42459         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42460         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42461         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42462         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42463         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42464         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42465         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42466         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42467         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42468         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42469         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42470         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42471         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42472         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42473         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42474         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42475         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42476         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42477         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42478         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42479         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42480         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42481         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42482         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42483         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42484         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42485         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42486         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42487         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42488         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42489         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42490         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42491         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42492         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42493         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42494         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42495         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42496         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42497         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42498         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42499         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42500         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42501         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42502         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42503         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42504         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42505         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42506         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42507         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42508         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42510         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42511         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42512         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42513         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42514         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42515         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42516         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42517         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42518         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42519         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42520         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42521         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42522         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42523         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42524         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42525         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42526         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42527         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42528         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42529         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42530         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42531         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42532         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42533         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42534         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42535         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42536         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42537         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42538         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42539         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42540         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42541         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42542         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42543         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42544         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42545         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42546         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42547         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42548         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42549         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42550         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42551         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42552         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42553         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42554         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42555         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42556         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42557         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42558         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42559         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42560         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42561         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42562         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42563         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42564         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42565         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42566         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42567         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42568         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42569         * sysdeps/ieee754/s_lib_version.c: Likewise.
42570         * sysdeps/ieee754/s_matherr.c: Likewise.
42571         * sysdeps/ieee754/s_signgam.c: Likewise.
42572         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42573         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42574         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42575         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42576         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42577         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42578         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42579         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42580         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42581         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42582         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42583         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42584         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42585         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42586         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42587         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42588         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42589         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42590         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42591         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42592         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42594 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42596         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42597         * sunrpc/rpc_main.c: Likewise.
42598         * sunrpc/rpc_svcout.c: Likewise.
42600 2012-03-09  David S. Miller  <davem@davemloft.net>
42602         * include/math_private.h: New file.
42604 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42606         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42607         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42608         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42609         from <bits/socket_type.h>.
42610         (enum __socket_type): Don't define here.
42611         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42613         bits/socket_type.h.
42615         [BZ #13566]
42616         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42617         checking __USE_GNU.
42619         * Makerules ($(inst_includedir)/%.h): New rule.
42620         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42621         (install-others): Remove variable setting.
42622         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42624 2012-03-08  Richard Henderson  <rth@twiddle.net>
42626         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42627         from macro to inline function; merge with the
42628         !__LIBC_INTERNAL_MATH_INLINES version.
42629         (__ieee754_sqrtf): Likewise.
42631         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42632         to inline function.
42633         (__rintf, __floor, __floorf): Likewise.
42635         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42636         macro to inline function.
42637         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42639         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42640         not <math/math_private.h>.
42642 2012-03-08  David S. Miller  <davem@davemloft.net>
42644         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42645         copyright year.
42646         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42648 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
42650         * resolv/gai_misc.c (handle_requests): Fix struct timespec
42651         normalization.
42652         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42653         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42655 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
42657         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
42658         be defined individually, they must be defined as a block.  Define
42659         S for printing a string instead of hidint the different by using a
42660         macro for adding the 'l'.
42661         * stdio-common/tst-fphex-wide.c: Adjust.
42663 2012-03-07  Marek Polacek  <polacek@redhat.com>
42665         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42667 2012-03-08  Marek Polacek  <polacek@redhat.com>
42669         [BZ #13806]
42670         * stdio-common/Makefile (tests): Add tst-fphex-wide.
42671         * stdio-common/tst-fphex.c: Define a few macros to make the
42672         test reusable.  Use them.
42673         * stdio-common/tst-fphex-wide.c: New file.
42675 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
42677         [BZ #6911]
42678         * manual/macros.texi (gnusystems): New macro.
42679         (nongnusystems): Likewise.
42680         (gnulinuxhurdsystems): Likewise.
42681         (gnuhurdsystems): Likewise..
42682         (gnulinuxsystems): Likewise.
42683         * manual/charset.texi: Use new macros or @theglibc{} to refer to
42684         variants of the GNU system, not "GNU system".
42685         * manual/conf.texi: Likewise.
42686         * manual/errno.texi: Likewise.  Update example of errno macro
42687         expansion.
42688         * manual/filesys.texi: Likewise.
42689         (getumask): Document as specific to GNU/Hurd.
42690         * manual/install.texi: Likewise.  Reword some references to
42691         GNU/Linux.
42692         * manual/intro.texi: Likewise.
42693         * manual/io.texi: Likewise.
42694         (File Name Portability): Detail which constraints are inapplicable
42695         to all GNU systems and which are only inapplicable to GNU/Hurd.
42696         * manual/job.texi: Likewise.
42697         * manual/llio.texi: Likewise.
42698         (O_NOCTTY): Document as present on GNU/Linux.
42699         * manual/maint.texi: Likewise.
42700         * manual/memory.texi: Likewise.
42701         * manual/pattern.texi: Likewise.
42702         * manual/pipe.texi: Likewise.
42703         * manual/process.texi: Likewise.
42704         * manual/resource.texi: Likewise.
42705         (RUSAGE_CHILDREN): Remove statement about specifying a particular
42706         child on GNU/Hurd.
42707         * manual/setjmp.texi: Likewise.
42708         * manual/signal.texi: Likewise.
42709         * manual/startup.texi: Likewise.
42710         * manual/stdio.texi: Likewise.
42711         * manual/terminal.texi: Likewise.
42712         (ONLCR): Document as POSIX.
42713         (OXTABS): Document availability on GNU/Linux as XTABS.
42714         (ONOEOT): Document availability separately from other bits.
42715         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42716         * manual/time.texi: Likewise.
42717         * manual/users.texi: Likewise.
42718         * INSTALL: Regenerated.
42719         * sysdeps/gnu/errlist.c: Regenerated.
42721         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42722         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42723         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
42724         puts.
42725         * configure: Regenerated.
42727 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
42729         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42730         default includes instead of AC_HEADER_CHECK.
42731         * sysdeps/i386/configure: Regenerated.
42733         [BZ #10716]
42734         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42735         * math/s_cacoshf.c (__cacoshf): Likewise.
42736         * math/s_cacoshl.c (__cacoshl): Likewise.
42737         * math/s_casinh.c (__casinh): Set signs of result from argument.
42738         * math/s_casinhf.c (__casinhf): Likewise.
42739         * math/s_casinhl.c (__casinhl): Likewise.
42740         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42741         (casinh_test): Add more tests.
42742         * sysdeps/i386/fpu/libm-test-ulps: Update.
42743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42745 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
42747         * po/zh_TW.po: Update from translation team.
42749         * login/Makefile (distribute): Remove variable.
42750         * catgets/Makefile: Likewise.
42751         * mach/Makefile: Likewise.
42752         * malloc/Makefile: Likewise.
42753         * misc/Makefile: Likewise.
42754         * iconv/Makefile: Likewise.
42755         * nscd/Makefile: Likewise.
42756         * hurd/Makefile: Likewise.
42757         * manual/Makefile: Likewise.
42758         * locale/Makefile: Likewise.
42759         * intl/Makefile: Likewise.
42760         * conform/Makefile: Likewise.
42761         * nss/Makefile: Likewise.
42762         * time/Makefile: Likewise.
42763         * soft-fp/Makefile: Likewise.
42764         * dirent/Makefile: Likewise.
42765         * gmon/Makefile: Likewise.
42766         * po/Makefile: Likewise.
42767         * rt/Makefile: Likewise.
42768         * socket/Makefile: Likewise.
42769         * math/Makefile: Likewise.
42770         * signal/Makefile: Likewise.
42771         * debug/Makefile: Likewise.
42772         * elf/Makefile: Likewise.
42773         * timezone/Makefile: Likewise.
42774         * stdlib/Makefile: Likewise.
42775         * iconvdata/Makefile: Likewise.
42776         * sunrpc/Makefile: Likewise.
42777         * io/Makefile: Likewise.
42778         * argp/Makefile: Likewise.
42779         * inet/Makefile: Likewise.
42780         * hesiod/Makefile: Likewise.
42781         * grp/Makefile: Likewise.
42782         * csu/Makefile: Likewise.
42783         * wctype/Makefile: Likewise.
42784         * crypt/Makefile: Likewise.
42785         * libio/Makefile: Likewise.
42786         * string/Makefile: Likewise.
42787         * nis/Makefile: Likewise.
42788         * resolv/Makefile: Likewise.
42789         * stdio-common/Makefile: Likewise.
42790         * wcsmbs/Makefile: Likewise.
42791         * dlfcn/Makefile: Likewise.
42792         * posix/Makefile: Likewise.
42794         [BZ #6959]
42795         * timezone/Makefile: Don't install timezone files, just the programs
42796         and scripts.
42798 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
42800         * nss/databases.def: Add missing gshadow entry.
42802         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
42804 2012-03-06  Marek Polacek  <polacek@redhat.com>
42806         [BZ #13726]
42807         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42808         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42809         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42810         * stdio-common/tst-long-dbl-fphex.c: New file.
42812 2012-03-06  David S. Miller  <davem@davemloft.net>
42814         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42815         (set_obp_int): New function.
42816         (get_obp_int): New function.
42817         (__get_clockfreq_via_dev_openprom): Likewise.
42818         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42819         Avoid unused variable warnings on 'val' and use builtin_expect.
42820         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42821         __builtin_expect.
42822         (INLINE_CLONE_SYSCALL): Likewise.
42824 2012-03-05  David S. Miller  <davem@davemloft.net>
42826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42828 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
42830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42832         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42833         only for |x| >= 40.
42834         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42836 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
42838         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42839         Replace gettimeofday with __vdso_gettimeofday.
42841         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42842         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42843         __vdso_clock_gettime and __vdso_getcpu.
42845         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42846         time with __vdso_time.
42848 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42850         * manual/lang.texi (size_t): Note types to which size_t may be
42851         equivalent with the GNU C Library, but do not describe when
42852         differences between them are significant.
42854 2012-03-05  Andreas Jaeger  <aj@suse.de>
42856         * sysdeps/i386/fpu/libm-test-ulps: Update.
42858 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42860         [BZ #3976]
42861         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42862         (__ieee754_pow): Save and restore rounding mode and use
42863         round-to-nearest for main computations.
42864         * math/libm-test.inc (pow_test_tonearest): New function.
42865         (pow_test_towardzero): Likewise.
42866         (pow_test_downward): Likewise.
42867         (pow_test_upward): Likewise.
42868         (main): Call the new functions.
42869         * sysdeps/i386/fpu/libm-test-ulps: Update.
42870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42872         [BZ #3976]
42873         * math/libm-test.inc (cosh_test_tonearest): New function.
42874         (cosh_test_towardzero): Likewise.
42875         (cosh_test_downward): Likewise.
42876         (cosh_test_upward): Likewise.
42877         (sinh_test_tonearest): Likewise.
42878         (sinh_test_towardzero): Likewise.
42879         (sinh_test_downward): Likewise.
42880         (sinh_test_upward): Likewise.
42881         (main): Call the new functions.
42882         * sysdeps/i386/fpu/libm-test-ulps: Update.
42883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42885 2012-03-05  Tom de Vries  <tom@codesourcery.com>
42887         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42888         default stack guard is set in last bytes.
42889         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42891 2012-03-05  Kees Cook  <keescook@chromium.org>
42893         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42895         [BZ #13656]
42896         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42897         possibly allocate from heap instead of stack.
42898         * stdio-common/bug-vfprintf-nargs.c: New file.
42899         * stdio-common/Makefile (tests): Add nargs overflow test.
42901 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
42903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42905 2012-03-03  Marek Polacek  <polacek@redhat.com>
42907         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42908         * math/math_private.h: Likewise.
42909         * stdlib/tst-strtod.c: Likewise.
42910         * sysdeps/i386/i486/bits/atomic.h: Likewise.
42911         * sysdeps/x86_64/bits/atomic.h: Likewise.
42913 2012-03-02  David S. Miller  <davem@davemloft.net>
42915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42919         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42920         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42921         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42922         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42924 2012-03-02  Roland McGrath  <roland@hack.frob.com>
42926         [BZ #13792]
42927         * manual/examples/README: New file, says the example source files
42928         can be used under GPL>=2.
42929         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42930         line containing just "*/".
42931         * manual/examples/add.c: Add copyright header (GPL>=2).
42932         * manual/examples/argp-ex1.c: Likewise.
42933         * manual/examples/argp-ex2.c: Likewise.
42934         * manual/examples/argp-ex3.c: Likewise.
42935         * manual/examples/argp-ex4.c: Likewise.
42936         * manual/examples/atexit.c: Likewise.
42937         * manual/examples/db.c: Likewise.
42938         * manual/examples/dir.c: Likewise.
42939         * manual/examples/dir2.c: Likewise.
42940         * manual/examples/execinfo.c: Likewise.
42941         * manual/examples/filecli.c: Likewise.
42942         * manual/examples/filesrv.c: Likewise.
42943         * manual/examples/fmtmsgexpl.c: Likewise.
42944         * manual/examples/genpass.c: Likewise.
42945         * manual/examples/inetcli.c: Likewise.
42946         * manual/examples/inetsrv.c: Likewise.
42947         * manual/examples/isockad.c: Likewise.
42948         * manual/examples/longopt.c: Likewise.
42949         * manual/examples/memopen.c: Likewise.
42950         * manual/examples/memstrm.c: Likewise.
42951         * manual/examples/mkfsock.c: Likewise.
42952         * manual/examples/mkisock.c: Likewise.
42953         * manual/examples/mygetpass.c: Likewise.
42954         * manual/examples/pipe.c: Likewise.
42955         * manual/examples/popen.c: Likewise.
42956         * manual/examples/rprintf.c: Likewise.
42957         * manual/examples/search.c: Likewise.
42958         * manual/examples/select.c: Likewise.
42959         * manual/examples/setjmp.c: Likewise.
42960         * manual/examples/sigh1.c: Likewise.
42961         * manual/examples/sigusr.c: Likewise.
42962         * manual/examples/stpcpy.c: Likewise.
42963         * manual/examples/strdupa.c: Likewise.
42964         * manual/examples/strftim.c: Likewise.
42965         * manual/examples/strncat.c: Likewise.
42966         * manual/examples/subopt.c: Likewise.
42967         * manual/examples/swapcontext.c: Likewise.
42968         * manual/examples/termios.c: Likewise.
42969         * manual/examples/testopt.c: Likewise.
42970         * manual/examples/testpass.c: Likewise.
42971         * manual/examples/timeval_subtract.c: Likewise.
42973         [BZ #13792]
42974         * manual/time.texi (Elapsed Time): Move timeval_subtract example
42975         function to ...
42976         * manual/timeval_subtract.c.texi: ... here, new file.
42978 2012-03-02  David S. Miller  <davem@davemloft.net>
42980         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42982 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
42984         [BZ #3976]
42985         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42986         (__sin): Save and restore rounding mode and use round-to-nearest
42987         for all computations.
42988         (__cos): Save and restore rounding mode and use round-to-nearest
42989         for all computations.
42990         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42991         <fenv.h>.
42992         (tan): Save and restore rounding mode and use round-to-nearest for
42993         all computations.
42994         * math/libm-test.inc (cos_test_tonearest): New function.
42995         (cos_test_towardzero): Likewise.
42996         (cos_test_downward): Likewise.
42997         (cos_test_upward): Likewise.
42998         (sin_test_tonearest): Likewise.
42999         (sin_test_towardzero): Likewise.
43000         (sin_test_downward): Likewise.
43001         (sin_test_upward): Likewise.
43002         (tan_test_tonearest): Likewise.
43003         (tan_test_towardzero): Likewise.
43004         (tan_test_downward): Likewise.
43005         (tan_test_upward): Likewise.
43006         (main): Call the new functions.
43007         * sysdeps/i386/fpu/libm-test-ulps: Update.
43008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43010         [BZ #10135]
43011         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43012         small n, then large n, before computing and testing k+n.
43013         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43014         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43015         Likewise.
43016         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43017         Likewise.
43018         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43019         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43020         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43021         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43022         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43023         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43024         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43025         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43026         * math/libm-test.inc (scalbn_test): Add more tests.
43027         (scalbln_test): Likewise.
43029         * manual/filesys.texi (mode_t): Describe constraints on size and
43030         signedness, not exact equivalence to a particular type.
43031         (ino_t): Likewise.
43032         (ino64_t): Likewise.
43033         (dev_t): Likewise.
43034         (nlink_t): Likewise.
43035         (blkcnt_t): Likewise.
43036         (blkcnt64_t): Likewise.
43037         * manual/llio.texi (off_t): Likewise.
43039         [BZ #3976]
43040         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43041         (__ieee754_exp): Save and restore rounding mode and use
43042         round-to-nearest for all computations.
43043         * math/libm-test.inc (exp_test_tonearest): New function.
43044         (exp_test_towardzero): Likewise.
43045         (exp_test_downward): Likewise.
43046         (exp_test_upward): Likewise.
43047         (main): Call the new functions.
43048         * sysdeps/i386/fpu/libm-test-ulps: Update.
43049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43051 2012-03-01  Chris Demetriou  <cgd@google.com>
43053         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43054         have predictable order.
43056 2012-03-01  David S. Miller  <davem@davemloft.net>
43058         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43060         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43061         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43062         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43063         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43065         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43066         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43067         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43069         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43070         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43071         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43072         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43073         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43077         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43078         * sysdeps/sparc/fpu/libm-test-ulps: to here.
43079         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43081         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43082         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43083         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43084         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43085         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43086         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43087         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43088         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43089         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43090         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43091         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43092         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43093         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43094         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43095         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43097         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43098         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43099         * sysdeps/sparc/elf/configure: Regenerated.
43101 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43103         * configure.in (AS, LD): Require binutils 2.20 or later.
43104         * configure: Regenerated.
43105         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43106         as required minimum version.
43107         * INSTALL: Regenerated.
43109         [BZ #2541]
43110         [BZ #4108]
43111         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43112         before squaring exponent.
43113         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43114         bottom long double and 27 bits of top long double before squaring
43115         exponent.
43116         * math/libm-test.inc (erfc_test): Add more tests.
43117         * sysdeps/i386/fpu/libm-test-ulps: Update.
43118         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43121 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43123         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43124         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43125         containing bit-fields.
43126         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43127         * soft-fp/single.h (_FP_UNION_S): Likewise.
43128         * soft-fp/double.h (_FP_UNION_D): Likewise.
43130 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43132         [BZ #13786]
43133         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43134         not include ../strcmp.S.
43135         [USE_AS_STRNCASECMP_L]: Likewise.
43136         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43137         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43138         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43139         (__strncasecmp_l_ia32): Define as alias to
43140         __strncasecmp_l_nonascii.
43142         [BZ #5794]
43143         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43144         * sysdeps/i386/fpu/libm-test-ulps: Update.
43145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43147         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43150 2012-02-29  Jeff Law  <law@redhat.com>
43152         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43153         out of bounds read.
43155 2012-02-29  Marek Polacek  <polacek@redhat.com>
43157         [BZ #13706]
43158         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43159         * elf/Makefile: Add rules to run tst-unused-dep.out.
43161 2012-02-28  David S. Miller  <davem@davemloft.net>
43163         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43164         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43165         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43166         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43167         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43168         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43170 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43172         * math/libm-test.inc (llround_test): Move one test from
43173         lround_test.  Use TEST_f_L in moved test.
43174         (lround_test): Move misplaced test to llround_test.  Add testcase
43175         from bug 2561.
43177 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43179         * sysdeps/x86_64/fpu/e_expf.S: New file.
43180         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43182 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43184         [BZ #13637]
43185         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43186         of remain_len that may cause incomplete multi-byte character and
43187         false match.
43188         * posix/bug-regex33.c: New file.
43189         * posix/Makefile (tests): Add bug-regex33.
43191 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43193         * manual/macros.texi: New file.
43194         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43195         * manual/libc.texinfo: Include macros.texi.
43196         * manual/creatute.texi: Likewise.
43197         * manual/install.texi: Likewise.
43198         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43199         @glibcadj{} in references to the GNU C Library.
43200         * manual/charset.texi: Likewise.
43201         * manual/conf.texi: Likewise.
43202         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43203         when not using those macros.
43204         * manual/creature.texi: Likewise.
43205         * manual/crypt.texi: Likewise.
43206         * manual/errno.texi: Likewise.
43207         * manual/filesys.texi: Likewise.
43208         * manual/header.texi: Likewise.
43209         * manual/install.texi: Likewise.
43210         * manual/intro.texi: Likewise.
43211         * manual/io.texi: Likewise.
43212         * manual/job.texi: Likewise.
43213         * manual/lang.texi: Likewise.
43214         * manual/libc.texiinfo: Likewise.
43215         * manual/llio.texi: Likewise.
43216         * manual/locale.texi: Likewise.
43217         * manual/maint.texi: Likewise.
43218         * manual/math.texi: Likewise.
43219         * manual/memory.texi: Likewise.
43220         * manual/message.texi: Likewise.
43221         * manual/nss.texi: Likewise.
43222         * manual/pattern.texi: Likewise.
43223         * manual/process.texi: Likewise.
43224         * manual/resource.texi: Likewise.
43225         * manual/search.texi: Likewise.
43226         * manual/setjmp.texi: Likewise.
43227         * manual/signal.texi: Likewise.
43228         * manual/socket.texi: Likewise.
43229         * manual/startup.texi: Likewise.
43230         * manual/stdio.texi: Likewise.
43231         * manual/string.texi: Likewise.
43232         * manual/sysinfo.texi: Likewise.
43233         * manual/syslog.texi: Likewise.
43234         * manual/terminal.texi: Likewise.
43235         * manual/time.texi: Likewise.
43236         * manual/users.texi: Likewise.
43237         * INSTALL: Regenerated.
43238         * NOTES: Regenerated.
43239         * sysdeps/gnu/errlist.c: Regenerated.
43241 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43243         * include/dirent.h: Include <dirstream.h> before
43244         <dirent/dirent.h>.
43246 2012-02-28  David S. Miller  <davem@davemloft.net>
43248         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43249         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43250         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43251         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43253 2012-02-27  David S. Miller  <davem@davemloft.net>
43255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43257         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43258         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43261         frame pointer instead of stack pointer relative arg slot.
43262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43263         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43264         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43266 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43268         [BZ #3992]
43269         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43271 2012-02-27  David S. Miller  <davem@davemloft.net>
43273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43277         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43278         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43279         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43280         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43282 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43284         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43285         later.  Allow versions 5-9.
43286         * configure: Regenerated.
43287         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43288         required minimum version and 4.6 as recommended version.  Do not
43289         mention bugs in GCC 2.7 and 2.8.
43290         * INSTALL: Regenerated.
43292 2012-02-27  David S. Miller  <davem@davemloft.net>
43294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43298         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43299         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43300         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43301         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43303         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43304         manipulate bits before adding and subtracting TWO112[sx].
43305         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43307 2012-02-27  Roland McGrath  <roland@hack.frob.com>
43309         [BZ #13775]
43310         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43311         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43312         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43313         being in POSIX, because they are in 1003.1-2008.
43315         * rt/tst-aio.c: Include <fcntl.h>.
43316         * rt/tst-aio7.c: Likewise.
43317         * rt/tst-aio64.c: Likewise.
43319         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43321 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43323         * manual/install.texi (--with-headers): Describe headers as
43324         interface headers, not private headers.
43325         (Specific advice for GNU/Linux systems): Describe use of headers
43326         from "make headers_install", not private headers from older
43327         kernels.
43328         * INSTALL: Regenerated.
43329         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43330         Change to 2.6.19.
43331         * sysdeps/unix/sysv/linux/configure: Regenerated.
43333         * manual/llio.texi (fclean): Remove documentation.
43335         * manual/Makefile (libc-texi-generated): New variable.  Include
43336         version.texi.
43337         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43338         $(libc-texi-generated), not duplicated list of files.
43339         (version.texi, stamp-version): New rules.
43340         (realclean): Remove $(libc-texi-generated), not individual files
43341         from that list.  Do not remove dir-add.texinfo.
43342         * manual/libc.texinfo: Comment out uses of edition numbers and
43343         references to printed manual.  Remove last-updated dates.
43344         (EDITION): Comment out.
43345         (ISBN): Likewise.
43346         (VERSION, UPDATED): Remove.
43347         (version.texi): Include.
43349 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
43351         * sysdeps/posix/spawni.c: Include <signal.h>.
43352         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43353         * sysdeps/pthread/aio_fsync.c: Likewise.
43355 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
43357         * conform/Makefile (tests): Run only when not cross-compiling and
43358         when fast-check is not defined.
43360         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43361         * conform/data/limits.h-data: Fixes for POSIX2008.
43362         * conform/run-conformtest.sh: Run all tests.
43363         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43364         headers.
43365         * include/bits/dlfcn.h: Likewise.
43366         * include/langinfo.h: Likewise.
43367         * include/monetary.h: Likewise.
43368         * include/sys/poll.h: Likewise.
43370         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43371         for __USE_GNU.
43372         * posix/spawn.h: Define __need_sigset_t.
43373         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43374         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43375         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
43376         to get sigevent_t only.
43377         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43378         only for __USE_GNU.
43379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43380         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43381         process_vm_writev only for __USE_GNU.
43382         * termios/termios.h: Declare tcgetsid also for POSIX2008.
43384         * conform/Makefile: For now ignore errors from run-conformtest.
43385         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
43386         POSIX to avoid namespace pollution.  Don't prepend headers.
43387         * conform/data/aio.h-data: Fixes for POSIX testing.
43388         * conform/data/fcntl.h-data: Likewise.
43389         * conform/data/glob.h-data: Likewise.
43390         * conform/data/grp.h-data: Likewise.
43391         * conform/data/pthread.h-data: Likewise.
43392         * conform/data/pwd.h-data: Likewise.
43393         * conform/data/signal.h-data: Likewise.
43394         * conform/data/spawn.h-data: Likewise.
43395         * conform/data/stdio.h-data: Likewise.
43396         * conform/data/stdlib.h-data: Likewise.
43397         * conform/data/stropts.h-data: Likewise.
43398         * conform/data/sys/mman.h-data: Likewise.
43399         * conform/data/sys/stat.h-data: Likewise.
43400         * conform/data/sys/types.h-data: Likewise.
43401         * conform/data/sys/wait.h-data: Likewise.
43402         * conform/data/time.h-data: Likewise.
43403         * conform/data/unistd.h-data: Likewise.
43404         * conform/data/utime.h-data: Likewise.
43406         * io/sys/stat.h: fchmod was always in POSIX.
43407         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43408         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43409         * rt/aio.h: Define __need_timespec before including <time.h>.
43410         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43411         struct.  Add forward declaration of pthread_attr_t and use it in
43412         sigevent.
43413         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43414         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43415         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43416         always remove CLK_TCK definition.
43418 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
43420         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43422 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
43424         * conform/run-conformtest.sh: New file.
43425         * conform/Makefile: Run run-conformtest for tests.
43426         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
43427         support.
43429         * conform/data/uchar.h-data: New file.
43430         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43431         * conform/data/arpa/inet.h-data: Likewise.
43432         * conform/data/assert.h-data: Likewise.
43433         * conform/data/complex.h-data: Likewise.
43434         * conform/data/cpio.h-data: Likewise.
43435         * conform/data/ctype.h-data: Likewise.
43436         * conform/data/dirent.h-data: Likewise.
43437         * conform/data/dlfcn.h-data: Likewise.
43438         * conform/data/errno.h-data: Likewise.
43439         * conform/data/fcntl.h-data: Likewise.
43440         * conform/data/float.h-data: Likewise.
43441         * conform/data/fmtmsg.h-data: Likewise.
43442         * conform/data/fnmatch.h-data: Likewise.
43443         * conform/data/ftw.h-data: Likewise.
43444         * conform/data/glob.h-data: Likewise.
43445         * conform/data/grp.h-data: Likewise.
43446         * conform/data/iconv.h-data: Likewise.
43447         * conform/data/inttypes.h-data: Likewise.
43448         * conform/data/langinfo.h-data: Likewise.
43449         * conform/data/libgen.h-data: Likewise.
43450         * conform/data/limits.h-data: Likewise.
43451         * conform/data/locale.h-data: Likewise.
43452         * conform/data/math.h-data: Likewise.
43453         * conform/data/monetary.h-data: Likewise.
43454         * conform/data/mqueue.h-data: Likewise.
43455         * conform/data/ndbm.h-data: Likewise.
43456         * conform/data/net/if.h-data: Likewise.
43457         * conform/data/netdb.h-data: Likewise.
43458         * conform/data/netinet/in.h-data: Likewise.
43459         * conform/data/nl_types.h-data: Likewise.
43460         * conform/data/poll.h-data: Likewise.
43461         * conform/data/pthread.h-data: Likewise.
43462         * conform/data/pwd.h-data: Likewise.
43463         * conform/data/regex.h-data: Likewise.
43464         * conform/data/sched.h-data: Likewise.
43465         * conform/data/search.h-data: Likewise.
43466         * conform/data/semaphore.h-data: Likewise.
43467         * conform/data/setjmp.h-data: Likewise.
43468         * conform/data/signal.h-data: Likewise.
43469         * conform/data/spawn.h-data: Likewise.
43470         * conform/data/stdarg.h-data: Likewise.
43471         * conform/data/stdio.h-data: Likewise.
43472         * conform/data/stdlib.h-data: Likewise.
43473         * conform/data/string.h-data: Likewise.
43474         * conform/data/strings.h-data: Likewise.
43475         * conform/data/stropts.h-data: Likewise.
43476         * conform/data/sys/ipc.h-data: Likewise.
43477         * conform/data/sys/mman.h-data: Likewise.
43478         * conform/data/sys/msg.h-data: Likewise.
43479         * conform/data/sys/resource.h-data: Likewise.
43480         * conform/data/sys/select.h-data: Likewise.
43481         * conform/data/sys/sem.h-data: Likewise.
43482         * conform/data/sys/shm.h-data: Likewise.
43483         * conform/data/sys/socket.h-data: Likewise.
43484         * conform/data/sys/stat.h-data: Likewise.
43485         * conform/data/sys/statvfs.h-data: Likewise.
43486         * conform/data/sys/time.h-data: Likewise.
43487         * conform/data/sys/timeb.h-data: Likewise.
43488         * conform/data/sys/times.h-data: Likewise.
43489         * conform/data/sys/types.h-data: Likewise.
43490         * conform/data/sys/uio.h-data: Likewise.
43491         * conform/data/sys/un.h-data: Likewise.
43492         * conform/data/sys/utsname.h-data: Likewise.
43493         * conform/data/sys/wait.h-data: Likewise.
43494         * conform/data/syslog.h-data: Likewise.
43495         * conform/data/tar.h-data: Likewise.
43496         * conform/data/termios.h-data: Likewise.
43497         * conform/data/utime.h-data: Likewise.
43498         * conform/data/utmpx.h-data: Likewise.
43499         * conform/data/varargs.h-data: Likewise.
43500         * conform/data/wchar.h-data: Likewise.
43501         * conform/data/wctype.h-data: Likewise.
43502         * conform/data/wordexp.h-data: Likewise.
43504         * include/stropts.h: New file.
43505         * include/uchar.h: New file.
43506         * include/aio.h: Changes to allow conformtest.pl to use the headers.
43507         * include/assert.h: Likewise.
43508         * include/ctype.h: Likewise.
43509         * include/dirent.h: Likewise.
43510         * include/dlfcn.h: Likewise.
43511         * include/fcntl.h: Likewise.
43512         * include/fnmatch.h: Likewise.
43513         * include/glob.h: Likewise.
43514         * include/grp.h: Likewise.
43515         * include/libio.h: Likewise.
43516         * include/locale.h: Likewise.
43517         * include/math.h: Likewise.
43518         * include/net/if.h: Likewise.
43519         * include/netdb.h: Likewise.
43520         * include/netinet/in.h: Likewise.
43521         * include/pthread.h: Likewise.
43522         * include/pwd.h: Likewise.
43523         * include/regex.h: Likewise.
43524         * include/sched.h: Likewise.
43525         * include/search.h: Likewise.
43526         * include/setjmp.h: Likewise.
43527         * include/signal.h: Likewise.
43528         * include/stdio.h: Likewise.
43529         * include/stdlib.h: Likewise.
43530         * include/string.h: Likewise.
43531         * include/sys/cdefs.h: Likewise.
43532         * include/sys/mman.h: Likewise.
43533         * include/sys/msg.h: Likewise.
43534         * include/sys/resource.h: Likewise.
43535         * include/sys/select.h: Likewise.
43536         * include/sys/socket.h: Likewise.
43537         * include/sys/stat.h: Likewise.
43538         * include/sys/statvfs.h: Likewise.
43539         * include/sys/time.h: Likewise.
43540         * include/sys/times.h: Likewise.
43541         * include/sys/uio.h: Likewise.
43542         * include/sys/utsname.h: Likewise.
43543         * include/sys/wait.h: Likewise.
43544         * include/termios.h: Likewise.
43545         * include/time.h: Likewise.
43546         * include/ulimit.h: Likewise.
43547         * include/unistd.h: Likewise.
43548         * include/utime.h: Likewise.
43549         * include/wchar.h: Likewise.
43550         * include/wctype.h: Likewise.
43551         * include/wordexp.h: Likewise.
43553         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43555         * time/time.h: TIME_UTC must be a macro.
43556         Make timespec_get available for ISO C11 only as well.
43558 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
43560         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43561         Reported by Peng Haitao <penght@cn.fujitsu.com>.
43563 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43565         * configure.in: Use -o not -a in test for unsupported multi-arch.
43567 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43569         * manual/texinfo.tex: Update to version 2012-01-19.16.
43571 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43573         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43575 2012-02-24  Roland McGrath  <roland@hack.frob.com>
43577         [BZ #13738]
43578         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43579         * manual/fdl-1.3.texi: New file.
43580         * manual/fdl-1.1.texi: File removed.
43582         [BZ #13738]
43583         * manual/libc.texinfo (FDL_VERSION): New @set.
43584         Use it for mention of FDL in cover text.
43585         (Documentation License): Use it in @include file name.
43587 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43588             Roland McGrath  <roland@hack.frob.com>
43590         [BZ #5461]
43591         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43592         (not LONG_LONG_MAX and LONG_LONG_MIN.
43593         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43594         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
43595         name.
43596         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43598 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43600         [BZ #2547]
43601         [BZ #11365]
43602         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43603         manipulate bits before adding and subtracting TWO23[sx].
43604         * math/libm-test.inc (nearbyint_test): Add more tests.
43606 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43608         [BZ #2548]
43609         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43610         bits before adding and subtracting TWO23[sx].
43611         * math/libm-test.inc (rint_test): Add more tests.
43612         (rint_test_tonearest): Likewise.
43613         (rint_test_towardzero): Likewise.
43614         (rint_test_downward): Likewise.
43615         (rint_test_upward: Likewise.
43617 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43619         [BZ #10110]
43620         * include/stdc-predef.h: New file.  Extracted from features.h.
43621         * include/features.h: Include stdc-predef.h.
43622         * Makefile (headers): Add stdc-predef.h.
43623         * CONFORMANCE (Compiler limitations): Update.
43625 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43627         * manual/libc.texinfo (VERSION, UPDATED): Revert.
43629 2012-02-21  David S. Miller  <davem@davemloft.net>
43631         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43632         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43634 2012-02-20  David S. Miller  <davem@davemloft.net>
43636         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43637         using a normal save/restore sequence, rather than allocating a
43638         dummy stack frame just to store a frame pointer and restore.
43639         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43641 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43643         * manual/install.texi: Fix stray word in line-wrapped comment.
43645 2012-02-20  David S. Miller  <davem@davemloft.net>
43647         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43648         both binutils and gcc support GOTDATA.
43650         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43651         "rd %pc" in the PIC register setup sequences.
43653         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43654         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43655         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43656         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43657         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43659         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43660         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43661         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43662         (SYSCALL_ERROR_HANDLER): Likewise.
43663         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43664         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43666         (SYSCALL_ERROR_HANDLER): Likewise.
43668         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43669         (HAVE_GCC_GOTDATA): New.
43670         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43671         relocation support in both binutils and gcc.
43672         * sysdeps/sparc/elf/configure: Regenerate.
43674         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43675         * sysdeps/sparc/sparc32/elf/configure: Delete.
43676         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43677         * sysdeps/sparc/sparc64/elf/configure: Delete.
43678         * sysdeps/sparc/elf/configure.in: New file.
43679         * sysdeps/sparc/elf/configure: Generate.
43681         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43682         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43683         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43684         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43685         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43687 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43689         * manual/install.texi: Do not mention specific glibc version
43690         numbers.
43691         * manual/libc.texinfo (VERSION, UPDATED): Update.
43692         (@copying): Use @copyright{} and range of years.
43694 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43696         [BZ #13695]
43697         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43698         [crti.S not in sysdirs] (generated): Do not append.
43699         [crti.S not in sysdirs] (omit-deps): Likewise.
43700         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43701         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43702         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43703         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43704         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43705         Likewise.
43706         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43707         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43708         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43709         * csu/defs.awk: Remove file.
43710         * sysdeps/generic/initfini.c: Likewise.
43711         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43712         variable.
43713         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43714         Likewise.
43716 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43718         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43719         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43720         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43721         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43722         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43723         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43724         <bits/epoll.h>.
43725         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43726         (__EPOLL_PACKED): Define to empty if not defined by
43727         <bits/epoll.h>.
43728         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43729         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43730         bits/epoll.h.
43732 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43734         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43735         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43736         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43737         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43738         <bits/timerfd.h>.
43739         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43740         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43741         bits/timerfd.h.
43743 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43745         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43746         in C locale.
43747         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43748         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43749         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43752 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
43754         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43755         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43757 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
43759         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43760         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43761         defined.
43762         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43763         Likewise.
43764         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43765         entry for 2.16.
43767 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
43769         * math/w_acos.c: Use non-signaling floating-point comparisons.
43770         * math/w_acosf.c: Likewise.
43771         * math/w_acosh.c: Likewise.
43772         * math/w_acoshf.c: Likewise.
43773         * math/w_acoshl.c: Likewise.
43774         * math/w_acosl.c: Likewise.
43775         * math/w_asin.c: Likewise.
43776         * math/w_asinf.c: Likewise.
43777         * math/w_asinl.c: Likewise.
43778         * math/w_atanh.c: Likewise.
43779         * math/w_atanhf.c: Likewise.
43780         * math/w_atanhl.c: Likewise.
43781         * math/w_exp2.c: Likewise.
43782         * math/w_exp2f.c: Likewise.
43783         * math/w_exp2l.c: Likewise.
43784         * math/w_j0.c: Likewise.
43785         * math/w_j0f.c: Likewise.
43786         * math/w_j0l.c: Likewise.
43787         * math/w_j1.c: Likewise.
43788         * math/w_j1f.c: Likewise.
43789         * math/w_j1l.c: Likewise.
43790         * math/w_jn.c: Likewise.
43791         * math/w_jnf.c: Likewise.
43792         * math/w_log.c: Likewise.
43793         * math/w_log10.c: Likewise.
43794         * math/w_log10f.c: Likewise.
43795         * math/w_log10l.c: Likewise.
43796         * math/w_log2.c: Likewise.
43797         * math/w_log2f.c: Likewise.
43798         * math/w_log2l.c: Likewise.
43799         * math/w_logf.c: Likewise.
43800         * math/w_logl.c: Likewise.
43801         * math/w_sqrt.c: Likewise.
43802         * math/w_sqrtf.c: Likewise.
43803         * math/w_sqrtl.c: Likewise.
43804         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43805         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43806         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43807         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43808         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43810 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43812         [BZ #9739]
43813         * manual/string.texi (strnlen): Use correct parameter name in
43814         equivalent expression.
43816 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43818         [BZ #11174]
43819         * manual/users.texi (seteuid): Consistently use neweuid for
43820         argument name.
43822 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43824         [BZ #13704]
43825         * manual/nss.texi (Services in the NSS configuration): Correct
43826         list of services in example configuration file.
43828 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
43830         [BZ #11322]
43831         * manual/arith.texi: Remove statements about negative zero
43832         behaving identically to zero.
43834 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43836         [BZ #5993]
43837         * manual/install.texi: Do not document upgrading from libc5.
43839 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43841         [BZ #4596]
43842         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43844 2012-02-18  David S. Miller  <davem@davemloft.net>
43846         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43847         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43848         %o7 across the call.
43849         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43850         instead.
43851         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43852         SETUP_PIC_REG_LEAF.
43853         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43854         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43855         * sysdeps/sparc/crtn.S: Likewise.
43857 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
43859         * aout/Makefile: Remove.
43861 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
43863         [BZ #13058]
43864         * manual/examples/argp-ex1.c (main): Format definition in GNU
43865         style.
43866         * manual/examples/argp-ex2.c (main): Likewise.
43867         * manual/examples/argp-ex3.c (main): Likewise.
43868         * manual/examples/argp-ex4.c (main): Likewise.
43869         * manual/examples/longopt.c (main): Use new-style prototype
43870         definition.
43871         * manual/examples/strncat.c (main): Specify return type and use
43872         (void) for arguments.
43873         * manual/examples/subopt.c (main): Use char **argv argument.
43875 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43877         [BZ #5077]
43878         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43879         rounding modes.
43881 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
43883         [BZ #6907]
43884         * manual/string.texi (strchr): Change when strchrnul is
43885         recommended.
43887 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
43889         [BZ #174]
43890         * manual/locale.texi (setlocale): Document LOCPATH.
43892 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43894         [BZ #10210]
43895         * manual/process.texi (execle): Move @dots{} before last argument.
43897 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
43899         [BZ #12047]
43900         * manual/charset.texi (Generic Charset Conversion): Fix typo
43901         (LC_TYPE -> LC_CTYPE).
43903 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
43905         [BZ #5805]
43906         * manual/arith.texi (scalbn): Use @var{} on parameter names.
43907         (scalbnf): Likewise.
43908         (scalbnl): Likewise.
43909         (scalbln): Likewise.
43910         (scalblnf): Likewise.
43911         (scalblnl): Likewise.
43912         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43913         (vwarnx): Likewise.
43914         (verr): Likewise.
43915         (verrx): Likewise.
43916         * manual/filesys.texi (telldir): Use braces around return type.
43917         * manual/llio.texi (mmap): Add space after comma.
43918         (mmap64): Likewise.
43919         * manual/math.texi (jn): Use @var{} on parameter names.
43920         (jnf): Likewise.
43921         (jnl): Likewise.
43922         (yn): Likewise.
43923         (ynf): Likewise.
43924         (ynl): Likewise.
43925         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43926         line.
43927         * manual/resource.texi (ulimit): Use @dots{} instead of literal
43928         "...".
43929         (sched_get_priority_min): Remove semicolon on @deftypefun line.
43930         (sched_get_priority_max): Likewise.
43931         * manual/signal.texi (sigvec): Add space after comma.
43932         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43933         names.
43934         (if_indextoname): Likewise.
43935         (if_freenameindex): Likewise.
43936         (sendto): Use ',' instead of '.' in prototype.
43937         * manual/startup.texi (syscall): Use @dots{} instead of literal
43938         "...".
43939         * manual/stdio.texi (__fpending): Separate initial words of
43940         paragraph from @deftypefun line.
43941         * manual/syslog.texi (syslog): Use @dots{} instead of literal
43942         "...".
43943         (vsyslog): Use @var{} on parameter names.
43944         * manual/terminal.texi (stty): Use @var{} on parameter names.
43945         * manual/users.texi (getutmp): Use @var{} on parameter names.
43946         (getutmpx): Likewise.
43948 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43950         [BZ #6884]
43951         * manual/stdio.texi (fopen): Fix typos in description of
43952         ",ccs=STRING".
43954 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
43956         [BZ #4026]
43957         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43958         get clock_id definition.
43960 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
43962         [BZ #4822]
43963         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43964         (madvise): Cast every argument to void on its own.
43966 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43968         [BZ #9902]
43969         * manual/startup.texi (Exit Status): Fix typo.
43971 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43973         [BZ #10140]
43974         * manual/examples/argp-ex1.c: Include <stdlib.h>.
43975         * manual/examples/argp-ex2.c: Likewise.
43976         * manual/examples/argp-ex3.c: Likewise.
43978 2012-02-16  Richard Henderson  <rth@redhat.com>
43980         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43981         * sysdeps/s390/s390-32/initfini.c: Remove.
43982         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43983         * sysdeps/s390/s390-64/initfini.c: Remove.
43985 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43987         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43988         compiler output for sysdeps/generic/initfini.c.
43989         * sysdeps/sh/elf/initfini.c: Remove file.
43991 2012-02-16  David S. Miller  <davem@davemloft.net>
43993         [BZ #11494]
43994         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43996         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43997         * sysdeps/sparc/crti.S: New file.
43998         * sysdeps/sparc/crtn.S: New file.
43999         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44000         * sysdeps/sparc/sparc64/Makefile: Likewise.
44002 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
44004         [BZ #3335]
44005         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44007 2012-02-15  Roland McGrath  <roland@hack.frob.com>
44009         [BZ #4822]
44010         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44012         * mach/devstream.c (cookie_io_functions_t): Macro removed.
44013         (write, read, close): Likewise.
44014         Patch by Aurelien Jarno <aurelien@aurel32.net>.
44016 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
44018         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44019         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44020         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44021         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44022         <bits/signalfd.h>.
44023         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44024         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44025         bits/signalfd.h.
44027 2012-02-14  Marek Polacek  <polacek@redhat.com>
44029         * sysdeps/x86_64/crti.S: New file.
44030         * sysdeps/x86_64/crtn.S: New file.
44031         * sysdeps/x86_64/elf/initfini.c: Remove file.
44033 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44035         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44036         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44037         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44038         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44039         <bits/inotify.h>.
44040         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44042         bits/inotify.h.
44044 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44046         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44047         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44048         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44049         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44050         <bits/eventfd.h>.
44051         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44053         bits/eventfd.h.
44055 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
44057         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44058         __feraiseexcept instead of feraiseexcept.
44060         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44061         nanosleep invocations.
44062         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44063         strings, and add error checking for a nanosleep invocations.
44065 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
44067         Replace FSF snail mail address with URLs, as per GNU coding standards.
44068         Most of the snail mail addresses were wrong anyway, and omitting
44069         them makes the source code easier to maintain.  Almost all of the
44070         changes are to license notices and to locale LC_IDENTIFICATION
44071         addresses, except for this one:
44072         * manual/libc.texinfo: In "Published by", give the FSF's URL,
44073         not its snail mail address.
44075 2012-02-09  Richard Henderson  <rth@twiddle.net>
44077         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44078         of kernel-features.h.
44080         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44082 2012-02-08  Marek Polacek  <polacek@redhat.com>
44084         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44085         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44086         * sysdeps/gnu/_G_config.h: Likewise.
44087         * sysdeps/generic/_G_config.h: Likewise.
44089 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
44091         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44092         tests.
44093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44095         * sysdeps/powerpc/powerpc32/crti.S: New file.
44096         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44097         * sysdeps/powerpc/powerpc64/crti.S: New file.
44098         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44100         * Makeconfig (have-initfini): Don't set.
44101         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44102         * configure.in (nopic_initfini): Don't substitute.
44103         * config.h.in (HAVE_INITFINI): Don't #undef.
44104         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44105         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44107 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44109         Support crti.S and crtn.S provided directly by architectures.
44110         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44111         [crti.S in sysdirs] (omit-deps): Likewise.
44112         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44113         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44114         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44115         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44116         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44117         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44118         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44119         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44120         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44121         compiler output for sysdeps/generic/initfini.c.
44122         * sysdeps/i386/elf/Makefile: Remove file.
44123         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44125 2012-02-07  Marek Polacek  <polacek@redhat.com>
44127         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44128         * sysdeps/gnu/_G_config.h: Likewise.
44129         * sysdeps/mach/hurd/_G_config.h: Likewise.
44131 2012-02-07  Marek Polacek  <polacek@redhat.com>
44133         * math/Makefile (tests): Add tst-CMPLX2.
44134         * math/tst-CMPLX2.c: New file.
44136 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44138         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44140         * math/libm-test.inc (jn_test): Add missing L suffix.
44142 2012-02-06  Marek Polacek  <polacek@redhat.com>
44144         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44145         * sysdeps/i386/fpu/e_powf.S: Likewise.
44146         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44147         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44148         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44149         * sysdeps/i386/fpu/e_pow.S: Likewise.
44150         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44151         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44152         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44153         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44154         * sysdeps/i386/fpu/e_log2.S: Likewise.
44155         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44156         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44157         * sysdeps/i386/fpu/e_powl.S: Likewise.
44158         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44159         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44160         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44161         * sysdeps/i386/fpu/e_logl.S: Likewise.
44162         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44163         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44164         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44165         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44166         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44167         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44168         * sysdeps/i386/fpu/e_log.S: Likewise.
44169         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44170         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44171         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44172         * sysdeps/i386/fpu/e_logf.S: Likewise.
44173         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44174         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44175         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44176         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44177         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44178         * sysdeps/i386/fpu/e_log10.S: Likewise.
44179         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44180         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44181         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44182         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44183         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44184         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44185         * sysdeps/i386/asm-syntax.h: Likewise.
44186         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44187         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44188         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44189         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44190         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44191         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44192         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44193         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44194         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44195         * sysdeps/powerpc/sysdep.h: Likewise.
44196         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44197         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44199 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44201         [BZ #411]
44202         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44204 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44206         * sysdeps/i386/sysdep.h: Include <features.h>.
44207         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44208         version.
44210 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44212         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44213         Define.
44214         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44215         LOAD_PIC_REG_STR.
44217 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44219         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44220         (SETUP_PIC_REG): Use GET_PC_THUNK.
44221         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44222         macro.
44224 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44226         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44227         for non-PIC compilation.
44228         (SETUP_PIC_REG): Add .p2align directive.
44229         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44230         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44231         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44232         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44233         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44234         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44235         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44236         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44237         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44238         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44239         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44240         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44241         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44242         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44243         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44244         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44245         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44246         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44247         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44248         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44249         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44250         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44251         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44252         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44253         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44254         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44255         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44256         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44257         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44258         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44259         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44260         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44261         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44262         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44263         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44264         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44265         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44266         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44267         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44268         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44269         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44271 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44273         * math/tst-CMPLX.c: Include <stdio.h>.
44275 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44277         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44278         float.
44279         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44280         * sysdeps/sparc/bits/mathdef.h: Likewise.
44282 2012-01-31  Marek Polacek  <polacek@redhat.com>
44284         * libio/libio.h: Don't define _PARAMS.
44285         * locale/programs/config.h: Don't define PARAMS.
44286         * stdlib/strtol_l.c: Likewise.
44287         (__strtol_l): Remove PARAMS from the prototype.
44289 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44291         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44292         names.  Just use the correct names.  Remove unnecessary wrapper
44293         functions.
44294         * malloc/arena.c: Likewise.
44295         * malloc/hooks.c: Likewise.
44297         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44298         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44299         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44301 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44303         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44304         into tail calls.
44305         (update_get_addr): New function.
44306         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44307         GET_ADDR_MODULE parameter.
44309 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44311         * crypt/cert.c: Remove __STDC__ conditionals.
44312         * crypt/crypt-entry.c: Likewise.
44313         * crypt/crypt_util.c: Likewise.
44314         * libio/filedoalloc.c: Likewise.
44315         * libio/fileops.c: Likewise.
44316         * libio/genops.c: Likewise.
44317         * libio/iofclose.c: Likewise.
44318         * libio/iofdopen.c: Likewise.
44319         * libio/iofopen.c: Likewise.
44320         * libio/iofopen64.c: Likewise.
44321         * libio/iogetdelim.c: Likewise.
44322         * libio/iopopen.c: Likewise.
44323         * libio/obprintf.c: Likewise.
44324         * libio/oldfileops.c: Likewise.
44325         * libio/oldiofclose.c: Likewise.
44326         * libio/oldiofdopen.c: Likewise.
44327         * libio/oldiofopen.c: Likewise.
44328         * libio/oldiopopen.c: Likewise.
44329         * libio/wfiledoalloc.c: Likewise.
44330         * libio/wgenops.c: Likewise.
44331         * locale/programs/xmalloc.c: Likewise.
44332         * misc/syslog.c: Likewise.
44333         * stdio-common/xbug.c: Likewise.
44334         * string/memchr.c: Likewise.
44335         * string/memcmp.c: Likewise.
44336         * string/memrchr.c: Likewise.
44337         * string/rawmemchr.c: Likewise.
44338         * sysdeps/posix/getcwd.c: Likewise.
44339         * time/strftime_l.c: Likewise.
44341 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44343         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44344         * config.make.in (config-cflags-sse2avx): Define.
44345         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44346         Fix typo.
44348 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
44350         * scripts/config.guess: Update from upstream config git repository.
44351         * scripts/config.sub: Likewise.
44353 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
44355         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44356         (EM_NUM): Update.
44357         (R_TILEPRO_*, R_TILEGX_*): New macros.
44359         * scripts/firstversions.awk: Fix bug in version range handling.
44361         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44363         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44365         * include/sys/epoll.h: New file.
44366         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44367         libc_hidden_def.
44369 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
44371         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44372         Avoid unnecessary __WORDSIZE == 64 test.
44373         (fmaxf): Use VEX format if possible.
44374         (fmax): Likewise.
44375         (fminf): Likewise.
44376         (fmin): Likewise.
44378         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44379         * math/math_private.h: Remove libc_fegetround* and
44380         libc_fesetround*.
44381         * sysdeps/i386/configure.in: Check for -msse2avx.
44382         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44383         also if SSE2AVX is defined.
44384         Remove libc_fegetround* and libc_fesetround*.
44385         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44386         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
44387         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44388         of HAS_YMM_USABLE.
44389         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44390         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44391         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44392         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44393         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44395         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44397 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44399         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44400         size is not set.
44401         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44403 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
44405         [BZ #13618]
44406         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44407         relocation.
44408         * Makeconfig (libm): Define.
44409         * elf/Makefile: Add rules to build and run tst-relsort1.
44410         * elf/tst-relsort1.c: New file.
44411         * elf/tst-relsort1mod1.c: New file.
44412         * elf/tst-relsort1mod2.c: New file.
44414 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
44416         * math/s_ldexp.c: Remove __STDC__ conditionals.
44417         * math/s_ldexpf.c: Likewise.
44418         * math/s_ldexpl.c: Likewise.
44419         * math/s_nextafter.c: Likewise.
44420         * math/s_nexttowardf.c: Likewise.
44421         * math/s_significand.c: Likewise.
44422         * math/s_significandf.c: Likewise.
44423         * math/s_significandl.c: Likewise.
44424         * math/w_jnl.c: Likewise.
44425         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44426         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44427         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44428         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44429         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44430         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44431         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44432         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44433         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44434         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44435         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44436         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44437         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44438         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44439         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44440         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44441         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44442         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44443         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44444         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44445         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44446         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44447         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44448         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44449         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44450         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44451         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44452         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44453         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44454         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44455         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44456         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44457         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44458         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44459         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44460         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44461         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44462         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44463         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44464         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44465         * sysdeps/ieee754/k_standard.c: Likewise.
44466         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44467         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44468         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44469         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44470         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44471         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44472         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44473         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44474         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44475         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44476         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44477         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44478         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44479         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44480         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44481         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44482         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44483         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44484         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44485         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44486         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44487         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44488         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44489         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44490         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44491         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44492         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44493         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44494         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44495         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44496         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44497         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44498         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44499         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44500         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44501         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44502         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44503         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44504         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44505         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44506         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44507         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44508         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44509         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44510         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44511         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44512         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44513         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44514         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44515         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44516         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44517         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44518         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44519         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44521         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44522         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44523         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44524         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44525         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44526         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44527         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44528         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44529         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44530         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44531         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44532         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44533         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44534         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44535         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44536         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44537         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44538         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44539         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44540         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44541         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44542         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44543         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44544         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44545         * sysdeps/ieee754/s_matherr.c: Likewise.
44546         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44547         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44548         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44549         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44551 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44553         * crypt/md5.h: Remove __STDC__ conditionals.
44554         * libio/libioP.h: Likewise.
44555         * locale/programs/config.h: Likewise.
44556         * sysdeps/generic/sysdep.h: Likewise.
44557         * sysdeps/i386/asm-syntax.h: Likewise.
44558         * sysdeps/s390/asm-syntax.h: Likewise.
44559         * sysdeps/unix/sysdep.h: Likewise.
44560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44563 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44565         * libio/libio.h: Remove __STDC__ conditionals.
44566         * malloc/obstack.h: Likewise.
44567         * math/complex.h: Likewise.
44568         * math/math.h: Likewise.
44569         * sysdeps/generic/_G_config.h: Likewise.
44570         * sysdeps/gnu/_G_config.h: Likewise.
44571         * sysdeps/mach/hurd/_G_config.h: Likewise.
44572         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44573         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44574         * sysdeps/sparc/bits/mathdef.h: Likewise.
44576 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
44578         [BZ #13583]
44579         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44580         Clean up HAS_* macros.
44581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44582         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44583         possible.
44584         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44585         HAS_AVX.
44586         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44587         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44588         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44589         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44590         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44592 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
44594         * elf/tst-unique3.cc (gets): Remove declaration.
44595         * elf/tst-unique3lib.cc (gets): Likewise.
44596         * elf/tst-unique3lib2.cc (gets): Likewise.
44597         * elf/tst-unique4.cc (gets): Likewise.
44599 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
44601         * include/stdio.h: Add C++ protection.  Add gets declarations and
44602         definitions.
44603         * debug/tst-chk1.c: Don't declare gets here.
44604         * stdio-common/tst-gets.c: Likewise.
44606 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44608         * posix/glob: Remove directory.
44610 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44612         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44614 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
44616         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44617         of the non-standard EPFNOSUPPORT.
44619 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44621         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44622         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44623         ANYWHERE set to 1 only on KERN_NO_SPACE error.
44625 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
44627         * wcsmbs/uchar.h: Test __STDC_VERSION__.
44629 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
44631         * nscd/aicache.c (addhstaiX): Do not cache negative results of
44632         transient errors.
44633         * nscd/grpcache.c (cache_addgr): Likewise.
44634         * nscd/hstcache.c (cache_addhst): Likewise.
44635         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44636         * nscd/pwdcache.c (cache_addpw): Likewise.
44637         * nscd/servicescache.c (cache_addserv): Likewise.
44639 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
44641         * malloc/malloc.c: Various cleanups.
44642         * malloc/hooks.c: Likewise.
44644         * stdlib/Makefile (tests): Add bug-fmtmsg1.
44645         * stdlib/bug-fmtmsg1.c: New file.
44647         * stdlib/fmtmsg.c (init): Add missing unlock.
44648         Patch by Peng Haitao <penght@cn.fujitsu.com>.
44650 2012-01-12  Marek Polacek  <polacek@redhat.com>
44652         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44653         and _GNU_SOURCE.
44655 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44657         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44658         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44659         macro to ensure uniqueness of label name.
44660         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44661         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44663 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
44665         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44667         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44668         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44669         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44670         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44672 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
44674         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44676         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44677         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44678         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44680         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44682         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44683         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44684         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44685         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44687         * math/bits/math-finite.h: Add ldexp support.
44689 2012-01-10  Marek Polacek  <polacek@redhat.com>
44691         * locale/programs/localedef.h (show_archive_content): Add noreturn
44692         attribute.
44694 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
44696         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44698 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44700         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44702         * io/Makefile (headers): Add bits/poll2.h.
44704 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
44706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44707         typo #include statement.
44709 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44711         * include/sys/cdefs.h: Define __attribute_alloc_size.
44712         * catgets/gencat.c: Add alloc_size attribute and apply consistently
44713         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44714         * elf/pldd.c: Likewise.
44715         * iconv/iconv_charmap.c: Likewise.
44716         * iconv/iconvconfig.c: Likewise.
44717         * iconv/strtab.c: Likewise.
44718         * locale/programs/locale.c: Likewise.
44719         * locale/programs/localedef.h: Likewise.
44720         * locale/programs/simple-hash.c: Likewise.
44721         * nscd/nscd.h: Likewise.
44722         * nss/makedb.c: Likewise.
44723         * sysdeps/generic/ldconfig.h: Likewise.
44724         * locale/programs/localedef.c: Remove xmalloc prototype.
44725         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44727 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44729         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44730         appropriate.
44732 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44734         * math/Makefile (tests): Add tst-CMPLX.
44735         * math/tst-CMPLX.c: New file.
44737         * math/complex.h (CMPLXL): Fix typo.
44739         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44740         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44741         GLIBC_2.16.
44742         * debug/tst-chk1.c: Add poll and ppoll tests.
44743         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44744         * include/sys/poll.h: Add hidden proto for ppoll.
44745         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44746         * sysdeps/mach/hurd/ppoll.c: Likewise.
44747         * io/ppoll.c: Likewise.
44748         * debug/poll_chk.c: New file.
44749         * debug/ppoll_chk.c: New file.
44750         * include/bits/poll2.h: New file.
44751         * io/bits/poll2.h: New file.
44753         [BZ #1350]
44754         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44756         * configure.in: static is always set to yes.  Remove.
44757         * config.make.in: Don't set build-static.
44758         * Makeconfig: Remove use of build-static.
44759         * dlfcn/Makefile: Likewise.
44760         * elf/Makefile: Likewise.
44761         * math/Makefile: Likewise.
44762         * misc/Makefile: Likewise.
44763         * nptl/Makefile: Likewise.
44764         * sysdeps/mach/hurd/Makefile: Likewise.
44766         * configure.in: PWD_P is not used anymore.
44767         * config.make.in: Remove PWD_P entry.
44769         * configure.in: Remove last remnants of RANLIB.
44770         No need to check for signed size_t anymore.
44771         Don't set libc_commonpagesize and libc_relro_required here for Alpha
44772         and IA-64.
44773         Remove __builtin_expect test because we require at least gcc 3.4.
44774         * aclocal.m4: Likewise.
44776         * wcsmbs/mbrtoc16.c: Implement using towc function.
44777         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44778         * wcsmbs/wcsmbsload.c: Likewise.
44779         * iconv/gconv_simple.c: Likewise.
44780         * iconv/gconv_int.h: Likewise.
44781         * iconv/gconv_builtin.h: Likewise.
44782         * iconv/iconv_prog.c: Remove CHAR16 handling.
44784         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44786         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44788         * configure.in: Remove --with-elf and --enable-bounded options.
44789         Dont set base_machine for ia64.  More non-ELF conditions removed.
44790         Remove testing and setting of leading underscore information.
44791         * config.make.in (build-bounded): Set to no.
44792         * config.h.in: Remove NO_UNDERSCORES entry.
44793         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
44794         them.
44795         * csu/start.c: Remove !NO_UNDERSCORE code.
44796         * locale/localeinfo.h: Likewise.
44797         * sysdeps/generic/machine-gmon.h: Likewise.
44798         * sysdeps/generic/sysdep.h: Likewise.
44799         * sysdeps/i386/sysdep.h: Likewise.
44800         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44801         * sysdeps/mach/sysdep.h: Likewise.
44802         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44803         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44804         * sysdeps/sh/sysdep.h: Likewise.
44805         * sysdeps/sparc/sparc32/alloca.S: Likewise.
44806         * sysdeps/unix/i386/sysdep.S: Likewise.
44807         * sysdeps/unix/sparc/start.c: Likewise.
44808         * sysdeps/unix/sparc/sysdep.S: Likewise.
44809         * sysdeps/unix/sparc/sysdep.h: Likewise.
44810         * sysdeps/unix/start.c: Likewise.
44811         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44812         * sysdeps/x86_64/sysdep.h: Likewise.
44814 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
44816         [BZ #13553]
44817         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44818         for non-gcc.
44819         * argp/argp-fmtstream.h: Use const instead __const.
44820         * argp/argp.h: Likewise.
44821         * assert/assert.h: Likewise.
44822         * bits/fenv.h: Likewise.
44823         * bits/sched.h: Likewise.
44824         * bits/sigset.h: Likewise.
44825         * bits/sigthread.h: Likewise.
44826         * catgets/nl_types.h: Likewise.
44827         * conform/data/pthread.h-data: Likewise.
44828         * crypt/crypt-private.h: Likewise.
44829         * crypt/crypt.h: Likewise.
44830         * crypt/crypt_util.c: Likewise.
44831         * ctype/ctype.h: Likewise.
44832         * debug/execinfo.h: Likewise.
44833         * debug/mbsnrtowcs_chk.c: Likewise.
44834         * debug/mbsrtowcs_chk.c: Likewise.
44835         * debug/wcsnrtombs_chk.c: Likewise.
44836         * debug/wcsrtombs_chk.c: Likewise.
44837         * debug/wcstombs_chk.c: Likewise.
44838         * dirent/dirent.h: Likewise.
44839         * dlfcn/dlfcn.h: Likewise.
44840         * elf/neededtest4.c: Likewise.
44841         * grp/grp.h: Likewise.
44842         * gshadow/gshadow.h: Likewise.
44843         * iconv/gconv.h: Likewise.
44844         * iconv/gconv_int.h: Likewise.
44845         * iconv/gconv_simple.c: Likewise.
44846         * iconv/iconv.h: Likewise.
44847         * iconv/loop.c: Likewise.
44848         * iconv/skeleton.c: Likewise.
44849         * include/aio.h: Likewise.
44850         * include/aliases.h: Likewise.
44851         * include/argz.h: Likewise.
44852         * include/arpa/inet.h: Likewise.
44853         * include/assert.h: Likewise.
44854         * include/dirent.h: Likewise.
44855         * include/dlfcn.h: Likewise.
44856         * include/execinfo.h: Likewise.
44857         * include/fcntl.h: Likewise.
44858         * include/fenv.h: Likewise.
44859         * include/glob.h: Likewise.
44860         * include/grp.h: Likewise.
44861         * include/libintl.h: Likewise.
44862         * include/mntent.h: Likewise.
44863         * include/netdb.h: Likewise.
44864         * include/pwd.h: Likewise.
44865         * include/rpc/netdb.h: Likewise.
44866         * include/sched.h: Likewise.
44867         * include/search.h: Likewise.
44868         * include/shadow.h: Likewise.
44869         * include/signal.h: Likewise.
44870         * include/stdio.h: Likewise.
44871         * include/stdlib.h: Likewise.
44872         * include/string.h: Likewise.
44873         * include/sys/socket.h: Likewise.
44874         * include/sys/stat.h: Likewise.
44875         * include/sys/statfs.h: Likewise.
44876         * include/sys/statvfs.h: Likewise.
44877         * include/sys/syslog.h: Likewise.
44878         * include/sys/time.h: Likewise.
44879         * include/sys/uio.h: Likewise.
44880         * include/time.h: Likewise.
44881         * include/unistd.h: Likewise.
44882         * include/utmp.h: Likewise.
44883         * include/wchar.h: Likewise.
44884         * include/wctype.h: Likewise.
44885         * inet/aliases.h: Likewise.
44886         * inet/arpa/inet.h: Likewise.
44887         * inet/netinet/ether.h: Likewise.
44888         * inet/netinet/in.h: Likewise.
44889         * intl/libintl.h: Likewise.
44890         * io/bits/fcntl2.h: Likewise.
44891         * io/fcntl.h: Likewise.
44892         * io/ftw.h: Likewise.
44893         * io/sys/poll.h: Likewise.
44894         * io/sys/stat.h: Likewise.
44895         * io/sys/statfs.h: Likewise.
44896         * io/sys/statvfs.h: Likewise.
44897         * io/utime.h: Likewise.
44898         * libio/bits/stdio.h: Likewise.
44899         * libio/bits/stdio2.h: Likewise.
44900         * libio/libio.h: Likewise.
44901         * libio/libioP.h: Likewise.
44902         * libio/stdio.h: Likewise.
44903         * locale/lc-ctype.c: Likewise.
44904         * locale/locale.h: Likewise.
44905         * login/utmp.h: Likewise.
44906         * malloc/arena.c: Likewise.
44907         * malloc/malloc.c: Likewise.
44908         * malloc/malloc.h: Likewise.
44909         * malloc/mcheck.c: Likewise.
44910         * malloc/mtrace.c: Likewise.
44911         * math/bits/mathcalls.h: Likewise.
44912         * math/fenv.h: Likewise.
44913         * math/math_private.h: Likewise.
44914         * misc/bits/error.h: Likewise.
44915         * misc/bits/syslog.h: Likewise.
44916         * misc/err.h: Likewise.
44917         * misc/error.h: Likewise.
44918         * misc/fstab.h: Likewise.
44919         * misc/mntent.h: Likewise.
44920         * misc/regexp.h: Likewise.
44921         * misc/search.h: Likewise.
44922         * misc/sgtty.h: Likewise.
44923         * misc/sys/mman.h: Likewise.
44924         * misc/sys/syslog.h: Likewise.
44925         * misc/sys/uio.h: Likewise.
44926         * misc/sys/xattr.h: Likewise.
44927         * misc/ttyent.h: Likewise.
44928         * nis/rpcsvc/ypclnt.h: Likewise.
44929         * nss/nss.h: Likewise.
44930         * posix/bits/unistd.h: Likewise.
44931         * posix/fnmatch.h: Likewise.
44932         * posix/glob.h: Likewise.
44933         * posix/sched.h: Likewise.
44934         * posix/spawn.h: Likewise.
44935         * posix/sys/wait.h: Likewise.
44936         * posix/unistd.h: Likewise.
44937         * posix/wordexp.h: Likewise.
44938         * pwd/pwd.h: Likewise.
44939         * resolv/netdb.h: Likewise.
44940         * resource/sys/resource.h: Likewise.
44941         * rt/aio.h: Likewise.
44942         * rt/bits/mqueue2.h: Likewise.
44943         * rt/mqueue.h: Likewise.
44944         * shadow/shadow.h: Likewise.
44945         * signal/signal.h: Likewise.
44946         * socket/send.c: Likewise.
44947         * socket/sendto.c: Likewise.
44948         * socket/sys/socket.h: Likewise.
44949         * stdio-common/printf.h: Likewise.
44950         * stdlib/bits/stdlib.h: Likewise.
44951         * stdlib/fmtmsg.h: Likewise.
44952         * stdlib/monetary.h: Likewise.
44953         * stdlib/stdlib.h: Likewise.
44954         * stdlib/ucontext.h: Likewise.
44955         * streams/stropts.h: Likewise.
44956         * string/argz.h: Likewise.
44957         * string/bits/string2.h: Likewise.
44958         * string/string.h: Likewise.
44959         * string/strings.h: Likewise.
44960         * sunrpc/rpc/auth.h: Likewise.
44961         * sunrpc/rpc/auth_des.h: Likewise.
44962         * sunrpc/rpc/clnt.h: Likewise.
44963         * sunrpc/rpc/netdb.h: Likewise.
44964         * sunrpc/rpc/pmap_clnt.h: Likewise.
44965         * sunrpc/rpc/xdr.h: Likewise.
44966         * sysdeps/generic/inttypes.h: Likewise.
44967         * sysdeps/generic/net/if.h: Likewise.
44968         * sysdeps/generic/sys/swap.h: Likewise.
44969         * sysdeps/gnu/net/if.h: Likewise.
44970         * sysdeps/gnu/utmpx.h: Likewise.
44971         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44972         * sysdeps/i386/i486/bits/string.h: Likewise.
44973         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44974         * sysdeps/s390/bits/string.h: Likewise.
44975         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44976         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44977         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44978         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44979         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44980         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44981         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44982         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44983         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44984         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44985         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44986         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44987         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44988         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44989         * sysdeps/unix/sysv/linux/readv.c: Likewise.
44990         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44991         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44993         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44994         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44995         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44996         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44997         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44998         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44999         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45000         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45001         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45002         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45003         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45004         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45005         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45006         * sysvipc/sys/ipc.h: Likewise.
45007         * sysvipc/sys/msg.h: Likewise.
45008         * sysvipc/sys/sem.h: Likewise.
45009         * sysvipc/sys/shm.h: Likewise.
45010         * termios/termios.h: Likewise.
45011         * time/sys/time.h: Likewise.
45012         * time/time.h: Likewise.
45013         * wcsmbs/bits/wchar2.h: Likewise.
45014         * wcsmbs/uchar.h: Likewise.
45015         * wcsmbs/wchar.h: Likewise.
45016         * wctype/wctype.h: Likewise.
45018         [BZ #13551]
45019         * Makeconfig: Remove all but ELF support including AIX support.
45020         * Makerules: Likewise.
45021         * config.h.in: Likewise.
45022         * config.make.in: Likewise.
45023         * configure: Likewise.
45024         * configure.in: Likewise.
45025         * csu/Makefile: Likewise.
45026         * csu/version.c: Likewise.
45027         * debug/Makefile: Likewise.
45028         * dlfcn/Makefile: Likewise.
45029         * elf/Makefile: Likewise.
45030         * extra-lib.mk: Likewise.
45031         * iconv/Makefile: Likewise.
45032         * include/libc-symbols.h: Likewise.
45033         * include/shlib-compat.h: Likewise.
45034         * resolv/Makefile: Likewise.
45035         * resolv/res_libc.c: Likewise.
45036         * rt/Makefile: Likewise.
45037         * sysdeps/i386/asm-syntax.h: Likewise.
45038         * sysdeps/i386/sysdep.h: Likewise.
45039         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45040         * sysdeps/mach/sysdep.h: Likewise.
45041         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45042         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45043         * sysdeps/s390/asm-syntax.h: Likewise.
45044         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45045         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45046         * sysdeps/sh/sysdep.h: Likewise.
45047         * sysdeps/unix/sparc/sysdep.h: Likewise.
45048         * sysdeps/wordsize-32/divdi3.c: Likewise.
45049         * sysdeps/x86_64/sysdep.h: Likewise.
45051         * argp/Versions: Remove _argp_unlock_xxx.
45053         [BZ #13559]
45054         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
45055         * abilist/libBrokenLocale.abilist: Likewise.
45056         * abilist/libanl.abilist: Likewise.
45057         * abilist/libc.abilist: Likewise.
45058         * abilist/libcrypt.abilist: Likewise.
45059         * abilist/libdl.abilist: Likewise.
45060         * abilist/libm.abilist: Likewise.
45061         * abilist/libnsl.abilist: Likewise.
45062         * abilist/libpthread.abilist: Likewise.
45063         * abilist/libresolv.abilist: Likewise.
45064         * abilist/librt.abilist: Likewise.
45065         * abilist/libthread_db.abilist: Likewise.
45066         * abilist/libutil.abilist: Likewise.
45067         * abilist/libnss_db.abilist: New file.
45069         * scripts/abilist.awk: Add support for indirect functions.
45071         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45073         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45075         * shlib-versions: Remove entries for ports architectures.
45077         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
45078         files in ports.
45079         * elf/stackguard-macros.h: Remove support for IA-64.
45080         * elf/tst-auditmod1.c: Likewise.
45081         * sysdeps/generic/ldsodefs.h: Likewise.
45083         * sysdeps/unix/sysv/linux/configure.in: Ports should define
45084         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45085         configure files.
45087         [BZ #13552]
45088         * configure.in: Remove --enable-omitfp support.
45089         * FAQ.in: Adjust.
45090         * config.make.in: Likewise.
45091         * Makeconfig: Likewise.
45092         * manual/install.texi: Likewise.
45094         In case anyone cares, the IA-64 architecture could move to ports.
45095         * sysdeps/ia64/*: Removed.
45096         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45097         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45099         [BZ #13555]
45100         * configure.in: Remove entries for unsupported architectures.
45102         [BZ #13533]
45103         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45104         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45105         routines.
45106         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45107         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45108         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45109         fall back to using wcrtomb.
45110         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45111         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45112         renaming.
45113         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45114         * wcsmbs/tst-c16c32-1.c: New file.
45116         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45117         local variable.
45119         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45121         * elf/tst-unique3.cc: Add explicit declaration of gets.
45122         * elf/tst-unique3lib.cc: Likewise.
45123         * elf/tst-unique3lib2.cc: Likewise.
45124         * elf/tst-unique4.cc: Likewise.
45126         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45128 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45130         [BZ #13566]
45131         * assert/assert.h (static_assert): Don't define for C++.
45132         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45133         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45135 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45137         * iconv/loop.c (single loop): Fix assertion in storing of
45138         remaining bytes.
45140         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45142 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45144         * posix/getconf.c: Update copyright year.
45145         * nss/getent.c: Likewise.
45146         * nss/makedb.c: Likewise.
45147         * iconv/iconvconfig.c: Likewise.
45148         * iconv/iconv_prog.c: Likewise.
45149         * elf/ldconfig.c: Likewise.
45150         * elf/pldd.c: Likewise.
45151         * elf/sotruss.ksh: Likewise.
45152         * catgets/gencat.c: Likewise.
45153         * csu/version.c: Likewise.
45154         * elf/ldd.bash.in: Likewise.
45155         * elf/sprof.c (print_version): Likewise.
45156         * locale/programs/locale.c: Likewise.
45157         * locale/programs/localedef.c: Likewise.
45158         * login/programs/pt_chown.c: Likewise.
45159         * nscd/nscd.c (print_version): Likewise.
45160         * debug/xtrace.sh: Likewise.
45161         * malloc/memusage.sh: Likewise.
45162         * malloc/mtrace.pl: Likewise.
45163         * debug/catchsegv.sh: Likewise.
45165 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45167         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45168         pure attribute.
45170 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45172         [BZ #13533]
45173         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45174         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45175         transformations.
45176         * iconv/gconv_int.h: Likewise.
45177         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45178         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45179         from libc for GLIBC_2.16.
45180         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45181         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45182         * wcsmbs/uchar.h: Really define mbstate_t.
45183         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45184         * wcsmbs/c16rtomb.c: New file.
45185         * wcsmbs/mbrtoc16.c: New file.
45186         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45187         for C/POSIX locale.
45188         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45189         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45191         * wcsmbs/wchar.h: Add missing __restrict.
45193 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45195         [BZ #13532]
45196         * time/Makefile (routines): Add timespec_get.
45197         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45198         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45199         timespec for ISO C11.
45200         * time/timespec_get.c: New file.
45201         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45202         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45204         [BZ #13531]
45205         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45206         * stdlib/stdlib.h: Declare aligned_alloc.
45207         * Versions.def: Add GLIBC_2.16 for libc.
45208         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45210         [BZ 13527]
45211         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45212         ISO C11.
45214         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45215         code.
45217         [BZ #13528]
45218         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45220         [BZ #13529]
45221         * assert/assert.h (static_assert): Define.
45223         * version.h: Update for 2.16 development version.
45225         [BZ #13526]
45226         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45227         _ISOC11_SOURCE.
45229         * version.h (RELEASE): Bump for 2.15 release.
45230         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45232         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45233         Patch by Marek Polacek <mpolacek@redhat.com>.
45235         * bits/byteswap.h: Protect long long constants with __extension__.
45236         * sysdeps/i386/bits/byteswap.h: Likewise.
45237         * sysdeps/ia64/bits/byteswap.h: Likewise.
45238         * sysdeps/s390/bits/byteswap.h: Likewise.
45239         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45241 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45243         [BZ #13540]
45244         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45245         destination buffer.
45246         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45248 2011-12-23  Marek Polacek  <polacek@redhat.com>
45250         * elf/dl-addr.c (determine_info): Add inline keyword.
45251         * elf/tst-auditmod4b.c (check_avx): Likewise.
45252         * elf/tst-auditmod6b.c (check_avx): Likewise.
45253         * elf/tst-auditmod6c.c (check_avx): Likewise.
45254         * elf/tst-auditmod7b.c (check_avx): Likewise.
45256 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45258         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45259         !__SSE_MATH__.
45261 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45263         [BZ #13540]
45264         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45265         processing for last bytes.
45267 2011-08-06  Bruno Haible  <bruno@clisp.org>
45269         [BZ #13061]
45270         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45271         U+0385, not to U+1FEE.
45273         [BZ #13062]
45274         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45275         entry for U+00A5 U+0301.
45277 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45279         [BZ #13166]
45280         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45281         buffer for the output is too small.
45283         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45284         optimization.
45286         [BZ #13185]
45287         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45288         SSE flags if possible.
45290 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45292         [BZ #13540]
45293         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45294         processing for last bytes.
45296 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45298         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45299         (syscall-list-default-options, syscall-list-default-condition)
45300         (syscall-list-includes): Define.
45301         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45302         list of ABIs and options and #if conditions for each ABI.  Do not
45303         handle common syscalls between ABIs specially.
45304         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45305         Remove.
45306         (syscall-list-variants, syscall-list-32bit-options)
45307         (syscall-list-32bit-condition, syscall-list-64bit-options)
45308         (syscall-list-64bit-condition): Define.
45309         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45310         (syscall-list-variants, syscall-list-32bit-options)
45311         (syscall-list-32bit-condition, syscall-list-64bit-options)
45312         (syscall-list-64bit-condition): Define.
45313         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45314         Remove.
45315         (syscall-list-variants, syscall-list-32bit-options)
45316         (syscall-list-32bit-condition, syscall-list-64bit-options)
45317         (syscall-list-64bit-condition): Define.
45318         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45319         Remove.
45320         (syscall-list-variants, syscall-list-32bit-options)
45321         (syscall-list-32bit-condition, syscall-list-64bit-options)
45322         (syscall-list-64bit-condition): Define.
45324 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45326         * locale/iso-639.def: Add brx entry.
45328         [BZ #13328]
45329         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45330         Proposed by Mariusz_Cukr <marcukr@op.pl>.
45332         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45333         __feraiseexcept_renamed.
45335 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45337         [BZ #13538]
45338         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45339         EPOLLET with unsigned values.
45340         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45341         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45343         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45344         to large cancellation.
45345         * math/s_cacoshf.c: Likewise.
45346         * math/s_cacoshl.c: Likewise.
45348 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
45350         [BZ #13305]
45351         [BZ #12786]
45352         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45353         * math/s_cacoshf.c: Likewise.
45354         * math/s_cacoshl.c: Likewise.
45356 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45358         [BZ #13439]
45359         * iconv/gconv.h: Define __GCONV_SWAP.
45360         * iconvdata/unicode.c: The swap bit must be stored in __flags.
45361         * iconvdata/utf-16.c: Likewise.
45362         * iconvdata/utf-32.c: Likewise.
45364 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
45366         [BZ #13524]
45367         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45368         numerator after shifting it by one limb.
45370 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
45372         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45373         under [__USE_EXTERN_INLINES].
45375 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45377         [BZ #13446]
45378         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45380 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45382         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45383         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45384         optimized code.
45385         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45386         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45387         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45388         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45389         for strncasecmp/strncasecmp_l compilation.
45390         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45391         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45393 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
45395         [BZ #13484]
45396         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45397         of __asm__.
45399 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45401         [BZ #13506]
45402         * time/tzfile.c (__tzfile_read): Check values from file header.
45404 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45406         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45407         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45408         * powerpc/powerpc32/dl-start.S: Likewise.
45409         * powerpc/powerpc32/elf/start.S: Likewise.
45410         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45411         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45412         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45413         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45414         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45415         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45416         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45417         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45418         * powerpc/powerpc32/fpu/s_round.S: Likewise.
45419         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45420         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45421         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45422         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45423         * powerpc/powerpc32/memset.S: Likewise.
45424         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45425         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45426         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45427         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45428         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45429         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45430         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45431         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45432         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45433         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45434         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45435         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45436         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45438 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45440         * math/libm-test.inc: Added more nearbyint tests.
45441         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45443         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45444         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45446 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
45448         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45449         FD_CLOEXEC.
45451 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45453         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45454         Add wcscpy-ssse3 wcscpy-c.
45455         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45456         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45457         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45458         * sysdeps/x86_64/wcschr.S: New file.
45459         * sysdeps/x86_64/wcsrchr.S: New file.
45460         * string/test-strcmp.c: Remove checking of wcscmp function for
45461         wrong alignments.
45462         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45463         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45464         wcsrchr-sse2 wcsrchr-c.
45465         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45466         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45467         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45468         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45469         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45470         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45471         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45472         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45473         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45474         * wcsmbc/wcschr.c (WCSCHR): New macro.
45476 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45478         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45479         * wcsmbs/test-wcsrchr.c: New file.
45480         * string/test-strrchr.c: Add wcsrchr support.
45481         (WIDE): New macro.
45482         * wcsmbs/test-wcscpy.c: New file.
45483         * string/test-strcpy.c: Add wcscpy support.
45484         (WIDE): New macro.
45486 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
45488         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45489         the inner loop.
45491 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
45493         [BZ #13472]
45494         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45496 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
45498         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45499         Minor optimizations.
45501         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45502         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45503         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45505 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
45507         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45508         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45509         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45510         for gcc to avoid warnings.
45511         * inet/Makefile (tests): Add tst-checks.
45512         * inet/tst-checks.c: New file.
45514         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45515         warning.
45517         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45518         __wmemcmp_sse2.
45520         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45521         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45523         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45525 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
45527         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45528         problem.
45530         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45532 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
45534         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45535         conditional on GCC version.
45536         (__arch_compare_and_exchange_val_8_acq)
45537         (__arch_compare_and_exchange_val_16_acq)
45538         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45539         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45540         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45542 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
45544         * sysdeps/sh/backtrace.c: New file.
45546 2011-12-02  Andreas Schwab  <schwab@redhat.com>
45548         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
45549         parenthesis.
45551 2011-12-01  Andreas Schwab  <schwab@redhat.com>
45553         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45554         falling back to utime.
45556 2011-11-30  Andreas Schwab  <schwab@redhat.com>
45558         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45559         expectations for float.
45561 2011-11-29  Andreas Schwab  <schwab@redhat.com>
45563         * locale/weight.h (findidx): Add parameter len.
45564         * locale/weightwc.h (findidx): Likewise.
45565         * posix/fnmatch_loop.c (FCT): Adjust caller.
45566         * posix/regcomp.c (build_equiv_class): Likewise.
45567         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45568         * posix/regexec.c (check_node_accept_bytes): Likewise.
45569         * string/strcoll_l.c (STRCOLL): Likewise.
45570         * string/strxfrm_l.c (STRXFRM): Likewise.
45572 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
45574         * Makefile.in: Remove CVSOPT handling.
45575         * configure.in: Remove use of AC_REVISION.
45576         * iconvdata/Makefile (distribute): No need to filter out CVS.
45577         * scripts/list-sources.sh: Remove CVS, subversion and monotone
45578         handling.
45580 2011-11-16  Andreas Schwab  <schwab@redhat.com>
45582         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45583         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45584         [USE_AS_STRNCASECMP_L]: Likewise.
45585         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45586         NO_TLS_DIRECT_SEG_REFS.
45587         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45588         Fix argument offsets for non-PIC.
45589         [USE_AS_STRNCASECMP_L]: Likewise.
45590         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45591         NO_TLS_DIRECT_SEG_REFS.
45593 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45595         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45596         O_CLOEXEC.
45597         * locale/loadlocale.c (_nl_load_locale): Likewise.
45599 2011-11-15  Andreas Schwab  <schwab@redhat.com>
45601         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45602         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45603         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45604         (SYSCALL_GETTIME): Set errno on error.
45606         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45607         count references to noai6ai_cached.
45609 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45611         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45613         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45614         FD_CLOEXEC for /proc/self/maps.
45616         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45617         FD_CLOEXEC for /proc/meminfo.
45619         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45620         gai.conf.
45622         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
45623         FD_CLOEXEC for given file.
45625         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45627         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45628         FD_CLOEXEC for /etc/hosts.
45629         (_gethtent): Likewise.
45631         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45633         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45634         cancellation and set FD_CLOEXEC for /etc/netgroup.
45636         * nss/nss_files/files-key.c (search): Don't allow cancellation when
45637         reading /etc/publickey.
45639         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45640         allow cancellation when reading /etc/group.
45642         * nss/nss_files/files-alias.c (internal_setent): Don't allow
45643         cancellation.
45644         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
45646         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45647         when using data file.
45649         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45651         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45652         (write_nis_obj): Use "c" and "e" in fopen.
45654         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45656         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45658         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45660         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45662         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45663         locale.alias.
45665         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45667         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45669         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45671         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45672         file parsing and set FD_CLOEXEC.
45674 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45676         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45678 2011-11-14  Andreas Schwab  <schwab@redhat.com>
45680         * malloc/arena.c (arena_get2): Don't call reused_arena when
45681         _int_new_arena failed.
45683 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45685         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45686         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45687         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45688         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45689         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45690         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45691         to compile strcasecmp and strncasecmp.
45692         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45693         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45695         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45697 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
45699         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45700         locale-defines.sym to gen-as-const-headers.
45701         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45702         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45703         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45704         to compile strcasecmp and strncasecmp.
45705         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45706         strcasecmp_l and strncasecmp_l.
45707         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45708         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45709         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45710         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45711         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45712         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45713         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45714         * sysdeps/i386/i686/multiarch/strncase.S: New file.
45715         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45716         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45717         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45719 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
45721         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45722         result of SYSDEP_GETTIME_CPU to retval.
45723         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45724         parameter list to macro.  Remove trailing semicolon.  Adjust users.
45726         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45727         variable.
45729         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45730         mantissa words.
45731         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45733         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45734         from unused variable.
45736         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45737         DWARF definitions.
45738         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45739         for assembling.
45741         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45742         over namespaces.
45744         * sunrpc/rpc_prot.c (rejected): Fix case value.
45746         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45747         unsigned long long int to avoid warnings in shift.
45749         * posix/regex_internal.c (re_string_reconstruct): Actually use result
45750         of use of trans.
45751         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45752         variable tmp.
45754         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45755         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45756         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45758         * nis/nis_table.c (nis_list): Use variable of correct type for
45759         result of __follow_path call.
45761 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45763         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45764         of math functions ceil, trunc, floor, round, and sqrt, when
45765         avaliable on the platform.
45766         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45767         name clash.
45768         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45769         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45770         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45772 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
45774         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45775         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45777 2011-11-11  Roland McGrath  <roland@hack.frob.com>
45779         * include/unistd.h: Fix __readlink return type.
45780         Reported by Chris Metcalf <cmetcalf@tilera.com>.
45782 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
45784         * stdlib/ucontext.h: Undo last change for makecontext.
45786 2011-11-11  Andreas Schwab  <schwab@redhat.com>
45788         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45790         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45791         * setjmp/setjmp.h: Mark functions as non-leaf.
45792         * setjmp/bits/setjmp2.h: Likewise.
45793         * stdlib/ucontext.h: Likewise.
45795 2011-11-10  Andreas Schwab  <schwab@redhat.com>
45797         * malloc/arena.c (_int_new_arena): Don't increment narenas.
45798         (reused_arena): Don't check arena limit.
45799         (arena_get2): Atomically check arena limit.
45801 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
45803         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45804         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45806         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45807         instructions.
45809 2011-11-07  Andreas Schwab  <schwab@redhat.com>
45811         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45812         handler when locking.
45814         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45815         Fix size of allocated buffer.
45817 2011-11-04  Andreas Schwab  <schwab@redhat.com>
45819         [BZ #10103]
45820         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45821         declarations for long double functions.
45822         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45824         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45826 2011-11-03  Andreas Schwab  <schwab@redhat.com>
45828         * nscd/nscd.c (main): Don't start AVC thread until credentials are
45829         installed.
45831         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45832         is disabled.
45834 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45836         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45838 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45840         * include/alloca.h (stackinfo_alloca_round): Define.
45841         (extend_alloca): Use it.
45842         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45843         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45844         here.
45846         * scripts/check-local-headers.sh: Ignore libaudit.h.
45848         * nscd/Makefile (extra-objs): Make recursively expanded.
45850 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
45852         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45853         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45855         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45856         * posix/tst-rfc3484-2.c: Likewise.
45857         * posix/tst-rfc3484-3.c: Likewise.
45859         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45860         process_vm_writev.
45861         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45862         process_vm_writev.
45863         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45864         process_vm_writev from libc using GLIBC_2.15 version.
45866         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45868 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
45870         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45871         stack usage.
45873 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
45875         [BZ #13367]
45876         * nss/getent.c (initgroups_keys): Show error message in case no group
45877         names are given.
45879         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45880         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45881         __bump_nl_timestamp.
45882         * nscd/connections (nscd_init): When host database is served open
45883         netlink socket and request notification about configuration changes.
45884         (main_loop_poll): Track netlink file descriptor and bump timestamp
45885         in case data becomes available.
45886         (main_loop_epoll): Likewise.
45887         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45888         (database_pers_head): Add extra_data fileds.
45889         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45890         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45891         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45892         Adjust caller.
45893         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45894         in6ai data, call __free_in6ai.
45895         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45896         Add -DHAVE_NETLINK.
45897         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
45898         interface information.  Reuse previous data if netlink timestamp
45899         is not changed.
45900         (__bump_nl_timestamp): New function.
45901         (__free_in6ai): New function.
45903 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
45905         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45906         close_not_cancel_no_status here.
45907         (__check_pf): Reorganize code a bit to not call close twice if OOM.
45909 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45911         [BZ #13276]
45912         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45913         return value.
45915         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45916         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45917         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45919 2011-07-03  Andreas Jaeger  <aj@suse.de>
45921         [BZ #10709]
45922         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45923         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45924         * math/libm-test.inc (sin_test): Add test case.
45926 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45928         [BZ #13337]
45929         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45930         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45932         * elf/chroot_canon.c (chroot_canon): Cleanups.
45934         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45936         [BZ #13335]
45937         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45938         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45940         * string/test-strchr.c: Make usable for strchrnul testing.
45941         * string/test-strchrnul.c: New file.
45942         * string/Makefile (strop-tests): Add strchrnul.
45944         * po/it.po: Update from translation team.
45945         * po/es.po: Likewise.
45947 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
45949         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45950         the three constants needed as parameters.  Drop the others.
45951         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45952         __m128i_strloadu_tolower.
45953         Create and initialize variable zero and use it in all the places
45954         where _mm_setzero_si128 was used.
45956         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45957         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45958         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45959         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45960         anymore.
45961         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45962         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45963         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45964         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45965         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45966         __mpranred, __mptan.
45967         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45968         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45969         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45970         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45971         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45972         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45973         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45974         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45975         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45977 2011-10-28  Andreas Schwab  <schwab@redhat.com>
45979         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45980         redefine if SHARED.
45981         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45984         wide char related routines to wcsmbs subdir.
45986 2011-10-27  Andreas Schwab  <schwab@redhat.com>
45988         [BZ #13344]
45989         * misc/sys/cdefs.h (__THROWNL): Define.
45990         * posix/unistd.h: Use __THREADNL instead of __THREAD
45991         for memory synchronization functions.
45993 2011-10-26  Roland McGrath  <roland@hack.frob.com>
45995         [BZ #13349]
45996         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45997         doesn't exist.
45998         * manual/stdio.texi (Obstack Streams): Node removed.
46000 2011-10-26  Andreas Schwab  <schwab@redhat.com>
46002         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46003         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46004         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46006         * math/math_private.h (math_force_eval): Allow non-addressable
46007         arguments.
46008         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46010 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46012         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46013         file is not needed.
46015         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46016         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46017         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46018         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46019         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46020         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46021         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46022         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46023         Add AVX variants.
46024         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46025         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46026         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46027         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46028         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46029         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46030         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46031         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46032         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46033         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46034         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46035         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46036         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46037         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46038         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46039         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46040         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46041         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46042         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46044         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46045         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
46047         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46048         place.  Use VEX encoding when compiling for AVX.
46050 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46052         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46053         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46055         * string/test-strchr.c (do_test): Don't generate NUL bytes.
46057 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46059         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46060         useless if() expression.
46061         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46062         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46063         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46064         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46065         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46066         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46067         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46068         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46069         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46070         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46071         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46072         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46073         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46074         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46075         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46076         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46077         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46078         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46079         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46081         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46083 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46085         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46086         condition.
46087         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46089 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46091         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46092         .text section.  Avoid duplicate constants.
46093         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46095         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46096         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46097         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46098         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46100         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46101         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46102         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46103         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46104         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46105         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46106         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46107         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46108         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46109         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46110         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46111         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46112         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46113         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46114         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46115         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46116         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46117         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46118         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46119         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46120         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46121         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46122         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46123         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46124         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46125         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46126         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46127         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46128         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46129         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46130         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46131         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46132         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46133         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46134         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46135         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46136         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46137         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46139 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46141         * sysdeps/x86_64/dla.h: Move to ...
46142         * sysdeps/x86_64/fpu/dla.h: ...here.
46143         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46144         situations.  Use __builtin_fma only for gcc 4.6 and up.
46146         * config.make.in: Add have-mfma4 entry.
46147         * configure.in: Substitute libc_cv_cc_fma4.
46148         * math/Makefile (dbl-only-routines): Add sincostab.
46149         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46150         Use __sincostab not sincos.
46151         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46152         name is a macro.
46153         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46154         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46155         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46156         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46157         using __copysign.
46158         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46159         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46160         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46161         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46162         and __inv.
46163         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46164         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46165         __copysign.
46166         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46167         define aliases when function name is a macro.
46168         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46169         sysdeps/ieee754/dbl-64/sincos.tbl.
46170         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46171         fma4-enabled routines.
46172         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46173         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46174         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46175         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46176         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46177         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46178         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46179         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46180         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46181         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46182         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46183         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46184         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46185         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46186         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46187         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46188         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46189         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46190         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46191         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46192         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46193         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46194         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46195         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46196         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46197         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46198         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46199         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46200         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46201         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46203         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46204         rename.
46205         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46206         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46207         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46208         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46209         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46210         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46211         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46212         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46214 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46216         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46218 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46220         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46222         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46223         prediction.
46224         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46226         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46227         Remove unused variable magic_bits.
46228         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46230         * string/strnlen.c: Define and use STRNLEN macro.
46231         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46232         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46233         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46234         * wcsmbs/wcslen.c: Define and use WCSLEN.
46235         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46236         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46237         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46238         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46239         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46240         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46241         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46243 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46246         strnlen-sse2-no-bsf.
46247         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46248         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46249         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46250         Add strnlen support.
46251         (USE_AS_STRNLEN): New macro.
46252         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46253         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46254         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46255         * sysdeps/x86_64/wcslen.S: New file.
46257 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46259         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46260         XMM-moves are used for copying on small sizes.
46262 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46264         * wcsmbs/Makefile (strop-tests): Add wcschr.
46265         * wcsmbs/test-wcschr.c: New file.
46266         * string/test-strchr.c: Update.
46267         Add wcschr support.
46268         (WIDE): New macro.
46270 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46272         * wcsmbs/Makefile (strop-tests): Add wcslen.
46273         * wcsmbs/test-wcslen.c: New file.
46274         * string/test-strlen.c: Update.
46275         Add wcslen support.
46276         (WIDE): New macro.
46278 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46280         * po/it.po: Update from translation team.
46282 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46284         * sysdeps/x86_64/wcscmp.S: Update.
46285         Fix wrong comparison semantics.
46286         wcscmp shall use signed comparison not unsigned.
46287         Don't use substraction to avoid overflow bug.
46288         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46289         * wcsmbc/wcscmp.c: Likewise.
46290         * string/test-strcmp.c: Likewise.
46291         Add new tests to check cases with negative values.
46293 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46295         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46296         * sysdeps/x86_64/dla.h: ...here.  New file.
46297         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46298         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46299         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46300         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46301         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46302         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46305         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46307 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
46309         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46310         __ynl_finite aliases.
46312 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46316         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46317         define DLA_FMA.
46318         [DLA_FMA] (EMULV): Use DLA_FMA.
46319         [DLA_FMA] (MUL12): Use EMULV.
46320         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46321         that are not needed.
46322         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46323         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46328         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46330 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
46332         * math/s_nan.c: Undef __nan.
46333         * math/s_nanf.c: Undef __nanf.
46334         * math/s_nanl.c: Undef __nanl.
46335         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46336         "math_private.h".
46338 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46340         * math/s_catan.c: Add branch predictions.
46341         * math/s_catanf.c: Likewise.
46342         * math/s_catanh.c: Likewise.
46343         * math/s_catanhf.c: Likewise.
46344         * math/s_catanhl.c: Likewise.
46345         * math/s_catanl.c: Likewise.
46346         * math/s_cexp.c: Likewise.
46347         * math/s_cexpf.c: Likewise.
46348         * math/s_cexpl.c: Likewise.
46349         * math/s_clog.c: Likewise.
46350         * math/s_clog10.c: Likewise.
46351         * math/s_clog10f.c: Likewise.
46352         * math/s_clog10l.c: Likewise.
46353         * math/s_clogf.c: Likewise.
46354         * math/s_clogl.c: Likewise.
46355         * math/s_csqrt.c: Likewise.
46356         * math/s_csqrtf.c: Likewise.
46357         * math/s_csqrtl.c: Likewise.
46358         * math/s_ctanf.c: Likewise.
46359         * math/s_ctanh.c: Likewise.
46360         * math/s_ctanhf.c: Likewise.
46361         * math/s_ctanhl.c: Likewise.
46362         * math/s_ctanl.c: Likewise.
46364         * math/math_private.h: Define __nan, __nanf, __nanl.
46365         * math/s_cacosh.c: Include <math_private.h>.
46366         * math/s_cacoshl.c: Likewise.
46367         * math/s_casinh.c: Likewise.
46368         * math/s_casinhf.c: Likewise.
46369         * math/s_casinhl.c: Likewise.
46370         * math/s_ccos.c: Rely entire on ccosh.
46371         * math/s_ccosf.c: Rely entire on ccoshf.
46372         * math/s_ccosl.c: Rely entirely on ccoshl.
46373         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
46374         Remove tests for FE_INVALID.
46375         * math/s_ccoshf.c: Likewise.
46376         * math/s_ccoshl.c: Likewise.
46377         * math/s_csin.c: Likewise.
46378         * math/s_csinf.c: Likewise.
46379         * math/s_csinh.c Likewise.
46380         * math/s_csinhf.c: Likewise.
46381         * math/s_csinhl.c: Likewise.
46382         * math/s_csinl.c: Likewise.
46383         * math/s_ctan.c: Likewise.
46384         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46385         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46386         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46388 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
46390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46391         compilation problems.
46393         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46394         __builtin_expect.
46396 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
46398         * sysdeps/i386/configure.in: Test for -mfma4 option.
46399         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46400         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46401         COMMON_CPUID_INDEX_80000001.
46402         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46403         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46404         use it if FMA3 is not supported.
46405         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46407         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46408         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46410 2011-10-20  Andreas Schwab  <schwab@redhat.com>
46412         [BZ #12892]
46413         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46414         it would create a cycle with a link time dependency.
46416 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
46418         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46419         instruction.
46420         * string/Makefile (strop-tests): Add rawmemchr.
46421         * string/test-rawmemchr.c: New file.
46423         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46424         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
46425         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
46426         when compiling str{,n}casecmp and when AVX is available.  Hook up
46427         new optimized code in initializers.
46429 2011-10-19  Andreas Schwab  <schwab@redhat.com>
46431         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46432         __feraiseexcept instead of feraiseexcept.
46434 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
46436         * math/math_private.h: Define defaults for libc_fetestexcept and
46437         libc_feupdateenv.
46438         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46439         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46440         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46441         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46442         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46443         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46444         libc_fetestexcept and libc_feupdateenv.
46446         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46447         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46448         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46449         * sysdeps/x86_64/fpu/math_private.h: Define special version of
46450         libc_feholdexcept_setround.
46452         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46453         Add s_nearbyint-c and s_nearbyintf-c.
46454         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46455         nearbyintf inlines.
46456         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46457         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46458         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46459         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46461         * math/math_private.h: Define defaults for libc_fegetround,
46462         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46463         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46464         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46465         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46466         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46467         standard functions.
46468         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46469         Remove comments and hacks for old compiler versions.
46470         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46471         libc_fegetround, libc_fesetround, libc_feholdexcept, and
46472         libc_feholdexceptl.
46474 2011-10-18  Andreas Schwab  <schwab@redhat.com>
46476         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46477         (__feraiseexcept_renamed): Add __NTH.
46478         (feraiseexcept): Add __NTH.  Rename local variables to fix
46479         namespace violations.
46481 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
46483         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46485         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46487         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46488         recently added interfaces.
46489         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46491         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46492         about macro parameter expansion.
46494         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46495         __NO_MATH_INLINES is defined.  Cleanups.
46497         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46498         and __floorf is target has SSE4.1.
46499         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46500         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46501         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46502         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46504         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46505         name.
46506         (floorf): Likewise.
46508         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46510 2011-10-17  Andreas Schwab  <schwab@redhat.com>
46512         * misc/sys/cdefs.h: Fix last change.
46514         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46515         database lookup.
46517 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
46519         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46521         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46522         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46523         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46524         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46525         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46526         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46527         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46528         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46529         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46530         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46531         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46532         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46533         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46534         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46535         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46536         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46537         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46538         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46539         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46540         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46541         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46542         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46544         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46545         ceil, ceilf, floor, floorf.
46547         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46548         Perform IRELATIVE relocations last.
46550         * elf/do-rel.h: Add another parameter nrelative, replacing the
46551         local variable with the same name.  Change name of the function
46552         to end in Rel or Rela (uppercase).
46553         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46554         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
46555         elf_dynamic_do_##reloc function.
46557 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46559         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46560         is sufficient, at least on modern CPUs.
46562         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46564         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46565         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46567         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46568         __expl_finite.
46569         * math/bits/math-finite.h: Add entries for exp.
46570         * math/e_expl.c: Add __*_finite alias.
46571         * sysdeps/i386/fpu/e_exp.S: Likewise.
46572         * sysdeps/i386/fpu/e_expf.S: Likewise.
46573         * sysdeps/i386/fpu/e_expl.c: Likewise.
46574         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46575         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46576         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46577         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46578         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46579         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46580         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46582         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46583         is sufficient, at least on modern CPUs.
46585         * ctype/ctype-info.c (__ctype_init): Define.
46586         * include/ctype.h (__ctype_init): Declare.
46587         (__ctype_b_loc): The variable is always initialized.
46588         (__ctype_toupper_loc): Likewise.
46589         (__ctype_tolower_loc): Likewise.
46590         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46591         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46593 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
46595         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46597         * configure.in: Also look in $cxxmachine/include for C++ system
46598         headers.
46600 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46602         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46603         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46604         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46605         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
46606         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46607         (USE_AS_WMEMCMP): New macro.
46608         Fixing indents.
46609         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46610         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46611         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46612         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46613         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46614         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46615         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46616         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46617         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46618         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46619         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46620         (USE_AS_WMEMCMP): New macro.
46621         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46622         * sysdeps/string/test-memcmp.c: Update.
46623         Fix simple_wmemcmp.
46624         Add new tests.
46625         * wcsmbs/wmemcmp.c: Update.
46626         (WMEMCMP): New macro.
46627         Fix overflow bug.
46629 2011-10-12  Andreas Jaeger  <aj@suse.de>
46631         [BZ #13268]
46632         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46634 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46636         * libio/iofwide.c (do_length): Avoid warning.
46638         * ctype/ctype.h (__isctype_f): Add missing __THROW.
46640 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
46642         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46644         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46645         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46646         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46647         * sysdeps/i386/i686/fpu/e_log.S: New file.
46648         * sysdeps/i386/i686/fpu/e_logf.S: New file.
46649         * sysdeps/i386/i686/fpu/e_logl.S: New file.
46651         * ctype/ctype.h: Add support for inlined isXXX functions when
46652         compiling C++ code.
46654 2011-10-14  Andreas Schwab  <schwab@redhat.com>
46656         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46658         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46660 2011-10-13  Roland McGrath  <roland@hack.frob.com>
46662         [BZ #13291]
46663         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46665 2011-10-13  Andreas Schwab  <schwab@redhat.com>
46667         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46668         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46669         feraiseexcept.
46671         * sysdeps/x86_64/memrchr.S: Check for zero size.
46673         * string/stratcliff.c: Add memrchr tests.
46675 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46677         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46678         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46679         rawmemchr-sse2 rawmemchr-sse2-bsf.
46680         * sysdeps/i386/i686/multiarch/memchr.S: New file.
46681         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46682         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46683         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46684         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46685         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46686         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46687         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46688         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46689         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46690         * string/memrchr.c (MEMRCHR): New macro.
46692 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
46694         Add integration with gcc's -ffinite-math-only and optimize wrapper
46695         functions in libm.
46696         * Versions.def: Define GLIBC_2.15 version for libm.
46697         * math/Makefile (headers): Add bits/math-finite.h.
46698         * math/bits/math-finite.h: New file.
46699         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46700         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46701         * math/e_acoshl.c: Add __*_finite alias.
46702         * math/e_acosl.c: Likewise.
46703         * math/e_asinl.c: Likewise.
46704         * math/e_atan2l.c: Likewise.
46705         * math/e_atanhl.c: Likewise.
46706         * math/e_coshl.c: Likewise.
46707         * math/e_exp10.c: Likewise.
46708         * math/e_exp10f.c: Likewise.
46709         * math/e_exp10l.c: Likewise.
46710         * math/e_exp2l.c: Likewise.
46711         * math/e_fmodl.c: Likewise.
46712         * math/e_gammal_r.c: Likewise.
46713         * math/e_hypotl.c: Likewise.
46714         * math/e_j0l.c: Likewise.
46715         * math/e_j1l.c: Likewise.
46716         * math/e_jnl.c: Likewise.
46717         * math/e_lgammal_r.c: Likewise.
46718         * math/e_log10l.c: Likewise.
46719         * math/e_log2l.c: Likewise.
46720         * math/e_logl.c: Likewise.
46721         * math/e_powl.c: Likewise.
46722         * math/e_sinhl.c: Likewise.
46723         * math/e_sqrtl.c: Likewise.
46724         * math/e_scalb.c: Completely rewritten and optimized.
46725         * math/e_scalbf.c: Likewise.
46726         * math/e_scalbl.c: Likewise.
46727         * math/w_acos.c: Likewise.
46728         * math/w_acosf.c: Likewise.
46729         * math/w_acosl.c: Likewise.
46730         * math/w_acosh.c: Likewise.
46731         * math/w_acoshf.c: Likewise.
46732         * math/w_acoshl.c: Likewise.
46733         * math/w_asin.c: Likewise.
46734         * math/w_asinf.c: Likewise.
46735         * math/w_asinl.c: Likewise.
46736         * math/w_atan2.c: Likewise.
46737         * math/w_atan2f.c: Likewise.
46738         * math/w_atan2l.c: Likewise.
46739         * math/w_atanh.c: Likewise.
46740         * math/w_atanhf.c: Likewise.
46741         * math/w_atanhl.c: Likewise.
46742         * math/w_exp10.c: Likewise.
46743         * math/w_exp10f.c: Likewise.
46744         * math/w_exp10l.c: Likewise.
46745         * math/w_fmod.c: Likewise.
46746         * math/w_fmodf.c: Likewise.
46747         * math/w_fmodl.c: Likewise.
46748         * math/w_j0.c: Likewise.
46749         * math/w_j0f.c: Likewise.
46750         * math/w_j0l.c: Likewise.
46751         * math/w_j1.c: Likewise.
46752         * math/w_j1f.c: Likewise.
46753         * math/w_j1l.c: Likewise.
46754         * math/w_jn.c: Likewise.
46755         * math/w_jnf.c: Likewise.
46756         * math/w_log.c: Likewise.
46757         * math/w_logf.c: Likewise.
46758         * math/w_logl.c: Likewise.
46759         * math/w_log10.c: Likewise.
46760         * math/w_log10f.c: Likewise.
46761         * math/w_log10l.c: Likewise.
46762         * math/w_log2.c: Likewise.
46763         * math/w_log2f.c: Likewise.
46764         * math/w_log2l.c: Likewise.
46765         * math/w_pow.c: Likewise.
46766         * math/w_powf.c: Likewise.
46767         * math/w_powl.c: Likewise.
46768         * math/w_remainder.c: Likewise.
46769         * math/w_remainderf.c: Likewise.
46770         * math/w_remainderl.c: Likewise.
46771         * math/w_scalb.c: Likewise.
46772         * math/w_scalbf.c: Likewise.
46773         * math/w_scalbl.c: Likewise.
46774         * math/w_sqrt.c: Likewise.
46775         * math/w_sqrtf.c: Likewise.
46776         * math/w_sqrtl.c: Likewise.
46777         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46778         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
46779         used.
46780         * math/math_private.h: Declare __kernel_standard_f.
46781         * math/w_cosh.c: Remove cruft and optimize a bit.
46782         * math/w_coshf.c: Likewise.
46783         * math/w_coshl.c: Likewise.
46784         * math/w_exp2.c: Likewise.
46785         * math/w_exp2f.c: Likewise.
46786         * math/w_exp2l.c: Likewise.
46787         * math/w_hypot.c: Likewise.
46788         * math/w_hypotf.c: Likewise.
46789         * math/w_hypotl.c: Likewise.
46790         * math/w_lgamma.c: Likewise.
46791         * math/w_lgamma_r.c: Likewise.
46792         * math/w_lgammaf.c: Likewise.
46793         * math/w_lgammaf_r.c: Likewise.
46794         * math/w_lgammal.c: Likewise.
46795         * math/w_lgammal_r.c: Likewise.
46796         * math/w_sinh.c: Likewise.
46797         * math/w_sinhf.c: Likewise.
46798         * math/w_sinhl.c: Likewise.
46799         * math/w_tgamma.c: Likewise.
46800         * math/w_tgammaf.c: Likewise.
46801         * math/w_tgammal.c: Likewise.
46802         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46803         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46804         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46805         Minor optimizations.  Pretty printing.  Remove cruft.
46806         * sysdeps/i386/fpu/e_acosf.S: Likewise.
46807         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46808         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46809         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46810         * sysdeps/i386/fpu/e_acosl.c: Likewise.
46811         * sysdeps/i386/fpu/e_asin.S: Likewise.
46812         * sysdeps/i386/fpu/e_asinf.S: Likewise.
46813         * sysdeps/i386/fpu/e_atan2.S: Likewise.
46814         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46815         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46816         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46817         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46818         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46819         * sysdeps/i386/fpu/e_exp10.S: Likewise.
46820         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46821         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46822         * sysdeps/i386/fpu/e_exp2.S: Likewise.
46823         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46824         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46825         * sysdeps/i386/fpu/e_fmod.S: Likewise.
46826         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46827         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46828         * sysdeps/i386/fpu/e_hypot.S: Likewise.
46829         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46830         * sysdeps/i386/fpu/e_log.S: Likewise.
46831         * sysdeps/i386/fpu/e_log10.S: Likewise.
46832         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46833         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46834         * sysdeps/i386/fpu/e_log2.S: Likewise.
46835         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46836         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46837         * sysdeps/i386/fpu/e_logf.S: Likewise.
46838         * sysdeps/i386/fpu/e_logl.S: Likewise.
46839         * sysdeps/i386/fpu/e_pow.S: Likewise.
46840         * sysdeps/i386/fpu/e_powf.S: Likewise.
46841         * sysdeps/i386/fpu/e_powl.S: Likewise.
46842         * sysdeps/i386/fpu/e_remainder.S: Likewise.
46843         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46844         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46845         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46846         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46847         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46848         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46849         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46850         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46851         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46852         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46853         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46854         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46855         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46856         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46857         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46858         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46859         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46860         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46861         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46862         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46863         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46864         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46865         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46866         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46867         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46868         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46869         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46870         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46871         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46872         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46873         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46874         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46875         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46876         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46877         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46878         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46879         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46880         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46881         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46882         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46883         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46884         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46885         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46886         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46887         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46888         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46889         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46890         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46891         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46892         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46893         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46894         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46895         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46896         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46897         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46898         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46899         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46900         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46901         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46902         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46903         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46904         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46905         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46906         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46907         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46908         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46909         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46910         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46911         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46912         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46913         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46914         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46915         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46916         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46917         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46918         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46919         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46920         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46921         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46922         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46923         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46924         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46925         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46926         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46927         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46928         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46929         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46930         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46931         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46932         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46933         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46934         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46935         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46936         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46937         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46938         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46939         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46940         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46941         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46942         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46943         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46944         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46945         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46946         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46947         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46948         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46949         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46950         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46951         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46952         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46953         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46954         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46955         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46956         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46957         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46958         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46959         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46960         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46961         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
46962         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46963         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46964         (__isnanf): Likewise.
46965         (__isinf_ns): Likewise.
46966         (__isinf_nsf): Likewise.
46967         (__finite): Likewise.
46968         (__finitef): Likewise.
46969         (__ieee754_sqrt): Define as macro.
46970         (__ieee754_sqrtf): Define as macro.
46971         (__ieee754_sqrtl): Define as macro.
46972         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46973         inlined copy.
46974         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46975         __FINITE_MATH_ONLY__ consistent.
46976         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46978 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
46980         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46981         of rawmemchr.
46983         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46985 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
46987         * po/ja.po: Update from translation team.
46989 2011-10-08  Roland McGrath  <roland@hack.frob.com>
46991         * locale/programs/locarchive.c (prepare_address_space): New function.
46992         (create_archive, enlarge_archive, open_archive): Use it.
46994         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46995         inside [SHARED], where it is used.
46997         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46999         * nss/getent.c (netgroup_keys): Remove unused variable.
47000         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47002 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
47004         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47005         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47006         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47007         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47008         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47009         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47010         * math/Makefile (libm-calls): Add s_isinf_ns.
47011         * math/divtc3.c: Use __isinf_nsl instead of isinf.
47012         * math/multc3.c: Likewise.
47013         * math/s_casin.c: Likewise.
47014         * math/s_casinf.c: Likewise.
47015         * math/s_casinl.c: Likewise.
47016         * math/s_ccos.c: Likewise.
47017         * math/s_ccosf.c: Likewise.
47018         * math/s_ccosl.c: Likewise.
47019         * math/s_ctan.c: Likewise.
47020         * math/s_ctanf.c: Likewise.
47021         * math/s_ctanh.c: Likewise.
47022         * math/s_ctanhf.c: Likewise.
47023         * math/s_ctanhl.c: Likewise.
47024         * math/s_ctanl.c: Likewise.
47025         * math/w_fmod.c: Likewise.
47026         * math/w_fmodf.c: Likewise.
47027         * math/w_fmodl.c: Likewise.
47028         * math/w_remainder.c: Likewise.
47029         * math/w_remainderf.c: Likewise.
47030         * math/w_remainderl.c: Likewise.
47031         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47032         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47033         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47034         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47035         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47036         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47037         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47038         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47040         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47041         of the number.
47042         * stdio-common/printf_fphex.c: Likewise.
47043         * stdio-common/printf_size.c: Likewise.
47045         * math/e_exp10.c: Include math_private.h using <...> not "...".
47046         * math/e_exp10f.c: Likewise.
47047         * math/e_exp10l.c: Likewise.
47048         * math/e_exp2l.c: Likewise.
47049         * math/e_j0l.c: Likewise.
47050         * math/e_j1l.c: Likewise.
47051         * math/e_jnl.c: Likewise.
47052         * math/e_lgammal_r.c: Likewise.
47053         * math/e_rem_pio2l.c: Likewise.
47054         * math/e_scalb.c: Likewise.
47055         * math/e_scalbf.c: Likewise.
47056         * math/e_scalbl.c: Likewise.
47057         * math/k_cosl.c: Likewise.
47058         * math/k_sinl.c: Likewise.
47059         * math/k_tanl.c: Likewise.
47060         * math/s_cacoshf.c: Likewise.
47061         * math/s_catan.c: Likewise.
47062         * math/s_catanf.c: Likewise.
47063         * math/s_catanh.c: Likewise.
47064         * math/s_catanhf.c: Likewise.
47065         * math/s_catanhl.c: Likewise.
47066         * math/s_catanl.c: Likewise.
47067         * math/s_ccosh.c: Likewise.
47068         * math/s_ccoshf.c: Likewise.
47069         * math/s_ccoshl.c: Likewise.
47070         * math/s_cexp.c: Likewise.
47071         * math/s_cexpf.c: Likewise.
47072         * math/s_cexpl.c: Likewise.
47073         * math/s_clog.c: Likewise.
47074         * math/s_clog10.c: Likewise.
47075         * math/s_clog10f.c: Likewise.
47076         * math/s_clog10l.c: Likewise.
47077         * math/s_clogf.c: Likewise.
47078         * math/s_clogl.c: Likewise.
47079         * math/s_csin.c: Likewise.
47080         * math/s_csinf.c: Likewise.
47081         * math/s_csinh.c: Likewise.
47082         * math/s_csinhf.c: Likewise.
47083         * math/s_csinhl.c: Likewise.
47084         * math/s_csinl.c: Likewise.
47085         * math/s_csqrt.c: Likewise.
47086         * math/s_csqrtf.c: Likewise.
47087         * math/s_csqrtl.c: Likewise.
47088         * math/s_ctan.c: Likewise.
47089         * math/s_ctanf.c: Likewise.
47090         * math/s_ctanh.c: Likewise.
47091         * math/s_ctanhf.c: Likewise.
47092         * math/s_ctanhl.c: Likewise.
47093         * math/s_ctanl.c: Likewise.
47094         * math/s_ldexp.c: Likewise.
47095         * math/s_ldexpf.c: Likewise.
47096         * math/s_ldexpl.c: Likewise.
47097         * math/s_significand.c: Likewise.
47098         * math/s_significandf.c: Likewise.
47099         * math/s_significandl.c: Likewise.
47100         * math/w_acos.c: Likewise.
47101         * math/w_acosf.c: Likewise.
47102         * math/w_acosh.c: Likewise.
47103         * math/w_acoshf.c: Likewise.
47104         * math/w_acoshl.c: Likewise.
47105         * math/w_acosl.c: Likewise.
47106         * math/w_asin.c: Likewise.
47107         * math/w_asinf.c: Likewise.
47108         * math/w_asinl.c: Likewise.
47109         * math/w_atan2.c: Likewise.
47110         * math/w_atan2f.c: Likewise.
47111         * math/w_atan2l.c: Likewise.
47112         * math/w_atanh.c: Likewise.
47113         * math/w_atanhf.c: Likewise.
47114         * math/w_atanhl.c: Likewise.
47115         * math/w_cosh.c: Likewise.
47116         * math/w_coshf.c: Likewise.
47117         * math/w_coshl.c: Likewise.
47118         * math/w_dremf.c: Likewise.
47119         * math/w_exp10.c: Likewise.
47120         * math/w_exp10f.c: Likewise.
47121         * math/w_exp10l.c: Likewise.
47122         * math/w_exp2.c: Likewise.
47123         * math/w_exp2f.c: Likewise.
47124         * math/w_fmod.c: Likewise.
47125         * math/w_fmodf.c: Likewise.
47126         * math/w_fmodl.c: Likewise.
47127         * math/w_hypot.c: Likewise.
47128         * math/w_hypotf.c: Likewise.
47129         * math/w_hypotl.c: Likewise.
47130         * math/w_j0.c: Likewise.
47131         * math/w_j0f.c: Likewise.
47132         * math/w_j0l.c: Likewise.
47133         * math/w_j1.c: Likewise.
47134         * math/w_j1f.c: Likewise.
47135         * math/w_j1l.c: Likewise.
47136         * math/w_jn.c: Likewise.
47137         * math/w_jnf.c: Likewise.
47138         * math/w_jnl.c: Likewise.
47139         * math/w_lgamma.c: Likewise.
47140         * math/w_lgamma_r.c: Likewise.
47141         * math/w_lgammaf.c: Likewise.
47142         * math/w_lgammaf_r.c: Likewise.
47143         * math/w_lgammal.c: Likewise.
47144         * math/w_lgammal_r.c: Likewise.
47145         * math/w_log.c: Likewise.
47146         * math/w_log10.c: Likewise.
47147         * math/w_log10f.c: Likewise.
47148         * math/w_log10l.c: Likewise.
47149         * math/w_log2.c: Likewise.
47150         * math/w_log2f.c: Likewise.
47151         * math/w_log2l.c: Likewise.
47152         * math/w_logf.c: Likewise.
47153         * math/w_logl.c: Likewise.
47154         * math/w_pow.c: Likewise.
47155         * math/w_powf.c: Likewise.
47156         * math/w_powl.c: Likewise.
47157         * math/w_remainder.c: Likewise.
47158         * math/w_remainderf.c: Likewise.
47159         * math/w_remainderl.c: Likewise.
47160         * math/w_scalb.c: Likewise.
47161         * math/w_scalbf.c: Likewise.
47162         * math/w_scalbl.c: Likewise.
47163         * math/w_sinh.c: Likewise.
47164         * math/w_sinhf.c: Likewise.
47165         * math/w_sinhl.c: Likewise.
47166         * math/w_sqrt.c: Likewise.
47167         * math/w_sqrtf.c: Likewise.
47168         * math/w_sqrtl.c: Likewise.
47169         * math/w_tgamma.c: Likewise.
47170         * math/w_tgammaf.c: Likewise.
47171         * math/w_tgammal.c: Likewise.
47173         * po/ja.po: Update from translation team.
47175 2011-09-29  Andreas Jaeger  <aj@suse.de>
47177         [BZ #13179]
47178         * sunrpc/netname.c (netname2host): Fix logic.
47180         [BZ #6779]
47181         [BZ #6783]
47182         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47183         correctly.
47184         * math/w_remainder.c (__remainder): Likewise.
47185         * math/w_remainderf.c (__remainderf): Likewise.
47186         * math/libm-test.inc (remainder_test): Add test cases.
47188 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47190         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47191         sdiv_qrnnd.
47193 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47195         * string/test-memcmp.c: Avoid unncessary #defines.
47196         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47198 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47200         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47201         Use new sse2 version for core i3 - i7 as it's faster
47202         than sse42 version.
47203         (bit_Prefer_PMINUB_for_stringop): New.
47204         * sysdeps/x86_64/rawmemchr.S: Update.
47205         Replace with faster SSE2 version.
47206         * sysdeps/x86_64/memrchr.S: New file.
47207         * sysdeps/x86_64/memchr.S: Update.
47208         Replace with faster SSE2 version.
47210 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47212         * elf/dl-load.c (lose): Add cast to avoid warning.
47214 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47216         * po/ca.po: Update from translation team.
47218         * inet/getnetgrent_r.c: Hook up nscd.
47219         * nscd/Makefile (routines): Add nscd_netgroup.
47220         (nscd-modules): Add netgroupcache.
47221         (CFLAGS-netgroupcache.c): Define.
47222         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47223         (cache_search): Add const to second parameter.
47224         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47225         INNETGR.
47226         (dbs): Add netgrdb entry.
47227         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47228         (verify_persistent_db): Handle netgrdb.
47229         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47230         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47231         GETFDNETGR.
47232         (netgroup_response_header): Define.
47233         (innetgroup_response_header): Define.
47234         (datahead): Add netgroup_response_header and innetgroup_response_header
47235         elements.
47236         * nscd/nscd.conf: Add entries for netgroup cache.
47237         * nscd/nscd.h (dbtype): Add netgrdb.
47238         (_PATH_NSCD_NETGROUP_DB): Define.
47239         (netgroup_iov_disabled): Declare.
47240         (xmalloc, xcalloc, xrealloc): Move declarations here.
47241         (cache_search): Adjust prototype.
47242         Add netgroup-related prototypes.
47243         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47244         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47245         (__nscd_innetgr): Declare.
47246         * nscd/selinux.c (perms): Use access_vector_t as element type and
47247         add netgroup-related initializers.
47248         * nscd/netgroupcache.c: New file.
47249         * nscd/nscd_netgroup.c: New file.
47250         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47251         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47252         For four parameters use innetgr.
47253         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47254         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47255         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47256         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47258         * nscd/connections.c (register_traced_file): Don't register file
47259         for disabled databases.
47261 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47263         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47265         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47266         from tree and freeing node.
47268 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47270         * nss/nsswitch.c (__nss_database_lookup): Handle
47271         nss_parse_service_list out of memory case.
47273 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47275         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47276         out of memory case.
47278 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47280         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47281         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47282         pass it down.
47283         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47284         elf_machine_rela, elf_machine_lazy_rel.
47285         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47286         (ELF_DYNAMIC_DO_REL): Likewise.
47287         (ELF_DYNAMIC_DO_RELA): Likewise.
47288         (ELF_DYNAMIC_RELOCATE): Likewise.
47289         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47290         to ELF_DYNAMIC_DO_REL.
47291         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47292         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47293         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47294         elf_machine_rela.
47295         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47296         skip_ifunc, don't call ifunc function if non-zero.
47297         (elf_machine_rela): Likewise.
47298         (elf_machine_lazy_rel): Likewise.
47299         (elf_machine_lazy_rela): Likewise.
47300         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47301         (elf_machine_lazy_rel): Likewise.
47302         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47303         Likewise.
47304         (elf_machine_lazy_rel): Likewise.
47305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47306         Likewise.
47307         (elf_machine_lazy_rel): Likewise.
47308         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47309         (elf_machine_lazy_rel): Likewise.
47310         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47311         (elf_machine_lazy_rel): Likewise.
47312         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47313         (elf_machine_lazy_rel): Likewise.
47314         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47315         (elf_machine_lazy_rel): Likewise.
47316         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47317         (elf_machine_lazy_rel): Likewise.
47318         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47319         (elf_machine_lazy_rel): Likewise.
47321 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
47323         * nss/nss_files/files-init.c (_nss_files_init): Use static
47324         initialization for all the *_traced_file variables.
47326 2011-09-28  Andreas Schwab  <schwab@redhat.com>
47328         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47330 2011-09-27  Roland McGrath  <roland@hack.frob.com>
47332         [BZ #13226]
47333         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47335 2011-09-27  Andreas Schwab  <schwab@redhat.com>
47337         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47338         Reread the line before reparsing it.
47340 2011-09-26  Andreas Schwab  <schwab@redhat.com>
47342         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47344 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
47345             Maxim Kuvyrkov  <maxim@codesourcery.com>
47346             Joseph Myers  <joseph@codesourcery.com>
47348         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47349         if needed for __stack_chk_guard.
47351 2011-09-19  Roland McGrath  <roland@hack.frob.com>
47353         * sysdeps/posix/spawni.c (script_execute): Always define it.
47354         It will be optimized away if unused.
47355         (maybe_script_execute): New function.
47356         (__spawni): Call it.
47358         * Makerules: Don't include tls.make.
47359         (config-tls): Always set to thread.
47360         * tls.make.c: File removed.
47362 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
47364         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47365         * config.make.in (CPPFLAGS-config): New substituted variable.
47367 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47369         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47371         [BZ #13192]
47372         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47373         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47375 2011-09-15  Roland McGrath  <roland@hack.frob.com>
47377         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47378         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47379         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47380         (CALL_FAIL): Likewise.
47381         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47382         (CALL_FAIL): Macro removed.
47383         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47385 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47387         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47388         for __FINITE_MATH_ONLY__ == 1.
47390 2011-09-15  Andreas Schwab  <schwab@redhat.com>
47392         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47393         __ieee754_sqrt instead of sqrt.
47394         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47395         __ieee754_sqrtf instead of sqrtf.
47396         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47397         __floorf instead of floorf.
47398         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47399         __floorf, __truncf instead of floorf, truncf.
47401 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
47403         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47405         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47406         __extern_always_inline.
47407         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47408         32-bit.
47410 2011-09-14  Andreas Schwab  <schwab@redhat.com>
47412         * elf/rtld.c (dl_main): Also relocate in dependency order when
47413         doing symbol dependency testing.
47415 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
47417         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47418         Always define `refsym'.
47420 2011-09-13  Andreas Schwab  <schwab@redhat.com>
47422         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47423         (__FD_ELT): Renamed from __FDELT.
47424         * misc/bits/select2.h (__FD_ELT): Likewise.
47425         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47426         __FD_MASK instead of __FDELT, __FDMASK.
47427         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47428         Likewise.
47429         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47430         Likewise.
47432         * elf/Makefile (gen-ldd): Fix pattern.
47434         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47435         (init_tls): Likewise.
47437 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
47439         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47441 2011-09-12  Andreas Schwab  <schwab@redhat.com>
47443         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47444         `struct cmsghdr *' instead of `void *'.
47445         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47446         Likewise.
47448 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
47450         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47451         if non-absolute.
47452         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47453         ldd_rewrite_script.
47455 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
47457         * configure.in: Remove --with-tls option.
47458         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47459         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47460         out in case it is missing.
47461         * sysdeps/ia64/elf/configure.in: Likewise.
47462         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47463         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47464         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47465         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47466         * sysdeps/sh/elf/configure.in: Likewise.
47467         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47468         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47469         * sysdeps/x86_64/elf/configure.in: Likewise.
47470         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47471         * sysdeps/mach/hurd/tls.h: Likewise.
47473         [BZ #13067]
47474         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47476         [BZ #13090]
47477         * configure.in: Fix use of AC_INIT.
47479         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47481 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
47483         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47484         __set_errno.
47485         * malloc/hooks.c: Likewise.
47487         [BZ #11929]
47488         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
47489         variables statically.
47490         (narenas): Initialize.
47491         (list_lock): Initialize.
47492         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
47493         initializtion of main_arena and list_lock.  Small cleanups.
47494         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47495         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
47496         Add initializers to main_arena and mp_.
47497         (malloc_state): Remove pagesize member.  Change all users to use
47498         GLRO(dl_pagesize).
47500         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47501         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
47502         is always initialized.
47504         * malloc/malloc.c: Removed unused configurations and dead code.
47505         * malloc/arena.c: Likewise.
47506         * malloc/hooks.c: Likewise.
47507         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47509         * include/tls.h: Removed.  USE___THREAD must always be defined.
47510         * bits/libc-tsd.h: Don't handle !USE___THREAD.
47511         * elf/dl-libc.c: Likewise.
47512         * elf/dl-tsd.c: Likewise.
47513         * include/errno.h: Likewise.
47514         * include/netdb.h: Likewise.
47515         * include/resolv.h: Likewise.
47516         * inet/herrno-loc.c: Likewise.
47517         * inet/herrno.c: Likewise.
47518         * malloc/arena.c: Likewise.
47519         * malloc/hooks.c: Likewise.
47520         * malloc/malloc.c: Likewise.
47521         * resolv/res-state.c: Likewise.
47522         * resolv/res_libc.c: Likewise.
47523         * sysdeps/i386/dl-machine.h: Likewise.
47524         * sysdeps/ia64/dl-machine.h: Likewise.
47525         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47526         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47527         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47528         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47529         * sysdeps/sh/dl-machine.h: Likewise.
47530         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47531         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47532         * sysdeps/unix/i386/sysdep.S: Likewise.
47533         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47534         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47539         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47540         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47541         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47543         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47544         * sysdeps/x86_64/dl-machine.h: Likewise.
47545         * tls.make.c: Likewise.
47547         * configure.in: Remove --with-__thread option.  Make tests for
47548         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47549         tls_model attribute fail if no support is available.  Remove
47550         USE_IN_LIBIO.
47551         * Makeconfig: Adjust for dropped configure option.  All features are
47552         now mandatory.
47553         * Makerules: Likewise.
47554         * Versions.def: Likewise.
47555         * argp/argp-fmtstream.c: Likewise.
47556         * argp/argp-fmtstream.h: Likewise.
47557         * argp/argp-help.c: Likewise.
47558         * assert/assert.c: Likewise.
47559         * config.h.in: Likewise.
47560         * config.make.in: Likewise.
47561         * configure: Likewise.
47562         * configure.in: Likewise.
47563         * csu/Versions: Likewise.
47564         * csu/init.c: Likewise.
47565         * elf/tst-audit2.c: Likewise.
47566         * elf/tst-tls10.c: Likewise.
47567         * elf/tst-tls10.h: Likewise.
47568         * elf/tst-tls11.c: Likewise.
47569         * elf/tst-tls12.c: Likewise.
47570         * elf/tst-tls14.c: Likewise.
47571         * elf/tst-tlsmod11.c: Likewise.
47572         * elf/tst-tlsmod12.c: Likewise.
47573         * elf/tst-tlsmod13.c: Likewise.
47574         * elf/tst-tlsmod13a.c: Likewise.
47575         * elf/tst-tlsmod14a.c: Likewise.
47576         * elf/tst-tlsmod15b.c: Likewise.
47577         * elf/tst-tlsmod16a.c: Likewise.
47578         * elf/tst-tlsmod16b.c: Likewise.
47579         * elf/tst-tlsmod7.c: Likewise.
47580         * elf/tst-tlsmod8.c: Likewise.
47581         * elf/tst-tlsmod9.c: Likewise.
47582         * gmon/gmon.c: Likewise.
47583         * grp/fgetgrent_r.c: Likewise.
47584         * grp/putgrent.c: Likewise.
47585         * hurd/fopenport.c: Likewise.
47586         * include/libc-symbols.h: Likewise.
47587         * include/tls.h: Likewise.
47588         * intl/gettextP.h: Likewise.
47589         * intl/loadinfo.h: Likewise.
47590         * locale/global-locale.c: Likewise.
47591         * locale/localeinfo.h: Likewise.
47592         * mach/devstream.c: Likewise.
47593         * malloc/arena.c: Likewise.
47594         * malloc/set-freeres.c: Likewise.
47595         * misc/err.c: Likewise.
47596         * misc/getttyent.c: Likewise.
47597         * misc/mntent_r.c: Likewise.
47598         * posix/getopt.c: Likewise.
47599         * posix/wordexp.c: Likewise.
47600         * pwd/fgetpwent_r.c: Likewise.
47601         * resolv/Versions: Likewise.
47602         * resolv/res_hconf.c: Likewise.
47603         * shadow/fgetspent_r.c: Likewise.
47604         * shadow/putspent.c: Likewise.
47605         * stdio-common/printf_fphex.c: Likewise.
47606         * stdio-common/tmpfile.c: Likewise.
47607         * stdlib/abort.c: Likewise.
47608         * stdlib/fmtmsg.c: Likewise.
47609         * sunrpc/auth_unix.c: Likewise.
47610         * sunrpc/clnt_perr.c: Likewise.
47611         * sunrpc/clnt_tcp.c: Likewise.
47612         * sunrpc/clnt_udp.c: Likewise.
47613         * sunrpc/clnt_unix.c: Likewise.
47614         * sunrpc/openchild.c: Likewise.
47615         * sunrpc/svc_simple.c: Likewise.
47616         * sunrpc/svc_tcp.c: Likewise.
47617         * sunrpc/svc_udp.c: Likewise.
47618         * sunrpc/svc_unix.c: Likewise.
47619         * sunrpc/xdr.c: Likewise.
47620         * sunrpc/xdr_array.c: Likewise.
47621         * sunrpc/xdr_rec.c: Likewise.
47622         * sunrpc/xdr_ref.c: Likewise.
47623         * sunrpc/xdr_stdio.c: Likewise.
47625 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47627         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47629 2011-07-03  Andreas Jaeger  <aj@suse.de>
47631         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47632         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47633         regenerate with gen-libm-tests.pl.
47635 2010-05-12  Petr Baudis  <pasky@suse.cz>
47637         [BZ #11589]
47638         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47639         around j0() zero points by switching to j1().
47640         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47641         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47642         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47643         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47645 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47647         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47648         instead of 0.
47649         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47650         instead of 0.
47651         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47652         Patch in part by Pavel Roskin <proski@gnu.org>.
47654         [BZ #13138]
47655         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47656         realloc.
47657         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
47658         Free memory block if necessary.
47660         [BZ #12847]
47661         * libio/genops.c (INTDEF): For string streams the _lock pointer can
47662         be NULL.  Don't lock in this case.
47664 2011-09-09  Roland McGrath  <roland@hack.frob.com>
47666         * elf/elf.h (ELFOSABI_GNU): New macro.
47667         (ELFOSABI_LINUX): Define to that.
47669 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
47671         * string/strncat.c (strncat): Undef the symbol in case it has been
47672         defined in bits/string.h.
47674 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47676         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47678         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47679         link map.
47681 2011-08-17  Andreas Jaeger  <aj@suse.de>
47683         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47685 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47686             Ian Lance Taylor  <iant@google.com>
47688         * math/libm-test.inc (lround_test): New testcase.
47689         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47691 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
47693         * Makefile: Remove support for automatic cvs check-ins.
47694         * Makerules: Likewise.
47695         * config.make.in: Likewise.
47696         * configure.in: Likewise.
47697         * intl/Makefile: Likewise.
47698         * locale/Makefile: Likewise.
47699         * po/Makefile: Likewise.
47700         * posix/Makefile: Likewise.
47701         * sysdeps/gnu/Makefile: Likewise.
47702         * sysdeps/mach/hurd/Makefile: Likewise.
47703         * sysdeps/sparc/sparc32/Makefile: Likewise.
47705         [BZ #13118]
47706         * posix/Makefile (bug-regex32-ENV): Define.
47707         Patch by John Stanley <jpsinthemix@verizon.net>.
47709         * misc/Makefile (headers): Add bits/select2.h.
47710         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47711         * misc/bits/select2.h: New file.
47712         * include/bits/select2.h: New file.
47713         * debug/Makefile (routines): Add fdelt_chk.
47714         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47715         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47716         FD_ISSET.
47717         * debug/fdelt_chk.c: New file.
47719         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
47720         * wcsmbs/test-wmemcmp.c: Likewise.
47721         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47722         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47724 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47726         * string/Makefile (strop-tests): Add memcmp.
47727         * string/test-wmemcmp.c: New file.
47728         * string/test-memcmp.c: Add wmemcmp support.
47730 2011-09-08  Roland McGrath  <roland@hack.frob.com>
47732         [BZ #13153]
47733         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47734         2011-07-19 change.
47736         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47737         garbage value in a __mach_port_mod_refs call in the cases of the
47738         task-self and thread-self ports.
47740 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47742         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47744 2011-09-08  Andreas Schwab  <schwab@redhat.com>
47746         * elf/dl-load.c (lose): Check for non-null L.
47748 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47750         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47752         * elf/dl-libc.c (dlerror_run): Pass back error code from
47753         dl_catch_error.
47755         [BZ #13123]
47756         * elf/dl-load.c (lose): Free l_origin if it is valid.
47758         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47759         names.
47760         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47761         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47762         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47763         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47764         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47765         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47767 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47769         * sysdeps/powerpc/fpu/e_hypot.c: New file.
47770         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47771         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47772         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47773         * sysdeps/powerpc/fpu/k_cosf.c: New file.
47774         * sysdeps/powerpc/fpu/k_sinf.c: New file.
47775         * sysdeps/powerpc/fpu/s_cosf.c: New file.
47776         * sysdeps/powerpc/fpu/s_sinf.c: New file.
47777         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47778         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47780 2011-08-15  Alan Modra  <amodra@gmail.com>
47782         [BZ #13092]
47783         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47784         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47785         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
47786         ppc_mcount to static-only-routines.
47787         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47788         __mcount_internal.
47789         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47790         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
47792 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
47794         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47795         for finite and infinity parameters.
47797 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47799         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47800         and add nop instructions for throughput optimization.
47801         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47803 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
47805         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47806         aligned copy for power7 with vector-scalar instructions.
47807         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47809 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
47811         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47812         AVX check.
47814 2011-09-07  Andreas Schwab  <schwab@redhat.com>
47816         [BZ #13144]
47817         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47818         last change.
47820 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47822         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47823         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47824         syscall wrapper around clock_gettime in __vdso_clock_gettime.
47825         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47826         clock_gettime.
47828 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47830         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47831         Forgot to demangle the pointer.
47833         * sysdeps/i386/sysdep.h: Define atom_text_section.
47834         * sysdeps/x86_64/sysdep.h: Likewise.
47835         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47836         section with atom_text_section.
47837         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47838         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47839         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47840         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47841         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47843         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47844         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47845         already be defined.  Change to take two parameters and don't assign
47846         result to variable.  Adjust all users.
47847         Define INTERNAL_GETTIME if not already defined.
47848         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47849         call.
47850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47851         HAVE_CLOCK_GETTIME_VSYSCALL.
47852         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47854         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47855         gettimeofday vsyscall, just use time.
47857 2011-09-06  Andreas Schwab  <schwab@redhat.com>
47859         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47860         <errno.h>.
47862 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47864         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47865         syscall on x86-64.
47866         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47867         syscall.
47868         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47869         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47870         syscall if possible.
47872 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47874         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47875         e_ident.  Don't pass to find_mapsXX.
47876         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47878 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47881         strchr-sse2-no-bsf strrchr-sse2-no-bsf
47882         * sysdeps/x86_64/multiarch/strchr.S: Update.
47883         Check bit_slow_BSF bit.
47884         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47885         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47886         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47888 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47890         [BZ #13134]
47891         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47892         before glibc 2.15.
47893         (tryshell): Define.
47894         (__spawni): Change last parameter to be flag.  Test
47895         SPAWN_XFLAGS_USE_PATH flag to use path or not.
47896         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47897         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47898         * posix/spawni.c: Likewise.
47899         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47900         * posix/spawnp.c: Likewise.  Change normal version to use
47901         SPAWN_XFLAGS_USE_PATH.
47902         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47903         SPAWN_XFLAGS_TRY_SHELL.
47905         [BZ #13150]
47906         * posix/glob.h: Remove gcc 1.x support.
47908         [BZ #13068]
47909         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47911 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47914         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47915         strrchr-sse2-bsf
47916         * sysdeps/i386/i686/multiarch/strchr.S: New file.
47917         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47918         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47919         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47920         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47921         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47923 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47925         * sysdeps/x86_64/wcscmp.S: New file.
47927         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47928         wcscmp-c wcscmp-sse2
47929         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47930         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47931         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47932         * wcsmbs/wcscmp.c: Allow renaming.
47934 2011-09-05  David S. Miller  <davem@davemloft.net>
47936         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47937         stack slot, rather than the struct return pointer slot.
47938         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47939         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47941         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47943 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47945         * po/ja.po: Update from translation team.
47947         [BZ #13144]
47948         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47949         kernel in 64-bit binaries.
47951 2011-09-01  David S. Miller  <davem@davemloft.net>
47953         * elf/elf.h (HWCAP_SPARC_*): Move to..
47954         * sysdeps/sparc/sysdep.h: this new file and add new values.
47955         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47956         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47957         _DL_HWCAP_COUNT to 24.
47958         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47959         entries.
47960         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47961         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47962         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47963         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47964         instead of magic constants.
47965         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47967 2011-08-31  David S. Miller  <davem@davemloft.net>
47969         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47971         Reimplement to do errno handling inline.
47972         (SYSCALL_ERROR_HANDLER): New macro.
47973         (__SYSCALL_STRING): Do not do errno handling in asm.
47974         (__CLONE_SYSCALL_STRING): Delete.
47975         (__INTERNAL_SYSCALL_STRING): Delete.
47976         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47977         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47978         (PSEUDO): Reimplement to do errno handling inline.
47979         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47980         (SYSCALL_ERROR_HANDLER): New macro.
47981         (__SYSCALL_STRING): Do not do errno handling in asm.
47982         (__CLONE_SYSCALL_STRING): Delete.
47983         (__INTERNAL_SYSCALL_STRING): Delete.
47984         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47985         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47986         i386.
47987         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47988         (inline_syscall*): Add 'err' argument.
47989         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47990         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47991         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47992         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47994         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47995         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47997 2011-08-30  Andreas Schwab  <schwab@redhat.com>
47999         * elf/rtld.c (dl_main): Relocate objects in dependency order.
48001 2011-08-29  Jiri Olsa <jolsa@redhat.com>
48003         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48004         directive.
48006 2011-08-24  David S. Miller  <davem@davemloft.net>
48008         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48010 2011-08-24  Andreas Schwab  <schwab@redhat.com>
48012         * elf/Makefile: Add rules to build and run unload8 test.
48013         * elf/unload8.c: New file.
48014         * elf/unload8mod1.c: New file.
48015         * elf/unload8mod1x.c: New file.
48016         * elf/unload8mod2.c: New file.
48017         * elf/unload8mod3.c: New file.
48019         * elf/dl-close.c (_dl_close_worker): Reset private search list if
48020         it wasn't used.
48022 2011-08-23  David S. Miller  <davem@davemloft.net>
48024         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48025         subtract stack bias.
48026         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48027         %sp not %fp in calculations.
48028         (_JMPBUF_UNWINDS_ADJ): Likewise.
48030         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48031         (aio_suspend): Call it to force an exception region around the
48032         AIO_MISC_WAIT() invocation.
48034 2011-08-23  Andreas Schwab  <schwab@redhat.com>
48036         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48037         backslash.
48039 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
48041         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48042         protection macro.
48043         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48044         and <dl-machine.h>.
48045         (Elf64_FuncDesc): Remove.
48047 2011-08-22  David S. Miller  <davem@davemloft.net>
48049         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48050         sigaltstack check, add missing cfi directives.
48051         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48052         missing cfi directives, and sigaltstack handling.
48054 2011-08-16  Andreas Schwab  <schwab@redhat.com>
48056         [BZ #11724]
48057         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48058         object is seen twice.
48059         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48061         * elf/Makefile (distribute): Add tst-initorder2.c.
48062         (tests): Add tst-initorder2.
48063         (modules-names): Add tst-initorder2a tst-initorder2b
48064         tst-initorder2c tst-initorder2d.  Add rules to build them.
48065         ($(objpfx)tst-initorder2.out): New rule.
48066         * elf/tst-initorder2.c: New file.
48067         * elf/tst-initorder2.exp: New file.
48069 2011-08-22  Andreas Schwab  <schwab@redhat.com>
48071         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48073         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48074         dependencies back to end of function.
48076         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48077         $(elfobjdir)/ld.so.
48079 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
48081         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48082         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48083         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48084         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48085         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48086         of __vdso_gettimeofday.
48087         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48088         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
48089         attribute_hidden.
48090         (_libc_vdso_platform_setup): Remove initialization of
48091         __vdso_gettimeofday and __vdso_time.
48093 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48095         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48096         and fgetc_unlocked.
48097         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48098         getc_unlocked.
48100         * elf/dl-open.c (add_to_global): Report additions to the global scope
48101         for LD_DEBUG=scopes.
48102         (dl_open_worker): Also print scope of newly loaded dependencies.
48103         (_dl_show_scope): Indicate if there is no scope.
48105         [BZ #13114]
48106         * stdio-common/Makefile (tests): Add bug24.
48107         * stdio-common/bug24.c: New file.
48109 2011-08-19  Andreas Jaeger  <aj@suse.de>
48111         [BZ #13114]
48112         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48113         non-existant file when using close-on-exec mode.
48115 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48117         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48118         the very first instruction.
48120         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48121         the CFI state in the end.
48122         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48123         inclusion of dl-trampoline.h.
48124         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48126 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48128         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48129         expectations for long double.
48131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48132         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48134 2011-08-14  David S. Miller  <davem@davemloft.net>
48136         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48137         artificual limit depends upon the system page size.
48139 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48141         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48142         * resolv/Makefile: Define CFLAGS-libresolv.
48144 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48146         * nss/makedb.c (compute_tables): Make variables used in nested
48147         function static.
48149 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48151         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48152         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48153         if buffer was too small.
48155         * elf/pldd.c (main): Attach to all threads in the process.
48156         Rewrite /proc handling to use *at functions.
48158 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48160         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48161         specifies first scope to show.
48162         (dl_open_worker): Update callers.  Move printing scope of new
48163         object to before the relocation.
48164         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48165         * sysdeps/generic/ldsodefs.h: Update declaration.
48167         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48168         string for the scope number.
48170 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48172         * nscd/servicescache.c (cache_addserv): Make sure written is always
48173         initialized.
48175 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48177         * sysdeps/i386/i486/bits/atomic.h
48178         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48179         statement expression, so as to suppress "set but not used" warning.
48180         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48182         * string/strncat.c (STRNCAT): Use prototype definition.
48184         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48185         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48186         -Iprograms here.
48187         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48188         (localedef-modules): Add localedef.
48189         (locale-modules): Add locale.
48191         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48192         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48193         to avoid a warning.
48195 2011-08-14  David S. Miller  <davem@davemloft.net>
48197         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48198         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48200 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48202         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48203         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48204         * elf/rtld.c (dl_main): Set l_name of vDSO.
48205         Call _dl_show_scope when DL_DEBUG_SCOPES.
48206         (process_dl_debug): Recognize scopes flag and also set it for all.
48207         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48208         Declare _dl_show_scope.
48210         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48211         (do_dlopen): Pass caller_dlopen to dl_open.
48212         (__libc_dlopen_mode): Initialize caller_dlopen.
48214         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48215         of libc.  Make tolower call locale-independent.  Optimize a bit by
48216         using isdigit instead of isalnum.
48217         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48219 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48221         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48222         was a dependency or dynamically loaded.
48224 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48226         * intl/l10nflist.c: Allow architecture-specific pop function.
48227         * sysdeps/x86_64/l10nflist.c: New file.
48229         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48230         classification.
48232 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48234         * include/dirent.h: Add libc_hidden_proto for scandirat and
48235         scandirat64.  Don't declare __scandirat64.
48236         * dirent/scandirat.c: Add libc_hidden_def.
48237         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48238         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48240 2011-08-10  David S. Miller  <davem@davemloft.net>
48242         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48243         enum.
48244         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48245         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48246         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48248 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48250         * Versions.def [libc]: Add GLIBC_2.15.
48251         * dirent/Makefile (routines): Add scandirat and scandirat64.
48252         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48253         GLIBC_2.15.
48254         * dirent/dirent.h: Declare scandirat and scandirat64.
48255         * dirent/scandirat.c: New file.
48256         * dirent/scandirat64.c: New file.
48257         * sysdeps/wordsize-64/scandirat.c: New file.
48258         * sysdeps/wordsize-64/scandirat64.c: New file.
48259         * dirent/opendir.c: Define opendirat.
48260         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48261         using scandirat.
48262         * dirent/scandir64.c: Adjust for scandir.c change.
48263         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48264         __scandirat64, and __scandir_cancel_handler.
48265         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48266         additional parameter and use openat instead of open (outside of ld.so).
48267         Add new __opendir as wrapper around __opendirat.
48268         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48269         here without requiring old scandirat implementation.
48271 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48273         * dirent/scandir.c (cancel_handler): Renamed to
48274         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48275         defined.  Adjust users.
48276         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48277         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48279 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48281         * string/test-string.h (IMPL): Use __STRING to expand name and then
48282         stringify it.
48284         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48285         of cleanups.
48287 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48289         * string/Makefile: Update.
48290         (strop-tests): Append strncat.
48291         * string/test-wcscmp.c: New file.
48292         New comprehensive test for wcscmp.
48293         * string/test-strcmp.c: Update.
48294         (WIDE): New define.
48296 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48298         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48299         line.
48301 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48304         encoding to ACE if AI_IDN.
48306 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
48308         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48309         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48311 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48313         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48314         Fix overflow bug in strncat.
48315         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48317         * string/test-strncat.c: Update.
48318         Add new tests for checking overflow bugs.
48320 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48323         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48324         * sysdeps/i386/i686/multiarch/strcat.S: New file.
48325         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48326         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48327         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48328         * sysdeps/i386/i686/multiarch/strncat.S: New file.
48329         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48330         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48332         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48333         (USE_AS_STRCAT): Define.
48334         Add strcat and strncat support.
48335         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48337 2011-07-25  Andreas Schwab  <schwab@redhat.com>
48339         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48340         __n bigger than INT_MAX+1.
48341         (__strncmp_g): Likewise.
48343 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
48345         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48346         * libio/stido.h: Likewise.
48348         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48349         (AF_NFC): Define.
48350         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48351         (AF_NFC): Define.
48353         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48354         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48355         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48356         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48357         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48359         [BZ #13021]
48360         * scripts/test-installation.pl: Don't expect libnss_test1 to be
48361         installed.
48363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48364         typo.
48365         (_dl_x86_64_save_sse): Likewise.
48367 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
48369         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48370         OSXSAVE.
48371         (_dl_x86_64_save_sse): Likewise.
48373         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48375         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48377 2011-07-21  Andreas Schwab  <schwab@redhat.com>
48379         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48380         change.
48381         (_dl_x86_64_save_sse): Use correct AVX check.
48383 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48385         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48386         bug in strncpy/strncat.
48387         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48389 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
48391         * string/tester.c (test_strcat): Add tests for different alignments
48392         of source and destination.
48393         (test_strncat): Likewise.
48395 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48397         [BZ #12852]
48398         * posix/glob.c (glob): Check passed in values before using them in
48399         expressions to avoid some overflows.
48400         (glob_in_dir): Likewise.
48402         [BZ #13007]
48403         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48404         check for AVX enablement so that we don't crash with old kernels and
48405         new hardware.
48406         * elf/tst-audit4.c: Add same checks here.
48407         * elf/tst-audit6.c: Likewise.
48409         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48411 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
48413         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48415 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48417         * po/cs.po: Update from translation team.
48418         * po/bg.po: Likewise.
48420 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
48422         * misc/sys/cdefs.h: Add support for const attribute.
48423         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48424         to gnu_dev_{major,minor,makedev} functions.
48426 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
48428         * intl/dcigettext.c (get_output_charset): Add missing bracket.
48430 2011-07-20  Andreas Schwab  <schwab@redhat.com>
48432         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48433         strlen results.
48435 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48437         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48438         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48439         register in order to avoid conflicts with the soft frame pointer
48440         being held in r11 when necessary.
48441         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48442         (INTERNAL_VSYSCALL_NCS): Likewise.
48444 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
48446         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48447         * elf/dl-fini.c (_dl_fini): Adjust caller.
48448         * elf/dl-close.c (_dl_close_worker): Likewise.
48449         * sysdeps/generic/ldsodefs.h: Adjust declaration.
48451 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48453         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48454         "aux_cache->nlibs < 0".
48456         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48457         in the reload-count case.
48459 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48462         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48463         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48464         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48465         * sysdeps/x86_64/multiarch/strcat.S: New file.
48466         * sysdeps/x86_64/multiarch/strncat.S: New file.
48467         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48468         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48469         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48470         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48471         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48472         (USE_AS_STRCAT): Define.
48473         Add strcat and strncat support.
48474         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48475         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48476         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48477         * string/strncat.c: Update.
48478         (USE_AS_STRNCAT): Define.
48479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48480         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48481         and i7.
48482         * sysdeps/x86_64/multiarch/init-arch.h
48483         (bit_Prefer_PMINUB_for_stringop): New.
48484         (index_Prefer_PMINUB_for_stringop): Likewise.
48485         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48486         bit_Prefer_PMINUB_for_stringop.
48488 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48490         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48491         buffer64.
48492         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48493         of casting of buffer.
48494         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48495         buffer32 and buffer64.
48496         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48497         writes instead of casting of buffer.
48498         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48499         buffer32.
48500         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48501         casting of buffer.
48503 2011-07-19  Andreas Schwab  <schwab@redhat.com>
48505         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48507 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48509         * nscd/nscd.c (termination_handler): Don't do anything for a database
48510         if it has not yet been initialized.
48512 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48514         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48516 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48518         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48520 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48522         * po/nl.po: Update from translation team.
48523         * po/sv.po: Likewise.
48525 2011-07-16  Roland McGrath  <roland@hack.frob.com>
48527         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48528         now disallowed by GCC.
48530         * configure.in (use-default-link): Default to yes if a test -shared
48531         link meets our qualifications.
48532         * configure: Regenerated.
48534         * config.make.in (output-format): New variable.
48535         * configure.in: Check for ld --print-output-format support.
48536         * configure: Regenerated.
48537         * Makerules ($(common-objpfx)format.lds)
48538         [$(output-format) != unknown]: Just use $(output-format),
48539         instead of the linker-script munging.
48541 2011-07-14  Roland McGrath  <roland@hack.frob.com>
48543         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48544         of $(common-objpfx)shlib.lds.
48545         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48547         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48548         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48550         * configure.in (-z relro check): Adjust test code to add a large
48551         writable data section after it.
48552         * configure: Regenerated.
48554 2011-07-11  Roland McGrath  <roland@hack.frob.com>
48556         * configure.in (-z relro check): Fix test code to make the variable
48557         truly const.
48558         * configure: Regenerated.
48560 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
48562         * nscd/nscd.h (struct traced_file): Define.
48563         (struct database_dyn): Remove inotify_descr, reset_res, and filename
48564         elements.  Add traced_files.
48565         (inotify_fd): Declare.
48566         (register_traced_file): Declare.
48567         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48568         (inotify_fd): Export.
48569         (resolv_conf_descr): Remove.
48570         (nscd_init): Move inotify descriptor creation to main.
48571         Don't register files for notification here.
48572         (register_traced_file): New function.
48573         (invalidate_cache): Don't use reset_res to determine whether to call
48574         res_init, go through the list of registered files.
48575         (main_loop_poll): The inotify descriptors are now stored in the
48576         structures for the traced files.
48577         (main_loop_epoll): Likewise
48578         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
48579         to __nss_disable_nscd.
48580         * nscd/cache.c (prune_cache): There is no single inotify descriptor
48581         for a database anymore.  Check the records for all the registered
48582         files instead.
48583         * nss/Makefile (libnss_files-routines): Add files-init.
48584         (libnss_db-routines): Add db-init.
48585         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48586         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48587         * nss/nss_db/db-init.c: New file.
48588         * nss/nss_files/files-init.c: New file.
48589         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
48590         __nss_lookup_function.
48591         (__nss_lookup_function): Call nss_load_library.
48592         (nss_load_all_libraries): New function.
48593         (__nss_disable_nscd): Take parameter with callback function for files
48594         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
48595         used for the cached services.
48596         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48597         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48598         options for features to all the files in nscd.
48600         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48602 2011-07-10  Roland McGrath  <roland@hack.frob.com>
48604         * csu/elf-init.c (__libc_csu_init): Comment typo.
48606 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
48608         * po/pl.po: Update from translation team.
48609         * po/ja.po: Likewise.
48610         * po/ru.po: Likewise.
48611         * po/ko.po: Likewise.
48612         * po/fr.po: Likewise.
48614 2011-07-09  Roland McGrath  <roland@hack.frob.com>
48616         * configure.in (.ctors/.dtors header and trailer check):
48617         Use an empirical test on a built program.
48618         * configure: Regenerated.
48620         * configure.in (-z relro check): Use an empirical test on a built DSO.
48621         Detect, but do not require, on ia64.
48622         * configure: Regenerated.
48624         * configure.in (READELF): Find it with AC_CHECK_TOOL.
48625         Update tests that use readelf to use $READELF instead.
48626         * configure: Regenerated.
48628 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
48630         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48631         if the result is not used.
48633 2011-07-05  Andreas Jaeger  <aj@suse.de>
48635         [BZ#9696]
48636         * stdlib/tst-strtod.c: Add testcase.
48638 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
48640         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48641         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48642         The latter has a higher limit.  Take additional parameter to pass to
48643         the new function.
48644         (__pathconf): Pass file to __statfs_link_max.
48645         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48646         __statfs_link_max.
48647         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48648         __statfs_link_max.
48650         [BZ #12868]
48651         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48653         Handle Lustre.
48654         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48655         (__statfs_filesize_max): Likewise.
48656         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48658 2011-07-05  Andreas Jaeger  <aj@suse.de>
48660         * resolv/res_comp.c (dn_skipname): Remove unused variable.
48662 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
48664         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48665         `status' variable.
48666         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48667         Likewise.
48669 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
48671         * Makefile (strop-tests): Add strncat.
48672         * string/test-strncat.c: New file.
48674 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
48676         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48678 2011-06-21  Andreas Jaeger  <aj@suse.de>
48680         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48681         Copy rule from iconvdata/Makefile.
48683 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48685         [BZ #12922]
48686         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48687         but no long options are defined, just return 'W'.
48689 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
48691         [BZ #9696]
48692         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48694 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48696         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48697         netgroups to read.
48698         (innetgr): Likewise.
48700 2011-07-05  Roland McGrath  <roland@hack.frob.com>
48702         * config.make.in (install_root): Default to $(DESTDIR).
48704 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
48706         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48708 2011-07-02  Roland McGrath  <roland@hack.frob.com>
48710         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48712         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48713         containing directory rather than embedding absolute directory names.
48715         * scripts/check-local-headers.sh: Rewritten using awk.
48716         Match by word, not by line.  Print error messages for matches.
48717         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48719         * Makerules [shlib-lds-flags empty]:
48720         ($(common-objpfx)libc_pic.opts): New target.
48721         ($(common-objpfx)libc_pic.os.clean): New target.
48722         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48724         * config.make.in (OBJCOPY): New variable.
48725         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48726         * configure: Regenerated.
48728         * config.make.in (use-default-link): New variable.
48729         * configure.in (use_default_link): Grok --with-default-link to set it.
48730         * configure: Regenerated.
48731         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48732         (shlib-lds, shlib-lds-flags): Define to empty.
48734         * Makerules (shlib-lds): New variable.
48735         (shlib-lds-flags): New variable.
48736         (build-shlib, build-moduile, build-module-asneeded): Use it.
48737         ($(common-objpfx)libc.so): Use $(shlib-lds).
48738         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48739         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48741         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48742         DT_FLAGS/DT_FLAGS_1 with zero flags.
48744         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48745         linker script munging.
48747 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
48749         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48750         as 128-bit value.
48751         * crypt/sha512.c (sha512_process_block): Perform total addition using
48752         128-bit if possible.
48753         (__sha512_finish_ctx): Likewise.
48754         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48755         as 64-bit value.
48756         * crypt/sha256.c (SWAP64): Define.
48757         (sha256_process_block): Perform total addition using 64-bit if
48758         possible.
48759         (__sha256_finish_ctx): Likewise.
48761 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
48763         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
48764         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48765         * nscd/hstcache.c (cache_addhst): Likewise.
48766         * nscd/grpcache.c (cache_addgr): Likewise.
48767         * nscd/aicache.c (addhstaiX): Likewise
48768         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48770 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
48772         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48773         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48774         * nscd/hstcache.c (cache_addhst): Likewise.
48775         * nscd/grpcache.c (cache_addgr): Likewise.
48776         * nscd/aicache.c (addhstaiX): Likewise
48778 2011-07-01  Andreas Schwab  <schwab@redhat.com>
48780         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48781         domain only when needed.
48783 2011-06-30  Andreas Schwab  <schwab@redhat.com>
48785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48786         is always restored.
48788 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
48790         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48791         are re-adding the entry.
48792         * nscd/servicescache.c (cache_addserv): Likewise.
48794 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
48796         * sysdeps/generic/dl-irel.h: fix protection against multiple
48797         inclusions.
48798         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48800 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
48802         [BZ #12935]
48803         * malloc/memusage.sh: Fix quoting in message.
48804         * debug/xtrace.sh: Likewise.
48806         * configure.in: Remove support for --experimental-malloc option, make
48807         it the default.
48808         * config.make.in: Likewise.
48809         * malloc/Makefile: Likewise.
48811 2011-06-27  Andreas Schwab  <schwab@redhat.com>
48813         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48814         two-byte characters.
48816 2011-06-27  Roland McGrath  <roland@hack.frob.com>
48818         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48819         AC_CACHE_CHECK invocation.
48820         * configure: Regenerated.
48822         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48824 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
48826         [BZ #12350]
48827         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
48828         bit from old_res_options.
48830         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48832         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48833         value type for setfct.
48835 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
48837         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48838         __gettimeofday instead of gettimeofday.
48840 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
48842         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48844 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
48846         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48848         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48849         info.
48851 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48854         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48855         strcpy-sse2-unaligned strncpy-sse2-unaligned
48856         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48857         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48858         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48859         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48860         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48861         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48862         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48863         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48864         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48865         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48866         (STRCPY): Support SSE2 and SSSE3 versions.
48868 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
48870         [BZ #12874]
48871         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48872         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48873         kernels which artificially limit size of requests.
48875 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48877         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48878         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48879         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48880         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48881         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48882         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48883         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48884         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48885         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48886         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48887         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48888         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48889         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48890         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48891         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48893         Enable unaligned load optimization for Intel Core i3, i5 and i7
48894         processors.
48895         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48896         Define.
48897         (index_Fast_Unaligned_Load): Define.
48898         (HAS_FAST_UNALIGNED_LOAD): Define.
48900 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
48902         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48904 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48906         [BZ #12907]
48907         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48908         until it is clear that the information is realy needed.
48909         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48911 2011-06-22  Andreas Schwab  <schwab@redhat.com>
48913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48915 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48917         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48918         /sys/devices/system/cpu/online if it is usable.
48920         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48921         reading the information from the /proc filesystem to once a second.
48923 2011-06-21  Andreas Jaeger  <aj@suse.de>
48925         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48926         NULL after inclusion of kernel headers.
48928 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
48930         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48931         calls to internal_setent.
48933         [BZ #12885]
48934         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48935         addresses using gethostbyname4_r ignore IPv4 addresses.
48937         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48938         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
48940         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48942 2011-06-20  David S. Miller  <davem@davemloft.net>
48944         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48945         inclusions.
48946         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48948         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48949         (elf_irel): Use it.
48950         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48951         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48952         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48953         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48954         * sysdeps/x86_64/dl-irel.h: Likewise.
48956         * elf/dl-runtime.c: Use elf_ifunc_invoke.
48957         * elf/dl-sym.c: Likewise.
48959 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48961         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
48962         need to dereference resplen2.
48964 2011-06-14  Andreas Schwab  <schwab@redhat.com>
48966         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48968 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48970         * Makeconfig: Define vardbdir and inst_vardbdir.
48971         * nss/Makefile: Add rules to install db-Makefile.
48973         * nss/nss_db/db-XXX.c: Cleanup.
48975         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48976         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48977         GLIBC_PRIVATE.
48978         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48979         * nss/makedb.c: Implement -g option to specify that value strings
48980         are generated and should not be added to table iterated over for
48981         get*ent calls.
48982         * nss/nss_db/db-initgroups.c: New file.
48984         * nss/getent.c: Add support for initgroups lookups through getgrouplist
48985         interface.
48987         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48988         (internal_getgrouplist): Adjust to name change.
48989         Update use_initgroups_entry if this is not the first call.
48990         * nss/databases.def: Add initgroups entry.
48992         * nss/makedb.c (compute_tables): Check result of multiple hash table
48993         sizes to minimize maximum chain length.
48995 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
48997         * Versions.def: Add entry for libnss_db.
48998         * shlib-versions: Likewise.
48999         * nss/Makefile: Add rules to build libnss_db.
49000         * nss/Versions: Add libnss_db information.  Organize libnss_files
49001         entries better.
49002         * nss/db-Makefile: Add gshadow support.  Change rules for the new
49003         makedb progra.  Some minor improvements to generate smaller files.
49004         * nss/nss_db/nss_db.h: Move NSS database header data structures to
49005         here from...
49006         * nss/makedb.c: ...here.
49007         Improve database format to be smaller and require less memory at
49008         runtime.
49009         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
49010         db anymore.
49011         * nss/nss_db/db-netgrp.c: Likewise.
49012         * nss/nss_db/db-open.c: Likewise.
49013         * nss/nss_files/flies-XXX.x: Adjust comments.
49014         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49015         * nss/nss_files/files-grp.c: Likewise.
49016         * nss/nss_files/files-hosts.c: Likewise.
49017         * nss/nss_files/files-network.c: Likewise.
49018         * nss/nss_files/files-proto.c: Likewise.
49019         * nss/nss_files/files-pwd.c: Likewise.
49020         * nss/nss_files/files-rpc.c: Likewise.
49021         * nss/nss_files/files-service.c: Likewise.
49022         * nss/nss_files/files-sgrp.c: Likewise.
49023         * nss/nss_files/files-spwd.c: Likewise.
49024         * nss/nss_db/db-alias.c: Removed.
49025         * nss/nss_db/dummy-db.h: Removed.
49027 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
49029         * nss/makedb.c: Rewritten to not use database library.
49030         * nss/Makefile: Update to build new makedb program.
49032 2011-06-14  Andreas Jaeger  <aj@suse.de>
49034         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49035         memset declaration.
49037 2011-06-10  Andreas Schwab  <schwab@redhat.com>
49039         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49040         tmpbuf.
49042 2011-06-10  Roland McGrath  <roland@hack.frob.com>
49044         * Makerules (shlib.lds): Fail if the linker script comes out empty.
49045         * elf/Makefile ($(objpfx)ld.so): Likewise.
49047         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49048         Don't list ld.so twice in dependencies.
49050         * posix/bug-regex31.c: Include <stdlib.h>.
49052         * nscd/hstcache.c (cache_addhst): Remove unused variable.
49054         * nis/nss_compat/compat-spwd.c
49055         (getspent_next_nss_netgr): Remove unused variable.
49056         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49058         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49059         nonmembers" output to use the right array.
49061         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49063         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49065         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49066         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49067         * catgets/gencat.c (read_input_file): Likewise.
49068         * locale/programs/locarchive.c (enlarge_archive): Likewise.
49070         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49071         variable definition inside #if's controlling its use.
49073         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49075         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49077         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49079         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49080         unreachable code.
49082         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49084         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49085         * configure: Regenerated.
49087         * Makerules: Revert last change.
49088         * elf/Makefile: Likewise.
49090 2011-06-09  Roland McGrath  <roland@hack.frob.com>
49092         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49093         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49094         (reloc-link): Likewise.
49096 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49098         * elf/Makefile: Add rules to build pldd.
49099         * elf/pldd.c: New file.
49100         * elf/pldd-xx.c: New file.
49102 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49104         * version.h: Update for 2.15 development version.
49106 2011-06-07  David S. Miller  <davem@davemloft.net>
49108         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49109         ifuncs.
49110         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49111         elf_machine_lazy_rel): Likewise.
49112         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49113         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49114         elf_machine_lazy_rel): Likewise.
49115         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49116         dl_hwcap via passed in argument.
49117         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49118         Likewise.
49120 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49122         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49124 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49126         [BZ #12849]
49127         * manual/fdl-1.1.texi: New file, verbatim from:
49128         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49129         * manual/lgpl-2.1.texi: New file, verbatim from:
49130         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49131         * manual/Makefile (licenses): New variable, list those new file names.
49132         (texis): Use it.
49133         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49135         * manual/fdl.texi: File removed.
49136         * manual/lesser.texi: File removed.
49137         * manual/libc.texinfo (Copying, Documentation License):
49138         Use new @include file names, put @appendix directive before @include.
49140 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49142         [BZ #12841]
49143         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49144         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49145         (mq_open): Add __NTH.
49147 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49150         Assume Intel Core i3/i5/i7 processor if AVX is available.
49152 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49154         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49155         typo.
49157 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49159         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49160         memory.  Use alloca_account.  Fix memory leak when retrying.
49162 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49164         * version.h (RELEASE): Bump for 2.14 release.
49165         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49167         * config.make.in (RANLIB): Remove entry.
49169 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49171         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49172         (libc.pot): Work around missing support for .ksh extension in xgettext.
49174         [BZ #12684]
49175         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49176         if both request failed.
49177         (send_dg): In case of server errors clear resplen or *resplen2.
49179         [BZ #12454]
49180         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49181         when there are multiple maps.
49182         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49183         (_dl_fini): Remove test here.
49185         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49187 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49189         [BZ #12350]
49190         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49191         bit from old_res_options.
49192         (gaih_inet): Likewise.
49194         [BZ #11099]
49195         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49196         as signed.
49198         * resolv/res_init.c (res_setoptions): Make the code more compact.
49200         [BZ #11558]
49201         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49202         set RES_USEVC.
49204         [BZ #11634]
49205         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49207         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49209         [BZ #11781]
49210         * malloc/malloc.h: Declare malloc hook variables as volatile.
49212         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49213         in last patch.
49215         [BZ #11799]
49216         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49217         raise in the comment.
49218         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49219         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49220         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49222 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49224         [BZ #12811]
49225         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49226         grow the buffers more if it already has to be sufficient.
49227         (build_wcs_upper_buffer): Likewise.
49228         * posix/regexec.c (check_matching): Likewise.
49229         (clean_state_log_if_needed): Likewise.
49230         (extend_buffers): Don't enlarge buffers beyond size of the input
49231         buffer.
49232         Patches mostly by Emil Wojak <emil@wojak.eu>.
49233         * posix/bug-regex32.c: New file.
49234         * posix/Makefile (tests): Add bug-regex32.
49236         * locale/findlocale.c (_nl_find_locale): Return right away if
49237         _nl_explode_name failed.
49238         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49240         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49242         * debug/xtrace.sh: Unify messages.
49243         * malloc/memusage.sh: Likewise.
49245         [BZ #12813]
49246         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49247         time symbol from vDSO.  Substitute with vsyscall if not available.
49248         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49249         __vdso_time.
49251         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49252         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49253         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49254         Add sendmmsg and internal_sendmmsg.
49255         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49256         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49257         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49259         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49260         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49261         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49263 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49265         [BZ #12813]
49266         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49267         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49268         available.
49269         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49270         __vdso_getcpu.
49272         [BZ #12814]
49273         * iconvdata/Makefile (tests): Add bug-iconv9.
49274         * iconvdata/bug-iconv9.c: New file.
49276 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49278         [BZ #12814]
49279         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49281 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49283         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49284         (struct user_regs_struct): Change intcs field back to cs.
49286 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49288         * po/ja.po: Update from translation team.
49290 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49292         [BZ #12795]
49293         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49294         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49296 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49298         * stdlib/longlong.h: Update from GCC.
49300 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49302         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49303         parameter name.
49304         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49305         Add parameter name.
49306         (__sysconf): Pass it down.
49308 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
49310         [BZ #12671]
49311         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49312         some situations.
49313         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49314         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49315         add in in __libc_use_alloca calls.  Adjust callers.
49316         (glob): Use malloc in some situations.
49318         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49319         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49320         pltexit.
49322 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
49324         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49325         and CLOCK_BOOTTIME_ALARM.
49327         [BZ #12782]
49328         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49329         is returned.
49331         * string/_strerror.c (__strerror_r): Print negative errors as signed
49332         numbers.
49334         [BZ #12777]
49335         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49336         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49337         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49339         * configure.in: Fix typo in redirection and correct removal of test
49340         files in two cases.
49342         [BZ #12788]
49343         * locale/setlocale.c (new_composite_name): Fix test to check for
49344         identical name of all categories.
49346         [BZ #12792]
49347         * libio/filedoalloc.c (local_isatty): New function.
49348         (_IO_file_doallocate): Use local_isatty.
49349         * stdio-common/perror.c (perror): In case a new stream is used
49350         forward the stream error.
49351         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49352         error flag.
49354 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
49356         [BZ #11869]
49357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49358         alloca.
49359         * include/alloca.h (extend_alloca_account): Define.
49361         [BZ #11857]
49362         * posix/regex.h: Fix comments with documentation of user-accessible
49363         fields after compilation and describe correct free'ing of pattern
49364         after re_compile_pattern.
49365         Patch by Reuben Thomas <rrt@sc3d.org>.
49367 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
49369         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49370         and -mno-altivec to prevent the compiler from using Altivec and/or
49371         VSX instructions when the corresponding registers are not available.
49373 2011-05-19  Andreas Schwab  <schwab@redhat.com>
49375         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49377 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
49379         * libio/freopen.c (freopen): Use __dup2, not dup2.
49380         * libio/freopen64.c (freopen64): Likewise.
49382 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49384         [BZ #12775]
49385         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49386         * math/Makefile (tests): Add test-powl.
49387         (CFLAGS-test-powl.c): Define.
49388         * math/test-powl.c: New file.
49390 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49392         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49394 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
49396         [BZ #11837]
49397         * iconvdata/gb18030.c: Update to GB18020-2005.
49399 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
49401         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49402         RE_SYNTAX_POSIX_AWK): Update to match recent development.
49403         Patch by Aharon Robbins <arnold@skeeve.com>.
49405         [BZ #11892]
49406         * stdlib/putenv.c (putenv): Don't always create copy of the variable
49407         on the stack.
49409         [BZ #11895]
49410         * misc/pselect.c (__pselect): Handle timeout value errors hidden
49411         through underflows.
49413         [BZ #12766]
49414         * misc/error.c (error_at_line): Ensure file_name and old_file_name
49415         point to strings before performing equality test for error_one_per_line
49416         mode.
49418         [BZ #11697]
49419         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49421         [BZ #11820]
49422         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49423         (struct user_fpregs_struct): Avoid __uint*_t types.
49425         [BZ #6420]
49426         * malloc/mtrace.c (tr_where): Add additional parameter to point to
49427         symbol info.  Use it instead of calling _dl_addr locally.
49428         (lock_and_info): New function.
49429         (tr_freehook): Call lock_and_info and pass symbol info as additional
49430         parameter to tr_where.
49431         (tr_mallochook): Likewise.
49432         (tr_reallochook): Likewise.
49433         (tr_memalignhook): Likewise.
49435         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
49436         used and couldn't be at all thread-safe.
49438 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
49440         * libio/freopen.c (freopen): Don't close old file descriptor
49441         before the new one is opened.  Instead dup the new file descriptor
49442         to the old one after the new stream is created.
49443         * libio/freopen64.c (freopen64): Likewise.
49444         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49445         * libio/fileops.c (_IO_new_file_close_it): Handle new
49446         _IO_FLAGS2_NOCLOSE flag.
49447         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49448         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49449         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49450         _IO_FLAGS2_NOCLOSE flag.
49451         * include/unistd.h: Add hidden_proto for dup3.
49452         Define __have_dup3.
49453         * io/dup3.c: Define hidden symbol.
49454         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49456         [BZ #7101]
49457         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49458         when an incomplete long option is used.
49459         * posix/tst-getopt_long1.c: New file.
49460         * posix/Makefile (tests): Add tst-getopt_long1.
49462         [BZ #10138]
49463         * scripts/config.guess: Update from autoconf-2.68.
49464         * scripts/config.sub: Likewise.
49466         [BZ #10157]
49467         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49468         tests into ...
49469         (has_cpuclock): ...this.  New function.
49470         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49471         macro here based on has_cpuclock code.
49473         [BZ #10149]
49474         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49475         First byte (not low byte) is now always NUL.
49476         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49478         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49479         Use non-cancelable interfaces.
49481         [BZ #9809]
49482         * locale/iso-639.def: Add entry for Sorani.
49484         [BZ #11901]
49485         * include/stdlib.h: Move include protection to the right place.
49486         Define abort_msg_s.  Declare __abort_msg with it.
49487         * stdlib/abort.c (__abort_msg): Adjust type.
49488         * assert/assert.c (__assert_fail_base): New function.  Majority
49489         of code from __assert_fail.  Allocate memory for __abort_msg with
49490         mmap.
49491         (__assert_fail): Now call __assert_fail_base.
49492         * assert/assert-perr.c: Remove bulk of implementation.  Use
49493         __assert_fail_base.
49494         * include/assert.hL Declare __assert_fail_base.
49495         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49496         mmap.
49497         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49499 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
49501         [BZ #11952]
49502         [BZ #12453]
49503         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49504         until all modules are registered in the DTV.
49505         * elf/Makefile: Add rules to build and run tst-tls19.
49506         * elf/tst-tls19.c: New file.
49507         * elf/tst-tls19mod1.c: New file.
49508         * elf/tst-tls19mod2.c: New file.
49509         * elf/tst-tls19mod3.c: New file.
49510         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49512         [BZ #12083]
49513         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49514         correctly.
49516         [BZ #12601]
49517         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49518         two-byte sequence errors.
49519         * iconvdata/Makefile (tests): Add bug-iconv8.
49520         * iconvdata/bug-iconv8.c: New file.
49522         [BZ #12626]
49523         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49524         buf2 definition.
49526         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49528         [BZ #12432]
49529         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49530         (dummy_getcfa): New function.
49531         (init): Get _Unwind_GetCFA address, use dummy if not found.
49532         (backtrace_helper): In recursion check, also check whether CFA changes.
49533         (__backtrace): Completely initialize arg.
49535         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49536         storing incomplete byte sequence in state object.  Avoid testing for
49537         guaranteed too small input if we know there is enough data available.
49539 2011-05-11  Andreas Schwab  <schwab@redhat.com>
49541         * Makeconfig (+link-pie): Indent.
49542         * Rules (binaries-pie): Define if $(have-fpie) and
49543         $(build-shared).
49544         (binaries-shared): Also filter out $(binaries-pie).
49545         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49546         * nscd/Makefile (others-pie): Add nscd.
49547         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49548         ($(objpfx)nscd): Remove command override.
49549         * login/Makefile (others-pie): Add pt_chown.
49550         ($(objpfx)pt_chown): Remove command override.
49551         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49552         remove command overrides.
49554 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
49556         * libio/tst_putwc.c: Fix error messages.
49558         [BZ #12724]
49559         * libio/fileops.c (_IO_new_file_close_it): Always flush when
49560         currently writing and seek to current position when not.
49561         * libio/Makefile (tests): Add bug-fclose1.
49562         * libio/bug-fclose1.c: New file.
49564 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
49566         [BZ #12511]
49567         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49568         don't set DF_1_NODELETE here.
49569         (do_lookup_x): When entering new entry test for copy relocation
49570         and if necessary set DF_1_NODELETE flag.
49571         * elf/tst-unique4.cc: New file.
49572         * elf/tst-unique4.h: New file.
49573         * elf/tst-unique4lib.cc: New file.
49574         * elf/Makefile: Add rules to build and run tst-unique4.
49575         Patch by Piotr Bury <pbury@goahead.com>.
49577 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
49579         [BZ #12052]
49580         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49582         [BZ #12625]
49583         * misc/mntent_r.c (addmntent): Flush the stream after the output
49585         [BZ #12393]
49586         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49587         (is_trusted_path_normalize): Skip initial colon.  Append slash
49588         to empty buffer.  Duplicate is_trusted_path code but allow
49589         constructed patch to be prefix.
49590         (is_dst): Allow $ORIGIN followed by /.
49591         (_dl_dst_substitute): Correct clearing of check_for_trusted.
49592         Correct testing of result of is_trusted_path_normalize
49593         (decompose_rpath): Fix warning.
49595 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
49597         [BZ #11257]
49598         * grp/initgroups.c (internal_getgrouplist): When we found the service
49599         list through the initgroups entry in nsswitch.conf do not always
49600         continue on a successful lookup.  Don't always use the
49601         __nss_group_database value if it is set.
49602         * nss/nsswitch.conf (initgroups): Change action for successful db
49603         lookup to continue for compatibility.
49605 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
49607         [BZ #11532]
49608         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49609         and CP774 modules.
49610         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49611         and CP774 modules.
49612         * iconvdata/tst-tables.sh: Likewise.
49613         * iconvdata/cp770.c: New file.
49614         * iconvdata/cp771.c: New file.
49615         * iconvdata/cp772.c: New file.
49616         * iconvdata/cp773.c: New file.
49617         * iconvdata/cp774.c: New file.
49618         * iconvdata/testdata/CP770: New file.
49619         * iconvdata/testdata/CP770..UTF8: New file.
49620         * iconvdata/testdata/CP771: New file.
49621         * iconvdata/testdata/CP771..UTF8: New file.
49622         * iconvdata/testdata/CP772: New file.
49623         * iconvdata/testdata/CP772..UTF8: New file.
49624         * iconvdata/testdata/CP773: New file.
49625         * iconvdata/testdata/CP773..UTF8: New file.
49626         * iconvdata/testdata/CP774: New file.
49627         * iconvdata/testdata/CP774..UTF8: New file.
49629         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49630         END CHARMAP line.
49631         * iconvdata/gen-8bit-gap.sh: Likewise.
49632         * iconvdata/gen-8bit.sh: Likewise.
49634         * locale/iso-639.def: Add ary entry.
49636         [BZ #11258]
49637         * locale/C-translit.h.in: Add U20A1 transliteration.
49639         [BZ #12178]
49640         * locale/iso-639.def: Add wae entry.
49641         Patch by Kevin Bortis <bortis@translate-wae.ch>.
49643         [BZ #12545]
49644         * locale/programs/localedef.c (construct_output_path): Use ssize_t
49645         for n.
49647         [BZ #12711]
49648         * locale/C-translit.h.in: Add entry for U20B9.
49649         Patch by pravin.d.s@gmail.com.
49651 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
49653         [BZ #12713]
49654         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49655         ENAMETOOLONG use generic getcwd.
49656         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
49657         in rtld.  Use *stat64.
49658         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49659         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49660         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49661         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49662         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49663         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49664         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49665         __fstatat64 macros.
49666         * include/dirent.h: Add libc_hidden_proto for rewinddir.
49667         * dirent/rewinddir.c: Add libc_hidden_def.
49668         * sysdeps/mach/hurd/rewinddir.c: Likewise.
49669         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
49671         * include/dirent.h (__alloc_dir): Add flags parameter.
49672         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49673         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49674         __alloc_dir.
49675         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
49676         from fdopendir if O_CLOEXEC is already set.
49678 2011-03-15  Alan Modra  <amodra@gmail.com>
49680         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49681         l_tls_firstbyte_offset non-zero.  Save padding offset in
49682         l_tls_firstbyte_offset for later use.
49683         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49684         freeing static tls block.
49686 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
49688         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49689         where #ifdef was intended.  The intent is to prevent ARG_MAX from
49690         being defined by the kernel headers.
49692 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
49694         [BZ #12734]
49695         * resolv/resolv.h: Define RES_NOTLDQUERY.
49696         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49697         no-tld-query and set RES_NOTLDQUERY.
49698         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49699         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49700         modern BIND to search name as TLD unless forbidden.
49702 2011-05-07  Petr Baudis  <pasky@suse.cz>
49703             Ulrich Drepper  <drepper@gmail.com>
49705         [BZ #12393]
49706         * elf/dl-load.c (fillin_rpath): Move trusted path check...
49707         (is_trusted_path): ...to here.
49708         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49709         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49710         using is_trusted_path_normalize() in setuid scripts.
49712 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49714         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49715         __BEGIN/__END_DECLS.
49717 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
49719         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49720         NSS_STATUS_NOTFOUND if no record was found.
49722 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49724         * sunrpc/Makefile (headers): Add rpc/netdb.h.
49725         (headers-not-in-tirpc): Remove rpc/netdb.h
49726         * resolv/netdb.h: Revert last change.
49728 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49730         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49731         circular dependency between libgcc.a and libc.a.
49733 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49735         * resolv/netdb.h: Don't include <rpc/netdb.h>.
49736         * nis/Makefile: Don't install rpcsvc/*.
49737         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49738         instead of <rpc/types.h>.
49739         (MAXHOSTNAMELEN): Define.
49741 2011-05-03  Andreas Schwab  <schwab@redhat.com>
49743         * elf/ldconfig.c (add_dir): Don't crash on empty path.
49745 2011-04-28  Maciej Babinski  <mbabinski@google.com>
49747         [BZ #12714]
49748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49749         gethostbyname4_r when IPv6 results are possible.
49751 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
49753         [BZ #12723]
49754         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49755         _PC_PIPE_BUF handling.
49757 2011-04-30  Bruno Haible  <bruno@clisp.org>
49759         [BZ #12717]
49760         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49761         * resolv/netdb.h (getnameinfo): Change type of flags parameter
49762         to 'int'.
49763         * inet/getnameinfo.c (getnameinfo): Likewise.
49765 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
49767         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49768         to groups setting in database lookup.
49769         * nss/nsswitch.conf: Add initgroups entry.
49771 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
49773         [BZ #12685]
49774         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49775         mode string.
49776         Patch by Eric Blake <eblake@redhat.com>.
49778 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
49780         * sunrpc/Makefile (need-export-routines): Add svc_run.
49781         (routines): Remove svc_run.
49782         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49783         * sunrpc/clnt_perr.c (clnt_perrno): Export.
49784         * sunrpc/svc_run.c (svc_run): Likewise.
49785         * sunrpc/svc_udp.c (svcudp_create): Likewise.
49787 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
49789         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49790         problem in reallocation in last patch.
49792 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
49794         * sunrpc/Makefile: Move inclusion of Rules.
49796 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49798         * nss/nss_files/files-initgroups.c: New file.
49799         * nss/Makefile (libnss_files-routines): Add files-initgroups.
49800         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49801         _nss_files_initgroups_dyn.
49803 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
49805         * elf/elf.h (R_ARM_IRELATIVE): Define.
49807 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49809         * po/ru.po: Update from translation team.
49811 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49813         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49814         dependencies.
49816 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
49818         [BZ #12653]
49819         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49820         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49821         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49822         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49823         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49825 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
49827         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49828         differing bytes.
49829         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49830         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49831         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49833 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49835         [BZ #12420]
49836         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49837         storing it.
49838         * stdlib/bug-getcontext.c: New file.
49839         * stdlib/Makefile: Add rules to build and run bug-getcontext.
49841 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49843         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49844         instructions into .machine "z9-109".
49845         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49846         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49848 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49850         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49851         between environment variables and auxiliary vector.
49853 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
49855         * Makefile: Add rules to build linkobj/libc.so.
49856         * include/libc-symbols.h: Define libc_hidden_nolink.
49857         * include/rpc/auth.h: Mark functions which are to be hidden.
49858         * include/rpc/auth_des.h: Likewise.
49859         * include/rpc/auth_unix.h: Likewise.
49860         * include/rpc/clnt.h: Likewise.
49861         * include/rpc/des_crypt.h: Likewise.
49862         * include/rpc/key_prot.h: Likewise.
49863         * include/rpc/pmap_clnt.h: Likewise.
49864         * include/rpc/pmap_prot.h: Likewise.
49865         * include/rpc/pmap_rmt.h: Likewise.
49866         * include/rpc/rpc_msg.h: Likewise.
49867         * include/rpc/svc.h: Likewise.
49868         * include/rpc/svc_auth.h: Likewise.
49869         * include/rpc/xdr.h: Likewise.
49870         * nis/Makefile: Link all DSOs against linkobj/libc.so.
49871         * nss/Makefile: Likewise.
49872         * sunrpc/Makefile: Don't install headers.  Build library with normal
49873         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
49874         * sunrpc/auth_des.c: Hide exported symbols by default, export some
49875         for the compat linking library.  Remove use of INTDEF/INTUSE.
49876         * sunrpc/auth_none.c: Likewise.
49877         * sunrpc/auth_unix.c: Likewise.
49878         * sunrpc/authdes_prot.c: Likewise.
49879         * sunrpc/authuxprot.c: Likewise.
49880         * sunrpc/clnt_gen.c: Likewise.
49881         * sunrpc/clnt_perr.c: Likewise.
49882         * sunrpc/clnt_raw.c: Likewise.
49883         * sunrpc/clnt_simp.c: Likewise.
49884         * sunrpc/clnt_tcp.c: Likewise.
49885         * sunrpc/clnt_udp.c: Likewise.
49886         * sunrpc/clnt_unix.c: Likewise.
49887         * sunrpc/des_crypt.c: Likewise.
49888         * sunrpc/des_soft.c: Likewise.
49889         * sunrpc/get_myaddr.c: Likewise.
49890         * sunrpc/key_call.c: Likewise.
49891         * sunrpc/key_prot.c: Likewise.
49892         * sunrpc/netname.c: Likewise.
49893         * sunrpc/pm_getmaps.c: Likewise.
49894         * sunrpc/pm_getport.c: Likewise.
49895         * sunrpc/pmap_clnt.c: Likewise.
49896         * sunrpc/pmap_prot.c: Likewise.
49897         * sunrpc/pmap_prot2.c: Likewise.
49898         * sunrpc/pmap_rmt.c: Likewise.
49899         * sunrpc/publickey.c: Likewise.
49900         * sunrpc/rpc_cmsg.c: Likewise.
49901         * sunrpc/rpc_common.c: Likewise.
49902         * sunrpc/rpc_dtable.c: Likewise.
49903         * sunrpc/rpc_prot.c: Likewise.
49904         * sunrpc/rpc_thread.c: Likewise.
49905         * sunrpc/rtime.c: Likewise.
49906         * sunrpc/svc.c: Likewise.
49907         * sunrpc/svc_auth.c: Likewise.
49908         * sunrpc/svc_authux.c: Likewise.
49909         * sunrpc/svc_raw.c: Likewise.
49910         * sunrpc/svc_run.c: Likewise.
49911         * sunrpc/svc_simple.c: Likewise.
49912         * sunrpc/svc_tcp.c: Likewise.
49913         * sunrpc/svc_udp.c: Likewise.
49914         * sunrpc/svc_unix.c: Likewise.
49915         * sunrpc/svcauth_des.c: Likewise.
49916         * sunrpc/xcrypt.c: Likewise.
49917         * sunrpc/xdr.c: Likewise.
49918         * sunrpc/xdr_array.c: Likewise.
49919         * sunrpc/xdr_float.c: Likewise.
49920         * sunrpc/xdr_intXX_t.c: Likewise.
49921         * sunrpc/xdr_mem.c: Likewise.
49922         * sunrpc/xdr_rec.c: Likewise.
49923         * sunrpc/xdr_ref.c: Likewise.
49924         * sunrpc/xdr_sizeof.c: Likewise.
49925         * sunrpc/xdr_stdio.c: Likewise.
49927 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
49929         [BZ #12650]
49930         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49931         * sysdeps/ia64/dl-tls.h: Likewise.
49932         * sysdeps/powerpc/dl-tls.h: Likewise.
49933         * sysdeps/s390/dl-tls.h: Likewise.
49934         * sysdeps/sh/dl-tls.h: Likewise.
49935         * sysdeps/sparc/dl-tls.h: Likewise.
49936         * sysdeps/x86_64/dl-tls.h: Likewise.
49937         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49939 2011-03-14  Andreas Schwab  <schwab@redhat.com>
49941         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49942         rpath element also skip the following colon.
49943         (expand_dynamic_string_token): Add is_path parameter and pass
49944         down to DL_DST_REQUIRED and _dl_dst_substitute.
49945         (decompose_rpath): Call expand_dynamic_string_token with
49946         non-zero is_path.  Ignore empty rpaths.
49947         (_dl_map_object_from_fd): Call expand_dynamic_string_token
49948         with zero is_path.
49950 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
49952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49953         Make cancelable.
49955 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
49957         [BZ #12655]
49958         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49959         Patch by Filipe David Manana <fdmanana@apache.org>.
49961 2011-04-07  Andreas Schwab  <schwab@redhat.com>
49963         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49964         Maintain aligned stack.
49965         (CHECK_RSP): Remove unused macro.
49967 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
49969         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49970         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49972 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
49974         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49976         * include/features.h: Mention __USE_XOPEN2K8 in comment.
49978 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
49980         [BZ #12518]
49981         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49982         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49983         * sysdeps/x86_64/memmove.c: New file.
49984         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49985         (memcpy): Renamed to ...
49986         (__new_memcpy): This.
49987         (memcpy): Provide GLIBC_2_14 memcpy.
49988         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49989         (memcpy): Provide GLIBC_2_2_5 memcpy.
49991 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49993         [BZ #12631]
49994         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49996 2011-03-30  Andreas Schwab  <schwab@redhat.com>
49998         * misc/syncfs.c: New file.
49999         * misc/Makefile (routines): Add syncfs.
50000         * posix/unistd.h: Declare syncfs.
50001         * sysdeps/unix/syscalls.list: Add syncfs.
50003 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50005         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50006         open_by_handle_at.
50007         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50008         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50009         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50010         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50012         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50013         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50015 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50017         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50018         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50019         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50020         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50021         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50022         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50023         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50025         * io/Makefile: Compile fallocate.c, fallocate64.c, and
50026         sync_file_range.c with -fexceptions.
50027         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50028         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50029         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50030         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50031         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50032         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50033         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50034         sync_file_range as cancellation point
50035         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
50036         now a wrapper around __call_sync_file_range with cancellation handling.
50037         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50038         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
50039         function name to __call_sync_file_range.
50040         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50041         Add call_sync_file_range.
50043 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50046         bits/timex.h.
50048 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50050         * iconv/iconv.h: Fix typo in comment.
50051         * io/fcntl.h: Likewise.
50052         * libio/stdio.h: Likewise.
50053         * posix/spawn.h: Likewise.
50054         * posix/unistd.h: Likewise.
50055         * stdlib/stdlib.h: Likewise.
50056         * time/time.h: Likewise.
50057         * wcsmbs/wchar.h: Likewise.
50059         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50060         open_by_handle): Add.
50061         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50062         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
50063         Augment a few comments.
50064         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50065         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50066         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50067         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50068         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50069         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50070         open_by_handle.
50072         * io/fcntl.h (AT_EMPTY_PATH): Define.
50074 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
50076         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50077         * sysdeps/unix/sysv/linux/bits/time.h: New file.
50078         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50079         to...
50080         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
50081         * Versions.def: Add GLIBC_2.14.
50082         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50083         Export.
50085 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
50087         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50088         round counter.
50089         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50091 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50093         [BZ #12597]
50094         * string/test-strncmp.c (do_page_test): New function.
50095         (check2): Likewise.
50096         (test_main): Call check2.
50097         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50099 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50101         [BZ #12587]
50102         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50103         Handle cache information in CPU leaf 4.
50104         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50106 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50108         [BZ #12583]
50109         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50110         character representation.
50111         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50113 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50115         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50116         END(__isnan) to END(__isnanf) to match function entry point/label
50117         EALIGN(__isnanf,...).
50119 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50121         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50123 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50125         [BZ #12510]
50126         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50127         copy from the symbol referenced in the relocation to initialize the
50128         used variable.
50129         Patch by Piotr Bury <pbury@goahead.com>.
50130         * elf/Makefile: Add rules to build and tst-unique3.
50131         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50132         * elf/tst-unique3.cc: New file.
50133         * elf/tst-unique3.h: New file.
50134         * elf/tst-unique3lib.cc: New file.
50135         * elf/tst-unique3lib2.cc: New file.
50137         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50139 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50141         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50142         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50143         to _start.
50145 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50147         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50148         to-be-loaded object along a path to loader is ld.so.
50150 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50151             Ulrich Drepper  <drepper@gmail.com>
50153         * sysdeps/x86_64/memset.S: After aligning destination, code
50154         branches to different locations depending on the value of
50155         misalignment, when multiarch is enabled. Fix this.
50157 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50159         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50160         Set _x86_64_preferred_memory_instruction for AMD processsors.
50161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50162         Set bit_Prefer_SSE_for_memop for AMD processors.
50164 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50166         * libio/fmemopen.c (fmemopen): Optimize a bit.
50168 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50170         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50172 2011-03-03  Roland McGrath  <roland@redhat.com>
50174         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50176 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50178         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50179         __bzero_ultra1 instead of __memset_ultra1.
50181 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50182             Ulrich Drepper  <drepper@gmail.com>
50184         [BZ #12509]
50185         * include/link.h (struct link_map): Add l_orig_initfini.
50186         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50187         returning unsuccessfully.
50188         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50189         close of a file loaded at startup, restore the original l_initfini
50190         list.
50191         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50192         list, store the pointer.
50193         * elf/Makefile ($(objpfx)noload-mem): New rule.
50194         (noload-ENV): Define.
50195         (tests): Add $(objpfx)noload-mem.
50196         * elf/noload.c: Include <memcheck.h>.
50197         (main): Call mtrace.  Close all opened handles.
50199 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50201         [BZ #12454]
50202         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50203         dependencies are missing.
50205 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50207         Fix __if_freereq crash: Unlike the generic version which uses free,
50208         Hurd needs munmap.
50209         * sysdeps/mach/hurd/ifreq.h: New file.
50211 2011-01-27  Petr Baudis  <pasky@suse.cz>
50212             Ulrich Drepper  <drepper@gmail.com>
50214         [BZ 12445]#
50215         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50216         to extend_alloca().
50217         * stdio-common/bug23.c: New file.
50218         * stdio-common/Makefile (tests): Add bug23.
50220 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50221             Ulrich Drepper  <drepper@gmail.com>
50223         [BZ #12489]
50224         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50225         before performing relro protection.  At old place add assertion
50226         to make sure nothing changed.
50228 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50229             Glauber de Oliveira Costa  <glommer@gmail.com>
50231         * elf/elf.h: Add new ARM TLS relocs.
50233 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50236         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50237         cast from r3.
50238         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50239         'tests' variable.
50240         * sysdeps/wordsize-64/tst-writev.c: New file.
50242 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50244         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50245         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50246         insns in _dl_start to prevent a TOC reference before relocs are
50247         resolved.
50249 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50251         [BZ #12469]
50252         * Makeconfig: Remove RANLIB definition.
50253         * Makerules: Don't use RANLIB.
50254         * aclocal.m4: Remove ranlib test.
50255         * configure.in: No need to check for ranlib.
50256         * elf/rtld-Rules: Don't use RANLIB.
50258 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50260         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50261         protection macro.
50262         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50263         inclusion protection macro.
50265         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50266         SIGRTMIN and SIGRTMAX and print information in that case only when
50267         SIGRTMIN is defined.
50269 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50271         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50272         arginfo fn returning -1.
50274         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50275         and thousands string is zero terminated.
50277 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50279         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50280         sysdeps/unix/sysv/linux/bits/socket.h.
50282 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50284         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50285         (__CPU_COUNT): Remove old macros.
50286         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50287         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50288         (__CPU_ALLOC, __CPU_FREE): Add macros.
50289         (__sched_cpualloc, __sched_cpufree): Add declarations.
50291 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50293         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50294         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50295         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50296         (readdhstai): Return value of addhstaiX call.
50297         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50298         (addgrbyX): Return value returned by cache_addgr.
50299         (readdgrbyname): Return value returned by addgrbyX.
50300         (readdgrbygid): Likewise.
50301         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50302         (addpwbyX): Return value returned by cache_addpw.
50303         (readdpwbyname): Return value returned by addhstbyX.
50304         (readdpwbyuid): Likewise.
50305         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50306         (addservbyX): Return value returned by cache_addserv.
50307         (readdservbyname): Return value returned by addservbyX:
50308         (readdservbyport): Likewise.
50309         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50310         (addhstbyX): Return value returned by cache_addhst.
50311         (readdhstbyname): Return value returned by addhstbyX.
50312         (readdhstbyaddr): Likewise.
50313         (readdhstbynamev6): Likewise.
50314         (readdhstbyaddrv6): Likewise.
50315         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50316         (readdinitgroups): Return value returned by addinitgroupsX.
50317         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50318         (prune_cache): Keep track of timeout value of re-added entries.
50319         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50320         * nscd/nscd.h: Adjust prototypes of readd* functions.
50322 2011-02-04  Roland McGrath  <roland@redhat.com>
50324         * nis/nis_server.c (nis_servstate): Use the right name for 0.
50325         (nis_stats): Likewise.
50326         * nis/nis_modify.c (nis_modify): Likewise.
50327         * nis/nis_remove.c (nis_remove): Likewise.
50328         * nis/nis_add.c (nis_add): Likewise.
50330         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50332         * posix/fnmatch_loop.c: Add some consts.
50334         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50336 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
50338         [BZ #12460]
50339         * config.make.in (config-cflags-novzeroupper): Define.
50340         * configure.in: Substitute libc_cv_cc_novzeroupper.
50341         * elf/Makefile (AVX-CFLAGS): Define.
50342         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50343         (CFLAGS-tst-auditmod4a.c): Likewise.
50344         (CFLAGS-tst-auditmod4b.c): Likewise.
50345         (CFLAGS-tst-auditmod6b.c): Likewise.
50346         (CFLAGS-tst-auditmod6c.c): Likewise.
50347         (CFLAGS-tst-auditmod7b.c): Likewise.
50348         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50350 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
50352         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50353         function to the callback.
50354         Patch partly by Jiri Olsa <jolsa@redhat.com>.
50356 2011-02-02  Andreas Schwab  <schwab@redhat.com>
50358         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50359         of errno.
50361 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
50363         [BZ #11724]
50364         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50365         of constructors.
50366         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50367         of destructors.
50368         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50370         [BZ #11724]
50371         * elf/Makefile: Add rules to build and run new test.
50372         * elf/tst-initorder.c: New file.
50373         * elf/tst-initorder.exp: New file.
50374         * elf/tst-initordera1.c: New file.
50375         * elf/tst-initordera2.c: New file.
50376         * elf/tst-initordera3.c: New file.
50377         * elf/tst-initordera4.c: New file.
50378         * elf/tst-initorderb1.c: New file.
50379         * elf/tst-initorderb2.c: New file.
50380         * elf/tst-order-a1.c: New file.
50381         * elf/tst-order-a2.c: New file.
50382         * elf/tst-order-a3.c: New file.
50383         * elf/tst-order-a4.c: New file.
50384         * elf/tst-order-b1.c: New file.
50385         * elf/tst-order-b2.c: New file.
50386         * elf/tst-order-main.c: New file.
50387         New test case by George Gensure <werkt0@gmail.com>.
50389 2010-10-01  Andreas Schwab  <schwab@redhat.com>
50391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50392         decoding ACE if AI_CANONIDN.
50394 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
50396         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50398 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
50400         * version.h (RELEASE): Bump for 2.13 release.
50401         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50403         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50405         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50406         MADV_NOHUGEPAGE.
50407         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50408         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50409         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50410         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50411         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50412         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50414         * posix/getconf.c: Update copyright year.
50415         * catgets/gencat.c: Likewise.
50416         * csu/version.c: Likewise.
50417         * debug/catchsegv.sh: Likewise.
50418         * debug/xtrace.sh: Likewise.
50419         * elf/ldconfig.c: Likewise.
50420         * elf/ldd.bash.in: Likewise.
50421         * elf/sprof.c (print_version): Likewise.
50422         * iconv/iconv_prog.c: Likewise.
50423         * iconv/iconvconfig.c: Likewise.
50424         * locale/programs/locale.c: Likewise.
50425         * locale/programs/localedef.c: Likewise.
50426         * malloc/memusage.sh: Likewise.
50427         * malloc/mtrace.pl: Likewise.
50428         * nscd/nscd.c (print_version): Likewise.
50429         * nss/getent.c: Likewise.
50431         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50432         PF_CAIF, and PF_ALG.
50433         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50435 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
50437         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50438         (modules-names): Use them.
50439         (ifunc-test-modules, ifunc-pie-tests): Define.
50440         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50441         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50442         (test-extras): Likewise.
50443         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50444         $(compile-command.c).
50445         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50446         (all-built-dso): Define.
50447         (check-textrel.out, check-execstack.out): Depend on it.
50449         * configure.in: Don't override --enable-multi-arch.
50451 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
50453         [BZ #6812]
50454         * nscd/hstcache.c (tryagain): Define.
50455         (cache_addhst): Return tryagain not notfound for temporary errors.
50456         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50457         failed.
50459 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
50461         [BZ #10563]
50462         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50463         to make the syscall.
50464         * sysdeps/unix/sysv/linux/setgroups.c: New file.
50466         [BZ #12378]
50467         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50468         and fall back to matching as normal character if the string ends before
50469         the matching ']' is found.  This is what POSIX requires.
50470         * posix/testfnm.c: Adjust test result.
50471         * posix/globtest.sh: Adjust test result.  Add new test.
50472         * posix/tst-fnmatch.input: Likewise.
50473         * posix/tst-fnmatch2.c: Add new test.
50475 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
50477         * elf/Makefile (check-execstack): Revert last change.  Depend on
50478         check-execstack.h.
50479         (check-execstack.h): New target.
50480         (generated): Add check-execstack.h.
50481         * elf/check-execstack.c: Include "check-execstack.h".
50482         (main): Revert last change.
50483         (handle_file): Return zero if GNU_STACK is absent and
50484         DEFAULT_STACK_PERMS doesn't include PF_X.
50486 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
50488         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50489         in child fails because the descriptor is already closed.
50490         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50491         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50492         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50494         [BZ #12397]
50495         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50496         syscall.
50498         [BZ #10484]
50499         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50500         temporary buffer used to handle multi lookups locally.
50501         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50503 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50505         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50506         loader is ld.so.
50508 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
50510         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50511         alignment for SSE2.
50513 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50515         [BZ #12394]
50516         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50517         characters.  When rounding increased number of integer digits recompute
50518         number of groups.
50519         * stdio-common/tst-grouping.c: New file.
50520         * stdio-common/Makefile: Add rules to build and run tst-grouping.
50522 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
50524         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50525         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
50527         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50528         void.
50529         * bits/select.h: Likewise.
50531 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
50533         * po/ja.po: Update from translation team.
50535 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
50537         [BZ #11155]
50538         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50539         implementation just like for lxstat, fxstatat, et al.
50541 2010-12-27  Jim Meyering  <meyering@redhat.com>
50543         [BZ #12348]
50544         * posix/regexec.c (build_trtable): Return failure indication upon
50545         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
50547 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
50549         [BZ #12201]
50550         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50551         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50552         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50553         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50555         [BZ #12207]
50556         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50558         [BZ #12204]
50559         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50560         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50562 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
50564         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50565         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50566         script has SORT_BY_INIT_PRIORITY.
50567         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50568         NO_CTORS_DTORS_SECTIONS is defined.
50569         * elf/soinit.c: Likewise.
50570         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50571         NO_CTORS_DTORS_SECTIONS is defined.
50572         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50573         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50574         * sysdeps/sh/init-first.c: Likewise.
50575         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50577 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
50579         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50580         always use the slow path.
50582 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
50584         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50585         similar rule which adds the sysdep directories to the header search in
50586         order to pick up the correct platform stackinfo.h.
50587         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50588         perform test if it is, otherwise return successfully without testing.
50589         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50590         DEFAULT_STACK_PERMS define in stackinfo.h.
50591         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50592         defined in stackinfo.h.
50593         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50594         DEFAULT_STACK_PERMS defined in stackinfo.h.
50595         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50596         * sysdeps/ia64/stackinfo.h: Likewise.
50597         * sysdeps/s390/stackinfo.h: Likewise.
50598         * sysdeps/sh/stackinfo.h: Likewise.
50599         * sysdeps/sparc/stackinfo.h: Likewise.
50600         * sysdeps/x86_64/stackinfo.h: Likewise.
50601         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50602         PF_X for powerpc64.  Retain PF_X for powerpc32.
50604 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
50606         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50607         accurately.
50608         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50609         GETDENTS_64BIT_ALIGNED.
50611 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
50613         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50615 2010-12-10  Andreas Schwab  <schwab@redhat.com>
50617         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50618         _GNU_SOURCE.
50620         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50621         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50622         Remove __restrict.
50623         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50624         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50626 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
50628         [BZ #11655]
50629         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50630         are initialized.
50632 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
50634         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50636 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
50638         * po/it.po: Update from translation team.
50640 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
50642         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50643         unused codes.
50645 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
50647         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50649 2010-11-24  Andreas Schwab  <schwab@redhat.com>
50651         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50652         specially.
50653         (gaih_getanswer_slice): Likewise.
50655 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
50657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50659 2010-05-31  Petr Baudis  <pasky@suse.cz>
50661         [BZ #11149]
50662         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50663         silently even in the chroot mode.
50665 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
50667         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50668         last patch a bit.  Pretty printing
50670 2010-05-31  Petr Baudis <pasky@suse.cz>
50672         [BZ #10085]
50673         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50674         initialization of skip_initgroups_dyn.
50676 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
50678         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50679         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50681 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
50683         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50685 2010-11-11  Andreas Schwab  <schwab@redhat.com>
50687         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50688         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50689         (tst-fnmatch-ENV): Set MALLOC_TRACE.
50690         ($(objpfx)tst-fnmatch-mem): New rule.
50691         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50692         * posix/tst-fnmatch.c (main): Call mtrace.
50694 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
50696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50697         Support Intel processor model 6 and model 0x2c.
50699 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
50701         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50702           signed comparison.
50704 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
50706         [BZ #12205]
50707         * string/test-strncasecmp.c (check_result): New function.
50708         (do_one_test): Use it.
50709         (check1): New function.
50710         (test_main): Use it.
50711         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50712         Support strcasecmp and strncasecmp.
50714 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
50716         [BZ #12194]
50717         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50718         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50720 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50722         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50723         IFUNC support.
50724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50725         memset-x86-64.
50726         * sysdeps/x86_64/multiarch/bzero.S: New file.
50727         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50728         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50729         * sysdeps/x86_64/multiarch/memset.S: New file.
50730         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50732         Set bit_Prefer_SSE_for_memop for Intel processors.
50733         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50734         Define.
50735         (index_Prefer_SSE_for_memop): Define.
50736         (HAS_PREFER_SSE_FOR_MEMOP): Define.
50738 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
50740         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50741         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50743 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
50745         [BZ #12191]
50746         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50747         (__x86_64_raw_data_cache_size_half): Likewise.
50748         (__x86_64_raw_shared_cache_size): Likewise.
50749         (__x86_64_raw_shared_cache_size_half): Likewise.
50751         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50752         (__x86_64_raw_data_cache_size_half): Likewise.
50753         (__x86_64_raw_shared_cache_size): Likewise.
50754         (__x86_64_raw_shared_cache_size_half): Likewise.
50755         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50756         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50757         and __x86_64_raw_shared_cache_size_half.  Round
50758         __x86_64_data_cache_size_half, __x86_64_data_cache_size
50759         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50760         to multiple of 256 bytes.
50762 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
50764         [BZ #12167]
50765         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50766         of inacessible symlinks.  Verify result of symlink before returning it.
50767         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50768         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50770 2010-10-28  Erich Ritz  <erichritz@gmail.com>
50772         * math/math.h (isinf): Fix typo in comment.
50774 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
50776         * po/da.po: Update from translation team.
50778 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
50780         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50781         is added to the list.
50783 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50784             Ulrich Drepper  <drepper@gmail.com>
50786         * elf/dl-object.c (_dl_new_object): Don't append the new object to
50787         the global list here.  Move code to...
50788         (_dl_add_to_namespace_list): ...here.  New function.
50789         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50790         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50791         * elf/dl-load.c (lose): Don't remove the element from the list.
50792         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50793         (_dl_map_object): Likewise.
50795 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
50797         [BZ #12159]
50798         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50799         into all bytes of SSE register.
50800         Patch by Richard Li <richardpku@gmail.com>.
50802 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
50804         [BZ #12140]
50805         * malloc/malloc.c (_int_free): Fill correct number of bytes when
50806         perturbing.
50808 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
50810         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50811         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50812         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50813         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50815         submachine.
50816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50818 2010-10-22  Andreas Schwab  <schwab@redhat.com>
50820         * include/dlfcn.h (__RTLD_SECURE): Define.
50821         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
50822         mode & __RTLD_SECURE instead.
50823         (open_path): Rename preloaded parameter to secure.
50824         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50825         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50826         * elf/dl-deps.c (openaux): Likewise.
50827         * elf/rtld.c (struct map_args): Remove is_preloaded.
50828         (map_doit): Don't use it.
50829         (dl_main): Likewise.
50830         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50831         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50833 2010-09-09  Andreas Schwab  <schwab@redhat.com>
50835         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50836         (sysd-rules-targets): Remove duplicates.
50837         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50838         rtld-%.$o dependency.
50840 2010-10-18  Andreas Schwab  <schwab@redhat.com>
50842         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50843         _dl_map_object do it.
50845 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
50847         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50848         fast fma builtins, define the macros in the C99 standard.
50849         (FP_FAST_FMAF): Likewise.
50850         (FP_FAST_FMAL): Likewise.
50851         * sysdeps/x86_64/bits/mathdef.h: Likewise.
50853         * bits/mathdef.h: Update copyright year.
50854         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50856 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
50858         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50859         builtins, define the macros in the C99 standard.
50860         (FP_FAST_FMAF): Likewise.
50861         (FP_FAST_FMAL): Likewise.
50862         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50863         multiply/add.
50864         (FP_FAST_FMAF): Likewise.
50866 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
50868         [BZ #3268]
50869         * math/libm-test.inc (fma_test): Some new testcases.
50870         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50871         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50872         y and infinite z.  Do multiplication by C already in long double.
50873         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50874         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50875         y and infinite z.  Do bitwise or of inexact bit into u.d.
50876         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50877         * sysdeps/i386/fpu/s_fmaf.S: Removed.
50878         * sysdeps/i386/fpu/s_fma.S: Removed.
50879         * sysdeps/i386/fpu/s_fmal.S: Removed.
50881 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
50883         [BZ #3268]
50884         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50886         computation is not scheduled after fetestexcept.  Fix value
50887         of minimum denormal long double.
50889 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
50891         [BZ #3268]
50892         * math/libm-test.inc (fma_test): Add some more tests.
50893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50894         correctly.
50896 2010-10-15  Andreas Schwab  <schwab@redhat.com>
50898         * scripts/data/localplt-s390-linux-gnu.data: New file.
50899         * scripts/data/localplt-s390x-linux-gnu.data: New file.
50901 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
50903         [BZ #3268]
50904         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50905         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50906         instead of dbl-64.
50907         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50908         inlines.
50909         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50911         if one of x and y is very large and the other is subnormal.
50912         * sysdeps/s390/fpu/s_fmaf.c: New file.
50913         * sysdeps/s390/fpu/s_fma.c: New file.
50914         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50915         * sysdeps/powerpc/fpu/s_fma.S: New file.
50916         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50917         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50918         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50920 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
50922         [BZ #3268]
50923         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50924         fma tests.
50925         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50926         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50927         * sysdeps/i386/i686/multiarch/s_fma.c: Include
50928         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50929         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50930         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50931         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50933 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
50935         [BZ #12078]
50936         * posix/regcomp.c (parse_branch): One more memory leak plugged.
50937         * posix/bug-regex31.input: Add test case.
50939 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50941         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50942         * posix/bug-regex31.input: New file.
50944         [BZ #12078]
50945         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50946         (parse_sub_exp): Fix last change, use postorder.
50948         * posix/bug-regex31.c: New file.
50949         * posix/Makefile: Add rules to build and run bug-regex31.
50951         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50953         [BZ #12078]
50954         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50956         [BZ #12108]
50957         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50958         to have entries in sys_siglist.
50960         [BZ #12093]
50961         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50962         be NULL.
50964 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
50966         [BZ #3268]
50967         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50968         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50969         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50970         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50971         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50972         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50973         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50974         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50975         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50976         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50977         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50978         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50979         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50980         * math/ftestexcept.c (fetestexcept): Likewise.
50981         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50982         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50983         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50984         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50985         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50986         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50987         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50989 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50991         [BZ #12107]
50992         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50993         newline.
50995 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
50997         * string/bug-strstr1.c: New file.
50998         * string/Makefile: Add rules to build and run bug-strstr1.
51000 2010-10-05  Eric Blake  <eblake@redhat.com>
51002         [BZ #12092]
51003         * string/str-two-way.h (two_way_long_needle): Always clear memory
51004         when skipping input due to the shift table.
51006 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
51008         [BZ #12005]
51009         * malloc/mcheck.c: Handle large requests.
51011         [BZ #12077]
51012         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51013         for strncmp and strncasecmp.
51014         * string/stratcliff.c: Add tests for strcmp and strncmp.
51015         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51017 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51019         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51020         __set_fpscr.
51022 2010-09-30  Andreas Jaeger  <aj@suse.de>
51024         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51025         (CGROUP_SUPER_MAGIC): Define.
51026         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51027         Handle btrfs and cgroup file systems.
51028         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51029         Likewise.
51031 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
51033         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51034         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51036 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51038         [BZ #12067]
51039         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51040         trying to locate the ELF header.
51042 2010-09-27  Andreas Schwab  <schwab@redhat.com>
51044         [BZ #11611]
51045         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51046         Mask out sign-bit copies when constructing f_fsid.
51048 2010-09-24  Petr Baudis <pasky@suse.cz>
51050         * debug/stack_chk_fail_local.c: Add missing licence exception.
51051         * debug/warning-nop.c: Likewise.
51053 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
51055         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51056         implementing getdents64 using getdents syscall, set d_type if
51057         __ASSUME_GETDENTS32_D_TYPE.
51059 2010-09-16  Andreas Schwab  <schwab@redhat.com>
51061         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51062         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51064 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
51066         [BZ #12037]
51067         * posix/unistd.h: Undo change of feature selection for ftruncate from
51068         2010-01-11.
51070 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
51072         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51073         detection.
51075 2010-09-20  Andreas Schwab  <schwab@redhat.com>
51077         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51078         fanotify_mark.
51079         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51081 2010-09-14  Andreas Schwab  <schwab@redhat.com>
51083         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51084         variables after CHECK_SP call.
51085         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51087 2010-09-13  Andreas Schwab  <schwab@redhat.com>
51088             Ulrich Drepper  <drepper@redhat.com>
51090         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51091         re-relocationg ld.so.
51092         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51093         _dl_init_paths call.
51094         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51095         here anymore.
51097 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51099         * resolv/res_init.c (__res_vinit): Count the default server we added.
51101 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51102             Ulrich Drepper  <drepper@redhat.com>
51104         [BZ #11968]
51105         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51106         (____longjmp_chk): Use %ebx for saving value across system call.
51107         Add unwind info.
51109 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51111         * manual/Makefile: Don't mix pattern rules with normal rules.
51113 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51115         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51116         operation.
51117         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51118         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51119         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51120         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51121         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51122         Likewise.
51124 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51126         [BZ #11979]
51127         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51128         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51130 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51132         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51133         * sysdeps/x86_64/addmul_1.S: Likewise.
51134         * sysdeps/x86_64/lshift.S: Likewise.
51135         * sysdeps/x86_64/mul_1.S: Likewise.
51136         * sysdeps/x86_64/rshift.S: Likewise.
51137         * sysdeps/x86_64/sub_n.S: Likewise.
51138         * sysdeps/x86_64/submul_1.S: Likewise.
51140 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51142         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51143         Define __sched_param instead of SCHED_* and sched_param when
51144         <bits/sched.h> is included with __need_schedparam defined.
51145         * bits/sched.h [__need_schedparam]
51146         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51147         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51148         (__defined_schedparam): Define to 1.
51149         (__sched_param): New structure, identical to sched_param.
51150         (__need_schedparam): Undefine.
51152 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51154         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51155         (epoll_create1): Declare.
51157         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51159 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51161         [BZ #7066]
51162         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51163         shifting retval into place.
51165 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51167         * nis/rpcsvc/nis.h: Update copyright notice.
51168         * nis/rpcsvc/nis.x: Likewise.
51169         * nis/rpcsvc/nis_callback.h: Likewise.
51170         * nis/rpcsvc/nis_callback.x: Likewise.
51171         * nis/rpcsvc/nis_object.x: Likewise.
51172         * nis/rpcsvc/nis_tags.h: Likewise.
51173         * nis/rpcsvc/yp.h: Likewise.
51174         * nis/rpcsvc/yp.x: Likewise.
51175         * nis/rpcsvc/ypupd.h: Likewise.
51176         * nis/yp_xdr.c: Likewise.
51177         * nis/ypupdate_xdr.c: Likewise.
51179         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51180         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51181         (pmap_getport): Use __libc_rpc_getport.
51182         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51183         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51184         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51186 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51189         fanotify_mark.
51191 2010-08-27  Roland McGrath  <roland@redhat.com>
51193         * sysdeps/i386/i686/multiarch/Makefile
51194         (CFLAGS-varshift.c): New variable.
51196 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51198         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51199         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51201         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51203         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51205 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51207         * sysdeps/x86_64/strlen.S: Unroll the loop.
51208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51209         strlen-sse2 strlen-sse2-bsf.
51210         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51211         __strlen_no_bsf if bit_Slow_BSF is set.
51212         (__strlen_sse42): Removed.
51213         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51214         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51216 2010-08-25  Roland McGrath  <roland@redhat.com>
51218         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51219         * sysdeps/x86_64/multiarch/varshift.c: New file.
51220         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51221         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51222         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51223         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51225 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51227         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51228         strlen-sse2 strlen-sse2-bsf.
51229         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51230         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51231         (__strlen_sse2): Removed.
51232         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51233         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51235         bit_Slow_BSF for Atom.
51236         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51237         (index_Slow_BSF): Define.
51238         (HAS_SLOW_BSF): Define.
51240 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51242         [BZ #10851]
51243         * resolv/res_init.c (__res_vinit): When no server address at all
51244         is given default to loopback.
51246 2010-08-24  Roland McGrath  <roland@redhat.com>
51248         * configure.in: Remove config-name.h generation.
51249         * configure: Regenerated.
51250         * config-name.in: File removed.
51251         * scripts/config-uname.sh: New file.
51252         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51253         ($(objdir)config-name.h): New target.
51255         * sunrpc/rpc_parse.h: Avoid nested comment.
51257 2010-08-24  Richard Henderson  <rth@redhat.com>
51258             Ulrich Drepper  <drepper@redhat.com>
51259             H.J. Lu  <hongjiu.lu@intel.com>
51261         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51263         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51264         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51265         _mm_alignr_epi8 with _mm_loadu_si128.
51266         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51267         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51268         (__m128i_shift_right): Removed.
51269         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51270         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51271         * sysdeps/x86_64/multiarch/varshift.h: New file.
51272         * sysdeps/x86_64/multiarch/varshift.S: New file.
51274 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51276         * configure.in: Move assembler checks to before sysdep dir checking.
51278 2010-08-20  Petr Baudis  <pasky@suse.cz>
51280         * LICENSES: Sync the sunrpc license.
51282 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51284         * sunrpc/auth_des.c: Update copyright notice once again.
51285         * sunrpc/auth_none.c: Likewise.
51286         * sunrpc/auth_unix.c: Likewise.
51287         * sunrpc/authdes_prot.c: Likewise.
51288         * sunrpc/authuxprot.c: Likewise.
51289         * sunrpc/bindrsvprt.c: Likewise.
51290         * sunrpc/clnt_gen.c: Likewise.
51291         * sunrpc/clnt_perr.c: Likewise.
51292         * sunrpc/clnt_raw.c: Likewise.
51293         * sunrpc/clnt_simp.c: Likewise.
51294         * sunrpc/clnt_tcp.c: Likewise.
51295         * sunrpc/clnt_udp.c: Likewise.
51296         * sunrpc/clnt_unix.c: Likewise.
51297         * sunrpc/des_crypt.c: Likewise.
51298         * sunrpc/des_soft.c: Likewise.
51299         * sunrpc/get_myaddr.c: Likewise.
51300         * sunrpc/getrpcport.c: Likewise.
51301         * sunrpc/key_call.c: Likewise.
51302         * sunrpc/key_prot.c: Likewise.
51303         * sunrpc/openchild.c: Likewise.
51304         * sunrpc/pm_getmaps.c: Likewise.
51305         * sunrpc/pm_getport.c: Likewise.
51306         * sunrpc/pmap_clnt.c: Likewise.
51307         * sunrpc/pmap_prot.c: Likewise.
51308         * sunrpc/pmap_prot2.c: Likewise.
51309         * sunrpc/pmap_rmt.c: Likewise.
51310         * sunrpc/rpc/auth.h: Likewise.
51311         * sunrpc/rpc/auth_unix.h: Likewise.
51312         * sunrpc/rpc/clnt.h: Likewise.
51313         * sunrpc/rpc/des_crypt.h: Likewise.
51314         * sunrpc/rpc/key_prot.h: Likewise.
51315         * sunrpc/rpc/netdb.h: Likewise.
51316         * sunrpc/rpc/pmap_clnt.h: Likewise.
51317         * sunrpc/rpc/pmap_prot.h: Likewise.
51318         * sunrpc/rpc/pmap_rmt.h: Likewise.
51319         * sunrpc/rpc/rpc.h: Likewise.
51320         * sunrpc/rpc/rpc_des.h: Likewise.
51321         * sunrpc/rpc/rpc_msg.h: Likewise.
51322         * sunrpc/rpc/svc.h: Likewise.
51323         * sunrpc/rpc/svc_auth.h: Likewise.
51324         * sunrpc/rpc/types.h: Likewise.
51325         * sunrpc/rpc/xdr.h: Likewise.
51326         * sunrpc/rpc_clntout.c: Likewise.
51327         * sunrpc/rpc_cmsg.c: Likewise.
51328         * sunrpc/rpc_common.c: Likewise.
51329         * sunrpc/rpc_cout.c: Likewise.
51330         * sunrpc/rpc_dtable.c: Likewise.
51331         * sunrpc/rpc_hout.c: Likewise.
51332         * sunrpc/rpc_main.c: Likewise.
51333         * sunrpc/rpc_parse.c: Likewise.
51334         * sunrpc/rpc_parse.h: Likewise.
51335         * sunrpc/rpc_prot.c: Likewise.
51336         * sunrpc/rpc_sample.c: Likewise.
51337         * sunrpc/rpc_scan.c: Likewise.
51338         * sunrpc/rpc_scan.h: Likewise.
51339         * sunrpc/rpc_svcout.c: Likewise.
51340         * sunrpc/rpc_tblout.c: Likewise.
51341         * sunrpc/rpc_util.c: Likewise.
51342         * sunrpc/rpc_util.h: Likewise.
51343         * sunrpc/rpcinfo.c: Likewise.
51344         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51345         * sunrpc/rpcsvc/key_prot.x: Likewise.
51346         * sunrpc/rpcsvc/klm_prot.x: Likewise.
51347         * sunrpc/rpcsvc/mount.x: Likewise.
51348         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51349         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51350         * sunrpc/rpcsvc/rex.x: Likewise.
51351         * sunrpc/rpcsvc/rstat.x: Likewise.
51352         * sunrpc/rpcsvc/rusers.x: Likewise.
51353         * sunrpc/rpcsvc/sm_inter.x: Likewise.
51354         * sunrpc/rpcsvc/spray.x: Likewise.
51355         * sunrpc/rpcsvc/yppasswd.x: Likewise.
51356         * sunrpc/rtime.c: Likewise.
51357         * sunrpc/svc.c: Likewise.
51358         * sunrpc/svc_auth.c: Likewise.
51359         * sunrpc/svc_authux.c: Likewise.
51360         * sunrpc/svc_raw.c: Likewise.
51361         * sunrpc/svc_run.c: Likewise.
51362         * sunrpc/svc_simple.c: Likewise.
51363         * sunrpc/svc_tcp.c: Likewise.
51364         * sunrpc/svc_udp.c: Likewise.
51365         * sunrpc/svc_unix.c: Likewise.
51366         * sunrpc/svcauth_des.c: Likewise.
51367         * sunrpc/xcrypt.c: Likewise.
51368         * sunrpc/xdr.c: Likewise.
51369         * sunrpc/xdr_array.c: Likewise.
51370         * sunrpc/xdr_float.c: Likewise.
51371         * sunrpc/xdr_mem.c: Likewise.
51372         * sunrpc/xdr_rec.c: Likewise.
51373         * sunrpc/xdr_ref.c: Likewise.
51374         * sunrpc/xdr_sizeof.c: Likewise.
51375         * sunrpc/xdr_stdio.c: Likewise.
51377         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51378         handling.
51380 2010-08-19  Andreas Schwab  <schwab@redhat.com>
51382         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51384 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
51386         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51387         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51388         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51389         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51390         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51391         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51392         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51393         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51394         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51395         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51396         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51397         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51398         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51399         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51401 2010-07-26  Anton Blanchard  <anton@samba.org>
51403         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51404         * malloc/arena.c (heap_trim): Likewise.
51406 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
51408         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51409         here.  Not...
51410         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51411         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51413 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
51415         * sysdeps/i386/elf/Makefile: New file.
51417 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51419         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51420         from fanotify_init.
51421         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51424 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
51426         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51427         of strncasecmp_l.
51428         * sysdeps/multiarch/strcmp.S: Likewise.
51430 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
51432         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51433         strncase_l-nonascii.
51434         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51435         Add strncase_l-ssse3.
51436         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51437         * sysdeps/x86_64/strcmp.S: Likewise.
51438         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51439         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51440         * sysdeps/x86_64/strncase.S: New file.
51441         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51442         * sysdeps/x86_64/strncase_l.S: New file.
51443         * string/Makefile (strop-tests): Add strncasecmp.
51444         * string/test-strncasecmp.c: New file.
51446         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51447         warning.
51449         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51450         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51452 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51454         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51456 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
51458         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51459         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51460         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51462 2010-05-01  Alan Modra  <amodra@gmail.com>
51464         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51465         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51466         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51467         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51468         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51469         tidying.  Don't tail-call __sigjmp_save for static lib.
51470         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51471         save location.
51472         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51473         (CALL_MCOUNT): Add eh info, and nop after bl.
51474         (TAIL_CALL_SYSCALL_ERROR): New macro.
51475         (PSEUDO_RET): Use it.
51476         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51477         Correct save location of integer regs and cr.
51478         (_dl_profile_resolve): Correct cr save location.  Delete nops
51479         after bl when SHARED.  Reduce cfi size a little by better
51480         placement of cfi directives.
51481         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51482         make a stack frame.  Instead use parm save area as a temp.
51483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51484         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
51485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51486         Don't make a stack frame for parent, use parm save area.
51487         Increase child stack frame to 112 bytes.  Don't save unused reg,
51488         and adjust reg usage.  Set up cfi on error recovery and
51489         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51491         (__makecontext): Add dummy nop after jump to exit.
51492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51493         Use correct parm save area and cr save, reduce stack frame.
51494         Correct cfi for possible PSEUDO_RET frame setup.
51495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51496         Branch to local label emitted by PSEUDO_RET rather than
51497         __syscall_error.
51499 2010-08-12  Andreas Schwab  <schwab@redhat.com>
51501         [BZ #11904]
51502         * locale/programs/locale.c (print_assignment): New function.
51503         (show_locale_vars): Use it.
51505 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
51507         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51508         field.
51509         (struct statfs64): Likewise.
51510         (_STATFS_F_FLAGS): Define.
51511         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51512         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51513         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51514         (ST_VALID): Define locally.
51515         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51516         __statvfs_getflags, use the provided value.
51517         * sysdeps/unix/sysv/linux/kernel-features.h: Define
51518         __ASSUME_STATFS_F_FLAGS.
51520         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51522         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51523         Add sys/fanotify.h.
51524         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51525         fanotify_mask for GLIBC_2.13.
51526         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51527         fanotify_init and fanotify_mark.
51528         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51529         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51531         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51532         Add prlimit.
51533         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51534         prlimit64 for GLIBC_2.13.
51535         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51536         prlimit64.
51537         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51538         syscall.
51539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51540         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51541         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51542         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51543         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
51544         add prlimit alias.
51545         * sysdeps/unix/sysv/linux/prlimit.c: New file.
51547         [BZ #11903]
51548         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51549         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51551         * nss/Makefile: Add rules to build and run tst-nss-test1.
51552         * shlib-versions: Add entry for libnss_test1.
51553         * nss/nss_test1.c: New file.
51554         * nss/tst-nss-test1.c: New file.
51556         * nss/nsswitch.c (__nss_database_custom): Define new variable.
51557         (__nss_configure_lookup): Set appropriate entry in
51558         __nss_configure_lookup to true.
51559         * nss/nsswitch.h: Define enum with indeces of databases in
51560         databases and __nss_database_custom arrays.  Declare
51561         __nss_database_custom.
51562         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51563         to avoid using nscd when custom rules are installed.
51564         * nss/getXXbyYY_r.c: Likewise.
51565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51567         * nss/nss_files/files-parse.c: Whitespace fixes.
51569 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
51571         [BZ #11883]
51572         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51573         * posix/fnmatch_loop.c: Likewise.
51575 2010-07-17  Andi Kleen  <ak@linux.intel.com>
51577         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51578         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51579         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51580         * Versions.def [GLIBC_2.13]: Add.
51582 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
51584         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51585         Also fail if tpwd after pwuid call is NULL.
51587 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51589         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51590         when converting to ms.
51592 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51594         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51595         EOPNOTSUPP errors with ENOTTY.
51596         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51597         EOPNOTSUPP errors with ENOTTY.
51599 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
51601         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51602         Add strcasecmp_l-ssse3.
51603         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51604         strcasecmp.
51605         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51606         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51607         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51609 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
51611         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51613         * string/Makefile (strop-tests): Add strcasecmp.
51614         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51615         strcasecmp_l-nonascii.
51616         (gen-as-const-headers): Add locale-defines.sym.
51617         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51618         * sysdeps/x86_64/strcasecmp.S: New file.
51619         * sysdeps/x86_64/strcasecmp_l.S: New file.
51620         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51621         * sysdeps/x86_64/locale-defines.sym: New file.
51622         * string/test-strcasecmp.c: New file.
51624         * string/test-strcasestr.c: Test both ends of the range of characters.
51625         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51627 2010-07-29  Roland McGrath  <roland@redhat.com>
51629         [BZ #11856]
51630         * manual/locale.texi (Yes-or-No Questions): Fix example code.
51632 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
51634         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51635         for ld.so.
51637 2010-07-27  Andreas Schwab  <schwab@redhat.com>
51639         * manual/memory.texi (Malloc Tunable Parameters): Document
51640         M_PERTURB.
51642 2010-07-26  Roland McGrath  <roland@redhat.com>
51644         [BZ #11840]
51645         * configure.in (-fgnu89-inline check): Set and substitute
51646         gnu89_inline, not libc_cv_gnu89_inline.
51647         * configure: Regenerated.
51648         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51650 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
51652         * string/test-strnlen.c: New file.
51653         * string/Makefile (strop-tests): Add strnlen.
51654         * string/tester.c (test_strnlen): Add a few more test cases.
51655         * string/tst-strlen.c: Better error reporting.
51657         * sysdeps/x86_64/strnlen.S: New file.
51659 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
51661         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51662         lower-latency instructions.
51664 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
51666         * string/test-strcasestr.c: New file.
51667         * string/test-strstr.c: New file.
51668         * string/Makefile (strop-tests): Add strstr and strcasestr.
51669         * string/str-two-way.h: Don't undefine MAX.
51670         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51672 2010-07-21  Andreas Schwab  <schwab@redhat.com>
51674         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51675         strcasestr-nonascii.
51676         (CFLAGS-strcasestr-nonascii.c): Define.
51677         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51679         Remove unused attribute.
51681 2010-07-20  Roland McGrath  <roland@redhat.com>
51683         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51684         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
51685         ld.so.cache was broken.  With it, there is no way to disable dsocaps
51686         like LD_HWCAP_MASK can disable hwcaps.
51688 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51690         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51692 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
51694         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51695         call in strcasestr.
51696         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51697         __strcasestr_sse42_nonascii.
51698         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51699         strcasestr-nonascii.c.
51700         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51702 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
51704         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51705         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51706         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51707         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51709 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
51711         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51712         fcntl.
51714 2010-07-06  Andreas Schwab  <schwab@redhat.com>
51716         [BZ #11577]
51717         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51718         dl_signal_cerror.
51720 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
51722         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51723         _PC_PIPE_BUF using F_GETPIPE_SZ.
51725 2010-07-05  Roland McGrath  <roland@redhat.com>
51727         * manual/arith.texi (Rounding Functions): Fix rint description
51728         implicit in round description.
51730 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
51732         * elf/Makefile: Fix linking for a few tests to make recent linker
51733         happy.
51735 2010-06-30  Andreas Schwab  <schwab@redhat.com>
51737         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51738         $(common-objpfx)libc_nonshared.a.
51740 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
51742         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51743         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51744         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51745         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51746         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51747         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51748         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51749         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51764         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51765         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51766         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51767         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51768         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51769         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51770         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51771         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51772         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51773         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51774         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51775         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51791 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
51793         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51794         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
51795         * string/memmove.c (memmove): Renamed to ...
51796         (MEMMOVE): ...this.  Default to memmove.
51797         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51798         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51799         (END_CHK): Define.
51800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51801         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51802         mempcpy-ssse3-back memmove-ssse3-back.
51803         * sysdeps/x86_64/multiarch/bcopy.S: New file .
51804         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51805         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51806         * sysdeps/x86_64/multiarch/memcpy.S: New file.
51807         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51808         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51809         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51810         * sysdeps/x86_64/multiarch/memmove.c: New file.
51811         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51812         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51813         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51814         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51815         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51816         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51817         Define.
51818         (index_Fast_Copy_Backward): Define.
51819         (HAS_ARCH_FEATURE): Define.
51820         (HAS_FAST_REP_STRING): Define.
51821         (HAS_FAST_COPY_BACKWARD): Define.
51823 2010-06-21  Andreas Schwab  <schwab@redhat.com>
51825         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51826         Restore proper fallback handling.
51828 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
51830         [BZ #11701]
51831         * posix/group_member.c (__group_member): Correct checking loop.
51833         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51834         OOM in getpwuid_r correctly.  Return error number when the caller
51835         should return, otherwise -1.
51836         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51837         call returning > 0 value.
51838         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51840 2010-06-07  Andreas Schwab  <schwab@redhat.com>
51842         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51843         libc_nonshared.a from targets in modules-names.
51845 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
51847         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51848         requires it.
51850 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
51852         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51853         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51854         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51855         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51857 2010-06-02  Andreas Schwab  <schwab@redhat.com>
51859         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51861 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
51863         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51864         and F_GETPIPE_SZ.
51865         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51866         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51868         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51869         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51870         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51872 2010-06-14  Roland McGrath  <roland@redhat.com>
51874         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51876 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
51878         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51879         __REDIRECT followed by __THROW.
51880         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51881         * posix/getopt.h (getopt): Likewise.
51883 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51885         * hurd/lookup-at.c (__file_name_lookup_at): Accept
51886         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
51887         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51888         in AT_FLAGS.
51889         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51890         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51892 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
51894         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51896 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
51898         [BZ #11640]
51899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51900         Properly check family and model.
51902 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
51904         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51906 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
51908         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51910 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
51912         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51913         symbol reference.
51915 2010-05-19  Andreas Schwab  <schwab@redhat.com>
51917         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51918         symbol reference.
51920 2010-05-21  Andreas Schwab  <schwab@redhat.com>
51922         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51923         and internal_recvmmsg.
51924         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51925         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51926         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51927         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51929         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51930         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51931         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51933 2010-05-20  Andreas Schwab  <schwab@redhat.com>
51935         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51937 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
51939         POWER7 optimizations.
51940         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51941         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51943 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
51945         * version.h: Update for 2.13 development version.
51947 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
51949         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51950         exceptions.  Return 0.
51952 2010-05-07  Roland McGrath  <roland@redhat.com>
51954         * elf/ldconfig.c (main): Add a const.
51956 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
51958         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51959         (args_options): Add no-idn option.
51960         (ahosts_keys_int): Add idn_flags to ai_flags.
51961         (parse_option): Handle 'i' option to clear idn_flags.
51963         * malloc/malloc.c (_int_free): Possible race in the most recently
51964         added check.  Only act on the data if no current modification
51965         happened.
51967 See ChangeLog.17 for earlier changes.