Fix x86_64 rawmemchr namespace (bug 17572).
[glibc.git] / ChangeLog
blob1a798b54eac6361e19e09a12b460a743adc3fd44
1 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #17572]
4         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5         and define as weak alias of __rawmemchr.
6         (__rawmemchr): Do not define as strong alias of rawmemchr.
8         [BZ #17571]
9         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10         alias of __qsort_r.
11         (qsort): Call __qsort_r instead of qsort_r.
12         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13         (__qsort_r): Declare.  Call libc_hidden_proto.
14         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
15         instead of qsort_r.
16         * nscd/gai.c (__qsort_r): Define to qsort_r.
17         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21         [BZ #17570]
22         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23         define as weak alias of __malloc_info.
25         [BZ #17584]
26         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28         (__rewinddir): Use libc_hidden_def.
29         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
30         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31         (__rewinddir): Use libc_hidden_def.
32         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33         weak alias of __rewinddir.  Don't use libc_hidden_def.
34         (__rewinddir): Use libc_hidden_def.
35         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
36         (__rewinddir): Use libc_hidden_proto.
37         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38         rewinddir.
39         (__getcwd): Use __rewinddir instead of rewinddir.
41         [BZ #17583]
42         * libio/fileno.c (fileno): Rename to __fileno and define as weak
43         alias of __fileno.  Use libc_hidden_weak.
44         (__fileno): Use libc_hidden_def.
45         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
46         * libio/ftello.c (ftello): Rename to __ftello and define as weak
47         alias of __ftello.
48         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
49         __ftello.
50         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
51         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
52         libc_hidden_def.
53         (fread_unlocked): Don't use libc_hidden_ver.
54         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
55         and define as weak alias of __fread_unlocked.  Don't use
56         libc_hidden_def.
57         (__fread_unlocked): Use libc_hidden_def.
58         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
59         (ftello): Don't use libc_hidden_proto.
60         (__ftello): Declare.  Use libc_hidden_proto.
61         (fread_unlocked): Don't use libc_hidden_proto.
62         (__fread_unlocked): Declare.  Use libc_hidden_proto.
63         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
64         and __ftello instead of fileno, fread_unlocked and ftello.
66 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
69         GOT12.
70         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
71         Likewise.
72         (_dl_start_user): Likewise.
73         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
75 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
76             Siddhesh Poyarekar  <siddhesh@redhat.com>
78         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
79         Move argv and envp down instead of moving argc up.
80         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
82 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
84         [BZ #17506]
85         * test-skeleton.c (main): Return successful if one of
86         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
87         * string/tst-strcoll-overflow.c: Define expected status.
89 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
91         [BZ #17475]
92         * locale/iso-639.def: Define Bhili and Tulu language codes.
94 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
96         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
98 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
100         [BZ #17555]
101         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
103 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
105         * configure.ac: Updated check of minimal required version to
106         2.22.
107         * manual/install.texi (Tools for Compilation): Updated version
108         number.
109         * configure: Regenerated.
110         * INSTALL: Likewise.
112 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
114         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
115         __tls_get_addr.
117 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
119         * include/sys/wait.h (__libc_waitpid): Remove declaration.
120         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
121         (__waitpid): Don't define as alias.  Use libc_hidden_def not
122         libc_hidden_weak.
123         (waitpid): Define as alias of __waitpid.
124         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
125         __waitpid.
126         (__waitpid): Don't define as alias.  Use libc_hidden_def not
127         libc_hidden_weak.
128         (waitpid): Define as alias of __waitpid.
129         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
130         __libc_waitpid alias.
131         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
132         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
133         Likewise.
134         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
135         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
136         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
137         alias.
138         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
139         __waitpid.
140         (__waitpid): Don't define as alias.  Use libc_hidden_def not
141         libc_hidden_weak.
142         (waitpid): Define as alias of __waitpid.
144 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
146         * manual/llio.texi: Add comment that write safety has been
147         fixed in Linux.
149         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
150         (localplt-build-dso): Add elf/ld.so.
151         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
152         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
153         and free for ld.so.
154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
155         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
157         Likewise.
158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
159         Likewise.
160         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
161         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
162         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
163         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
164         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
165         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
166         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
167         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
168         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
169         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
170         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
172 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
174         [BZ #14132]
175         * include/libc-symbols.h (INTUSE): Remove macro.
176         (INTDEF): Likewise.
177         (INTVARDEF): Likewise.
178         (_INTVARDEF): Likewise.
179         (INTDEF2): Likewise.
180         (INTVARDEF2): Likewise.
181         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
182         rtld_hidden_def instead of INTVARDEF.
183         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
184         (_dl_starting_up_internal): Remove declaration.
185         (_dl_starting_up): Use rtld_hidden_proto.
186         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
187         declaration.
188         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
189         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
190         _dl_starting_up.
191         * elf/dl-writev.h (_dl_writev): Likewise.
192         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
193         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
194         _dl_starting_up_internal.
196 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
198         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
199         test-skeleton.c.
201 2014-11-05  Will Newton  <will.newton@linaro.org>
203         * benchtests/Makefile: (bench-malloc): Add malloc thread
204         scalability benchmark.
205         * benchtests/bench-malloc-threads.c: New file.
207 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
209         * sysdeps/aarch64/strchrnul.S: New file.
211 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
213         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
214         definition.
215         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
216         Likwise.
217         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
218         Likewise.
219         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
220         Likewise.
221         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
222         Likewise.
223         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
224         Likewise.
226 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
228         * catgets/test-gencat.c: Use test-skeleton.c.
229         * catgets/tst-catgets.c: Likewise.
230         * csu/tst-empty.c: Likewise.
231         * elf/tst-audit2.c: Likewise.
232         * elf/tst-global1.c: Likewise.
233         * elf/tst-pathopt.c: Likewise.
234         * elf/tst-piemod1.c: Likewise.
235         * elf/tst-tls10.c: Likewise.
236         * elf/tst-tls11.c: Likewise.
237         * elf/tst-tls12.c: Likewise.
238         * gnulib/tst-gcc.c: Likewise.
239         * iconvdata/tst-e2big.c: Likewise.
240         * iconvdata/tst-loading.c: Likewise.
241         * iconv/tst-iconv1.c: Likewise.
242         * iconv/tst-iconv2.c: Likewise.
243         * inet/test-inet6_opt.c: Likewise.
244         * inet/tst-gethnm.c: Likewise.
245         * inet/tst-network.c: Likewise.
246         * inet/tst-ntoa.c: Likewise.
247         * intl/tst-codeset.c: Likewise.
248         * intl/tst-gettext2.c: Likewise.
249         * intl/tst-gettext3.c: Likewise.
250         * intl/tst-ngettext.c: Likewise.
251         * intl/tst-translit.c: Likewise.
252         * io/test-stat.c: Likewise.
253         * libio/test-fmemopen.c: Likewise.
254         * libio/tst-freopen.c: Likewise.
255         * libio/tst-sscanf.c: Likewise.
256         * libio/tst-ungetwc1.c: Likewise.
257         * libio/tst-ungetwc2.c: Likewise.
258         * libio/tst-widetext.c: Likewise.
259         * localedata/tst-ctype.c: Likewise.
260         * localedata/tst-digits.c: Likewise.
261         * localedata/tst-leaks.c: Likewise.
262         * localedata/tst-mbswcs1.c: Likewise.
263         * localedata/tst-mbswcs2.c: Likewise.
264         * localedata/tst-mbswcs3.c: Likewise.
265         * localedata/tst-mbswcs4.c: Likewise.
266         * localedata/tst-mbswcs5.c: Likewise.
267         * localedata/tst-setlocale.c: Likewise.
268         * localedata/tst-trans.c: Likewise.
269         * localedata/tst-wctype.c: Likewise.
270         * localedata/tst-xlocale1.c: Likewise.
271         * login/tst-grantpt.c: Likewise.
272         * malloc/tst-calloc.c: Likewise.
273         * malloc/tst-malloc.c: Likewise.
274         * malloc/tst-mallocstate.c: Likewise.
275         * malloc/tst-mcheck.c: Likewise.
276         * malloc/tst-mtrace.c: Likewise.
277         * malloc/tst-obstack.c: Likewise.
278         * math/atest-exp2.c: Likewise.
279         * math/atest-exp.c: Likewise.
280         * math/atest-sincos.c: Likewise.
281         * math/test-matherr.c: Likewise.
282         * math/test-misc.c: Likewise.
283         * math/test-powl.c: Likewise.
284         * math/tst-definitions.c: Likewise.
285         * misc/tst-dirname.c: Likewise.
286         * misc/tst-efgcvt.c: Likewise.
287         * misc/tst-fdset.c: Likewise.
288         * misc/tst-hsearch.c: Likewise.
289         * misc/tst-mntent2.c: Likewise.
290         * nptl/tst-sem7.c: Likewise.
291         * nptl/tst-sem8.c: Likewise.
292         * nptl/tst-sem9.c: Likewise.
293         * nss/test-netdb.c: Likewise.
294         * posix/tst-fnmatch.c: Likewise.
295         * posix/tst-getlogin.c: Likewise.
296         * posix/tst-gnuglob.c: Likewise.
297         * posix/tst-mmap.c: Likewise.
298         * pwd/tst-getpw.c: Likewise.
299         * resolv/tst-inet_ntop.c: Likewise.
300         * rt/tst-timer.c: Likewise.
301         * stdio-common/test-fseek.c: Likewise.
302         * stdio-common/test-popen.c: Likewise.
303         * stdio-common/test-vfprintf.c: Likewise.
304         * stdio-common/tst-cookie.c: Likewise.
305         * stdio-common/tst-fileno.c: Likewise.
306         * stdio-common/tst-gets.c: Likewise.
307         * stdio-common/tst-obprintf.c: Likewise.
308         * stdio-common/tst-perror.c: Likewise.
309         * stdio-common/tst-sprintf2.c: Likewise.
310         * stdio-common/tst-sprintf3.c: Likewise.
311         * stdio-common/tst-sprintf.c: Likewise.
312         * stdio-common/tst-swprintf.c: Likewise.
313         * stdio-common/tst-tmpnam.c: Likewise.
314         * stdio-common/tst-unbputc.c: Likewise.
315         * stdio-common/tst-wc-printf.c: Likewise.
316         * stdlib/tst-environ.c: Likewise.
317         * stdlib/tst-fmtmsg.c: Likewise.
318         * stdlib/tst-limits.c: Likewise.
319         * stdlib/tst-rand48-2.c: Likewise.
320         * stdlib/tst-rand48.c: Likewise.
321         * stdlib/tst-random2.c: Likewise.
322         * stdlib/tst-random.c: Likewise.
323         * stdlib/tst-strtol.c: Likewise.
324         * stdlib/tst-strtoll.c: Likewise.
325         * stdlib/tst-tls-atexit.c: Likewise.
326         * stdlib/tst-xpg-basename.c: Likewise.
327         * string/test-ffs.c: Likewise.
328         * string/tst-bswap.c: Likewise.
329         * string/tst-inlcall.c: Likewise.
330         * string/tst-strtok.c: Likewise.
331         * string/tst-strxfrm.c: Likewise.
332         * sysdeps/x86_64/tst-audit10.c: Likewise.
333         * sysdeps/x86_64/tst-audit3.c: Likewise.
334         * sysdeps/x86_64/tst-audit4.c: Likewise.
335         * sysdeps/x86_64/tst-audit5.c: Likewise.
336         * time/tst-ftime_l.c: Likewise.
337         * time/tst-getdate.c: Likewise.
338         * time/tst-mktime3.c: Likewise.
339         * time/tst-mktime.c: Likewise.
340         * time/tst-posixtz.c: Likewise.
341         * time/tst-strptime2.c: Likewise.
342         * time/tst-strptime3.c: Likewise.
343         * wcsmbs/tst-btowc.c: Likewise.
344         * wcsmbs/tst-mbrtowc.c: Likewise.
345         * wcsmbs/tst-mbsrtowcs.c: Likewise.
346         * wcsmbs/tst-wchar-h.c: Likewise.
347         * wcsmbs/tst-wcpncpy.c: Likewise.
348         * wcsmbs/tst-wcrtomb.c: Likewise.
349         * wcsmbs/tst-wcsnlen.c: Likewise.
350         * wcsmbs/tst-wcstof.c: Likewise.
352 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
354         [BZ #14132]
355         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
356         INTDEF.
357         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
358         declaration.
359         (_dl_mcount): Use rtld_hidden_proto.
360         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
361         _dl_mcount.
362         * elf/rtld.c (_rtld_global_ro): Likewise.
364         [BZ #14132]
365         * elf/dl-init.c (_dl_init): Don't use INTDEF.
366         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
367         of _dl_init_internal.
368         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
369         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
370         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
371         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
372         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
373         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
374         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
375         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
376         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
377         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
378         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
379         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
380         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
381         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
382         * sysdeps/tile/dl-start.S (_start): Likewise.
383         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
384         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
386         [BZ #14132]
387         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
388         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
389         (rtld_progname): Make macro definition unconditional.
390         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
391         INTDEF.
392         (dlmopen_doit): Do not use INTUSE with _dl_argv.
393         (dl_main): Likewise.
394         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
395         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
396         instead of _dl_argv_internal.
397         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
398         __GI__dl_argv instead of INTUSE(_dl_argv).
399         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
400         __GI__dl_argv instead of _dl_argv_internal.
402         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
403         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
404         macro.
405         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
406         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
407         New macro.
408         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
409         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
410         macro.
411         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
412         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
414 2014-11-04  Andreas Schwab  <schwab@suse.de>
416         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
418 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
420         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
421         mtvsrd instruction in binary form.
423 2014-11-03  Andreas Schwab  <schwab@suse.de>
425         [BZ #17522]
426         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
427         for less than MB_LEN_MAX use a local buffer of that size.
428         * libio/tst-fputws.c: New file.
429         * libio/Makefile (tests): Add tst-fputws.
431 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
433         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
434         the size of the fpu_fr.fpu_dregs[] array.
436 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
438         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
439         (__nanosleep): Do not define as alias.
440         (nanosleep): Define as alias of __nanosleep.
441         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
442         __libc_nanosleep name.
444 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
446         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
447         install.texi in comment.
449 2014-10-31  Torvald Riegel  <triegel@redhat.com>
451         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
452         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
453         ... add here and use lwsync or sync ...
454         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
455         ... and add here using lwsync.
457 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
459         * elf/dl-machine-reject-phdr.h: New file.
460         * elf/dl-load.c: #include that.
461         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
462         if that returned true.
464 2014-10-31  Roland McGrath  <roland@hack.frob.com>
466         [BZ #17496]
467         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
468         gen-as-const-headers chunk.  Add a big scare comment after the last
469         safe place to touch before-compile.
471 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
473         * manual/install.texi (Tools for Compilation): Update autoconf
474         version requirements.
475         * INSTALL: Regenerated.
477         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
478         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
479         (__libc_pselect): Likewise.
481         [BZ #14138]
482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
487 2014-10-31  Torvald Riegel  <triegel@redhat.com>
489         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
490         correct barrier instruction.
491         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
492         Likewise.
493         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
494         Likewise.
496 2014-10-30  Roland McGrath  <roland@hack.frob.com>
498         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
499         after defining inlines.  Instead, just use parens to defeat macro
500         expansion of __isctype in its declaration.
502 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
504         * include/sys/uio.h (__libc_readv): Remove declaration.
505         (__libc_writev): Likewise.
506         * misc/readv.c (__libc_readv): Rename to __readv.
507         (__readv): Do not define as alias.
508         (readv): Define as alias of __readv.
509         * misc/writev.c (__libc_writev): Rename to __writev.
510         (__writev): Do not define as alias.
511         (writev): Define as alias of __writev.
512         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
513         (__readv): Do not define as alias.
514         (readv): Define unconditionally as alias of __readv.
515         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
516         (__writev): Do not define as alias.
517         (writev): Define unconditionally as alias of __writev.
518         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
519         name.
520         (writev): Do not define __libc_writev name.
522 2014-10-30  Roland McGrath  <roland@hack.frob.com>
524         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
525         (convert_charseq): New function, broken out of ...
526         (use_from_charmap): ... here.  Call it.
527         (use_to_charmap): Use convert_charseq and free instead of duplicating
528         its code with a variable-length stack struct.
530 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
532         * include/fcntl.h (__libc_creat): Remove declaration.
533         * io/creat.c (__libc_creat): Rename to creat.
534         (creat): Do not define as alias.
535         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
536         of creat instead of __libc_creat.
537         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
538         to creat.
539         (creat): Do not define as alias.
540         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
541         __libc_creat.
542         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
543         __libc_creat name.
544         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
545         Likewise.
547 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
549         * manual/llio.texi: Add comments discussing why write() may be
550         considered MT-unsafe on Linux.
552 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
554         * dl-load.c (local_strdup): Remove.
555         (expand_dynamic_string_token): Use __strdup.
556         (decompose_rpath): Likewise.
557         (_dl_map_object): Likewise.
559 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
561         [BZ #14132]
562         * sysdeps/generic/unwind-dw2-fde.c
563         (__register_frame_info_bases_internal): Do not declare.
564         (__register_frame_info_table_bases_internal): Likewise.
565         (__deregister_frame_info_bases_internal): Likewise.
566         (__register_frame_info_bases): Declare and use hidden_proto before
567         definition.  Use hidden_def instead of INTDEF.
568         (__register_frame_info_table_bases): Likewise.
569         (__deregister_frame_info_bases): Likewise.
570         (__register_frame_info): Do not use INTUSE.
571         (__register_frame): Likewise.
572         (__register_frame_info_table): Likewise.
573         (__register_frame_table): Likewise.
574         (__deregister_frame_info): Likewise.
575         (__deregister_frame): Likewise.
577 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
579         * sysdeps/unix/sysv/linux/arm/kernel-features.h
580         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
581         not undefine.
582         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
583         Likewise.
584         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
585         Likewise.
587 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
589         [BZ #14138]
590         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
591         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
592         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
593         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
594         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
595         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
596         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
597         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
598         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
599         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
600         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
601         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
602         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
603         syscall.
604         (setfsuid): Likewise.
605         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
606         (setfsuid): Likewise.
607         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
608         (setfsuid): Likewise.
609         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
610         Likewise.
611         (setfsuid): Likewise.
612         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
613         (setfsuid): Likewise.
614         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
615         Likewise.
616         (setfsuid): Likewise.
618 2014-10-27  Andreas Schwab  <schwab@suse.de>
620         [BZ #17501]
621         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
622         check for Slow_SSE4_2 feature bit.
623         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
624         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
625         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
626         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
628 2014-10-24  Roland McGrath  <roland@hack.frob.com>
630         * configure.ac: Validate compiler version with a empirical test of
631         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
632         $CC -v output.
633         * configure: Regenerated.
635         * inet/htons.c (htons): Prototypify.
636         * inet/htonl.c (htonl): Likewise.
638 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
640         * string/strncat.c (strncat): Improve performance by using strlen.
642 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
644         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
646 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
648         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
649         Call libc_fetestexcept_aarch64.
651 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
653         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
654         Call libc_feholdexcept_aarch64.
656 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
658         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
659         Call get_rounding_mode.
661 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
663         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
664         Simplify logic.
666 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
668         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
669         Simplify logic.
671 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
673         [BZ #14138]
674         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
675         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
676         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
677         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
678         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
679         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
680         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
681         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
682         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
683         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
684         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
685         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
686         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
687         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
688         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
689         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
690         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
691         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
692         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
693         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
694         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
695         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
696         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
697         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
698         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
699         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
700         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
701         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
702         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
703         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
704         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
705         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
706         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
707         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
708         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
709         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
710         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
711         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
712         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
713         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
714         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
715         syscall.
716         (geteuid): Likewise.
717         (getgid): Likewise.
718         (getuid): Likewise.
719         (getresgid): Likewise.
720         (getresuid): Likewise.
721         (getgroups): Likewise.
722         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
723         (geteuid): Likewise.
724         (getgid): Likewise.
725         (getuid): Likewise.
726         (getresgid): Likewise.
727         (getresuid): Likewise.
728         (getgroups): Likewise.
729         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
730         (geteuid): Likewise.
731         (getgid): Likewise.
732         (getuid): Likewise.
733         (getresgid): Likewise.
734         (getresuid): Likewise.
735         (getgroups): Likewise.
736         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
737         Likewise.
738         (geteuid): Likewise.
739         (getgid): Likewise.
740         (getuid): Likewise.
741         (getresgid): Likewise.
742         (getresuid): Likewise.
743         (getgroups): Likewise.
744         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
745         (geteuid): Likewise.
746         (getgid): Likewise.
747         (getuid): Likewise.
748         (getresgid): Likewise.
749         (getresuid): Likewise.
750         (getgroups): Likewise.
751         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
752         Likewise.
753         (geteuid): Likewise.
754         (getgid): Likewise.
755         (getuid): Likewise.
756         (getgroups): Likewise.
758         [BZ #14138]
759         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
760         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
761         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
762         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
763         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
764         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
765         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
766         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
767         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
768         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
769         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
770         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
771         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
772         __chown.
773         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
774         (lchown): Likewise.
775         (fchown): Likewise.
776         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
777         Likewise.
778         (lchown): Likewise.
779         (fchown): Likewise.
780         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
781         (lchown): Likewise.
782         (fchown): Likewise.
783         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
784         Likewise.
785         (lchown): Likewise.
786         (fchown): Likewise.
788 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
790         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
791         Simplify logic.
793 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
795         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
796         Cleanup logic.
798 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
800         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
801         Remove unused include.
803 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
805         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
806         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
807         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
808         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
810 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
811             Helge Deller <deller@gmx.de>
813         [BZ #17508]
814         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
815         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
816         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
818 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
820         [BZ #14132]
821         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
822         Remove macro definition.
823         (__ashrdi3_v_glibc20): Likewise.
824         (__lshrdi3_v_glibc20): Likewise.
825         (__cmpdi2_v_glibc20): Likewise.
826         (__ucmpdi2_v_glibc20): Likewise.
827         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
828         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
829         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
830         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
831         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
832         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
834 2014-10-22  Roland McGrath  <roland@hack.frob.com>
836         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
837         old GNU extension [0] syntax.
838         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
839         alloca rather than an array member with variable length.
840         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
841         * nscd/nscd.c (invalidate_db): New function, broken out of ...
842         (parse_opt): ... here.  Likewise use alloca there.
843         Validate the -i argument before checking for rootness.
844         (send_shutdown): New function, broken out of ...
845         (parse_opt): ... here.
847 2014-10-22  Roland McGrath  <roland@hack.frob.com>
849         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
850         macro to get at the _rt_local_ro field.
851         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
852         ([PIC] case) or _dl_hwcap ([!PIC] case).
853         * sysdeps/arm/setjmp.S: Likewise.
855         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
856         * sysdeps/arm/configure.ac: New check to define it.
857         * sysdeps/arm/configure: Regenerated.
858         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
859         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
860         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
861         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
862         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
863         Use move/movt pair instead of a load.
864         (LDST_GLOBAL): Macro removed.
865         (LDR_GLOBAL): New macro replaces it.
866         (LDR_HIDDEN): New macro.
867         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
868         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
870         * setjmp/tst-setjmp-static.c: New file.
871         * setjmp/Makefile (tests): Add it.
872         (tests-static): New variable.
874 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
876         [BZ #17485]
877         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
879 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
881         [BZ #14132]
882         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
884 2014-10-21  Roland McGrath  <roland@hack.frob.com>
886         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
888 2014-10-20  Roland McGrath  <roland@hack.frob.com>
890         * io/fts.c (dirent_not_directory): New function.
891         (fts_build): Call it.
893 2014-10-20  Roland McGrath  <roland@hack.frob.com>
895         * nptl/version.c (__nptl_main): Use normal __write rather than
896         INTERNAL_SYSCALL.
897         (banner): Update copyright years.
899         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
900         gettimeofday.
901         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
902         * nptl/pthread_cond_timedwait.c: Likewise.
903         * nptl/pthread_mutex_timedlock.c: Likewise.
904         * nptl/sem_timedwait.c: Likewise.
906         * sysdeps/nptl/bits/libc-lock.h
907         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
908         (__libc_lock_init_recursive): Return void, not 0.
909         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
910         (__libc_rwlock_init): Likewise.
911         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
913 2014-10-20  Torvald Riegel  <triegel@redhat.com>
915         [BZ #15215]
916         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
917         (__pthread_once_slow): ... here.
918         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
919         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
921 2014-10-20  Torvald Riegel  <triegel@redhat.com>
923         [BZ #15215]
924         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
925         __PTHREAD_ONCE_FORK_GEN_INCR): New.
926         * sysdeps/nptl/fork.c (__libc_fork): Use them.
927         * nptl/pthread_once.c (__pthread_once): Likewise.
928         Update comments.
930 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
932         [BZ #14138]
933         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
934         name.
935         (writev): Use __libc_writev as strong name.
936         * sysdeps/unix/sysv/linux/readv.c: Remove file.
937         * sysdeps/unix/sysv/linux/writev.c: Likewise.
939 2014-10-17  Roland McGrath  <roland@hack.frob.com>
941         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
943         * sysdeps/i386/nptl/tls.h
944         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
945         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
946         New macros.
947         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
948         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
949         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
950         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
951         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
952         Call CHECK_THREAD_SYSINFO instead of doing an assert.
954         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
955         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
956         on [__NR_futex].
957         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
958         broken out of ...
959         (__pthread_mutex_init): ... here.  Call it.
960         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
961         Conditionalize PI cases on [__NR_futex].
962         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
963         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
964         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
966         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
967         conditional on [SIGSETXID].
968         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
969         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
970         is defined.  Likewise for SIGSETXID.
971         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
972         Conditionalize definitions on [SIGSETXID].
973         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
974         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
975         unblocking on [SIGCANCEL].
977         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
978         [__NR_set_robust_list].
980 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
982         * string/strcoll_l.c (get_next_seq): Fix up formatting.
983         (do_compare): Likewise.
985 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
987         [BZ #15884]
988         * string/strcoll_l.c: Don't include stdio.h.
989         (coll_seq): Remove members idxarr and rulearr.
990         (get_next_seq_cached): Remove function.
991         (get_next_seq): Likewise.
992         (get_next_seq_nocache): Rename to get_next_seq.
993         (do_compare): Remove function.
994         (do_compare_nocache): Rename to do_compare.
995         (STRCOLL): Remove weight and rules cache.
997 2014-10-16  Roland McGrath  <roland@hack.frob.com>
999         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1000         * sysdeps/arm/sfp-machine.h: ... to here.
1001         * sysdeps/arm/Implies: Remove arm/soft-fp.
1003 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
1005         * conform/data/sys/utsname.h-data (*_t): Allow.
1006         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1007         [POSIX] (WEXITED): Do not expect constant.
1008         [POSIX] (WSTOPPED): Likewise.
1009         [POSIX] (WNOHANG): Likewise.
1010         [POSIX] (WNOWAIT): Likewise.
1011         [POSIX] (siginfo_t): Do not expect type or elements.
1012         [POSIX] (pid_t): Do not expect type.
1013         [POSIX] (signal.h): Do not allow header.
1014         [POSIX] (sys/resource.h): Likewise.
1015         [POSIX] (si_*): Do not allow pattern.
1016         [POSIX] (W*): Likewise.
1017         [POSIX] (P_*): Likewise.
1018         [POSIX] (BUS_*): Likewise.
1019         [POSIX] (CLD_*): Likewise.
1020         [POSIX] (FPE_*): Likewise.
1021         [POSIX] (ILL_*): Likewise.
1022         [POSIX] (POLL_*): Likewise.
1023         [POSIX] (SEGV_*): Likewise.
1024         [POSIX] (SI_*): Likewise.
1025         [POSIX] (TRAP_*): Likewise.
1026         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1027         variable.
1029 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1031         [BZ #12926]
1032         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1033         infinite loop when __recvmsg returns 0.
1035 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
1037         * CANCEL-FCT-WAIVE: Remove file.
1038         * CANCEL-FILE-WAIVE: Likewise.
1040         [BZ #14132]
1041         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1042         instead of INTVARDEF.
1043         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1044         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1045         rtld_hidden_data_def instead of INTVARDEF.
1046         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1047         * elf/dl-deps.c (expand_dst): Likewise.
1048         * elf/dl-load.c (_dl_dst_count): Likewise.
1049         (_dl_dst_substitute): Likewise.
1050         (decompose_rpath): Likewise.
1051         (_dl_init_paths): Likewise.
1052         (open_path): Likewise.
1053         (_dl_map_object): Likewise.
1054         * elf/rtld.c (dl_main): Likewise.
1055         (process_dl_audit): Likewise.
1056         (process_envvars): Likewise.
1057         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1058         Remove declaration.
1059         (__libc_enable_secure): Use rtld_hidden_proto.
1061 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1063         * elf/dl-load.c
1064         (add_path): New function broken out of _dl_rtld_di_serinfo.
1065         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
1067 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1069         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1070         parentheses around macro arguments.
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         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1089         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1090         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1091         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1092         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1093         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1094         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1095         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1096         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1097         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1098         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1099         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1100         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1101         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1102         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1103         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1104         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1105         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1106         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1107         Likewise.
1108         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1109         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1110         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1111         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1112         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1113         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1114         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1115         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1116         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1117         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1118         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1119         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1120         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1121         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1122         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1123         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1124         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1125         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1126         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1127         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1128         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1129         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1130         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1131         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1132         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1133         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1134         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1135         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1136         (_FP_FRAC_SRS_1): Likewise.
1137         (_FP_FRAC_CLZ_1): Likewise.
1138         (_FP_MUL_MEAT_1_imm): Likewise.
1139         (_FP_MUL_MEAT_1_wide): Likewise.
1140         (_FP_MUL_MEAT_1_hard): Likewise.
1141         (_FP_SQRT_MEAT_1): Likewise.
1142         (_FP_FRAC_ASSEMBLE_1): Likewise.
1143         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1144         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1145         (__FP_CLZ_2): Likewise.
1146         (_FP_MUL_MEAT_2_wide): Likewise.
1147         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1148         (_FP_MUL_MEAT_2_gmp): Likewise.
1149         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1150         (_FP_SQRT_MEAT_2): Likewise.
1151         (_FP_FRAC_ASSEMBLE_2): Likewise.
1152         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1153         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1154         (_FP_FRAC_CLZ_4): Likewise.
1155         (_FP_MUL_MEAT_4_wide): Likewise.
1156         (_FP_MUL_MEAT_4_gmp): Likewise.
1157         (_FP_SQRT_MEAT_4): Likewise.
1158         (_FP_FRAC_ASSEMBLE_4): Likewise.
1159         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1160         * soft-fp/op-common.h (_FP_CMP): Likewise.
1161         (_FP_CMP_EQ): Likewise.
1162         (_FP_CMP_UNORD): Likewise.
1163         (_FP_TO_INT): Likewise.
1164         (_FP_FROM_INT): Likewise.
1165         [!__FP_CLZ] (__FP_CLZ): Likewise.
1166         (_FP_DIV_HELP_imm): Likewise.
1167         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1168         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         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1188         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1189         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1190         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1191         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1192         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1193         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1194         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1195         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1196         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1197         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1198         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1199         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1200         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1201         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1202         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1203         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1204         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1205         (FP_UNPACK_RAW_SP): Likewise.
1206         (FP_PACK_RAW_S): Likewise.
1207         (FP_PACK_RAW_SP): Likewise.
1208         (FP_UNPACK_S): Likewise.
1209         (FP_UNPACK_SP): Likewise.
1210         (FP_UNPACK_SEMIRAW_S): Likewise.
1211         (FP_UNPACK_SEMIRAW_SP): Likewise.
1212         (FP_PACK_S): Likewise.
1213         (FP_PACK_SP): Likewise.
1214         (FP_PACK_SEMIRAW_S): Likewise.
1215         (FP_PACK_SEMIRAW_SP): Likewise.
1216         (_FP_SQRT_MEAT_S): Likewise.
1217         (FP_CMP_S): Likewise.
1218         (FP_CMP_EQ_S): Likewise.
1219         (FP_CMP_UNORD_S): Likewise.
1220         (FP_TO_INT_S): Likewise.
1221         (FP_FROM_INT_S): Likewise.
1223         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1225         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1226         (FP_EX_INVALID_IMZ): Likewise.
1227         (FP_EX_INVALID_IMZ_FMA): Likewise.
1228         (FP_EX_INVALID_ISI): Likewise.
1229         (FP_EX_INVALID_ZDZ): Likewise.
1230         (FP_EX_INVALID_IDI): Likewise.
1231         (FP_EX_INVALID_SQRT): Likewise.
1232         (FP_EX_INVALID_CVI): Likewise.
1233         (FP_EX_INVALID_VC): Likewise.
1234         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1235         "invalid" exceptions.
1236         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1237         (_FP_ADD_INTERNAL): Likewise.
1238         (_FP_MUL): Likewise.
1239         (_FP_FMA): Likewise.
1240         (_FP_DIV): Likewise.
1241         (_FP_CMP_CHECK_NAN): Likewise.
1242         (_FP_SQRT): Likewise.
1243         (_FP_TO_INT): Likewise.
1244         (FP_EXTEND): Likewise.
1246 2014-10-09  Allan McRae  <allan@archlinux.org>
1248         * po/fr.po: Update French translation from translation project.
1250 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1252         [BZ #14132]
1253         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1254         of INTDEF.
1255         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1256         (__cxa_atexit): Use libc_hidden_proto.
1257         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1259         [BZ #14132]
1260         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1261         declaration.
1262         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1263         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1264         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1265         [!_ISOMAC] (__iswctype_internal): Likewise.
1266         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1267         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1268         alias.
1269         (fcntl): Remove __fcntl_internal alias.
1270         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1271         __connect_internal alias.
1272         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1273         Likewise.
1275         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1276         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1277         FP_DENORM_ZERO.
1278         (_FP_CHECK_FLUSH_ZERO): New macro.
1279         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1280         (_FP_CMP): Likewise.
1281         (_FP_CMP_EQ): Likewise.
1282         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1283         FP_DENORM_ZERO.
1284         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1285         (FP_TRUNC): Likewise.
1287         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1288         treated as invalid conversion, not as normal exponent.
1290         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1291         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1292         (_FP_CMP_EQ): Likewise.
1293         (_FP_CMP_UNORD): Likewise.
1294         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1295         (FP_CMP_EQ_D): Likewise.
1296         (FP_CMP_UNORD_D): Likewise.
1297         * soft-fp/extended.h (FP_CMP_E): Likewise.
1298         (FP_CMP_EQ_E): Likewise.
1299         (FP_CMP_UNORD_E): Likewise.
1300         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1301         (FP_CMP_EQ_Q): Likewise.
1302         (FP_CMP_UNORD_Q): Likewise.
1303         * soft-fp/single.h (FP_CMP_S): Likewise.
1304         (FP_CMP_EQ_S): Likewise.
1305         (FP_CMP_UNORD_S): Likewise.
1306         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1307         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1308         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1309         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1310         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1311         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1312         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1313         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1314         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1315         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1316         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1317         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1318         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1319         to FP_CMP_Q.
1320         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1321         FP_CMP_Q.
1322         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1323         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1324         FP_CMP_EQ_Q.
1325         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1326         FP_CMP_Q.
1327         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1328         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1329         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1330         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1331         FP_CMP_EQ_Q.
1332         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1333         FP_CMP_Q.
1334         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1335         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1336         FP_CMP_EQ_Q.
1337         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1338         FP_CMP_Q.
1339         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1340         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1341         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1342         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1343         FP_CMP_EQ_Q.
1345         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1346         a subnormal result, set the underflow exception if trapping on
1347         underflow is enabled.
1348         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1349         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1350         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1351         redefine to 0.
1352         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1353         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1354         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1355         * soft-fp/extendxftf2.c (__extendxftf2): Use
1356         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1358         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1359         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1360         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1361         FP_HANDLE_EXCEPTIONS.
1362         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1363         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1364         FP_HANDLE_EXCEPTIONS.
1365         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1366         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1367         FP_HANDLE_EXCEPTIONS.
1368         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1369         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1370         FP_HANDLE_EXCEPTIONS.
1372 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
1374         [BZ #14132]
1375         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1376         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1377         use INTUSE.
1378         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1379         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1380         Remove alias.
1381         (__adjtimex): Define using libc_hidden_ver.
1382         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1383         Remove declaration.
1384         (ntp_gettime): Call __adjtimex directly.
1385         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1386         Remove declaration.
1387         (ntp_gettimex): Call __adjtimex directly.
1388         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1389         __adjtimex_internal alias.
1391 2014-10-08  Roland McGrath  <roland@hack.frob.com>
1393         [BZ #17460]
1394         * nscd/nscd.c (more_help): Rewrite list of tables collection
1395         using xstrdup and asprintf.
1397         * nscd/nscd_conf.c: Remove local xstrdup declaration.
1399 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1400             Roland McGrath  <roland@hack.frob.com>
1402         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1403         (do_lookup_unique): ... local function 'enter' here; update callers.
1405 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
1407         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1408         compat_symbol calls on [SHARED].
1409         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1410         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1411         Remove.
1412         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1413         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1414         (oldsetrlimit): Remove.
1415         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1417         (lchown): New syscall entry.
1418         (oldsetrlimit): Remove.
1419         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1420         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1421         (oldsetrlimit): Remove.
1422         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1424         [BZ #14138]
1425         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1426         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1427         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1428         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1429         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1430         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1431         (fchown): Likewise.
1432         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1433         (fchown): Likewise.
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1435         Likewise.
1437 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1439         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1440         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1441         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1442         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1443         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1444         Likewise.
1445         (__old_sem_post): Likewise.
1447 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
1449         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1450         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1451         HAVE_CLOCK_GETTIME_VSYSCALL macros.
1452         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1453         Use INLINE_VSYSCALL macro.
1454         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1455         __vdso_clock_gettime.
1456         * sysdeps/unix/sysv/linux/tile/init-first.c
1457         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1458         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1459         __vdso_clock_gettime.
1461         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1462         to set up frame more cleanly.
1464         * sysdeps/tile/memcmp.c: New file.
1466         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1468         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1469         * sysdeps/tile/tilegx/strcasestr.c: New file.
1470         * sysdeps/tile/tilegx/strnlen.c: New file.
1471         * sysdeps/tile/tilegx/strstr.c: New file.
1473         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1475 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
1477         * nptl/tst-setuid3.c: Write errors to stdout.
1479 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1481         * elf/dl-deps.c
1482         (preload): New functions broken out of _dl_map_object_deps.
1483         (_dl_map_object_deps):  Remove a nested function. Update call sites.
1485 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
1487         [BZ #14138]
1488         * sysdeps/unix/sysv/linux/execve.c: Remove file.
1489         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1491 2014-10-01  Steve Ellcey  <sellcey@mips.com>
1493         * sysdeps/mips/strcmp.S: New.
1495 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
1497         [BZ #14138]
1498         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1499         (linkat): Likewise.
1500         (mkdirat): Likewise.
1501         (readlinkat): Likewise.
1502         (renameat): Likewise.
1503         (symlinkat): Likewise.
1504         (unlinkat): Likewise.
1505         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1506         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1507         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1508         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1509         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1510         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1511         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1513 2014-09-30  Will Newton  <will.newton@linaro.org>
1515         * math/math.h: Define long double math functions if
1516         _LIBC_TEST is defined.
1517         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1519         * localedata/Makefile: Move assignment to tests-special
1520         into an ifdef testing run-built-tests.
1521         * timezone/Makefile: Likewise.
1523 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
1525         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1526         with $(BASH) not $(SHELL).
1528 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
1529             Matthew LeGendre  <legendre1@llnl.gov>
1531         [BZ #17411]
1532         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1533         l_reloc_result.
1535 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1537         * stdio-common/printf_fp.c
1538         (hack_digit): New function, broken out of ...
1539         (__printf_fp): ... local function here.  Update call sites.
1540         hack_digit now takes an additional parameter that is a pointer
1541         to a struct of the referenced locals.  Those locals moved inside
1542         the struct and references updated.
1544 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
1546         * aclocal.m4: Require autoconf 2.69.
1547         * configure: Regenerated.
1548         * sysdeps/aarch64/configure: Likewise.
1549         * sysdeps/alpha/configure: Likewise.
1550         * sysdeps/arm/armv7/configure: Likewise.
1551         * sysdeps/arm/configure: Likewise.
1552         * sysdeps/ia64/configure: Likewise.
1553         * sysdeps/mach/configure: Likewise.
1554         * sysdeps/mips/configure: Likewise.
1555         * sysdeps/s390/configure: Likewise.
1556         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1559         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1560         file.
1561         * sysdeps/ia64/configure.ac: Likewise.
1563 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
1565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1566         specify symbol version for ld.so.  Do not include entry for
1567         libpthread.
1568         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1569         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1570         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1572         [BZ #14171]
1573         * Makeconfig [$(build-shared) = yes]
1574         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1575         makefiles.
1576         [$(build-shared) = yes && $(soversions.mk-done) = t]
1577         ($(common-objpfx)gnu/lib-names.h): Remove rule.
1578         [$(build-shared) = yes && $(soversions.mk-done) = t]
1579         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
1580         to Makerules.
1581         [$(build-shared) = yes && $(soversions.mk-done) = t]
1582         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1583         here.
1584         [$(build-shared) = yes && $(soversions.mk-done) = t]
1585         (common-generated): Don't append gnu/lib-names.h and
1586         gnu/lib-names.stmp here.
1587         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1588         (lib-names-h-abi): New variable.
1589         [$(build-shared) = yes && $(soversions.mk-done) = t]
1590         (lib-names-stmp-abi): Likewise.
1591         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1592         abi-variants] (before-compile): Append
1593         $(common-objpfx)$(lib-names-h-abi).
1594         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1595         abi-variants] (common-generated): Append gnu/lib-names.h.
1596         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1597         abi-variants] (install-others-nosubdir): Depend on
1598         $(inst_includedir)/$(lib-names-h-abi).
1599         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1600         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1601         [$(build-shared) = yes && $(soversions.mk-done) = t]
1602         ($(common-objpfx)$(lib-names-h-abi)): New rule.
1603         [$(build-shared) = yes && $(soversions.mk-done) = t]
1604         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1605         [$(build-shared) = yes && $(soversions.mk-done) = t]
1606         (common-generated): Append $(lib-names-h-abi) and
1607         $(lib-names-stmp-abi).
1608         * scripts/lib-names.awk: Do not handle multi being set.
1609         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1610         Remove variable.
1611         (abi-lp64_be-ld-soname): Likewise.
1612         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1613         Likewise.
1614         (abi-hard-ld-soname): Likewise.
1615         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1616         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1617         Remove variable.
1618         (abi-o32_hard-ld-soname): Likewise.
1619         (abi-o32_soft_2008-ld-soname): Likewise.
1620         (abi-o32_hard_2008-ld-soname): Likewise.
1621         (abi-n32_soft-ld-soname): Likewise.
1622         (abi-n32_hard-ld-soname): Likewise.
1623         (abi-n32_soft_2008-ld-soname): Likewise.
1624         (abi-n32_hard_2008-ld-soname): Likewise.
1625         (abi-n64_soft-ld-soname): Likewise.
1626         (abi-n64_hard-ld-soname): Likewise.
1627         (abi-n64_soft_2008-ld-soname): Likewise.
1628         (abi-n64_hard_2008-ld-soname): Likewise.
1629         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1630         Likewise.
1631         (abi-64-v2-ld-soname): Likewise.
1632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1633         ld.so entries.
1634         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1635         variable.
1636         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1637         entry.
1638         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1639         variable.
1640         (abi-64-ld-soname): Likewise.
1641         (abi-x32-ld-soname): Likewise.
1642         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1643         entry.
1644         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1646 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
1648         [BZ #14138]
1649         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1650         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1651         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1652         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1653         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1654         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1655         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1656         syscall entry for GLIBC_2.2 symbol version.
1657         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1658         Likewise.
1659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1660         (setrlimit): Likewise.
1661         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1662         Likewise.
1664 2014-09-23  Will Newton  <will.newton@linaro.org>
1666         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1667         _LINUX_ARM_SYSDEP_H include guard too.
1668         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1669         define.
1671 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1673         * sysdeps/unix/sysv/linux/eventfd.c:
1674         Make first argument unsigned.
1675         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1676         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1678 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
1680         * socket/recvmmsg.c (recvmmsg): Drop const argument.
1681         * socket/sys/socket.h: Likewise
1682         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1684 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1686         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1688 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
1690         * time/tst-ftime.c: New test.
1691         * time/Makefile (tests): Add tst-ftime.
1693 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
1695         * soft-fp/extended.h: Fix comment formatting.
1696         * soft-fp/op-1.h: Likewise.
1697         * soft-fp/op-2.h: Likewise.
1698         * soft-fp/op-4.h: Likewise.
1699         * soft-fp/op-8.h: Likewise.
1700         * soft-fp/op-common.h: Likewise.
1701         * soft-fp/soft-fp.h: Likewise.
1703         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1705 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
1707         [BZ #6652]
1708         * Makeconfig (soversions-default-setname): Remove variable.
1709         ($(common-objpfx)soversions.i): Don't pass default_setname to
1710         soversions.awk.
1711         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1712         oldest_abi to abi-versions.awk.
1713         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1714         * config.make.in (oldest-abi): Remove variable.
1715         * configure.ac (--enable-oldest-abi): Remove configure option.
1716         * configure: Regenerated.
1717         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1718         text.
1719         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1720         * scripts/soversions.awk: Do not handle default_setname variable.
1721         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1722         variable.
1723         * sysdeps/mach/hurd/configure: Regenerated.
1724         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1725         variable.
1726         * sysdeps/unix/sysv/linux/configure: Regenerated.
1728 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1730         * elf/Makefile (CFLAGS-interp.c): Remove.
1731         ($(elf-objpfx)runtime-linker.h): Generate header with linker
1732         path string.
1733         * elf/interp.c: Include generated runtime-linker.h
1735         * Makerules (lib%.so): Don't include $(+interp) in
1736         prerequisites.
1737         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1738         * dlfcn/eval.c: Remove file.
1740         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1741         macros.
1743         [BZ #17266]
1744         * misc/sys/cdefs.h: Define __extern_always_inline for clang
1745         4.2 and newer.
1747         [BZ #17370]
1748         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1750 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1751             Jakub Jelinek  <jakub@redhat.com>
1753         [BZ #17266]
1754         * libio/stdio.h: Check definition of __fortify_function
1755         instead of __extern_always_inline to include bits/stdio2.h.
1756         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1757         check if __extern_always_inline is defined.
1758         [__USE_MISC || __USE_XOPEN]: Likewise.
1759         [__USE_ISOC99] Likewise.
1760         * misc/sys/cdefs.h (__fortify_function): Define only if
1761         __extern_always_inline is defined.
1762         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1763         __extern_always_inline and __extern_inline only for g++-4.3
1764         and newer or a compatible gcc.
1766 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
1768         [BZ #17371]
1769         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1770         last change to handle zero prefix length.
1772 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1774         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1775         _SC_REGEX_VERSION.
1777         * posix/getconf.c (vars): Add _POSIX_IPV6 and
1778         _POSIX_RAW_SOCKETS.
1780 2014-09-13  Allan McRae  <allan@archlinux.org>
1782         * po/ru.po: Update Russian translation from translation project.
1784 2014-09-12  Roland McGrath  <roland@hack.frob.com>
1786         * locale/programs/locale.c (show_locale_vars): Inline local function
1787         into its sole call site.  Clean up some style nits.
1788         (print_item): New function, broken out of ...
1789         (show_info): ... local function here.  Clean up style nits.
1791         * locale/programs/ld-ctype.c (set_one_default): New function, broken
1792         out of ...
1793         (set_class_defaults): ... local function set_default here.
1794         Define set_default as a macro locally to pass constant parameters.
1795         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1796         rather than a shared local.
1798         * stdlib/rpmatch.c (try): New function, broken out of ...
1799         (rpmatch): ... local function here.  Also, prototypify definition.
1801 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1803         * scripts/soversions.awk: Do not handle configuration names.
1804         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1805         vendor and os variables to soversions.awk.
1806         * configure.ac: Do not modify gnu-* host_os.
1807         * configure: Regenerated
1808         * shlib-versions: Remove first column with configuration names.
1809         * nptl/shlib-versions: Likewise.
1810         * nptl_db/shlib-versions: Likewise.
1811         * sysdeps/hppa/shlib-versions: Likewise.
1812         * sysdeps/m68k/shlib-versions: Likewise.
1813         * sysdeps/mach/hurd/shlib-versions: Likewise.
1814         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1815         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1816         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1817         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1818         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1819         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1820         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1821         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1823         Likewise.
1824         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1825         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1826         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1827         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1828         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1829         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1830         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1831         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1834         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1836         Regenerated.
1837         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1839         Condition symbol version definitions on [HAVE_ELFV2_ABI].
1841         * shlib-versions: Remove OS-specific entries.  Moved to files in
1842         sysdeps.
1843         * sysdeps/mach/hurd/shlib-versions: New file.
1844         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1846         * nptl/shlib-versions: Remove architecture-specific entries.
1847         Moved to files in sysdeps.
1848         * shlib-versions: Likewise.
1849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1850         file.
1851         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1852         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1853         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1854         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1856         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1857         (UDP_NO_CHECK6_RX): Likewise.
1859 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1861         * sysdeps/posix/sysconf.c (__sysconf): Spell
1862         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1864 2014-08-12  Florian Weimer  <fweimer@redhat.com>
1866         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1867         loading.
1868         * iconv/Versions (__gconv_transliterate): Export for use from
1869         gconv modules.
1870         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1871         (struct __gconv_trans_data, __gconv_trans_fct,
1872         __gconv_trans_context_fct, __gconv_trans_query_fct,
1873         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1874         definitions.
1875         (struct __gconv_step_data): Remove __trans member.
1876         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
1877         longer hidden.  Remove unused trans_data argument.
1878         * iconv/gconv_int.h (struct trans_struct): Remove definition.
1879         (__gconv_translit_find): Remove declaration.
1880         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
1881         prototype.
1882         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1883         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1884         trans_data argument.  Add hidden definition.
1885         (__gconv_translit_find): Remove.
1886         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1887         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1888         * iconv/skeleton.c: Remove transliteration initialization.
1889         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1890         __gconv_step_data initialization.
1891         * libio/iofwide.c (__libio_translit_): Remove.
1892         (_IO_fwide): Adjust struct __gconv_step_data initialization.
1893         * wcsmbs/btowc.c (__btowc): Likewise.
1894         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1895         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1896         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1897         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1898         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1899         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1900         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1901         * wcsmbs/wctob.c (wctob): Likewise.
1903 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1905         [BZ #16194]
1906         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1907         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
1908         register usage.
1909         * sysdeps/x86/Makefile: Adjust.
1911 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1912             Roland McGrath  <roland@hack.frob.com>
1914         * locale/weight.h: Add include guard.
1915         (findidx): Make static rather than auto; take new parameters
1916         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1917         * locale/weightwc.h: Likewise.
1918         * posix/fnmatch_loop.c
1919         (FCT): Change type of EXTRA from int32_t to wint_t.
1920         Don't include either header inside the function.
1921         Call FINDIDX rather than findidx, and pass new arguments.
1922         #undef FINDIDX at the end of the file.
1923         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1924         FINDIDX before including fnmatch_loop.c for the non-wide version.
1925         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1926         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1927         for the wide version.
1928         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1929         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1930         Pass new arguments to findidx.
1931         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1932         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1933         Don't #include it inside the function.  Pass new arguments to findidx.
1934         * posix/regex_internal.h
1935         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1936         (re_string_elem_size_at): Don't #include it inside the function.
1937         Pass new arguments to findidx.
1938         * string/strcoll_l.c: #include WEIGHT_H at top level.
1939         (get_next_seq): Don't #include it inside the function.
1940         Pass new arguments to findidx.
1941         (get_next_seq_nocache): Likewise.
1942         * string/strxfrm_l.c: #include WEIGHT_H at top level.
1943         (STRXFRM): Don't #include it inside the function.
1944         Pass new arguments to findidx.
1946 2014-09-11  Florian Weimer  <fweimer@redhat.com>
1948         [BZ #17344]
1949         * malloc/malloc.c (unlink): Turn asserts into a call to
1950         malloc_printerr.
1952 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
1954         [BZ #17370]
1955         * libio/wfileops (do_ftell_wide): Free OUT.
1957 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
1959         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1961 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1963         [BZ #17363]
1964         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1965         group if the current group is empty.
1967 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1969         * benchtests/bench-memset.c (test_main): Add more test from size
1970         from 32 to 512 bytes.
1971         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1972         Add POWER8 memset object.
1973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1974         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1975         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1976         implementation.
1977         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1978         Likewise.
1979         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1980         multiarch POWER8 memset optimization.
1981         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1982         POWER8 memset optimization.
1984         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1985         Remove bzero multiarch objects.
1986         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1987         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1988         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1989         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1990         Remove define.
1991         [__bzero]: Redefine to specific name.
1992         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1993         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1994         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1995         define.
1996         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1997         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1999 2014-09-10  Florian Weimer  <fweimer@redhat.com>
2001         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2002         warnings into errors.
2004         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2005         __cxa_thread_atexit_impl prototype.
2007 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2009         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2010         Fix capitalization of error message.
2012 2014-09-09  Steve Ellcey  <sellcey@mips.com>
2014         * sysdeps/mips/preconfigure: Modify ABI tests.
2016 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
2018         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2020 2014-09-07  Roland McGrath  <roland@hack.frob.com>
2021             Carlos O'Donell  <carlos@systemhalted.org>
2023         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2024         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2025         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2026         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2027         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2028         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2029         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2030         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2031         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2032         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2033         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2034         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2035         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2036         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2037         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2038         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2039         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2040         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2041         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2042         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2043         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2044         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2045         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2046         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2047         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2048         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2049         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2050         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2051         Deconditionalize the code that was previously under [RESET_PID].
2052         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2053         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2054         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2055         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2056         include sysdep.h.
2058 2014-09-08  Allan McRae  <allan@archlinux.org>
2060         * version.h (RELEASE): Set to "development".
2061         (VERSION): Set to "2.20.90"
2063 2014-09-07  Allan McRae  <allan@archlinux.org
2065         * version.h (RELEASE): Set to "stable".
2066         (VERSION): Set to "2.20"
2067         * include/features.h (__GLIBC_MINOR__): Set to 20.
2069         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2070         Liebler.
2072         * po/ko.po: Update Korean translation from translation project.
2074 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
2076         [BZ #17354]
2077         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2078         macro for handling signed relocations.
2080 2014-09-03  Florian Weimer  <fweimer@redhat.com>
2082         [BZ #17325]
2083         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2084         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2085         assert.
2086         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2087         * iconvdata/ibm935.c (BODY): Likewise.
2088         * iconvdata/ibm937.c (BODY): Likewise.
2089         * iconvdata/ibm939.c (BODY): Likewise.
2090         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2091         assert.
2092         * iconvdata/Makefile (iconv-test.out): Pass module list to test
2093         script.
2094         * iconvdata/run-iconv-test.sh: New test loop for checking for
2095         decoder crashers.
2097 2014-09-02  Khem Raj  <raj.khem@gmail.com>
2099         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2100         libm_hidden_ver.
2102 2014-09-01  Allan McRae  <allan@archlinux.org>
2104         * po/eo.po: Update Esperanto translation from translation project.
2106         * po/ca.po: Update Catalan translation from translation project.
2108 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2110         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2111         __proc_dostop call.
2113 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2115         [BZ #17319]
2116         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2117         to call set_thread_area instead of hand written asm.
2118         (__NR_set_thread_area): Removed define.
2119         (TLS_FLAG_WRITABLE): Likewise.
2120         (__ASSUME_SET_THREAD_AREA): Remove check.
2121         (TLS_EBX_ARG): Remove define.
2122         (TLS_LOAD_EBX): Likewise.
2124 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2126         Simplify atomicity of socket creation in bind.
2128         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2129         looking up the name after linking the file.
2131 2014-08-27  Allan McRae  <allan@archlinux.org>
2133         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2135 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2137         [BZ #17187]
2138         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2139         trans_compare, open_translit, __gconv_translit_find):
2140         Remove module loading code.
2142 2014-08-26  Allan McRae  <allan@archlinux.org>
2144         * po/vi.po: Update Vietnamese translation from translation project.
2146         * po/uk.po: Update Ukrainian translation from translation project.
2148         * po/fr.po: Update French translation from translation project.
2150         * po/ru.po: Update Russian translation from translation project.
2152         * po/pl.po: Update Polish translation from translation project.
2154         * po/cs.po: Update Czech translation from translation project.
2156         * po/de.po: Update German translation from translation project.
2158         * po/bg.po: Update Bulgarian translation from translation project.
2160         * po/sv.po: Update Sweedish translation from translation project.
2162         * po/nl.po: Update Dutch translation from translation project.
2164         * po/es.po: Update Spanish translation from translation project.
2166 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2168         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2170         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2171         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2172         (CPPFLAGS-iconvconfig): Likewise.
2173         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2175         * include/libc-symbols.h: Remove unnecessary check for
2176         NOT_IN_libc.
2177         * nptl/pthreadP.h: Likewise.
2178         * sysdeps/aarch64/setjmp.S: Likewise.
2179         * sysdeps/alpha/setjmp.S: Likewise.
2180         * sysdeps/arm/sysdep.h: Likewise.
2181         * sysdeps/i386/setjmp.S: Likewise.
2182         * sysdeps/m68k/setjmp.c: Likewise.
2183         * sysdeps/posix/getcwd.c: Likewise.
2184         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2185         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2186         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2187         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2188         * sysdeps/sh/sh3/setjmp.S: Likewise.
2189         * sysdeps/sh/sh4/setjmp.S: Likewise.
2190         * sysdeps/unix/alpha/sysdep.h: Likewise.
2191         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2192         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2193         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2194         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2198         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2199         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2200         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2201         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2202         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2204         * sysdeps/x86_64/setjmp.S: Likewise.
2206 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2208         [BZ #17263]
2209         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2210         <stdint.h>.
2211         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2212         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2214 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2216         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2218         [BZ #17262]
2219         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2220         and __x86_64__ when disabling x87 inline functions.
2222 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2224         [BZ #17259]
2225         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2226         asm statement with __cpuid_count.
2228 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2230         * configure.ac: Change __ehdr_start code to dereference the struct.
2231         Run readelf on the output to look for relocations.
2232         * configure: Regenerated.
2234 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2236         [BZ #17261]
2237         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2238         value to 0.
2239         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2241 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2243         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2245 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2247         [BZ #16892]
2248         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2249         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2251 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2253         * malloc/malloc.c: Fix typo in comment.
2255 2014-08-09  Allan McRae  <allan@archlinux.org>
2257         * Regenerate libc.po.
2259 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2261         * intl/tst-gettext2.sh: Check every lang file for creation.
2263 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2265         * sysdeps/aarch64/fpu/math_private.h
2266         (libc_feholdsetround_noex_aarch64_ctx): New function.
2268 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2270         * sysdeps/arm/armv6/strcpy.S (strcpy):
2271         Fix performance issue in misaligned cases.
2273 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2275         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2276         Move definition from termios.h.
2277         (struct termio): Likewise.
2278         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2279         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2280         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2281         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2282         Likewise.
2283         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2284         Move definition to ioctl-types.h
2285         (struct termio): Likewise.
2286         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2287         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2288         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2289         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2290         Likewise.
2292 2014-08-05  Richard Henderson  <rth@redhat.com>
2294         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2295         exceptions.
2296         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2297         Add fraiseexcpt.
2298         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2299         Use __feraiseexcept.
2300         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2301         Protect libm symbols with IS_IN_libm.
2303         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2305 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2307         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2309 2014-08-04  Will Newton  <will.newton@linaro.org>
2311         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2312         file.
2314 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2316         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2317         variants for each function.
2319 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2321         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2322         appended ...
2323         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2324         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2325         appended ...
2326         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2327         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2328         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2329         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2330         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2331         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2332         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2333         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2334         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2335         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2336         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2338         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2340         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2341         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2342         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2344         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2345         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2346         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2347         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2348         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2349         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2350         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2351         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2352         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2353         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2354         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2356         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2357         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2358         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2359         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2360         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2361         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2362         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2363         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2364         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2365         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2366         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2367         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2368         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2369         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2370         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2371         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2372         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2373         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2374         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2375         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2376         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2377         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2378         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2379         Update #include.
2380         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2381         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2383 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2385         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2386         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2387         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2388         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2389         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2390         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2392 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2394         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2395         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2396         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2397         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2399 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2401         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2402         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2403         (__libc_vfork): Define function under this name.
2404         (__vfork): Define as an alias.
2405         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2406         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2408 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2410         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2411         that was previously under [RESET_PID].
2412         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2414 2014-08-04  Andreas Schwab  <schwab@suse.de>
2416         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2418 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
2420         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2421         (main): Likewise.
2423 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2425         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2427 2014-08-01  Richard Henderon  <rth@redhat.com>
2429         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2430         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2431         typo in exact zero test.
2432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2433         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2436 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2438         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2439         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2440         * sysdeps/arm/sysdep.h: ... here.
2441         [!__ASSEMBLER__]: Include <stdint.h>.
2443 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2445         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2446         (HAVE_WCTYPE_H): Likewise.
2447         (HAVE_ISWCTYPE): Likewise.
2448         (ENABLE_NLS): Likewise.
2449         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2450         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2452         * posix/regex_internal.c: Check if DEBUG is defined and is
2453         set.
2455         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2456         (HAVE_MBSRTOWCS): Likewise.
2457         * posix/fnmatch.c: Include string.h unconditionally.
2459 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2461         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2462         reversal.
2464 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2466         * sysdeps/generic/safe-fatal.h: New file.
2467         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2468         * nptl/forward.c: Include it.
2469         (__pthread_unwind): Use __safe_fatal as default action, rather
2470         than a bogus use of INTERNAL_SYSCALL that could never work.
2472         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2473         * configure.ac (libc_cv_builtin_trap): New test.
2474         * configure: Regenerated.
2475         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2476         (ABORT_INSTRUCTION): Define using __builtin_trap.
2478         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2479         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2480         * sysdeps/nptl/nptl-signals.h: New file.
2481         * nptl/pthreadP.h: Include <nptl-signals.h>.
2483 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2485         * sysdeps/s390/s390-64/utf16-utf32-z9.c
2486         (ONE_DIRECTION): Define.
2487         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2488         (ONE_DIRECTION): Define.
2489         * sysdeps/s390/s390-64/utf8-utf32-z9.c
2490         (ONE_DIRECTION): Define.
2492 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2494         * sysdeps/s390/Makefile: Delete file.
2495         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2496         * sysdeps/s390/__longjmp.c: Delete file.
2497         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2498         Remove fields __flags and __reserved.
2499         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2500         and add versioning.
2501         * sysdeps/s390/rtld-__longjmp.c: Delete file.
2502         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2503         * sysdeps/s390/rtld-setjmp.S: Likewise.
2504         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2505         * sysdeps/s390/s390-32/__longjmp.c: ... here.
2506         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2507         * sysdeps/s390/s390-32/setjmp.S: ... here.
2508         Add versioning.
2509         (__sigsetjmp): Remove setting __flags field.
2510         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2511         * sysdeps/s390/s390-64/__longjmp.c: ... here.
2512         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2513         * sysdeps/s390/s390-64/setjmp.S: ... here.
2514         Add versioning.
2515         (__sigsetjmp): Remove setting __flags field.
2516         * sysdeps/s390/setjmp.S: Delete file.
2517         * sysdeps/s390/sigjmp.c: Likewise.
2518         * sysdeps/s390/v1-longjmp.c: Likewise.
2519         * sysdeps/s390/v1-setjmp.h: Likewise.
2520         * sysdeps/s390/v1-sigjmp.c: Likewise.
2521         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2522         Remove v1-longjmp_chk.
2523         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2524         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2525         Include debug/longjmp_chk.c and add versioning.
2526         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2527         Include nptl/pt-longjmp.c and add versioning.
2528         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2529         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2530         Include __longjmp.c.
2531         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2532         Move to ...
2533         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2534         (__getcontext): Remove setting __flags field.
2535         Add versioning.
2536         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2537         Don't restore upper high grps.
2538         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2539         Likewise.
2540         (__swapcontext): Remove setting uc_flags field.
2541         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2542         Delete file.
2543         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2544         Include __longjmp.c.
2545         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2546         Move to ...
2547         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2548         (__getcontext): Remove setting __flags field.
2549         Add versioning.
2550         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2551         (__swapcontext): Remove setting uc_flags field.
2552         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2553         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2554         Remove fields uc_high_gprs and __reserved.
2555         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2556         New file with reverted content.
2557         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2558         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2559         Regenerated.
2560         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2561         Regenerated.
2563 2014-07-31  Andreas Schwab  <schwab@suse.de>
2565         * config.h.in (HAVE_IFUNC): Define to 0.
2566         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2567         definedness.
2569 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
2571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2572         memmove-avx-unaligned, memcpy-avx-unaligned and
2573         mempcpy-avx-unaligned.
2574         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2575         Add tests for AVX memcpy functions.
2576         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2577         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2578         memcpy_chk.
2579         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2580         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2581         memmove_chk.
2582         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2583         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2584         mempcpy_chk.
2585         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2586         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2587         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2589 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2591         [BZ #17213]
2592         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2593         powerpc64le.
2595 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2597         [BZ #16839]
2598         * manual/llio.texi: Add section about open file description locks.
2599         * manual/examples/ofdlocks.c: Example of open file description
2600         lock usage.
2601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2602         F_OFD_SETLK, and F_OFD_SETLKW.
2604 2014-07-23  Allan McRae  <allan@archlinux.org>
2606         * po/es.po: Update Spanish translation from translation project.
2608 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
2610         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2612 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2614         [BZ #17078]
2615         * sysdeps/arm/dl-machine.h (elf_machine_rela)
2616         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2617         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2619 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
2621         [BZ #17088]
2622         * math/fesetenv.c (__fesetenv)
2623         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2624         * math/feupdateenv.c (__feupdateenv)
2625         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2627         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2628         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2629         (__ASSUME_SOCKETCALL): Do not define.
2631         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2632         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2633         (__ASSUME_SOCKETCALL): Do not define.
2634         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2635         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2636         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2637         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2638         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2639         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2640         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2641         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2643         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2644         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2645         (__ASSUME_SOCKETCALL): Do not define.
2646         (__ASSUME_IPC64): Define unconditionally.
2647         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2648         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2649         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2650         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2651         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2652         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2653         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2654         Likewise.
2656         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2657         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2658         (__ASSUME_SOCKETCALL): Do not define.
2659         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2660         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2661         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2662         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2663         (__ASSUME_REQUEUE_PI): Define unconditionally.
2664         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2665         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2666         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2667         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2668         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2669         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2671         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2672         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2673         (__ASSUME_SOCKETCALL): Do not define.
2674         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2675         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2676         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2677         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2678         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2679         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2681         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2682         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2683         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2684         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2685         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2686         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2687         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2688         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2689         (__ASSUME_GETCPU_SYSCALL): Likewise.
2691         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2692         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
2693         cases for individual architectures.
2694         * sysdeps/gnu/configure: Regenerated.
2695         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2696         LIBC_SLIBDIR_RTLDDIR.
2697         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2698         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2699         LIBC_SLIBDIR_RTLDDIR.
2700         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2702         LIBC_SLIBDIR_RTLDDIR.
2703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2704         Regenerated.
2705         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2706         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2707         file.
2708         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2709         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2710         file.
2711         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2712         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2713         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2714         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2716         * sysdeps/aarch64/shlib-versions: Move to ...
2717         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2718         * sysdeps/alpha/shlib-versions: Move to ...
2719         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2720         * sysdeps/arm/shlib-versions: Move to ...
2721         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2722         * sysdeps/hppa/shlib-versions: Move all contents except for
2723         libgcc_s entry to ...
2724         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
2725         entry from ...
2726         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
2727         * sysdeps/ia64/shlib-versions: Move to ...
2728         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
2729         entry from ...
2730         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
2731         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2732         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2733         * sysdeps/microblaze/shlib-versions: Move to ...
2734         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2735         * sysdeps/mips/shlib-versions: Move to ...
2736         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
2737         entry from ...
2738         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
2739         * sysdeps/tile/shlib-versions: Move to ...
2740         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2741         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2742         from ...
2743         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
2744         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2745         entry from ...
2746         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
2748 2014-07-17  Will Newton  <will.newton@linaro.org>
2750         * sysdeps/arm/bits/atomic.h
2751         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2752         (__arch_compare_and_exchange_bool_16_int): Likewise.
2753         (__arch_compare_and_exchange_bool_64_int): Likewise.
2755         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2756         into an #else block.
2758 2014-07-16  Roland McGrath  <roland@hack.frob.com>
2760         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2761         just Linux configurations.  Test empirically that the compiler sets
2762         __ARM_EABI__, rather than using the tuple to decide.
2763         * sysdeps/arm/preconfigure: Regenerated.
2764         * sysdeps/unix/sysv/linux/arm/configure: File removed.
2765         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2766         contents appended ...
2767         * sysdeps/arm/configure.ac: ... here.
2768         * sysdeps/arm/configure: Regenerated.
2770 2014-07-15  Roland McGrath  <roland@hack.frob.com>
2772         * nptl/pthread_kill.c: New file.
2773         * nptl/pthread_sigmask.c: New file.
2774         * nptl/pthread_sigqueue.c: New file.
2776         * sysdeps/nptl/lowlevellock.h: New file.
2777         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2778         * sysdeps/nptl/lowlevellock-futex.h: New file.
2780         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2781         Remove dead declarations.
2783 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
2785         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2786         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2787         config-cflags-avx2.
2788         * sysdeps/x86_64/configure.ac: Likewise.
2789         * sysdeps/i386/configure: Regenerated.
2790         * sysdeps/x86_64/configure: Likewise.
2791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2792         memset-avx2 only if config-cflags-avx2 is yes.
2793         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2794         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2795         defined.
2796         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2797         only if HAVE_AVX2_SUPPORT is defined.
2798         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2800 2014-07-14  Alan Modra  <amodra@gmail.com>
2802         [BZ #17153]
2803         * elf/elf.h (DT_PPC64_NUM): Correct value.
2804         * NEWS: Add to fixed bug list.
2806 2014-07-13  Jim Meyering  <meyering@fb.com>
2808         [BZ 17150]
2809         regex: don't deref NULL upon heap allocation failure
2810         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2811         failure in one more place.
2812         To trigger the segfault, configure grep -with-included-regex,
2813         build it, and run these commands:
2814         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2816 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2818         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2820 2014-07-11  Richard Henderson  <rth@redhat.com>
2822         * sysdeps/aarch64/libm-test-ulps: Update.
2824 2014-07-10  Florian Weimer  <fweimer@redhat.com>
2826         [BZ #17135]
2827         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2828         * nptl/allocatestack.c (__nptl_setxid_error): New function.
2829         (__nptl_setxid): Initialize error member.  Call
2830         __nptl_setxid_error.
2831         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2832         * nptl/descr.h (struct xid_command): Add error member.
2833         * nptl/tst-setuid3.c: New file.
2834         * nptl/Makefile (tests): Add it.
2836 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2838         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2839         New define.
2840         (__lll_trylock): Use __lll_base_trylock.
2841         (__lll_cond_trylock): Likewise.
2843 2014-07-10  Roland McGrath  <roland@hack.frob.com>
2845         * nptl/pthread_create.c (start_thread): Use atomic_or and
2846         lll_futex_wake directly rather than lll_robust_dead.
2847         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2848         (lll_robust_dead): Macro removed.
2849         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2850         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2851         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2852         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2853         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2854         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2855         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2856         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2857         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2858         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2859         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2860         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2861         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2862         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2863         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2865         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2866         Use atomic_compare_and_exchange_val_acq directly rather than
2867         lll_robust_trylock.
2868         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2869         (__lll_robust_trylock, lll_robust_trylock): Removed.
2870         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2871         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2872         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2873         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2874         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2875         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2876         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2877         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2878         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2879         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2880         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2881         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2882         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2883         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2885 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2887         * manual/locale.texi (Locale Names): New section documenting
2888         locale name syntax.  Adjust menu and node chaining accordingly.
2889         (Choosing Locale): Reference Locale Names, Locale Categories.
2890         Mention setting LC_ALL=C.  Reflect that name syntax is now
2891         documented.
2892         (Locale Categories): New section title.  Reference Locale Names.
2893         LC_ALL is an environment variable, but not a category.
2894         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2895         description, now in Locale Name.  Reference that section.  Locale
2896         name syntax is now documented.
2898 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2900         [BZ #17137]
2901         * locale/findlocale.c (name_present, valid_locale_name): New
2902         functions.
2903         (_nl_find_locale): Use the loc_name variable to store name
2904         candidates.  Call name_present and valid_locale_name to check and
2905         validate locale names.  Return an error if the locale is invalid.
2907 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2909         * locale/setlocale.c (setlocale): Use strdup for allocating
2910         composite name copy.
2912 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2914         Sync up with gnulib.
2915         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2916         [!_LIBC && ENABLE_NLS]: Include gettext.h.
2917         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2918         and _GL_ARG_NONNULL.
2919         [USE_UNLOCKED_IO]: Include unlocked-io.h.
2920         [!_LIBC]: Include code for Windows and Cygwin.
2921         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2922         Include prototype for int strerror_r.
2923         [!_LIBC] (is_open): New function.
2924         (flush_stdout): New function.
2925         (print_errno_message): Use it.
2926         (error): Likewise.
2927         (error_at_line): Likewise.
2928         (error_tail) Add function attribute macros.  Use
2929         __builtin_expect.
2931         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2933         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2935         * io/ftw.c: Include sys/param.h unconditionally.
2937         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2939         [BZ #17125]
2940         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2941         libc_freeres_ptr.
2942         (freecache): New function to free CACHE on exit.
2944         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2945         initialization.
2947 2014-07-09  David S. Miller  <davem@davemloft.net>
2949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2951         * sysdeps/sparc/nptl/internaltypes.h: Delete.
2952         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2953         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2954         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2955         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2956         * sysdeps/sparc/nptl/sem_init.c: Likewise.
2957         * sysdeps/sparc/nptl/sem_post.c: Likewise.
2958         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2959         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2960         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2961         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2962         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2963         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2965 2014-07-09  Andreas Schwab  <schwab@suse.de>
2967         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2968         output.
2969         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2970         (do_test): Likewise.
2972         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2974 2014-07-09  Will Newton  <will.newton@linaro.org>
2976         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2977         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2978         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2979         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2980         * sysdeps/hppa/start.S (_start): Likewise.
2982 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2984         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2986         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2987         defined.
2989 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2991         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2992         after checking that it is non-NULL.
2994         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2996 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2998         * sysdeps/powerpc/memmove.c: Remove file.
2999         * sysdeps/powerpc/powerpc32/power4/memcopy.h
3000         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3001         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3002         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3003         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3004         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3005         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3006         string memmove instead of removed powerpc one.
3008         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3009         [weak_alias]: Fix compiler warning due trailing data.
3010         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3011         [weak_alias]: Likewise.
3012         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3013         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3016         (__libc_ifunc_impl_list): Add memmove functions.
3018 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3020         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3021         Remove code.
3022         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3023         Likewise
3024         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3025         Likewise
3026         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3027         Likewise
3028         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3029         Likewise
3030         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3031         Likewise
3032         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3033         Likewise
3034         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3035         Likewise
3036         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3037         Likewise
3038         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3039         Likewise
3040         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3041         Likewise
3042         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3043         Likewise
3044         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3045         Likewise
3046         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3047         Likewise
3048         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3049         Likewise
3050         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3051         Likewise
3052         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3053         Likewise
3055 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3057         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3058         to avoid alignment traps in non-cacheable memory.
3059         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3062         multiarch objects.
3063         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3064         file: multiarch power7 memmove.
3065         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3066         multiarch default memmove.
3067         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3068         multiarch memove for powerpc32/power4.
3070         * string/bcopy.c: Use full path to include memmove.c.
3071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3072         multiarch objects.
3073         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3074         bcopy for powerpc64.
3075         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3076         bcopy for powerpc64.
3077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3078         and memmove implementations.
3079         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3080         optimized multiarch memmove for POWER7/powerpc64.
3081         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3082         default multiarch memmove for powerpc64.
3083         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3084         multiarch for powerpc64.
3085         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3086         for POWER7/powerpc64.
3087         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3088         memmove for POWER7/powerpc64.
3090         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3091         glibc default one.
3093         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3094         __ELF_NATIVE_CLASS equal to 64.
3096 2014-07-07  Roland McGrath  <roland@hack.frob.com>
3098         * sysdeps/nptl/lowlevellock.h: File removed.
3100         * NEWS: NPTL is no longer an add-on!
3101         * nptl/internaltypes.h: Moved ...
3102         * sysdeps/nptl/internaltypes.h: ... here.
3103         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3104         * sysdeps/nptl/fork.c: Likewise.
3105         * sysdeps/nptl/gai_misc.h: Likewise.
3106         * sysdeps/nptl/librt-cancellation.c: Likewise.
3107         * sysdeps/nptl/jmp-unwind.c: Likewise.
3108         * sysdeps/nptl/setxid.h: Likewise.
3109         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3110         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3111         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3112         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3113         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3114         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3115         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3116         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3117         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3118         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3119         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3120         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3121         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3122         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3123         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3124         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3125         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3126         * nptl/Makeconfig: Moved ...
3127         * sysdeps/nptl/Makeconfig: ... here.
3128         * nptl/configure: File removed.
3129         * nptl/ANNOUNCE: File removed.
3130         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3131         * sysdeps/unix/sysv/linux/configure: Regenerated.
3133         * nptl/Makefile (routines): Add libc_pthread_init,
3134         libc_multiple_threads, register-atfork and unregister-atfork.
3135         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3136         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3137         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3138         pthread-pi-defines.sym, structsem.sym.
3139         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3140         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3141         [$(subdir) = nptl] (tests): Add tst-setgetname.
3142         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3143         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3144         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3145         [!LIBC_SIGACTION]: Remove aliases.
3146         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3147         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3148         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3149         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3150         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3151         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3152         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3153         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3154         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3155         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3156         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3157         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3158         __libc_allocate_rtsig_private.
3159         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3160         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3161         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3162         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3163         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3164         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3165         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3166         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3167         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3168         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3169         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3170         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3171         * nptl/internaltypes.h: ... here.
3172         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3173         * sysdeps/nptl/jmp-unwind.c: ... here.
3174         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3175         * nptl/libc-lowlevellock.c: ... here.
3176         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3177         * nptl/libc_multiple_threads.c: ... here.
3178         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3179         * nptl/libc_pthread_init.c: ... here.
3180         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3181         * nptl/lowlevelbarrier.sym: ... here.
3182         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3183         * nptl/lowlevelcond.sym: ... here.
3184         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3185         * nptl/lowlevellock.c: ... here.
3186         * nptl/lowlevellock.h: Moved ...
3187         * sysdeps/nptl/lowlevellock.h: ... here.
3188         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3189         * nptl/lowlevelrobustlock.c: ... here.
3190         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3191         * nptl/lowlevelrobustlock.sym: ... here.
3192         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3193         * nptl/lowlevelrwlock.sym: ... here.
3194         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3195         * nptl/pt-fork.c: ... here.
3196         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3197         * nptl/pthread-pi-defines.sym: ... here.
3198         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3199         * nptl/pthread_attr_getaffinity.c: ... here.
3200         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3201         * nptl/pthread_attr_setaffinity.c: ... here.
3202         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3203         * nptl/pthread_mutex_cond_lock.c: ... here.
3204         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3205         Update #include.
3206         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3207         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3208         * nptl/pthread_once.c: ... here, replacing old file.
3209         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3210         * nptl/pthread_yield.c: ... here.
3211         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3212         * nptl/register-atfork.c: ... here.
3213         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3214         * nptl/sem_post.c: ... here.
3215         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3216         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3217         * nptl/sem_timedwait.c: ... here.
3218         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3219         * nptl/sem_trywait.c: ... here.
3220         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3221         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3222         * nptl/sem_wait.c: ... here.
3223         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3224         * nptl/structsem.sym: ... here.
3225         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3226         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3227         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3228         * nptl/unregister-atfork.c: ... here.
3229         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3230         * nptl/unwindbuf.sym: ... here.
3231         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3232         * sysdeps/nptl/fork.c: ... here.
3233         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3234         * sysdeps/nptl/fork.h: ... here.
3235         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3236         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3237         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3238         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3239         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3240         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3241         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3242         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3243         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3244         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3245         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3246         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3247         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3248         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3249         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3250         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3251         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3252         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3253         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3254         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3255         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3256         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3257         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3258         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3259         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3260         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3261         * sysdeps/unix/sysv/linux/raise.c: ... here.
3262         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3263         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3264         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3265         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3266         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3267         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3268         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3269         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3270         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3271         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3272         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3273         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3274         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3275         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3276         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3278 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3280         * sysdeps/generic/memcopy.h: Add comment for
3281         MEMCPY_OK_FOR_FWD_MEMMOVE.
3283 2014-07-04  Will Newton  <will.newton@linaro.org>
3285         * string/memchr.c: Merge from gnulib.
3286         [_LIBC]: Remove conditionals.
3287         (__ptr_t): Remove define.
3288         (LONG_MAX_32_BITS): Likewise.
3289         (LONG_MAX): Likewise.
3290         (MEMCHR): Use ANSI prototype and optimize algorithm.
3292         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3294 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3296         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3297         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3299         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3300         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3301         in a bare environment with no <stdlib.h> installed.
3302         * sysdeps/nptl/configure: Regenerated.
3304         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3306         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3307         AC_EGREP_CPP for kernel header checks, so they only succeed if
3308         including <linux/version.h> actually works right.
3309         * sysdeps/unix/sysv/linux/configure: Regenerated.
3311         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3312         value so it's not diagnosed as unused.
3314         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3315         thing) with "ifeq ($(subdir),rt)".
3317 2014-07-03  Richard Henderson  <rth@redhat.com>
3319         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3320         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3321         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3323         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3324         (math_force_eval): New.
3326         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3327         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3329         * sysdeps/alpha/fpu/s_round.c: Remove file.
3330         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3332         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3333         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3334         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3335         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3336         (_dl_start, print_statistics): Likewise.
3337         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3338         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3340         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3341         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3342         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3343         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3344         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3345         (HP_SMALL_TIMING_AVAIL): Define.
3346         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3347         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3348         (HP_SMALL_TIMING_AVAIL): Define.
3349         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3350         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3352         * sysdeps/aarch64/hp-timing.h: New file.
3354         * sysdeps/generic/hp-timing.h: Remove dead comment.
3355         * sysdeps/generic/hp-timing-common.h: New file.
3356         * sysdeps/alpha/hp-timing.h: Include it.
3357         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3358         * sysdeps/i386/i686/hp-timing.h: Likewise.
3359         * sysdeps/ia64/hp-timing.h: Likewise.
3360         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3361         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3362         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3363         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3364         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3365         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3366         (hp_timing_t): New.
3368         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3369         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3370         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3371         * elf/rtld.c (_dl_start_final): Likewise.
3372         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3373         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3374         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3375         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3376         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3377         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3378         (HP_TIMING_DIFF_INIT): Remove.
3379         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3380         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3381         (HP_TIMING_DIFF_INIT): Remove.
3382         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3383         * sysdeps/i386/i686/hp-timing.c: Remove file.
3384         * sysdeps/x86_64/hp-timing.c: Remove file.
3385         * sysdeps/ia64/hp-timing.c: Remove file.
3386         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3387         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3388         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3389         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3391         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3392         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3393         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3394         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3395         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3396         (HP_TIMING_ACCUM): Remove.
3397         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3398         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3399         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3401         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3402         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3403         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3404         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3405         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3406         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3408         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3410         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3412 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
3414         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3416 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3418         Sync up with gettext.
3419         * intl/loadmsgcat.c: Define O_BINARY if not defined.
3420         [_MSC_VER]: Include malloc.h
3421         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3422         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3423         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
3424         TEMP_FAILURE_RETRY.  Cast return of alloca.
3425         [!_LIBC] Call gl_rwlock_init.
3426         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3428 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3430         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3431         before checking its value.
3433 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3435         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3437         * debug/memcpy_chk.c: Don't include pagecopy.h.
3438         * debug/mempcpy_chk.c: Likewise.
3439         * string/memcpy.c: Likewise.
3440         * string/memmove.c: Likewise.
3441         * sysdeps/powerpc/memmove.c: Likewise.
3442         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
3443         definition of PAGE_COPY_FWD_MAYBE here...
3444         * sysdeps/generic/pagecopy.h: ... from here.
3445         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3447 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3448             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3450         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3452         optimizations.
3453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3454         (__libc_ifunc_impl_list): Likewise.
3455         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3456         multiarch strcat for PPC64.
3457         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3458         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3460 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3462         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3464 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3466         * intl/loadmsgcat.c: Remove declaration of
3467         get_sysdep_segment_value.
3468         (get_sysdep_segment_value): Use ISO C style.
3469         (_nl_load_domain): Use ISO C style.  Get rid of redundant
3470         semicolon.  Fix typo and formatting in comment.
3471         (_nl_unload_domain): Use ISO C style.
3473         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3475 2014-07-02  Will Newton  <will.newton@linaro.org>
3477         * malloc/obstack.c: Merge from gnulib master.
3478         [HAVE_CONFIG_H]: Remove conditional code.
3479         [!_LIBC]: Include config.h.
3480         [!ELIDE_CODE]: Don't include inttypes.h, include
3481         stdint.h unconditionally.
3482         (print_and_abort): Mark as _Noreturn.
3483         (_obstack_allocated_p): Mark as __attribute_pure__.
3484         (obstack_free): Rename to __obstack_free.
3485         [!__attribute__]: Remove conditional code.
3486         * malloc/obstack.h: Merge from gnulib master.
3487         [__cplusplus]: Move conditional down.
3488         [!__attribute_pure__]: Define __attribute_pure__ here
3489         if it is not already defined.
3490         (_obstack_memory_used): Mark as __attribute_pure__.
3491         [!__obstack_free]: Define as obstack_free.
3492         [__GNUC__]: Remove check for ancient NeXT gcc.
3494 2014-07-02  Will Newton  <will.newton@linaro.org>
3495             Paul Eggert  <eggert@cs.ucla.edu>
3497         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3499 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3501         * resolv/gethnamaddr.c: Add comment warning that the file is
3502         not maintained.
3504 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
3506         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3507         entries.
3509         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3510         entry for aio_cancel and aio_cancel64.
3511         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3512         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3513         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3514         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3515         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3516         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3517         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3518         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3519         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3520         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3521         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3522         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3523         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3525 2014-07-01  Roland McGrath  <roland@hack.frob.com>
3527         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3528         * nptl/pthread_mutex_lock.c: Likewise.
3529         * nptl/pthread_mutex_timedlock.c: Likewise.
3530         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3532 2014-07-01  Richard henderson  <rth@redhat.com>
3534         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3535         (__isnan, __isnanl): Remove.
3536         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3538         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3540 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3542         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3544 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3546         * resolv/nss_dns/dns-host.c (getanswer_r)
3547         [MULTI_PTRS_ARE_ALIASES]: Remove code.
3549 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
3551         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3552         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3553         undefine.
3554         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3555         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3557 2014-07-01  Roland McGrath <roland@hack.frob.com>
3559         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3560         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3562         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3563         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3565         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3566         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3567         ... here.
3568         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3569         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3571         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3572         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3573         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3574         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3576         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3577         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3578         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3579         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3580         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3581         Moved ...
3582         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3583         ... here.
3584         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3585         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3586         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3587         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3588         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3589         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3590         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3591         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3592         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3593         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3594         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3595         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3596         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3597         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3598         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3599         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3600         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3601         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3604         ... here.
3605         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3606         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3607         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3608         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3609         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3610         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3611         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3612         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3614 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
3616         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3617         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3618         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3619         Add sysdep.
3621 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3625 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3627         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3628         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3630         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3632         * sysdeps/arm/libm-test-ulps: Regenerated.
3634 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3635             Roland McGrath <roland@hack.frob.com>
3637         * test-skeleton.c (signal_handler): Kill the whole process group
3638         before killing the child individually.
3639         (main): Report any failure on `setpgid'.
3641 2014-06-30  Roland McGrath  <roland@hack.frob.com>
3643         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3644         from _TLS_H to _ARM_NPTL_TLS_H.
3645         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3646         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3648 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3650         [BZ #16539]
3651         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3652         (__expm1l): Return argument unchanged when small but not
3653         subnormal.
3655         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3656         include macro name.
3657         (_FP_UNPACK_RAW_1_P): Likewise.
3658         (_FP_PACK_RAW_1): Likewise.
3659         (_FP_PACK_RAW_1_P): Likewise.
3660         (_FP_MUL_MEAT_1_wide): Likewise.
3661         (_FP_MUL_MEAT_DW_1_hard): Likewise.
3662         (_FP_MUL_MEAT_1_hard): Likewise.
3663         (_FP_DIV_MEAT_1_imm): Likewise.
3664         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3665         (_FP_DIV_MEAT_1_udiv): Likewise.
3666         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3667         (_FP_UNPACK_RAW_2): Likewise.
3668         (_FP_UNPACK_RAW_2_P): Likewise.
3669         (_FP_PACK_RAW_2): Likewise.
3670         (_FP_PACK_RAW_2_P): Likewise.
3671         (_FP_MUL_MEAT_DW_2_wide): Likewise.
3672         (_FP_MUL_MEAT_2_wide): Likewise.
3673         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3674         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3675         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3676         (_FP_MUL_MEAT_2_gmp): Likewise.
3677         (_FP_DIV_MEAT_2_udiv): Likewise.
3678         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3679         (_FP_FRAC_SRL_4): Likewise.
3680         (_FP_FRAC_SRST_4): Likewise.
3681         (_FP_FRAC_SRS_4): Likewise.
3682         (_FP_UNPACK_RAW_4): Likewise.
3683         (_FP_UNPACK_RAW_4_P): Likewise.
3684         (_FP_PACK_RAW_4): Likewise.
3685         (_FP_PACK_RAW_4_P): Likewise.
3686         (_FP_MUL_MEAT_DW_4_wide): Likewise.
3687         (_FP_MUL_MEAT_4_wide): Likewise.
3688         (_FP_MUL_MEAT_4_gmp): Likewise.
3689         (umul_ppppmnnn): Likewise.
3690         (_FP_DIV_MEAT_4_udiv): Likewise.
3691         (__FP_FRAC_ADD_4): Likewise.
3692         (__FP_FRAC_SUB_3): Likewise.
3693         (__FP_FRAC_SUB_4): Likewise.
3694         (__FP_FRAC_DEC_3): Likewise.
3695         (__FP_FRAC_DEC_4): Likewise.
3696         (__FP_FRAC_ADDI_4): Likewise.
3697         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3698         (_FP_FRAC_SRL_8): Likewise.
3699         (_FP_FRAC_SRS_8): Likewise.
3701         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3702         include macro name.
3703         (FP_UNPACK_RAW_EP): Likewise.
3704         (FP_PACK_RAW_E): Likewise.
3705         (FP_PACK_RAW_EP): Likewise.
3706         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3707         (_FP_ISSIGNAN): Likewise.
3708         (_FP_ADD_INTERNAL): Likewise.
3709         (_FP_FMA): Likewise.
3710         (_FP_CMP): Likewise.
3711         (_FP_SQRT): Likewise.
3712         (_FP_TO_INT): Likewise.
3713         (_FP_FROM_INT): Likewise.
3714         (FP_EXTEND): Likewise.
3715         (_FP_DIV_MEAT_N_loop): Likewise.
3717 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3719         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3720         throughout.
3722 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
3724         [BZ #17097]
3725         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3726         result with correct sign in case of exponents that produce
3727         overflow except for X very close to 1.
3729 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
3731         mktime: merge #if/#ifdef usage from glibc
3732         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3733         as that works with both Glibc's and Gnulib's style.
3734         See thread starting at Siddhesh Poyarekar's bug report at:
3735         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3737 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3739         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3740         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3741         * sysdeps/tile/tilegx/memmove.c: Remove file.
3743 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3745         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3746         abi-name definition.
3747         * scripts/soversions.awk: Do not handle or generate ABI lines.
3748         * shlib-versions: Remove ABI entries.
3749         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3750         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3752 2014-06-27  Roland McGrath  <roland@hack.frob.com>
3754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3755         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3756         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3757         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3758         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3759         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3761         Moved ...
3762         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3763         ... here.
3764         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3765         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3766         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3767         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3769         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3770         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3771         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3772         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3773         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3774         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3775         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3777         Moved ...
3778         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3779         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3780         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3782         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3783         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3784         Moved ...
3785         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3786         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3787         Moved ...
3788         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3790         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3792         Moved ...
3793         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3795         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3797         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3799         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3801         Moved ...
3802         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3804         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3805         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3806         Moved ...
3807         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3808         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3809         Moved ...
3810         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3811         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3812         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3813         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3814         Moved ...
3815         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3816         ... here.
3817         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3818         Identical file removed.
3819         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3820         Moved ...
3821         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3822         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3823         Identical file removed.
3824         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3825         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3826         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3827         Moved ...
3828         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3829         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3830         Identical file removed.
3831         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3832         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3833         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3834         Identical file removed.
3835         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3836         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3837         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3838         Identical file removed.
3839         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3840         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3841         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3842         Identical file removed.
3843         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3844         Moved ...
3845         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3846         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3847         Identical file removed.
3848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3849         Moved ...
3850         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3851         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3852         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3853         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3854         Identical file removed.
3855         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3856         Moved ...
3857         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3858         ... here.
3859         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3860         Identical file removed.
3861         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3862         Moved ...
3863         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3865         Identical file removed.
3866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3867         Moved ...
3868         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3869         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3870         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3871         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3872         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3873         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3874         Moved ...
3875         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3876         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3877         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3879         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3880         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3881         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3882         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3883         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3885 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
3887         [BZ #17092]
3888         * nscd/nscd.c (monitor_child): Return exit status of child
3889         instead of return value from wait syscall.
3891 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3893         * configure.ac (libc_commonpagesize): Remove variable.
3894         (libc_relro_required): Likewise.
3895         (libc_cv_z_relro): Remove configure test.
3896         * configure: Regenerated.
3897         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3898         variable.
3899         (libc_relro_required): Likewise.
3900         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3901         (libc_relro_required): Likewise.
3902         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3903         (libc_relro_required): Likewise.
3904         * sysdeps/arm/preconfigure: Regenerated.
3905         * sysdeps/ia64/preconfigure: Remove file.
3906         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3907         variable.
3908         (libc_relro_required): Likewise.
3910         [BZ #16561]
3911         [BZ #16562]
3912         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3913         (__ieee754_yn): Set FE_TONEAREST mode internally and then
3914         recompute overflowing results in original rounding mode.
3915         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3916         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3917         recompute overflowing results in original rounding mode.
3918         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3919         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3920         recompute overflowing results in original rounding mode.
3921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3922         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3923         recompute overflowing results in original rounding mode.
3924         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3925         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3926         recompute overflowing results in original rounding mode.
3927         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3928         (libc_feholdsetround_ctx): New macro.
3929         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3930         * sysdeps/i386/fpu/libm-test-ulps: Update.
3931         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3933 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3935         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3936         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3937         corresponding .cpsetup call.
3939 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3941         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3942         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3943         * sysdeps/arm/Makefile [$(subdir) = csu]
3944         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3945         (static-only-routines): Add aeabi_read_tp here.
3946         (shared-only-routines): Add libc-aeabi_read_tp here.
3947         (CFLAGS-libc-start.c): Add -fexceptions here.
3948         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3949         (sysdep_routines, static-only-routines, shared-only-routines):
3950         Don't add to these here.
3951         (CFLAGS-libc-start.c): Likewise.
3953         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3954         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3955         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3956         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3957         * sysdeps/arm/Makefile [$(subdir) = rt]
3958         (librt-sysdep_routines, librt-shared-only-routines):
3959         Append rt-aeabi_unwind_cpp_pr1 here.
3960         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3961         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3962         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3963         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3964         Append nptl-aeabi_unwind_cpp_pr1 here.
3965         (tests): Filter out tst-cleanupx4 here.
3966         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3967         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3968         Don't do those here.
3970 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3972         * scripts/list-sources.sh: Do not handle ports specially.
3974 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3976         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3977         * sysdeps/arm/feupdateenv.c: Likewise.
3979         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3981 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3983         * manual/texinfo.tex: Update to version 2014-05-05.10 with
3984         trailing whitespace removed.
3985         * scripts/config.guess: Update to version 2014-03-23.
3986         * scripts/config.sub: Update to version 2014-05-01
3987         * scripts/install-sh: Update to version 2013-12-25.23.
3988         * scripts/move-if-change: Update from gnulib.
3990 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3992         * debug/memmove_chk.c: Remove pagecopy.h include.
3994 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
3996         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
3997         identical to gnulib mktime.
3999 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
4001         * configure.ac: Do not test for machine being rs6000.  Do not test
4002         for powerpc*-*soft.
4003         * configure: Regenerated.
4005         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4006         test.
4007         * configure: Regenerated.
4008         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4009         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4010         Remove configure test.
4011         * sysdeps/arm/configure: Regenerated.
4012         * sysdeps/nptl/configure.ac: Do not check
4013         libc_cv_asm_cfi_directives.
4014         * sysdeps/nptl/configure: Regenerated.
4015         * sysdeps/x86_64/nptl/configure.ac: Remove file.
4016         * sysdeps/x86_64/nptl/configure: Remove generated file.
4017         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4018         unconditional.
4019         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4021 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4023         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4024         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4025         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4026         it is defined.
4028         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4029         instead of whether it is defined.
4030         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4031         * sysdeps/hppa/dl-machine.h: Likewise.
4032         * sysdeps/ia64/dl-machine.h: Likewise.
4033         * sysdeps/m68k/dl-machine.h: Likewise.
4034         * sysdeps/microblaze/dl-machine.h: Likewise.
4035         * sysdeps/mips/dl-machine.: Likewise.
4036         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4037         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4038         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4039         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4040         * sysdeps/sh/dl-machine.h: Likewise.
4041         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4042         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4043         * sysdeps/tile/dl-machine.h: Likewise.
4044         * sysdeps/x86_64/dl-machine.h: Likewise.
4046         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4047         code.
4048         (verify_persistent_db): Likewise.
4050 2014-06-26  Roland McGrath  <roland@hack.frob.com>
4052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4053         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4055         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4056         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4057         Moved ...
4058         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4059         ... here.
4060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4061         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4063         Identical file removed.
4064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4065         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4067         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4069         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4071         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4073         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4075         Moved ...
4076         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4078         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4080         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4082         Moved ...
4083         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4085         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4087         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4089         Identical file removed.
4090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4091         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4093         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4095         Moved ...
4096         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4097         ... here.
4098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4099         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4101         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4103         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4105         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4107         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4109         Moved ...
4110         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4112         Moved ...
4113         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4115         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4117         Moved ...
4118         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4120         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4122         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4123         folded into ...
4124         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4125         * sysdeps/unix/sysv/linux/s390/Versions
4126         (libpthread: GLIBC_2.19): New version set.
4127         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4128         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4129         (librt: GLIBC_2.3.3): New version set.
4130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4131         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4132         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4133         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4134         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4135         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4136         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4137         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4138         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4139         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4140         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4141         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4142         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4143         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4144         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4145         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4146         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4147         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4148         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4149         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4150         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4151         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4152         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4153         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4154         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4155         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4156         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4157         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4158         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4159         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4160         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4161         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4162         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4163         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4164         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4165         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4166         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4167         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4168         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4169         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4170         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4171         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4172         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4173         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4174         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4176         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4177         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4178         (__libc_vfork): Define the function under this name.
4179         [!NOT_IN_libc] (__vfork): Make this an alias.
4180         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4182         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4183         (__libc_vfork): Define the function under this name.
4184         [!NOT_IN_libc] (__vfork): Make this an alias.
4185         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4186         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4187         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4188         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4189         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4190         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4192         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4193         code that was previously under [RESET_PID].
4194         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4195         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4198         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4199         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4200         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4201         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4202         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4203         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4204         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4205         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4206         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4207         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4208         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4209         Moved ...
4210         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4211         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4212         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4213         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4214         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4215         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4216         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4217         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4218         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4219         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4220         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4221         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4222         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4223         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4224         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4225         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4226         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4227         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4228         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4229         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4230         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4231         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4232         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4233         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4234         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4235         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4236         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4237         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4238         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4240 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4242         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4243         that was previously under [RESET_PID].
4244         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4246 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4248         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4249         not undefine and redefine.
4250         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4251         [O_CLOEXEC]: Make code unconditional.
4252         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4253         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4254         <kernel-features.h>.
4255         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4256         conditional variable definition.
4257         (shm_open) [O_CLOEXEC]: Make code unconditional.
4258         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4259         code.
4261         * configure.ac (USE_REGPARMS): Don't define here.
4262         * configure: Regenerated.
4263         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4264         * sysdeps/i386/configure: Regenerated.
4266         * nptl/createthread.c: Don't include kernel-features.h.
4267         * nptl/pthread_cancel.c: Likewise.
4268         * nptl/pthread_condattr_setclock.c: Likewise.
4269         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4270         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4271         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4272         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4273         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4274         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4275         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4278         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4279         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4280         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4281         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4282         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4283         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4284         * nscd/gai.c: Likewise.
4285         * nss/nss_db/db-open.c: Likewise.
4286         * sysdeps/generic/ldsodefs.h: Likewise.
4287         * sysdeps/sh/nptl/tls.h: Likewise.
4288         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4289         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4290         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4291         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4292         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4293         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4294         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4295         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4296         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4297         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4298         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4299         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4300         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4301         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4302         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4303         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4304         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4305         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4306         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4307         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4308         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4309         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4310         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4311         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4313         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4314         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4315         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4316         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4317         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4318         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4319         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4320         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4321         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4322         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4323         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4324         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4325         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4326         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4327         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4328         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4329         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4330         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4331         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4332         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4333         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4334         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4335         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4336         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4337         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4338         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4339         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4340         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4341         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4342         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4343         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4344         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4345         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4368         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4369         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4370         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4371         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4372         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4373         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4374         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4375         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4376         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4377         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4378         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4379         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4380         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4381         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4382         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4383         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4384         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4385         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4386         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4387         * sysdeps/unix/sysv/linux/system.c: Likewise.
4388         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4389         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4390         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4391         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4392         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4393         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4394         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4396         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4397         * configure: Regenerated.
4398         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4400         * configure.ac (base_machine): Do not set specially for particular
4401         machines here.
4402         * configure: Regenerated.
4403         * sysdeps/powerpc/preconfigure: Move machine and base_machine
4404         settings from configure.ac.
4405         * sysdeps/i386/preconfigure: New file.
4406         * sysdeps/s390/preconfigure: Likewise.
4407         * sysdeps/sh/preconfigure: Likewise.
4408         * sysdeps/sparc/preconfigure: Likewise.
4410 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4412         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4413         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4414         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4415         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4416         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4417         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4418         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4419         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4420         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4421         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4422         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4423         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4424         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4425         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4426         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4427         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4428         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4429         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4430         * sysdeps/sparc/sparc64/Makefile: ... appended here.
4432         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4433         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4434         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4435         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4436         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4437         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4438         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4439         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4440         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4441         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4442         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4443         * sysdeps/sparc/sparc32/sem_post.c: ... here.
4444         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4445         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4446         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4447         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4448         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4449         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4450         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4451         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4452         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4453         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4454         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4455         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4456         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4457         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4458         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4459         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4460         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4461         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4462         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4463         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4464         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4465         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4466         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4467         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4468         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4469         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4472         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4474         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4476         Moved ...
4477         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4478         ... here.
4479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4480         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4482         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4484         Moved ...
4485         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4487         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4489         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4491         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4493         Moved ...
4494         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4496         Moved ...
4497         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4499         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4501         Moved ...
4502         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4504         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4506         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4508         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4510         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4512         Moved ...
4513         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4514         ... here.
4515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4516         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4518         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4520         Moved ...
4521         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4523         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4525         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4527         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4529         Moved ...
4530         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4532         Moved ...
4533         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4535         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4537         Moved ...
4538         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4540         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4542         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4544 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4546         * timezone/checktab.awk: Update from tzcode 2014e.
4547         * timezone/private.h: Likewise.
4548         * timezone/tzfile.h: Likewise.
4549         * timezone/zdump.c: Likewise.
4550         * timezone/zic.c: Likewise.
4552         * sysdeps/unix/sysv/linux/kernel-features.h
4553         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4554         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4555         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4556         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4557         Remove conditional code.
4559 2014-06-25  Will Newton  <will.newton@linaro.org>
4561         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4562         (_dl_arm_cap_flags): Add HWCAP2 values.
4563         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4564         (_DL_HWCAP_COUNT): Increase to 37.
4565         (_DL_HWCAP_LAST): New define.
4566         (_DL_HWCAP2_LAST): New define.
4567         (_dl_procinfo): Add support for printing
4568         AT_HWCAP2 entries.
4569         (_dl_string_hwcap): Use _dl_hwcap_string.
4571 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4575 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4577         * README: Do not mention ports directory.
4579         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4580         Remove macro.
4581         * sysdeps/unix/sysv/linux/futimes.c: Do not include
4582         <kernel-features.h>.
4583         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4584         conditional variable definition.
4585         (__futimes): Update comment.
4586         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4587         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4589         [BZ #16560]
4590         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4591         arguments close to 0.
4592         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4593         Likewise.
4594         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4595         Likewise.
4596         * math/auto-libm-test-in: Add more tests of exp10.
4597         * math/auto-libm-test-out: Regenerated.
4598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4600         * sysdeps/unix/sysv/linux/kernel-features.h
4601         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4602         * sysdeps/unix/sysv/linux/readv.c: Do not include
4603         <kernel-features.h>.
4604         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4605         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4606         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4607         unconditional.
4608         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4609         conditional code.
4610         * sysdeps/unix/sysv/linux/writev.c: Do not include
4611         <kernel-features.h>.
4612         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4613         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4614         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4615         unconditional.
4616         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4617         conditional code.
4619 2014-06-25  Will Newton  <will.newton@linaro.org>
4621         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4622         comment changes throughout the file.  Remove checks
4623         for HAVE_*_H definitions that are not required.
4624         (__gen_tempname): Call abort if an unknown kind value is
4625         passed.
4627 2014-06-25  Andreas Schwab  <schwab@suse.de>
4629         [BZ #17086]
4630         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4631         scalbln, scalblnf, scalblnl in libc.
4633 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4635         [BZ #17086]
4636         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4637         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4638         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4640 2014-06-24  Roland McGrath  <roland@hack.frob.com>
4642         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4643         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4644         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4645         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4646         Update #include.
4647         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4648         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4649         Update #include.
4650         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4651         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4652         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4653         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4654         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4655         * sysdeps/x86/bits/pthreadtypes.h: ... here.
4656         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4657         * sysdeps/x86/bits/semaphore.h: ... here.
4658         * sysdeps/x86/nptl/elide.h: Moved ...
4659         * sysdeps/x86/elide.h: ... here.
4660         * sysdeps/x86_64/nptl/Implies: File removed.
4661         * sysdeps/i386/nptl/Implies: File removed.
4663 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
4665         [BZ #16539]
4666         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4667         return the argument for normal arguments with exponent below -64.
4668         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4669         Likewise.
4670         * math/auto-libm-test-in: Add another test of expm1.
4671         * math/auto-libm-test-out: Regenerated.
4673         [BZ #16287]
4674         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4675         calling __erfcl for arguments at least 16.
4676         * math/auto-libm-test-in: Add more tests of erf.
4677         * math/auto-libm-test-out: Regenerated.
4679         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4680         individual architectures.
4681         * sysdeps/unix/sysv/linux/configure: Regenerated.
4682         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4683         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4684         * sysdeps/unix/sysv/linux/powerpc/configure.ac
4685         (ldd_rewrite_script): Define variable.
4686         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4688         file.
4689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4690         generated file.
4691         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4692         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4693         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4694         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4695         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4696         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4697         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4698         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4700 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4702         [BZ #17084]
4703         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4704         Rename member __data.d to __data.__elision_data.
4706 2014-06-24  Wilco  <wdijkstr@arm.com>
4708         * NEWS: Add 16918 to fixed bug list.
4710 2014-06-24  Wilco  <wdijkstr@arm.com>
4712         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4714 2014-06-24  Wilco  <wdijkstr@arm.com>
4716         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4717         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4718         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4719         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4720         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4721         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4722         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4723         Use _FPU_MASK_RM.
4725 2014-06-24  Wilco  <wdijkstr@arm.com>
4727         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4729 2014-06-24  Wilco  <wdijkstr@arm.com>
4731         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4732         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4733         * sysdeps/arm/fesetround.c (fesetround): Remove space.
4734         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4736 2014-06-24  Wilco  <wdijkstr@arm.com>
4738         [BZ #16918]
4739         * sysdeps/arm/feupdateenv.c (feupdateenv):
4740         Rewrite to reduce FPSCR accesses and fix return value.
4742 2014-06-24  Wilco  <wdijkstr@arm.com>
4744         * sysdeps/arm/fclrexcpt.c (feclearexcept):
4745         Optimize to avoid unnecessary FPSCR writes.
4746         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4747         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4748         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4749         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4751 2014-06-24  Wilco  <wdijkstr@arm.com>
4753         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4754         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4755         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4756         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4757         Call libc_fetestexcept_vfp.
4758         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4759         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4760         __SOFTFP__ ifdef so that they can be built for softfp.
4762 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4764         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4765         argument type signed char.
4767         * Makerules (check-abi): Dump diff of symlist if the test
4768         fails.
4770 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4772         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4773         using abort.
4775         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4776         Remove unused variable ST.
4778 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4780         [BZ #16354]
4781         [BZ #17061]
4782         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4783         small arguments before calling __expm1.
4784         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4785         small arguments before calling __expm1f.
4786         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4787         small arguments before calling __expm1l.
4788         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4789         Likewise.
4790         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4791         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
4792         spurious underflow for some cosh tests.
4793         * math/auto-libm-test-out: Regenerated.
4794         * sysdeps/i386/fpu/libm-test-ulps: Update.
4796         [BZ #17050]
4797         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4798         (__ieee754_y1): Set errno if return value overflows.
4799         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4800         (__ieee754_y1f): Set errno if return value overflows.
4801         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4802         (__ieee754_y1l): Set errno if return value overflows.
4803         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4804         (__ieee754_y1l): Set errno if return value overflows.
4805         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4806         * math/auto-libm-test-out: Regenerated.
4808         * math/gen-auto-libm-tests.c: Document use of
4809         ignore-zero-inf-sign.
4810         (input_flag_type): Add value flag_ignore_zero_inf_sign.
4811         (input_flags): Add ignore-zero-inf-sign.
4812         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4813         * math/gen-libm-test.pl (generate_testfile): Handle
4814         ignore-zero-inf-sign.
4815         * math/auto-libm-test-in: Mark some cpow tests with
4816         ignore-zero-inf-sign and some with xfail-rounding.
4817         * math/auto-libm-test-out: Regenerated.
4818         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4819         * sysdeps/i386/fpu/libm-test-ulps: Update.
4820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4822         [BZ #16315]
4823         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4824         overflowing or underflowing operations take place with sign of
4825         result.
4826         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4827         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4828         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4829         (__ieee754_pow): Recompute overflowing and underflowing results in
4830         original rounding mode.
4831         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4832         (__powl_helper): Allow negative argument X and scale negated value
4833         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
4834         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4835         overflowing or underflowing operations take place with sign of
4836         result.
4837         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4838         Include <math.h>.
4839         * math/auto-libm-test-in: Add more tests of pow.
4840         * math/auto-libm-test-out: Regenerated.
4841         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4842         (pow_tonearest_test_data): Remove.
4843         (pow_test_tonearest): Likewise.
4844         (pow_towardzero_test_data): Likewise.
4845         (pow_test_towardzero): Likewise.
4846         (pow_downward_test_data): Likewise.
4847         (pow_test_downward): Likewise.
4848         (pow_upward_test_data): Likewise.
4849         (pow_test_upward): Likewise.
4850         (main): Don't call removed functions.
4851         * sysdeps/i386/fpu/libm-test-ulps: Update.
4852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4854 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4857         Moved ...
4858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4860         Moved ...
4861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4863         Moved ...
4864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4866         Moved ...
4867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4869         File removed.
4870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4871         File removed.
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4873         File removed.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4875         File removed.
4876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4877         File removed.
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4879         File removed.
4880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4881         File removed.
4882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4883         File removed.
4884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4885         File removed.
4886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4887         File removed.
4888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4889         File removed.
4890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4891         File removed.
4892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4893         Moved ...
4894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4896         Moved ...
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4898         ... here.
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4900         Moved ...
4901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4903         Moved ...
4904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4906         Moved ...
4907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4909         Moved ...
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4912         Moved ...
4913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4915         Moved ...
4916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4918         Moved ...
4919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4922         ... here.
4923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4924         Moved ...
4925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4927         Moved ...
4928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4929         ... here.
4930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4931         Moved ...
4932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4933         ... here.
4934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4935         Moved ...
4936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4937         ... here.
4938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4939         Moved ...
4940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4942         Moved ...
4943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4947         Moved ...
4948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4949         ... here.
4950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4951         Moved ...
4952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4953         ... here.
4954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4955         Moved ...
4956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4958         Moved ...
4959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4961         Moved ...
4962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4964         Moved ...
4965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4967         Moved ...
4968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4969         ... here.
4970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4971         Moved ...
4972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4974         Moved ...
4975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4977         Moved ...
4978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4980         Moved ...
4981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4985         Moved ...
4986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4988         Moved ...
4989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4991         Moved ...
4992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4993         ... here.
4994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4995         Moved ...
4996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4997         ... here.
4998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4999         Moved ...
5000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5001         ... here.
5002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5003         Moved ...
5004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5006         Moved ...
5007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5009         Moved ...
5010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5012         Moved ...
5013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5014         ... here.
5015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5016         Moved ...
5017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5018         ... here.
5019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5020         Moved ...
5021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5022         ... here.
5023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5024         Moved ...
5025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5027         Moved ...
5028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5030 2014-06-23  Will Newton  <will.newton@linaro.org>
5031             Wilco  <wdijkstr@arm.com>
5033         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5034         implementation.  Include get-rounding-mode.h.
5035         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5036         [!libc_feholdsetround_noex_ctx]: Define
5037         libc_feholdsetround_noex_ctx.
5038         [!libc_feholdsetround_noexf_ctx]: Define
5039         libc_feholdsetround_noexf_ctx.
5040         [!libc_feholdsetround_noexl_ctx]: Define
5041         libc_feholdsetround_noexl_ctx.
5042         (libc_feholdsetround_ctx): New function.
5043         (libc_feresetround_ctx): New function.
5044         (libc_feholdsetround_noex_ctx): New function.
5045         (libc_feresetround_noex_ctx): New function.
5047 2014-06-23  Roland McGrath  <roland@hack.frob.com>
5049         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5050         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5051         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5052         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5053         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5054         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5056         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5057         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5058         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5059         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5060         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5061         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5062         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5063         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5064         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5065         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5066         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5067         Moved ...
5068         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5069         ... here.
5070         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5071         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5072         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5073         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5074         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5075         Moved ...
5076         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5077         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5078         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5079         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5080         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5081         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5082         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5083         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5084         Moved ...
5085         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5086         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5087         Moved ...
5088         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5090         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5092         Moved ...
5093         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5095         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5096         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5097         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5098         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5099         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5100         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5101         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5102         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5103         Moved ...
5104         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5105         ... here.
5106         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5107         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5108         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5109         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5110         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5111         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5112         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5113         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5114         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5115         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5116         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5117         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5118         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5119         Moved ...
5120         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5122         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5123         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5124         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5125         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5126         Moved ...
5127         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5128         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5129         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5130         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5131         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5133         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5134         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5135         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5136         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5137         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5138         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5139         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5140         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5141         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5142         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5143         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5144         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5145         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5146         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5147         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5148         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5149         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5150         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5151         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5152         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5153         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5154         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5155         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5156         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5157         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5158         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5159         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5160         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5162 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5164         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5165         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5166         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5167         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5168         (IPV6_PMTUDISC_INTERFACE): Likewise.
5169         (IPV6_PMTUDISC_OMIT): Likewise.
5171 2014-06-23  Andreas Schwab  <schwab@suse.de>
5173         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5174         Remove unused errout label.
5176 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5178         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5179         macro: hardware supports Vector Crypto instructions.
5181 2014-06-23  Will Newton  <will.newton@linaro.org>
5183         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5184         rather than __builtin_expect.
5186         * elf/dl-lookup.c (undefined_msg): Remove variable.
5187         (_dl_lookup_symbol_x): Replace undefined_msg with string
5188         literal.
5190         * elf/dl-lookup.c (do_lookup_unique): New function.
5191         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5192         to a separate function.
5194 2014-06-23  Andreas Schwab  <schwab@suse.de>
5196         [BZ #17079]
5197         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5198         before reading the next line.
5200 2014-06-23  Will Newton  <will.newton@linaro.org>
5202         * test-skeleton.c (signal_handler): Use printf and %m
5203         rather than perror.  Use printf rather than fprintf to
5204         stderr.  Use puts rather than fputs to stderr.
5205         (main): Likewise.
5207 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5209         * nscd/nscd.c (thread_info_t): Remove typedef.
5210         (thread_info): Remove variable.
5212 2014-06-21  Allan McRae  <allan@archlinux.org>
5214         * NEWS: Mention CVE-2014-4043.
5216 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5218         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5219         * nptl/smp.h: ... here.
5221         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5223         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5224         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5225         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5226         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5228         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5229         * nptl/stack-aliasing.h: New file.
5230         * sysdeps/i386/i686/stack-aliasing.h: New file.
5231         * sysdeps/i386/i686/nptl/Makefile: File removed.
5232         * sysdeps/x86_64/stack-aliasing.h: New file.
5233         * sysdeps/x86_64/nptl/Makefile
5234         (CFLAGS-pthread_create.c): Variable removed.
5236         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5237         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5238         old file.
5239         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5240         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5241         old file.
5243 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5245         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5246         (__ASSUME_SIGFRAME_V2): Remove macro.
5247         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5248         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5249         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5250         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5251         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5252         Declare as function.  Remove conditional macro definitions.
5253         (__default_rt_sa_restorer): Likewise.
5254         (__default_sa_restorer_v1): Remove declaration.
5255         (__default_sa_restorer_v2): Likewise.
5256         (__default_rt_sa_restorer_v1): Likewise.
5257         (__default_rt_sa_restorer_v2): Likewise.
5258         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5259         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5260         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5262 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5264         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5265         (libpthread-routines): Add sysdep.
5266         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5267         * sysdeps/unix/sysv/linux/sparc/Versions
5268         (libpthread: GLIBC_2.3.3): New version set.
5269         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5270         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5271         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5272         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5273         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5274         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5275         Moved ...
5276         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5277         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5278         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5279         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5280         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5281         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5282         * sysdeps/sparc/nptl/sem_init.c: ... here.
5283         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5284         * sysdeps/sparc/nptl/sem_post.c: ... here.
5285         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5286         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5287         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5288         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5289         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5290         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5291         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5292         (libpthread-routines): Add cpu_relax.
5293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5294         File removed.
5295         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5296         (librt: GLIBC_2.3.3): New version set.
5297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5298         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5299         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5300         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5303         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5305         Moved ...
5306         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5308         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5310         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5311         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5312         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5314         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5316         Moved ...
5317         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5318         Update #include.
5319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5320         Moved ...
5321         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5322         Update #include.
5323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5324         Moved ...
5325         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5326         Update #include.
5327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5328         Moved ...
5329         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5330         Update #include.
5331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5332         Moved ...
5333         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5334         Update #include.
5335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5336         Moved ...
5337         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5338         Update #include.
5339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5340         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5344         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5346         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5348         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5350         Moved ...
5351         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5353         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5355         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5357 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5359         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5360         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5361         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5362         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5363         * nscd/nscd.c: Likewise.
5364         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5365         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5366         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5367         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5369         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5370         <kernel-features.h>.
5371         (init_mq_netlink): Remove conditional have_sock_cloexec
5372         definitions.  Remove code conditional on have_sock_cloexec < 0.
5373         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5374         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5375         * sysdeps/unix/sysv/linux/opensock.c: Do not include
5376         <kernel-features.h>.
5377         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5378         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5380 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5382         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5383         Add tests for memset_chk and memset.
5385         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5386         with AVX2_Usable.
5388 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5390         [BZ #16046]
5391         * elf/tst-dl-iter-static.c: New file.
5392         * elf/Makefile (tests-static): Add tst-dl-iter-static.
5394         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5395         error.
5397 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5399         * sysdeps/unix/sysv/linux/kernel-features.h
5400         (__ASSUME_F_GETOWN_EX): Remove macro.
5401         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5402         <kernel-features.h>.
5403         (miss_F_GETOWN_EX): Remove variable or macro.
5404         (do_fcntl): Do not check miss_F_GETOWN_EX.
5405         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5407         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5408         Remove macro.
5409         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5410         [!__ASSUME_AT_RANDOM]: Remove conditional code.
5411         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5413         * sysdeps/unix/sysv/linux/kernel-features.h
5414         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5415         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5416         [ADJ_OFFSET_SS_READ]: Make code unconditional.
5417         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5419 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5421         [BZ #17075]
5422         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5423         Fix calculation of the symbol's value.
5424         * sysdeps/arm/tst-armtlsdescloc.c: New file.
5425         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5426         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5427         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5428         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5429         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5430         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5431         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5432         (modules-names): Add `tst-armtlsdescmod',
5433         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5434         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5435         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5436         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5437         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5438         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5439         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5440         ($(objpfx)tst-armtlsdescloc): New dependency.
5441         ($(objpfx)tst-armtlsdescextnow): Likewise.
5442         ($(objpfx)tst-armtlsdescextlazy): Likewise.
5443         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5444         TLS scheme support.
5445         * sysdeps/arm/configure: Regenerate.
5447 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5449         * include/fcntl.h (__atfct_seterrno): Remove prototype.
5450         (__atfct_seterrno_2): Likewise.
5451         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5452         <kernel-features.h>.
5453         (__ASSUME_ATFCTS): Do not undefine and redefine.
5454         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5455         (__have_atfcts): Remove conditional definition.
5456         (__fxstatat([__NR_fstatat64]: Make code unconditional.
5457         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5458         unreachable if [__ASSUME_ATFCTS].
5459         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5460         not undefine and redefine.
5461         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5462         <kernel-features.h>.
5463         (faccessat) [__NR_faccessat]: Make code unconditional.
5464         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5465         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5466         <kernel-features.h>.
5467         (fchmodat) [__NR_fchmodat]: Make code unconditional.
5468         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5469         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5470         <kernel-features.h>.
5471         (fchownat) [__NR_fchownat]: Make code unconditional.
5472         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5473         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5474         <kernel-features.h>.
5475         (futimesat) [__NR_futimesat]: Make code unconditional.
5476         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5477         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5478         <kernel-features.h>.
5479         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5480         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5481         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5482         <kernel-features.h>.
5483         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5484         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5485         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5486         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5487         <kernel-features.h>.
5488         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5489         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5490         * sysdeps/unix/sysv/linux/linkat.c: Do not include
5491         <kernel-features.h>.
5492         (linkat) [__NR_linkat]: Make code unconditional.
5493         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5494         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5495         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5496         <kernel-features.h>.
5497         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5498         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5499         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5500         <kernel-features.h>.
5501         (mkdirat) [__NR_mkdirat]: Make code unconditional.
5502         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5503         * sysdeps/unix/sysv/linux/openat.c: Do not include
5504         <kernel-features.h>.
5505         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5506         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5507         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5508         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5509         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5510         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5511         <kernel-features.h>.
5512         (readlinkat) [__NR_readlinkat]: Make code unconditional.
5513         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
5514         result of INLINE_SYSCALL directly, not via int variable.
5515         * sysdeps/unix/sysv/linux/renameat.c: Do not include
5516         <kernel-features.h>.
5517         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5518         (renameat) [__NR_renameat]: Make code unconditional.
5519         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5520         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5521         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5522         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5523         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5524         (__ASSUME_ATFCTS): Do not undefine and redefine.
5525         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5526         <kernel-features.h>.
5527         (symlinkat) [__NR_symlinkat]: Make code unconditional.
5528         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5529         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5530         <kernel-features.h>.
5531         (unlinkat) [__NR_unlinkat]: Make code unconditional.
5532         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5533         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5534         (__ASSUME_ATFCTS): Do not undefine and redefine.
5535         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5536         <kernel-features.h>.
5537         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5538         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5539         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5540         <kernel-features.h>.
5541         (__xmknodat) [__NR_mknodat]: Make code unconditional.
5542         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5544 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5546         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5548 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
5550         [BZ #17069]
5551         * posix/regcomp.c (parse_reg_exp): Deallocate partially
5552         constructed tree before returning error.
5553         * posix/bug-regexp36.c: Expand test case.
5555 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5557         [BZ #6803]
5558         * math/libm-test.inc (scalbln_test_date):
5559         Add errno expectations.
5560         * math/w_scalblnf.c: New File.
5561         Add wrapper which checks for setting errno to ERANGE.
5562         Add weak_alias for corresponding scalbln function.
5563         * math/w_scalbln.c: Likewise.
5564         * math/w_scalblnl.c: Likewise.
5565         * math/Makefile (libm-calls): Add w_scalbln.
5566         * sysdeps/ieee754/flt-32/s_scalblnf.c:
5567         Remove weak_alias for corresponding scalbln function.
5568         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5569         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5570         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5571         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5572         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5573         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5574         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5575         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5576         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5577         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5578         Remove long_double_symbol for scalblnl function in libm, libc.
5579         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5580         Add wrapper which checks for setting errno to ERANGE.
5581         Add long_double_symbol for scalblnl function in libm, libc.
5582         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5583         Remove long_double_symbol for scalblnl in libm.
5584         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5585         Add wrapper which checks for setting errno to ERANGE.
5586         Add long_double_symbol for scalblnl function in libm.
5587         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5588         Do not use wrapper because of own implementation.
5590 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
5592         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5593         3 bytes for __pad1 for x32.
5594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5596 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
5597             H.J. Lu  <hongjiu.lu@intel.com>
5599         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5600         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5601         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5602         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5603         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5605 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
5607         [BZ #17069]
5608         * posix/regcomp.c (parse_expression): Deallocate partially
5609         constructed tree before returning error.
5610         * posix/Makefile.c (tests): Add bug-regex36.
5611         (generated): Add bug-regex36.mtrace.
5612         (tests-special): Add $(objpfx)bug-regex36-mem.out
5613         (bug-regex36-ENV): New variable.
5614         ($(objpfx)bug-regex36-mem.out): New rule.
5615         * posix/bug-regex36.c: New file.
5617 2014-06-19  Will Newton  <will.newton@linaro.org>
5619         * malloc/malloc.c (systrim): If extra is zero then return
5620         early.
5622 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5624         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5626 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
5628         * sysdeps/aarch64/strchr.S: New file.
5630 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5632         [BZ #17022]
5633         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5634         from arguments -2 or below.
5635         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5636         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5638 2014-06-18  Andreas Schwab  <schwab@suse.de>
5640         [BZ #17062]
5641         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5642         of a bracket expr not to run off the end of the string.
5643         * posix/Makefile (tests): Add tst-fnmatch3.
5644         * posix/tst-fnmatch3.c: New file.
5646 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5648         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5649         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5650         [$(cross-compiling) = no]: Likewise.
5651         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5652         [$(cross-compiling) = no]: Likewise.
5654 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5656         [BZ #17031]
5657         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5658         double, adjusted for any remainder from the high double.
5659         * math/libm-test.inc (nearbyint): Add tests.
5660         (rint): Likewise.
5662 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5664         * nptl/sysdeps/powerpc/Makefile: Moved ...
5665         * sysdeps/powerpc/nptl/Makefile: ... here.
5666         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5667         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5668         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5669         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5670         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5671         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5672         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5673         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5674         * nptl/sysdeps/powerpc/tls.h: Moved ...
5675         * sysdeps/powerpc/nptl/tls.h: ... here.
5677 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
5679         [BZ #16681]
5680         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5681         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5682         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5683         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5684         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5685         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5686         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5687         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5688         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5690 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
5692         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5694 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
5696         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5697         defined operator.
5699         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5700         $TIMEOUTFACTOR.
5702 2014-06-16  Florian Weimer  <fweimer@redhat.com>
5704         [BZ #17058]
5705         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5706         non-executed part of the test.
5708 2014-06-16  Andreas Schwab  <schwab@suse.de>
5710         * string/bits/string2.h (strdup, strndup): Update feature guard.
5712 2014-06-14  David S. Miller  <davem@davemloft.net>
5714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5716 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5718         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5719         that was previously under [RESET_PID].
5720         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5722         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5723         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5724         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5725         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5726         (__libc_vfork): New strong alias.
5727         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5729 2014-06-14 Andi Kleen  <ak@linux.intel.com>
5731         * sysdeps/generic/elide.h: New file.
5733 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5735         * Makefile (installed-headers): Adjust path of pthread.h header.
5737 2014-06-13  Roland McGrath  <roland@hack.frob.com>
5739         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5740         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5741         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5742         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5744         * nptl/sysdeps/s390/Makefile: Moved ...
5745         * sysdeps/s390/nptl/Makefile: ... here.
5746         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5747         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5748         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5749         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5750         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5751         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5752         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5753         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5754         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5755         * sysdeps/s390/nptl/pthreaddef.h: ... here.
5756         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5757         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5758         * nptl/sysdeps/s390/tls.h: Moved ...
5759         * sysdeps/s390/nptl/tls.h: ... here.
5761         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5762         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5764 2014-06-13  David S. Miller  <davem@davemloft.net>
5766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5769         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5773         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5774         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5775         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5776         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5777         Remove RESET_PID cpp guards.
5778         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5779         Remove RESET_PID cpp guards.
5780         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5782 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
5784         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5785         __sp to uintptr_t.
5787 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5789         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5790         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5791         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5792         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5793         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5794         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5795         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5796         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5797         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5798         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5799         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5800         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5801         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5802         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5803         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5804         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5805         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5806         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5807         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5808         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5810         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5811         (pthread_rwlock_rdlock): Add elision.
5812         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5813         (pthread_rwlock_wrlock): Add elision.
5814         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5815         (pthread_rwlock_trywrlock): Add elision.
5816         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5817         (pthread_rwlock_tryrdlock): Add elision.
5818         * nptl/pthread_rwlock_unlock.c: Include elide.h.
5819         (pthread_rwlock_tryrdlock): Add elision unlock.
5820         * nptl/sysdeps/pthread/pthread.h:
5821         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5822         (PTHREAD_RWLOCK_INITIALIZER,
5823         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5824         Handle new elision field.
5825         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5826         * sysdeps/arm/nptl/bits/pthreadtypes.h
5827         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5828         * sysdeps/sh/nptl/bits/pthreadtypes.h
5829         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5830         * sysdeps/tile/nptl/bits/pthreadtypes.h
5831         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5832         * sysdeps/a/nptl/bits/pthreadtypes.h
5833         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5834         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5835         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5836         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5837         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5838         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5839         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5840         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5841         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5842         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5843         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5844         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5845         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5846         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5847         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5848         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5849         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5850         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5851         (elision_init): Set try_xbegin to zero when no RTM.
5852         * sysdeps/x86/nptl/bits/pthreadtypes.h
5853         (pthread_rwlock_t): Change __pad1 to __rwelision.
5854         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5856 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5858         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5859         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5860         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5861         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5863 2014-06-13  Meador Inge  <meadori@codesourcery.com>
5865         [BZ #16996]
5866         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5867         that the cached result has been set before returning it.
5869 2014-06-12  Roland McGrath  <roland@hack.frob.com>
5871         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5872         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5873         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5874         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5875         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5876         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5878         * nptl/sysdeps/sparc/Makefile: Moved ...
5879         * sysdeps/sparc/nptl/Makefile: ... here.
5880         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5881         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5882         * nptl/sysdeps/sparc/tls.h: Moved ...
5883         * sysdeps/sparc/nptl/tls.h: ... here.
5884         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5885         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5886         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5887         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5888         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5889         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5890         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5891         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5892         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5893         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5894         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5895         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5896         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5897         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5898         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5899         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5900         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5901         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5902         Update #include.
5903         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5904         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5905         Update #include.
5906         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5907         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5908         Update #include.
5909         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5911         Update #include.
5913         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5915         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5916         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5918         * sysdeps/pthread/posix-timer.h: Include <list.h>.
5919         (struct list_links): Type removed.
5920         (struct thread_node, struct timer_node): Replace struct list_links
5921         with struct list_head.
5922         (list_unlink_ip): Likewise.
5923         * sysdeps/pthread/timer_routines.c
5924         (timer_free_list, thread_free_list, thread_active_list): Likewise.
5925         (list_append, list_insbefore): Likewise.
5926         (list_init): Function removed.
5927         (thread_init, init_module): Use INIT_LIST_HEAD instead.
5928         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5929         * sysdeps/pthread/Makefile: ... here, new file.
5931         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5932         * sysdeps/nptl/Implies: ... here.
5933         * sysdeps/unix/sysv/linux/Implies: Add nptl.
5934         * nptl/sysdeps/pthread/list.h: Moved ...
5935         * include/list.h: ... here.
5936         * nptl/sysdeps/pthread/createthread.c: Moved ...
5937         * nptl/createthread.c: ... here.
5938         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5939         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5940         * nptl/pt-longjmp.c: ... here.
5941         * nptl/sysdeps/pthread/Makefile: Moved ...
5942         * sysdeps/nptl/Makefile: ... here.
5943         * nptl/sysdeps/pthread/Subdirs: Moved ...
5944         * sysdeps/nptl/Subdirs: ... here.
5945         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5946         * sysdeps/nptl/aio_misc.h: ... here.
5947         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5948         * sysdeps/nptl/bits/libc-lock.h: ... here.
5949         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5950         * sysdeps/nptl/bits/libc-lockP.h: ... here.
5951         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5952         * sysdeps/nptl/bits/stdio-lock.h: ... here.
5953         * nptl/sysdeps/pthread/configure: Moved ...
5954         * sysdeps/nptl/configure: ... here.
5955         * nptl/sysdeps/pthread/configure.ac: Moved ...
5956         * sysdeps/nptl/configure.ac: ... here.
5957         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5958         * sysdeps/nptl/gai_misc.h: ... here.
5959         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5960         * sysdeps/nptl/librt-cancellation.c: ... here.
5961         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5962         * sysdeps/nptl/malloc-machine.h: ... here.
5963         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5964         * sysdeps/nptl/pthread-functions.h: ... here.
5965         * nptl/sysdeps/pthread/pthread.h: Moved ...
5966         * sysdeps/nptl/pthread.h: ... here.
5967         * nptl/sysdeps/pthread/setxid.h: Moved ...
5968         * sysdeps/nptl/setxid.h: ... here.
5969         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5970         * sysdeps/nptl/sigfillset.c: ... here.
5971         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5972         * sysdeps/nptl/tcb-offsets.h: ... here.
5973         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5974         * sysdeps/nptl/tst-mqueue8x.c: ... here.
5975         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5976         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5977         * nptl/sysdeps/pthread/allocalim.h: Moved ...
5978         * sysdeps/pthread/allocalim.h: ... here.
5979         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5980         * sysdeps/pthread/bits/sigthread.h: ... here.
5981         * nptl/sysdeps/pthread/flockfile.c: Moved ...
5982         * sysdeps/pthread/flockfile.c: ... here.
5983         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5984         * sysdeps/pthread/ftrylockfile.c: ... here.
5985         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5986         * sysdeps/pthread/funlockfile.c: ... here.
5987         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5988         * sysdeps/pthread/posix-timer.h: ... here.
5989         * nptl/sysdeps/pthread/timer_create.c: Moved ...
5990         * sysdeps/pthread/timer_create.c: ... here.
5991         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5992         * sysdeps/pthread/timer_delete.c: ... here.
5993         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5994         * sysdeps/pthread/timer_getoverr.c: ... here.
5995         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5996         * sysdeps/pthread/timer_gettime.c: ... here.
5997         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5998         * sysdeps/pthread/timer_routines.c: ... here.
5999         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6000         * sysdeps/pthread/timer_settime.c: ... here.
6001         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6002         * sysdeps/pthread/tst-timer.c: ... here.
6003         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6004         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6006         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6007         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6009         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6010         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6011         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6012         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6013         Update #include target.
6014         * nptl/sysdeps/i386/i686/Makefile: Moved ...
6015         * sysdeps/i386/i686/nptl/Makefile: ... here.
6016         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6017         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6018         Update #include target.
6019         * nptl/sysdeps/i386/i686/tls.h: Moved ...
6020         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
6021         * nptl/sysdeps/i386/Makefile: Moved ...
6022         * sysdeps/i386/nptl/Makefile: ... here.
6023         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6024         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6025         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6026         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6027         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6028         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6029         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6030         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6031         * sysdeps/i386/nptl/pthreaddef.h: ... here.
6032         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6033         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6034         * nptl/sysdeps/i386/tls.h: Moved ...
6035         * sysdeps/i386/nptl/tls.h: ... here.
6037         * sysdeps/sh/Makefile [$(subdir) = csu]
6038         (gen-as-const-headers): Add tcb-offsets.sym.
6039         * nptl/sysdeps/sh/Makefile: File removed.
6040         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6041         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6042         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6043         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6044         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6045         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6046         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6047         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6048         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6049         * sysdeps/sh/nptl/pthreaddef.h: ... here.
6050         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6051         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6052         * nptl/sysdeps/sh/tls.h: Moved ...
6053         * sysdeps/sh/nptl/tls.h: ... here.
6054         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6055         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6056         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6057         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6058         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6059         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6060         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6061         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6062         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6063         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6064         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6065         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6066         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6067         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6068         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6069         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6070         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6071         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6072         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6073         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6074         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6075         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6076         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6077         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6078         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6079         Moved ...
6080         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6081         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6082         Moved ...
6083         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6084         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6085         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6086         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6087         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6088         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6089         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6090         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6091         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6092         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6093         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6094         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6095         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6096         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6097         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6098         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6099         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6100         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6101         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6103 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6105         * posix/spawn_faction_addopen.c: Include string.h.
6107 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6109         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6110         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6111         * nptl/sysdeps/x86_64/Makefile: Moved ...
6112         * sysdeps/x86_64/nptl/Makefile: ... here.
6113         * nptl/sysdeps/x86_64/configure: Moved ...
6114         * sysdeps/x86_64/nptl/configure: ... here.
6115         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6116         * sysdeps/x86_64/nptl/configure.ac: ... here.
6117         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6118         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6119         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6120         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6121         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6122         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6123         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6124         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6125         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6126         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6127         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6128         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6129         * nptl/sysdeps/x86_64/tls.h: Moved ...
6130         * sysdeps/x86_64/nptl/tls.h: ... here.
6131         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6132         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6133         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6134         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6136         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6138 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6142 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6144         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6145         type.
6146         [POSIX] (off_t): Likewise.
6147         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6148         [POSIX] (S_ISBLK): Require macro.
6149         [POSIX] (S_ISCHR): Likewise.
6150         [POSIX] (S_ISDIR): Likewise.
6151         [POSIX] (S_ISFIFO): Likewise.
6152         [POSIX] (S_ISREG): Likewise.
6153         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6154         optional-macro.
6155         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6156         type.
6157         [POSIX] (time_t): Likewise.
6158         [POSIX] (timer_t): Likewise.
6160 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6162         [BZ #17048]
6163         * posix/spawn_int.h (struct __spawn_action): Make the path string
6164         non-const to support deallocation.
6165         * posix/spawn_faction_addopen.c
6166         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6167         * posix/spawn_faction_destroy.c
6168         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6169         path in all spawn_do_open actions.
6170         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6171         posix_spawn_file_actions_addopen.
6173 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6175         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6176         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6177         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6178         conditional code always true.
6179         (__libc_vfork): New alias.
6181 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6183         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6184         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6186         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6188         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6189         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6191         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6192         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6194         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6195         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6197 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6199         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6200         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6201         multiarch strcmp for PPC64.
6202         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6203         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6205         multiarch optimizations.
6206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6207         (__libc_ifunc_impl_list): Likewise.
6209 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6211         * benchtests/scripts/validate_benchout.py: New script.
6212         * benchtests/Makefile (bench-func): Call it.
6213         * benchtests/scripts/benchout.schema.json: New file.
6215 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6217         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6218         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6219         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6220         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6221         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6222         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6223         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6224         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6225         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6226         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6227         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6228         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6229         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6230         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6231         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6232         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6234         Moved ...
6235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6236         ... here.
6237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6238         Moved ...
6239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6241         Moved ...
6242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6243         ... here.
6244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6245         Moved ...
6246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6247         ... here.
6248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6249         Moved ...
6250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6252         Moved ...
6253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6254         ... here.
6255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6256         Moved ...
6257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6258         ... here.
6259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6260         Moved ...
6261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6263         Moved ...
6264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6265         ... here.
6266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6267         Moved ...
6268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6269         ... here.
6270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6271         Moved ...
6272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6273         ... here.
6274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6275         Moved ...
6276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6278         Moved ...
6279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6280         ... here.
6281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6282         Moved ...
6283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6284         ... here.
6285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6286         Moved ...
6287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6288         ... here.
6289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6290         Moved ...
6291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6293         Moved ...
6294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6295         ... here.
6296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6297         Moved ...
6298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6299         ... here.
6300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6301         Moved ...
6302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6304         Moved ...
6305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6306         ... here.
6307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6308         Moved ...
6309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6311         Moved ...
6312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6314         Moved ...
6315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6316         ... here.
6317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6318         Moved ...
6319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6320         ... here.
6321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6322         Moved ...
6323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6324         ... here.
6325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6326         Moved ...
6327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6329         Moved ...
6330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6331         ... here.
6332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6333         Moved ...
6334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6335         ... here.
6336         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6337         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6338         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6339         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6340         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6341         Moved ...
6342         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6343         ... here.
6344         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6345         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6346         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6347         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6348         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6349         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6350         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6351         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6352         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6353         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6354         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6355         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6356         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6357         Moved ...
6358         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6360         Moved ...
6361         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6362         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6363         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6364         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6365         Moved ...
6366         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6368         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6369         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6370         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6371         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6372         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6374 2014-06-10  Wilco  <wdijkstr@arm.com>
6376         * math/test-fenv-return.c: New file.
6377         * math/Makefile: Add new test test-fenv-return.
6379 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
6381         [BZ #17042]
6382         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6383         when x - 1 is zero.
6384         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6385         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6386         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6387         0.0L for an argument of 1.0L.
6388         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6389         Likewise.
6390         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6391         value when x - 1 is zero.
6392         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6393         * sysdeps/i386/fpu/libm-test-ulps: Update.
6394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6396 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
6398         [BZ #15119]
6399         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6401 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6403         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6404         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6406 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6408         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6409         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6411         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6412         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6414         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6415         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6417         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6418         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6420         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6421         if not already defined.
6422         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6423         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6424         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6425         (TLS_INIT_TP): Use it.
6426         (TLS_DEFINE_INIT_TP): New macro.
6427         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6429 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
6431         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6432         constant.
6433         [POSIX] (IXANY): Likewise.
6434         [POSIX] (OLCUC): Likewise.
6435         [POSIX || POSIX2008] (CBAUD): Do not allow.
6436         [POSIX || POSIX2008] (DEFECHO): Likewise.
6437         [POSIX || POSIX2008] (ECHOCTL): Likewise.
6438         [POSIX || POSIX2008] (ECHOKE): Likewise.
6439         [POSIX || POSIX2008] (ECHOPRT): Likewise.
6440         [POSIX || POSIX2008] (EXTA): Likewise.
6441         [POSIX || POSIX2008] (EXTB): Likewise.
6442         [POSIX || POSIX2008] (FLUSHO): Likewise.
6443         [POSIX || POSIX2008] (LOBLK): Likewise.
6444         [POSIX || POSIX2008] (PENDIN): Likewise.
6445         [POSIX || POSIX2008] (SWTCH): Likewise.
6446         [POSIX || POSIX2008] (VDISCARD): Likewise.
6447         [POSIX || POSIX2008] (VDSUSP): Likewise.
6448         [POSIX || POSIX2008] (VLNEXT): Likewise.
6449         [POSIX || POSIX2008] (VREPRINT): Likewise.
6450         [POSIX || POSIX2008] (VSTATUS): Likewise.
6451         [POSIX || POSIX2008] (VWERASE): Likewise.
6452         (B*): Change to B[0123456789]*.
6453         * conform/data/time.h-data [POSIX || UNIX98]
6454         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6455         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6456         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6457         [POSIX] (tm_*): Do not allow.
6459 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
6461         * Makefile (install): Don't set LANGUAGE.
6462         * Makefile.in (install): Likewise.
6463         * assert/Makefile (test-assert-ENV): Remove variable.
6464         (test-assert-perr-ENV): Likewise.
6465         * elf/Makefile (neededtest4-ENV): Likewise.
6466         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6467         [$(cross-compiling) = no]: Don't set LANGUAGE.
6468         * io/ftwtest-sh (LANG): Remove variable.
6469         * libio/Makefile (tst-widetext-ENV): Likewise.
6470         * manual/install.texi (Running make install): Don't refer to
6471         environment settings for make install.
6472         * INSTALL: Regenerated.
6473         * nptl/tst-tls6.sh: Don't set LANG.
6474         * posix/globtest.sh (LANG): Remove variable.
6475         * string/Makefile (tester-ENV): Likewise.
6476         (inl-tester-ENV): Likewise.
6477         (noinl-tester-ENV): Likewise.
6478         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6479         [$(cross-compiling) = no]: Don't set LANGUAGE.
6480         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6481         without explicit environment settings.
6483 2014-06-06  Roland McGrath  <roland@hack.frob.com>
6485         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6486         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6487         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6488         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6490 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
6492         * crypt/crypt-private.h [DOS]: Add some includes taken from the
6493         other files in the crypt directory.
6494         * crypt/crypt.c: Remove duplicate includes.
6495         * crypt/crypt-entry.c: Likewise.
6496         * crypt/crypt_util.c: Likewise.
6498 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
6500         * Makeconfig (run-program-env): New variable.
6501         (run-program-prefix-before-env): Likewise.
6502         (run-program-prefix-after-env): Likewise.
6503         (run-program-prefix): Define in terms of new variables.
6504         (built-program-cmd-before-env): New variable.
6505         (built-program-cmd-after-env): Likewise.
6506         (built-program-cmd): Define in terms of new variables.
6507         (test-program-prefix-before-env): New variable.
6508         (test-program-prefix-after-env): Likewise.
6509         (test-program-prefix): Define in terms of new variables.
6510         (test-program-cmd-before-env): New variable.
6511         (test-program-cmd-after-env): Likewise.
6512         (test-program-cmd): Define in terms of new variables.
6513         * Rules (make-test-out): Use $(run-program-env).
6514         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6515         (help): Do not mention environment variables.  Mention
6516         --timeoutfactor option.
6517         (timeoutfactor): New variable.
6518         (blacklist_exports): Remove function.
6519         (exports): Remove variable.
6520         (command): Do not include ${exports}.
6521         * manual/install.texi (Configuring and compiling): Do not mention
6522         test wrappers preserving environment variables.  Mention that last
6523         assignment to a variable must take precedence.
6524         * INSTALL: Regenerated.
6525         * benchtests/Makefile (run-bench): Use $(run-program-env).
6526         * catgets/Makefile ($(objpfx)test1.cat): Use
6527         $(built-program-cmd-before-env), $(run-program-env) and
6528         $(built-program-cmd-after-env).
6529         ($(objpfx)test2.cat): Do not specify environment variables
6530         explicitly.
6531         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6532         $(run-program-env) and $(built-program-cmd-after-env).
6533         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6534         $(run-program-env) and $(test-program-cmd-after-env).
6535         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6536         explicitly.
6537         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6538         run_program_env and test_program_cmd_after_env arguments.
6539         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6540         * elf/tst-pathopt.sh: Use run_program_env argument.
6541         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6542         $(test-wrapper-env) and $(run-program-env).
6543         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6544         run_program_env arguments.
6545         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6546         * intl/Makefile ($(objpfx)tst-gettext.out): Use
6547         $(test-program-prefix-before-env), $(run-program-env) and
6548         $(test-program-prefix-after-env).
6549         ($(objpfx)tst-gettext2.out): Likewise.
6550         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6551         run_program_env and test_program_prefix_after_env arguments.
6552         * intl/tst-gettext2.sh: Likewise.
6553         * intl/tst-gettext4.sh: Do not set environment variables
6554         explicitly.
6555         * intl/tst-gettext6.sh: Likewise.
6556         * intl/tst-translit.sh: Likewise.
6557         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6558         $(test-program-prefix-before-env), $(run-program-env) and
6559         $(test-program-prefix-after-env).
6560         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6561         run_program_env and test_program_prefix_after_env arguments.
6562         * math/Makefile (run-regen-ulps): Use $(run-program-env).
6563         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6564         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
6565         explicitly with each use of ${test_wrapper_env}.
6566         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6567         $(test-program-prefix-before-env), $(run-program-env) and
6568         $(test-program-prefix-after-env).
6569         * posix/tst-getconf.sh: Do not set environment variables
6570         explicitly.
6571         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6572         run_program_env and test_program_prefix_after_env arguments.
6573         * stdio-common/tst-printf.sh: Do not set environment variables
6574         explicitly.
6575         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6576         $(test-program-prefix-before-env), $(run-program-env) and
6577         $(test-program-prefix-after-env).
6578         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6579         run_program_env and test_program_prefix_after_env arguments.
6580         Split $test calls into $test_pre and $test.
6581         * timezone/Makefile (build-testdata): Use
6582         $(built-program-cmd-before-env), $(run-program-env) and
6583         $(built-program-cmd-after-env).
6585 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6587         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6588         strlen for non SHARED builds.
6590 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6592         * nptl/allocatestack.c (check_list): Inlined function...
6593         (__reclaim_stacks): ... here.
6595 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6597         [BZ #15698]
6598         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6599         memory overrun.
6601 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
6603         * Rules (make-test-out): Include
6604         LOCPATH=$(common-objpfx)localedata in default environment.
6605         * debug/Makefile (tst-chk1-ENV): Remove variable.
6606         (tst-chk2-ENV): Likewise.
6607         (tst-chk3-ENV): Likewise.
6608         (tst-chk4-ENV): Likewise.
6609         (tst-chk5-ENV): Likewise.
6610         (tst-chk6-ENV): Likewise.
6611         (tst-lfschk1-ENV): Likewise.
6612         (tst-lfschk2-ENV): Likewise.
6613         (tst-lfschk3-ENV): Likewise.
6614         (tst-lfschk4-ENV): Likewise.
6615         (tst-lfschk5-ENV): Likewise.
6616         (tst-lfschk6-ENV): Likewise.
6617         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6618         (tst-iconv7-ENV): Likewise.
6619         * intl/Makefile (LOCPATH-ENV): Likewise.
6620         (tst-codeset-ENV): Likewise.
6621         (tst-gettext3-ENV): Likewise.
6622         (tst-gettext5-ENV): Likewise.
6623         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6624         (tst-fopenloc-ENV): Likewise.
6625         (tst-fgetws-ENV): Remove variable.
6626         (tst-ungetwc1-ENV): Likewise.
6627         (tst-ungetwc2-ENV): Likewise.
6628         (bug-ungetwc2-ENV): Likewise.
6629         (tst-swscanf-ENV): Likewise.
6630         (bug-ftell-ENV): Likewise.
6631         (tst-fgetwc-ENV): Likewise.
6632         (tst-fseek-ENV): Likewise.
6633         (tst-ftell-partial-wide-ENV): Likewise.
6634         (tst-ftell-active-handler-ENV): Likewise.
6635         (tst-ftell-append-ENV): Likewise.
6636         * posix/Makefile (tst-fnmatch-ENV): Likewise.
6637         (tst-regexloc-ENV): Likewise.
6638         (bug-regex1-ENV): Likewise.
6639         (tst-regex-ENV): Likewise.
6640         (tst-regex2-ENV): Likewise.
6641         (bug-regex5-ENV): Likewise.
6642         (bug-regex6-ENV): Likewise.
6643         (bug-regex17-ENV): Likewise.
6644         (bug-regex18-ENV): Likewise.
6645         (bug-regex19-ENV): Likewise.
6646         (bug-regex20-ENV): Likewise.
6647         (bug-regex22-ENV): Likewise.
6648         (bug-regex23-ENV): Likewise.
6649         (bug-regex25-ENV): Likewise.
6650         (bug-regex26-ENV): Likewise.
6651         (bug-regex30-ENV): Likewise.
6652         (bug-regex32-ENV): Likewise.
6653         (bug-regex33-ENV): Likewise.
6654         (bug-regex34-ENV): Likewise.
6655         (bug-regex35-ENV): Likewise.
6656         (tst-rxspencer-ENV): Likewise.
6657         (tst-rxspencer-no-utf8-ENV): Likewise.
6658         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6659         (tst-sscanf-ENV): Likewise.
6660         (tst-swprintf-ENV): Likewise.
6661         (tst-swscanf-ENV): Likewise.
6662         (test-vfprintf-ENV): Likewise.
6663         (scanf13-ENV): Likewise.
6664         (bug14-ENV): Likewise.
6665         (tst-grouping-ENV): Likewise.
6666         * stdlib/Makefile (tst-strtod-ENV): Likewise.
6667         (tst-strtod3-ENV): Likewise.
6668         (tst-strtod4-ENV): Likewise.
6669         (tst-strtod5-ENV): Likewise.
6670         (testmb2-ENV): Likewise./
6671         * string/Makefile (tst-strxfrm-ENV): Likewise.
6672         (tst-strxfrm2-ENV): Likewise.
6673         (bug-strcoll1-ENV): Likewise.
6674         (test-strcasecmp-ENV): Likewise.
6675         (test-strncasecmp-ENV): Likewise.
6676         * time/Makefile (tst-strptime-ENV): Likewise.
6677         (tst-ftime_l-ENV): Likewise.
6678         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6679         (tst-mbrtowc-ENV): Likewise.
6680         (tst-wcrtomb-ENV): Likewise.
6681         (tst-mbrtowc2-ENV): Likewise.
6682         (tst-c16c32-1-ENV): Likewise.
6683         (tst-mbsnrtowcs-ENV): Likewise.
6685 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6687         * manual/resource.texi (How to get information about the memory
6688         subsystem?): Fix typo.
6689         Reported by Peon de la Parra Ivan <peon@keba.com>
6691 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
6693         [BZ #16882]
6694         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6695         (pthread_spin_lock): Branch out of spin loop to proper location.
6696         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6697         (pthread_spin_lock): Likewise.
6699         * nptl/tst-spin4.c: New test.
6700         * nptl/Makefile (tests): Add tst-spin4.
6702 2014-06-03  Andreas Schwab  <schwab@suse.de>
6704         [BZ #15946]
6705         * resolv/res_send.c (send_dg): Reload file descriptor after
6706         calling reopen.
6708 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
6710         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6712 2014-06-03  Richard Henderson  <rth@redhat.com>
6714         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6715         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6716         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6717         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
6718         in the SAVE_PID block.
6719         (__libc_vfork): New alias.
6720         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6722         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6723         child in registers, not on the stack.  Remove RESET_PID conditionals.
6724         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6726 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6728         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6730 2014-06-03  Wilco  <wdijkstr@arm.com>
6732         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6733         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6734         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6735         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6736         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6737         Likewise.
6739 2014-06-03  Wilco  <wdijkstr@arm.com>
6741         * sysdeps/aarch64/fpu/math_private.h
6742         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6743         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6744         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6745         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6746         Fix declarations.
6748 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6750         * crypt/crypt-private.h: Include ufc-crypt.h.
6751         (__b64_from_24bit): Declare extern.
6752         * crypt/crypt_util.c(__b64_from_24bit): New function.
6753         (b64t): New static const variable.
6754         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6755         (b64t): Remove variable.
6756         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6757         * crypt/sha256-crypt.c: Include crypt-private.h.
6758         (b64t): Remove variable.
6759         (__sha256_crypt_r): Remove b64_from_24bit and replace
6760         with __b64_from_24bit.
6761         * crypt/sha512-crypt.c: Likewise.
6763 2014-06-02  Roland McGrath  <roland@hack.frob.com>
6765         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6766         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6767         Label the code __libc_vfork rather than __vfork.
6768         [!NOT_IN_libc] (vfork): Define as weak alias.
6769         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6770         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6771         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6773 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6775         * malloc/malloc.c (malloc_info): Fix format specifier for
6776         n_mmaps.
6778 2014-06-02  Wilco  <wdijkstr@arm.com>
6780         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6781         FPCR write.
6783 2014-06-02  Wilco  <wdijkstr@arm.com>
6785         [BZ #17009]
6786         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6787         Rewrite to reduce FPCR/FPSR accesses.
6789 2014-06-01  David S. Miller  <davem@davemloft.net>
6791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6793 2014-05-31  David S. Miller  <davem@davemloft.net>
6795         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6796         to occur in round to nearest mode when |x| >= 2.0
6798 2014-05-30  Richard Henderson  <rth@twiddle.net>
6800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6801         (PSEUDO_RET_NOERRNO): Remove.
6802         (ret): Don't redefine.
6803         (ret_NOERRNO): Define in terms of ret.
6804         (ret_ERRVAL): Likewise.
6806         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6807         use of PSEUDO_RET; perform the error check directly.
6809 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
6811         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6812         with __int128_t.
6814 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6816         * malloc/malloc (malloc_info): Fix formatting.
6818 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6819             Roland McGrath  <roland@hack.frob.com>
6821         * malloc/malloc (malloc_info): Also print mmapped statistics.
6823 2014-05-30  Roland McGrath  <roland@hack.frob.com>
6825         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6826         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6828 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
6830         * malloc/malloc.c (malloc_info): Inline mi_arena.
6832 2014-05-29  Richard Henderson  <rth@twiddle.net>
6834         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6835         Remove comma before expanding ASM_ARGS_##nr.
6836         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6837         Make _x0 a strict output; make _x8 a strict input; adjust expansion
6838         of ASM_ARGS_##nr.
6839         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6840         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6841         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6842         (ASM_ARGS_1): Add leading comma.
6844         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6845         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6846         to __errno_location.
6847         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6848         Remove the expected plt for __errno_location.
6850         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6851         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6852         call to __read_tp.
6854         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6855         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
6856         it and break it down.
6857         (DOCARGS_0, DOCARGS_1): Do nothing.
6858         (DOCARGS_2): Update to store into the new stack frame.
6859         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6860         (UNDOCARGS_1): Update to restore from the new stack frame.
6861         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6862         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6864         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6865         (SINGLE_THREAD_P): New parameter for result regno.
6866         (PSEUDO): Update to match; use cbz instead of beq.
6868         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6869         Use ENTRY to define the _nocancel entry point.  Share the syscall
6870         and syscall error check paths with the cancel path.
6871         (PSEUDO_END): New.
6873         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6874         whitespace; tabs before and after asm mnemonics.
6876 2014-05-29  Eric Wong  <normalperson@yhbt.net>
6878         [BZ #15132]
6879         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6880         Call fstat64 or stat64 internally, depending on arguments passed.
6881         Replace stat buffer argument with file descriptor argument.
6882         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6883         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6884         Pass fd to __internal_statvfs instead of calling fstat64.
6885         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6886         Pass fd to __internal_statvfs64 instead of calling fstat64.
6887         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6888         Pass -1 to __internal_statvfs instead of calling stat64.
6889         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6890         Pass -1 to __internal_statvfs64 instead of calling stat64.
6892 2014-05-28  Roland McGrath  <roland@hack.frob.com>
6894         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6895         that was previously under [RESET_PID].
6896         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6898         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6899         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6901 2014-05-27  Roland McGrath  <roland@hack.frob.com>
6903         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6905         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6906         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6908 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
6910         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6912 2014-05-27  Andreas Schwab  <schwab@suse.de>
6914         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6915         TLS_INIT_TP macro.
6916         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6917         * elf/rtld.c (init_tls, dl_main): Likewise.
6918         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6919         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6920         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6921         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6922         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6923         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6924         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6925         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6926         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6927         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6928         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6929         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6930         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6931         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6932         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6933         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6934         * sysdeps/generic/tls.h: Update description.
6936 2014-05-27  Will Newton  <will.newton@linaro.org>
6938         [BZ #16990]
6939         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6940         and restore r2 rather than just restoring.
6942 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6944         [BZ #16724]
6945         * libio/tst-ftell-append.c: New test case.
6946         * libio/Makefile (tests): Add test case.
6947         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6948         append mode.
6949         * libio/wfileops.c (do_ftell_wide): Likewise.
6951 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6955         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6956         ...
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6959         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6960         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6961         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6962         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6963         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6964         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6966         Moved ...
6967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6969         Moved ...
6970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6971         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6972         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6973         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6974         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6975         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6976         ...
6977         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6978         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6979         Moved ...
6980         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6981         here.
6982         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6983         ...
6984         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6985         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6986         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6988         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6989         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6990         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6991         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6993         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6994         merge into ...
6995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6997         ...
6998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7000         ...
7001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7002         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7003         Moved ...
7004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7005         here.
7006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7007         Moved ...
7008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7010         Moved ...
7011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7014         conditional [RESET_PID].
7015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7016         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7017         removed.
7018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7019         removed.
7021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7022         <tcb-offsets.h>.
7023         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7024         (__libc_vfork): New strong alias.
7025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7026         removed.
7027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7028         Removed.
7030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7031         <tcb-offsets.h>.
7032         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7033         (__libc_vfork): New strong alias.
7034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7035         removed.
7036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7037         removed.
7039 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
7041         * malloc/malloc.c (mi_arena): New function.
7042         (malloc_info): Remove nested function mi_arena. Call non-nosted
7043         function mi_arena.
7045 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7047         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7048         by insrwi.
7049         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7050         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7051         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7052         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7053         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7054         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7055         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7057 2014-05-26  Andreas Schwab  <schwab@suse.de>
7059         [BZ #16984]
7060         * locale/programs/repertoire.c (repertoire_read): Add slash
7061         between I18NPATH element and file name.
7062         * locale/programs/locfile.c (locfile_read): Likewise.
7064 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7066         * nptl/pthread_mutexattr_settype.c
7067         (__pthread_mutexattr_settype):
7068         Disable lock elision for PTHREAD_MUTEX_NORMAL.
7070 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7072         * nptl/tst-mutex5 (do_test):
7073         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7075 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7077         * benchtests/README: Document 'init' directive.
7078         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7079         BENCH_INIT.
7080         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7081         (parse_file): Recognize 'init' directive.
7083 2014-05-26  Kyle McMartin  <kyle@redhat.com>
7085         [BZ #16796]
7086         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7087         alignment of struct pthread.
7089 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7091         [BZ #16878]
7092         * nscd/netgroupcache.c (addgetnetgrentX): Look for
7093         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7094         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7095         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7097 2014-05-25  Richard Henderson  <rth@twiddle.net>
7099         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7100         (SINGLE_THREAD_P_PIC): Remove.
7101         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7102         (SINGLE_THREAD_P_PIC): Remove.
7104         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7105         branch to syscall error ...
7106         (PSEUDO): ... here.
7107         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7108         from __local_syscall_error to .Lsyscall_error.
7109         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7110         (SYSCALL_ERROR): Update label name.
7112         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7113         Do not use DOARGS/UNDOARGS.
7114         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7115         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7116         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7117         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7118         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7120         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7121         block comment.
7123         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7124         define if !NOT_IN_libc.
7125         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7126         define with non-default symbol versions.
7128 2014-05-23  Richard Henderson  <rth@twiddle.net>
7130         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7131         (vfork, __vfork): Define via compat_symbol.
7133         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7134         [!HAVE_IFUNC] (vfork_compat): Remove.
7135         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7137 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7139         [BZ #16978]
7140         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7141         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7142         variable.
7144 2014-05-23  Richard Henderson  <rth@twiddle.net>
7146         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7147         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7148         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7149         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7151         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7152         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7153         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7154         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7155         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7156         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7157         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7158         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7159         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7160         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7161         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7162         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7163         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7164         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7165         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7166         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7167         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7168         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7169         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7170         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7171         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7172         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7173         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7174         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7175         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7176         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7177         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7178         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7179         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7180         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7181         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7182         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7183         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7184         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7185         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7186         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7187         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7188         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7189         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7190         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7191         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7192         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7193         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7194         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7195         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7196         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7197         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7198         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7199         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7200         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7201         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7202         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7203         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7204         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7205         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7206         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7208         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7209         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7210         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7211         before exiting on error.
7212         (__libc_vfork): New strong alias.
7213         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7214         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7216         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7217         that was previously under [RESET_PID].
7218         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7220         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7222 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7224         [BZ #16977]
7225         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7226         value when x - 1 is zero.
7227         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7228         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7229         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7230         0.0L for an argument of 1.0L.
7231         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7232         Likewise.
7233         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7234         value when x - 1 is zero.
7235         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7236         * sysdeps/i386/fpu/libm-test-ulps: Update.
7237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7239 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7241         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7242         alphasort and versionsort.
7244 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7246         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7247         macro.
7248         [copysignf]: Likewise.
7250 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7252         * crypt/md5-crypt.c: Fix formatting.
7254 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7256         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7257         (b64_from_24bit): New function.
7259 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7261         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7262         libc_hidden_builtin_def to ifunc.
7263         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7264         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7266 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7268         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7269         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7271 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7273         * nscd/Depend (linuxthreads): Remove.
7274         (nptl): Add.
7275         * resolv/Depend (linuxthreads): Remove.
7276         * rt/Depend (linuxthreads): Remove.
7278         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7279         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7280         $(common-objpfx)elf/.
7281         (link-libc-before-gnulib): Likewise.
7282         (elfobjdir): Remove variable.
7283         * Makefile (install): Use $(elf-objpfx) instead of
7284         $(common-objpfx)elf/.
7285         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7286         $(elfobjdir)/.
7287         (link-libc-deps): Likewise.
7288         ($(common-objpfx)libc.so): Likewise.
7289         ($(common-objpfx)linkobj/libc.so): Likewise.
7290         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7291         instead of $(common-objpfx)elf/.
7292         (symbolic-link-list): Likewise.
7293         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7294         [$(cross-compiling) = no]: Likewise.
7295         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7296         $(elfobjdir)/.
7297         (static-gnulib-arch): Likewise.
7298         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7299         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7300         $(common-objpfx)elf/.
7302 2014-05-21  Richard Henderson  <rth@redhat.com>
7304         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7305         (SINGLE_THREAD_P): Use the correct width load.  Fold
7306         into the ldr offset.
7308         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7309         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7311 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7313         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7314         (libgcc_s_resume): Use __attribute_used__.
7315         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7316         Likewise.
7318 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7320         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7321         optimization when used with float constants.
7323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7325 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
7327         [BZ #16915]
7328         * locale/nl_langinfo_l.c: Make direct reference to every
7329         _nl_current_CATEGORY symbol.
7330         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7331         (tests-static): Add tst-langinfo-static.
7332         (tests-special): Add tst-langinfo-static.out.
7333         ($(objpfx)tst-langinfo.out): Redirect output.
7334         ($(objpfx)tst-langinfo-static.out): New.
7335         * localedata/tst-langinfo.sh: Send output to stdout.
7336         * localedata/tst-langinfo-static.c: New file.
7338         [BZ #16965]
7339         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7340         when the shift amount is modulo the limb size.
7342 2014-05-20  Richard Henderson  <rth@redhat.com>
7344         [BZ #16967]
7345         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7346         Change type of sa_flags from unsigned int to int.
7348         [BZ #16966]
7349         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7351         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7353 2014-05-20  Will Newton  <will.newton@linaro.org>
7355         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7356         Test the return value of the system call in the nocancel case.
7358 2014-05-20  Will Newton  <will.newton@linaro.org>
7359             Yvan Roux  <yvan.roux@linaro.org>
7361         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7362         #include of asm/ptrace.h.
7363         (PTRACE_GET_THREAD_AREA): Remove #undef.
7364         (PTRACE_GETHBPREGS): Likewise.
7365         (PTRACE_SETHBPREGS): Likewise.
7366         (struct user_regs_struct): New structure.
7367         (struct user_fpsimd_struct): New structure.
7368         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7369         #include of asm/ptrace.h and second #include of sys/user.h.
7370         (PTRACE_GET_THREAD_AREA): Remove #undef.
7371         (PTRACE_GETHBPREGS): Likewise.
7372         (PTRACE_SETHBPREGS): Likewise.
7373         (ELF_NGREG): Use new struct user_regs_struct.
7374         (elf_fpregset_t): Use new struct user_fpsimd_struct.
7376 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7378         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7379         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7381 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
7383         [BZ #16958]
7384         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7385         membar to avoid block loads/stores to overlap previous stores.
7387 2014-05-17  Richard Henderson  <rth@redhat.com>
7389         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7390         Create the __##syscall_name##_nocancel entry point.
7391         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7392         Remove; let the sysdep-cancel.h code create it.
7394 2014-05-17  David S. Miller  <davem@davemloft.net>
7396         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7397         Protect with __USE_GNU.
7398         (TIOCSET_TEMPT): Likewise.
7399         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7400         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7401         these are already provided in bits/ioctl-types.h
7403 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7405         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7406         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7408         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7409         Use wait4 regardless of [__NR_waitpid].
7411 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7413         PR libgcc/60166
7414         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7415         (_FP_NANSIGN_Q): Set the quiet bit.
7417 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
7419         * benchtests/Makefile
7420         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7421         not $(common-objpfx)math/libm.so.
7422         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7423         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7424         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7425         $(common-objpfx)dlfcn/libdl.so.
7426         ($(objpfx)tst-audit8): Depend on $(libm), not
7427         $(common-objpfx)math/libm.so.
7428         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7429         not $(common-objpfx)dlfcn/libdl.so.
7430         * math/Makefile
7431         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7432         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
7433         [$(build-shared) = yes].
7434         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7435         $(common-objpfx)nptl/libpthread.so.
7436         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7437         $(common-objpfx)math/libm.so$(libm.so-version) or
7438         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7439         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7440         $(common-objpfx)dlfcn/libdl.so.
7441         * setjmp/Makefile (link-libm): Remove variable.
7442         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7443         * stdio-common/Makefile (link-libm): Remove variable.
7444         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7445         * stdlib/Makefile (link-libm): Remove variable.
7446         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7447         ($(objpfx)tst-strtod-round): Likewise.
7448         ($(objpfx)tst-tininess): Likewise.
7449         ($(objpfx)tst-strtod-underflow): Likewise.
7450         ($(objpfx)tst-strtod6): Likewise.
7451         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7452         $(libdl), not $(common-objpfx)nptl/libpthread.so and
7453         $(common-objpfx)dlfcn/libdl.so.
7455 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7457         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7458         BSD terminal modes definitions.
7460 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7462         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7463         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7465         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7466         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7467         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7468         Don't do #include_next.
7469         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7470         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7471         Don't do #include_next.
7472         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7473         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7474         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7475         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7477 2014-05-16  Allan McRae  <allan@archlinux.org>
7479         * po/sv.po: Update Swedish translation from translation project.
7481         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7482         in sed expression.
7484 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
7486         [BZ #16917]
7487         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7488         errno if the TIOCGPTN ioctl fails with an error different than
7489         EINVAL.
7490         * login/tst-ptsname.c: New file.
7491         * login/Makefile (tests): Add tst-ptsname.
7493         [BZ #16943]
7494         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7495         and prlimit64.
7497 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7499         [BZ #16849]
7500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7501         herrno to return EAI_AGAIN.
7503 2014-05-14  Roland McGrath  <roland@hack.frob.com>
7505         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7506         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7507         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7508         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7509         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7510         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7511         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7512         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7513         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7514         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7515         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7516         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7517         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7518         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7519         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7520         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7521         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7522         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7523         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7524         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7525         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7526         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7527         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7528         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7529         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7530         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7531         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7532         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7533         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7534         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7536         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7538         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7540         Moved ...
7541         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7543         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7545         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7547         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7549         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7551         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7552         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7553         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7555         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7557         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7559         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7561         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7563         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7565         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7567         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7569         Moved ...
7570         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7572         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7574         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7576         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7578         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7580         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7582         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7584         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7586         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7588         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7590         Moved ...
7591         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7593         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7595         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7596         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7597         (libpthread-sysdep_routines): Add elision-related stuff here instead.
7598         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7599         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7600         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7601         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7602         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7603         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7604         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7605         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7606         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7607         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7608         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7609         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7610         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7611         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7612         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7613         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7614         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7615         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7616         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7617         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7618         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7619         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7620         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7621         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7622         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7623         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7624         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7625         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7627         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7628         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7630         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7631         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7632         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7633         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7634         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7635         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7636         Moved ...
7637         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7638         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7639         Moved ...
7640         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7641         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7642         Moved ...
7643         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7644         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7645         Moved ...
7646         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7647         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7648         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7649         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7650         Moved ...
7651         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7652         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7653         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7654         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7655         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7656         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7657         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7658         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7659         Moved ...
7660         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7661         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7662         Moved ...
7663         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7664         ... here.
7665         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7666         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7667         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7668         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7669         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7670         Moved ...
7671         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7672         ... here.
7673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7674         Moved ...
7675         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7676         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7677         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7678         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7679         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7680         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7681         Moved ...
7682         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7683         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7684         Moved ...
7685         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7686         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7687         Moved ...
7688         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7689         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7690         Moved ...
7691         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7692         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7693         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7694         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7695         Moved ...
7696         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7697         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7698         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7699         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7700         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7701         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7702         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7703         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7704         Moved ...
7705         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7706         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7707         Moved ...
7708         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7709         ... here.
7710         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7711         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7712         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7713         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7714         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7715         Moved ...
7716         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7717         ... here.
7718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7719         Moved ...
7720         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7721         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7722         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7723         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7724         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7725         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7726         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7727         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7728         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7729         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7730         Moved ...
7731         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7732         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7733         Moved ...
7734         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7736         Moved ...
7737         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7738         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7739         Moved ...
7740         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7741         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7742         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7743         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7744         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7745         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7746         Moved ...
7747         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7748         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7749         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7750         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7751         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7752         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7753         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7754         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7755         Moved ...
7756         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7757         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7758         Moved ...
7759         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7760         ... here.
7761         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7762         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7763         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7764         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7765         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7766         Moved ...
7767         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7768         ... here.
7769         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7770         Moved ...
7771         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7772         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7773         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7774         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7775         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7776         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7777         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7778         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7779         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7780         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7781         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7783         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7784         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7786         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7787         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7789         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7790         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7791         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7792         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7793         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7794         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7795         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7796         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7797         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7798         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7799         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7800         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7801         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7802         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7803         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7804         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7805         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7806         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7807         Moved ...
7808         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7809         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7810         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7811         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7812         Moved ...
7813         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7814         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7815         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7816         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7817         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7818         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7819         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7820         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7821         Moved ...
7822         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7824         Moved ...
7825         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7826         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7827         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7828         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7829         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7830         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7831         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7832         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7833         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7834         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7835         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7836         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7837         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7838         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7839         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7840         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7841         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7843         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7844         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7845         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7846         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7847         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7849         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7850         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7851         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7852         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7853         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7854         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7855         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7856         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7857         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7858         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7860         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7863         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7864         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7865         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7866         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7867         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7868         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7869         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7870         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7871         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7872         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7873         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7874         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7875         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7876         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7877         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7878         Update #include.
7879         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7880         Likewise.
7881         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7882         Likewise.
7883         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7884         Likewise.
7885         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7886         Likewise.
7887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7888         Likewise.
7889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7890         Likewise.
7891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7892         Likewise.
7893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7894         Likewise.
7895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7896         Likewise.
7897         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7898         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7900         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7901         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7902         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7903         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7904         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7905         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7906         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7907         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7908         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7909         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7910         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
7911         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
7913         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7914         that was previously under [RESET_PID].
7915         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7916         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7917         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7919         * sysdeps/i386/nptl/Implies: New file.
7920         * sysdeps/x86_64/nptl/Implies: New file.
7921         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7922         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7923         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7924         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7926         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7927         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7928         (__libc_vfork): New strong alias.
7929         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7930         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7932         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7933         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7934         (__libc_vfork): New strong alias.
7935         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7936         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7938         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7939         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7940         (__libc_vfork): New strong alias.
7941         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7942         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7943         * nptl/pt-vfork.c: New file.
7944         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7945         (libpthread: GLIBC_2.20): New version set (empty).
7947 2014-05-14  Will Newton  <will.newton@linaro.org>
7949         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7950         rather than #if.
7952 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7954         [BZ #16564]
7955         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7956         arguments with exponent 65 or above.
7957         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7958         arguments 0x1p113L or above.
7959         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7960         to arguments 0x1p107L or above.
7961         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7962         positive arguments with exponent 65 or above.
7963         * math/auto-libm-test-in: Add more tests of log1p.
7964         * math/auto-libm-test-out: Regenerated.
7966         [BZ #16928]
7967         * math/s_cacos.c (__cacos): Ensure zero real part of result from
7968         non-finite arguments is +0.
7969         * math/s_cacosf.c (__cacosf): Likewise.
7970         * math/s_cacosl.c (__cacosl): Likewise.
7971         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7972         * sysdeps/i386/fpu/libm-test-ulps: Update.
7973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7975         [BZ #16927]
7976         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7977         value.
7978         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7979         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7980         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7981         for explicit high bit of mantissa when testing for argument equal
7982         to 1.
7983         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7984         * sysdeps/i386/fpu/libm-test-ulps: Update.
7985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7987         [BZ #16516]
7988         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7989         (__erf): Scale by 16 instead of 8 in potentially underflowing
7990         case.  Ensure exception if result actually underflows.
7991         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7992         (__erff): Scale by 16 instead of 8 in potentially underflowing
7993         case.  Ensure exception if result actually underflows.
7994         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7995         (efx8): Remove variable.
7996         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7997         case.  Ensure exception if result actually underflows.
7998         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7999         (efx8): Remove variable.
8000         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8001         case.  Ensure exception if result actually underflows.
8002         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8003         (efx8): Remove variable.
8004         (__erfl): Scale by 16 instead of 8 in potentially underflowing
8005         case.  Ensure exception if result actually underflows.
8006         * math/auto-libm-test-in: Add more tests of erf.
8007         * math/auto-libm-test-out: Regenerated.
8009 2014-05-14  Andreas Schwab  <schwab@suse.de>
8011         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8012         Remove code conditionalized on USE___THREAD.
8014         * config.h.in (HAVE_PT_CHOWN): Define as 0.
8015         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8016         not definedness.
8018 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
8020         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8021         Define unconditionally.
8022         (__ASSUME_O_CLOEXEC): Likewise.
8023         (__ASSUME_SOCK_CLOEXEC): Likewise.
8024         (__ASSUME_IN_NONBLOCK): Likewise.
8025         (__ASSUME_PIPE2): Likewise.
8026         (__ASSUME_EVENTFD2): Likewise.
8027         (__ASSUME_SIGNALFD4): Likewise.
8028         (__ASSUME_DUP3): Likewise.
8029         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8030         (__ASSUME_DUP3): Do not define.
8031         (__ASSUME_EVENTFD2): Likewise.
8032         (__ASSUME_IN_NONBLOCK): Likewise.
8033         (__ASSUME_O_CLOEXEC): Likewise.
8034         (__ASSUME_PIPE2): Likewise.
8035         (__ASSUME_SIGNALFD4): Likewise.
8036         (__ASSUME_SOCK_CLOEXEC): Likewise.
8037         (__ASSUME_UTIMES): Undefine.
8038         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8039         (__ASSUME_UTIMES): Do not define.
8040         (__ASSUME_O_CLOEXEC): Likewise.
8041         (__ASSUME_SOCK_CLOEXEC): Likewise.
8042         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8043         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8044         0x020621].
8045         (__ASSUME_PIPE2): Likewise.
8046         (__ASSUME_EVENTFD2): Likewise.
8047         (__ASSUME_SIGNALFD4): Likewise.
8048         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8049         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8050         Do not define.
8051         (__ASSUME_EVENTFD2): Likewise.
8052         (__ASSUME_SIGNALFD4): Likewise.
8053         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8054         (__ASSUME_32BITUIDS): Likewise.
8055         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8056         (__ASSUME_IPC64): Likewise.
8057         (__ASSUME_ST_INO_64_BIT): Likewise.
8058         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8059         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8060         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8061         (__ASSUME_UTIMES): Do not define.
8062         (__ASSUME_PSELECT): Likewise.
8063         (__ASSUME_PPOLL): 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/m68k/kernel-features.h
8072         (__ASSUME_UTIMES): Likewise.
8073         (__ASSUME_O_CLOEXEC): Likewise.
8074         (__ASSUME_SOCK_CLOEXEC): Likewise.
8075         (__ASSUME_IN_NONBLOCK): Likewise.
8076         (__ASSUME_PIPE2): Likewise.
8077         (__ASSUME_EVENTFD2): Likewise.
8078         (__ASSUME_SIGNALFD4): Likewise.
8079         (__ASSUME_DUP3): Likewise.
8080         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8081         (__ASSUME_UTIMES): Likewise.
8082         (__ASSUME_O_CLOEXEC): Likewise.
8083         (__ASSUME_SOCK_CLOEXEC): Likewise.
8084         (__ASSUME_IN_NONBLOCK): Likewise.
8085         (__ASSUME_PIPE2): Likewise.
8086         (__ASSUME_EVENTFD2): Likewise.
8087         (__ASSUME_SIGNALFD4): Likewise.
8088         (__ASSUME_DUP3): Likewise.
8089         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8090         Likewise.
8091         (__ASSUME_UTIMES): Likewise.
8092         (__ASSUME_EVENTFD2): Likewise.
8093         (__ASSUME_SIGNALFD4): Likewise.
8094         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8095         (__ASSUME_O_CLOEXEC): Likewise.
8096         (__ASSUME_SOCK_CLOEXEC): Likewise.
8097         (__ASSUME_IN_NONBLOCK): Likewise.
8098         (__ASSUME_PIPE2): Likewise.
8099         (__ASSUME_EVENTFD2): Likewise.
8100         (__ASSUME_SIGNALFD4): Likewise.
8101         (__ASSUME_DUP3): Likewise.
8102         (__ASSUME_UTIMES): Undefine.
8104         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8105         feclearexcept.  Remove symbol versioning code.
8106         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
8107         symbol versioning code.
8108         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
8109         symbol versioning code.
8110         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8111         feupdateenv.  Remove symbol versioning code.
8112         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8113         fegetexceptflag.  Remove symbol versioning code.
8114         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8115         fesetexceptflag.  Remove symbol versioning code.
8116         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8117         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8118         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8119         (__posix_fadvise64_l32): Remove prototype.
8120         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8121         code.
8123 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8125         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8126         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8127         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8128         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8130 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8132         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8133         current working directory
8135 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8137         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8138         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8139         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8140         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8141         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8142         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8143         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8144         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8145         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8146         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8147         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8148         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8149         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8150         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8151         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8152         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8153         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8154         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8155         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8156         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8157         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8158         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8159         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8160         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8161         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8162         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8163         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8164         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8165         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8166         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8167         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8168         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8169         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8170         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8171         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8172         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8173         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8174         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8175         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8176         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8177         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8178         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8180         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8181         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8183         * sysdeps/unix/sysv/linux/arm/Makefile
8184         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8185         Add rt-aeabi_unwind_cpp_pr1.
8186         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8187         Add nptl-aeabi_unwind_cpp_pr1.
8188         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8189         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8190         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8191         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8192         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8193         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8195         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8196         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8197         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8198         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8200         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8201         Deconditionalize the code that was previously under [RESET_PID].
8202         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8204         * sysdeps/generic/exit-thread.h: New file.
8205         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8206         * include/unistd.h (__exit_thread): Remove declaration.
8207         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8208         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8209         * csu/libc-start.c: Include <exit-thread.h>.
8210         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8211         * nptl/pthread_create.c: Include <exit-thread.h>.
8212         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8213         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8214         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8215         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8216         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8217         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8218         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8219         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8220         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8221         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8222         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8223         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8224         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8225         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8226         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8227         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8228         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8230 2014-05-13  Andreas Schwab  <schwab@suse.de>
8232         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8234 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8236         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8237         (__ASSUME_UTIMES): Do not condition on kernel version.
8238         (__ASSUME_PSELECT): Define unconditionally.
8239         (__ASSUME_PPOLL): Likewise.
8240         (__ASSUME_ATFCTS): Likewise.
8241         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8242         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8243         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8244         (__ASSUME_UTIMENSAT): Define unconditionally.
8245         (__ASSUME_PRIVATE_FUTEX): Likewise.
8246         (__ASSUME_FALLOCATE): Likewise.
8247         (__ASSUME_O_CLOEXEC): Likewise.
8248         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8249         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8250         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8251         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8252         (__ASSUME_IN_NONBLOCK): Likewise.
8253         (__ASSUME_PIPE2): Likewise.
8254         (__ASSUME_EVENTFD2): Likewise.
8255         (__ASSUME_SIGNALFD4): Likewise.
8256         (__ASSUME_DUP3): Likewise.
8257         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8258         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8259         (__ASSUME_AT_RANDOM): Likewise.
8260         (__ASSUME_PREADV): Likewise.
8261         (__ASSUME_PWRITEV): Likewise.
8262         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8263         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8264         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8265         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8266         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8267         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8268         (__ASSUME_O_CLOEXEC): Define unconditionally.
8269         (__ASSUME_PSELECT): Do not undefine conditionally.
8270         (__ASSUME_PPOLL): Likewise.
8271         (__ASSUME_ATFCTS): Likewise.
8272         (__ASSUME_SET_ROBUST_LIST): Likewise.
8273         (__ASSUME_UTIMENSAT): Likewise.
8274         (__ASSUME_FDATASYNC): Define unconditionally.
8275         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8276         (__ASSUME_SIGFRAME_V2): Likewise.
8277         )__ASSUME_EVENTFD2): Likewise.
8278         (__ASSUME_SIGNALFD4): Likewise.
8279         (__ASSUME_PSELECT): Do not undefine conditionally.
8280         (__ASSUME_PPOLL): Likewise.
8281         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8282         (__ASSUME_PSELECT): Define unconditionally.
8283         (__ASSUME_PPOLL): Likewise.
8284         (__ASSUME_O_CLOEXEC): Likewise.
8285         (__ASSUME_SOCK_CLOEXEC): Likewise.
8286         (__ASSUME_IN_NONBLOCK): Likewise.
8287         (__ASSUME_PIPE2): Likewise.
8288         (__ASSUME_EVENTFD2): Likewise.
8289         (__ASSUME_SIGNALFD4): Likewise.
8290         (__ASSUME_DUP3): Likewise.
8291         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8292         (__ASSUME_O_CLOEXEC): Likewise.
8293         (__ASSUME_SOCK_CLOEXEC): Likewise.
8294         (__ASSUME_IN_NONBLOCK): Likewise.
8295         (__ASSUME_PIPE2): Likewise.
8296         (__ASSUME_EVENTFD2): Likewise.
8297         (__ASSUME_SIGNALFD4): Likewise.
8298         (__ASSUME_DUP3): Likewise.
8299         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8300         (__ASSUME_EVENTFD2): Likewise.
8301         (__ASSUME_SIGNALFD4): Likewise.
8302         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8304 2014-05-12  Andreas Schwab  <schwab@suse.de>
8306         [BZ #16932]
8307         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8308         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8309         than maximum RPC packet size.
8310         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8311         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8312         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8313         (_nss_nis_getservbyport_r): Likewise.
8315 2014-05-12  Will Newton  <will.newton@linaro.org>
8317         * malloc/Makefile (tests): Add tst-mallopt.
8318         * malloc/tst-mallopt.c: New file.
8320 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8322         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8323         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8325 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8327         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8328         (tst-tlsmod6.so): Likewise.
8330 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8332         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8334 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
8336         [BZ #16064]
8337         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8338         and <dl-procinfo.h>.
8339         (__fegetenv): Save SSE state in envp->__eip if supported.
8340         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8341         envp->__eip if supported.
8342         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8343         and <dl-procinfo.h>.
8344         (__fesetenv): Always set __eip, __cs_selector, __opcode,
8345         __data_offset and __data_selector in environment to 0.  Set SSE
8346         state if supported.
8347         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8348         test-fenv-sse.
8349         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8350         -mfpmath=sse.
8351         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8353 2014-05-09  Will Newton  <will.newton@linaro.org>
8355         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8356         and libc_relro_required for ARM.
8357         * sysdeps/arm/preconfigure: Regenerate.
8359 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8360             Stefan Liebler  <stli@linux.vnet.ibm.com>
8362         * config.make.in (enable-lock-elision): New Makefile variable.
8363         * configure.ac: Likewise.
8364         * configure: Regenerate.
8365         * sysdeps/s390/configure.ac:
8366         Add check for gcc transactions support.
8367         * sysdeps/s390/configure: Regenerate.
8368         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8369         Build elision files if enabled.
8370         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8371         Add lock elision support for s390.
8372         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8373         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8374         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8375         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8376         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8377         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8378         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8379         Likewise.
8380         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8381         Likewise.
8382         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8383         Likewise.
8384         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8385         Likewise.
8386         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8387         (__lll_timedlock_elision, __lll_lock_elision)
8388         (__lll_unlock_elision, __lll_trylock_elision)
8389         (lll_timedlock_elision, lll_lock_elision)
8390         (lll_unlock_elision, lll_trylock_elision): Add.
8391         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8392         (pthread_mutex_t): Add lock elision support for s390.
8394 2014-05-14  Wilco  <wdijkstr@arm.com>
8396         * sysdeps/arm/fclrexcpt.c: Cleanup.
8397         * sysdeps/arm/fedisblxcpt.c: Cleanup.
8398         * sysdeps/arm/feenablxcpt.c: Cleanup.
8399         * sysdeps/arm/fegetenv.c: Cleanup.
8400         * sysdeps/arm/fegetexcept.c: Cleanup.
8401         * sysdeps/arm/fegetround.c: Cleanup.
8402         * sysdeps/arm/feholdexcpt.c: Cleanup.
8403         * sysdeps/arm/fesetenv.c: Cleanup.
8404         * sysdeps/arm/fesetround.c: Cleanup.
8405         * sysdeps/arm/feupdateenv.c: Cleanup.
8406         * sysdeps/arm/fgetexcptflg.c: Cleanup.
8407         * sysdeps/arm/fraiseexcpt.c: Cleanup.
8408         * sysdeps/arm/fsetexcptflg.c: Cleanup.
8409         * sysdeps/arm/ftestexcept.c: Cleanup.
8410         * sysdeps/arm/get-rounding-mode.h: Cleanup.
8411         * sysdeps/arm/setfpucw.c: Cleanup.
8413 2014-05-09  Will Newton  <will.newton@linaro.org>
8415         * sysdeps/arm/armv7/strcmp.S: New file.
8416         * NEWS: Mention addition of ARMv7 optimized strcmp.
8418 2014-05-08  Roland McGrath  <roland@hack.frob.com>
8420         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8421         look for %.ac rather than %.in.
8423         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8424         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8425         * sysdeps/mach/hurd/configure: Regenerated.
8426         * sysdeps/unix/sysv/linux/configure: Regenerated.
8428         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8430 2014-05-07  Steve Ellcey  <sellcey@mips.com>
8432         [BZ# 16922]
8433         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8434         (LONG_SUB): Ditto.
8435         (PTR_SUB): Ditto.
8437 2014-05-07  Andreas Schwab  <schwab@suse.de>
8439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8440         when skipping over non-matching result from nscd.
8442 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
8444         [BZ #16876]
8445         * nptl/sockperf.c (client): Check socket return value.
8447         [BZ #16877]
8448         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8449         nscd security class.
8451 2014-05-06  Roland McGrath  <roland@hack.frob.com>
8453         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8454         * sysdeps/arm/unwind.h: ... here.
8456 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
8458         [BZ# 16916]
8459         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8460         Define.
8462 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8464         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8465         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8466         multiarch strncpy for PPC64.
8467         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8468         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8470         multiarch optimizations.
8471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8472         (__libc_ifunc_impl_list): Likewise.
8473         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8474         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8475         multiarch stpncpy for PPC64.
8476         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8477         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8479 2014-05-06  Andreas Schwab  <schwab@suse.de>
8481         [BZ #16912]
8482         * gmon/mcount.c (_MCOUNT_DECL): Use
8483         atomic_compare_and_exchange_bool_acq instead of
8484         catomic_compare_and_exchange_bool_acq.
8486 2014-05-05  Roland McGrath  <roland@hack.frob.com>
8488         * elf/Makefile (others, install-bin): Remove pldd.
8489         (pldd-modules): Variable removed.
8490         ($(objpfx)pldd): Target removed.
8491         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8492         (others, install-bin): Append pldd here.
8493         ($(objpfx)pldd): New target.
8495         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8496         to 0, so the first #if test emitted later doesn't see it undefined.
8497         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8498         * sysdeps/gnu/errlist.c: Regenerated.
8500 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8502         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8503         [libc_hidden_builtin_def]: Define to empty value.
8504         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8505         [libc_hidden_builtin_def]: Likewise.
8506         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8507         [libc_hidden_builtin_def]: Likewise.
8508         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8509         [libc_hidden_builtin_def]: Likewise.
8510         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8511         __redirect_memcpy and define ifunc as default hidden symbol.
8512         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8513         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8515 2014-05-04  Adam Conrad  <adconrad@0c3.net>
8517         * locale/iso-4217.def: Reintroduce XDR currency.
8519 2014-05-04  Allan McRae  <allan@archlinux.org>
8521         * po/eo.po: Update Esperanto translation from translation project.
8523 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
8525         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8526         and FEATURE_INDEX_MAX to 1.
8527         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8529 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8531         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8532         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8533         * iconvdata/big5.c (ONE_DIRECTION): Define.
8534         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8535         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8536         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8537         * iconvdata/cp932.c (ONE_DIRECTION): Define.
8538         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8539         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8540         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8541         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8542         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8543         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8544         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8545         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8546         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8547         * iconvdata/gbk.c (ONE_DIRECTION): Define.
8548         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8549         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8550         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8551         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8552         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8553         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8554         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8555         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8556         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8557         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8558         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8559         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8560         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8561         * iconvdata/iso646.c (ONE_DIRECTION): Define.
8562         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8563         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8564         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8565         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8566         * iconvdata/johab.c (ONE_DIRECTION): Define.
8567         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8568         * iconvdata/sjis.c (ONE_DIRECTION): Define.
8569         * iconvdata/t.61.c (ONE_DIRECTION): Define.
8570         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8571         * iconvdata/tscii.c (ONE_DIRECTION): Define.
8572         * iconvdata/uhc.c (ONE_DIRECTION): Define.
8573         * iconvdata/unicode.c (ONE_DIRECTION): Define.
8574         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8575         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8576         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8578 2014-05-01  Roland McGrath  <roland@hack.frob.com>
8580         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8581         (_IO_JUMPS_OFFSET): Define to 0.
8583         * nptl/sysdeps/pthread/bits/libc-lock.h
8584         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8585         (__libc_lock_define_initialized_recursive): Always define using
8586         initializer.  Modern compilers treat uninitialized (implicit zero) and
8587         explicit zero initializers the same (i.e. put the datum in bss).
8589 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8591         * nscd/nscd-client.h: Include <string.h>.
8593 2014-05-01  David S. Miller  <davem@davemloft.net>
8595         [BZ #16885]
8596         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8597         multiple zero bytes exist at the end of a string.
8598         Reported by Aurelien Jarno <aurelien@aurel32.net>
8600         * string/test-strcmp.c (check): Add explicit test for situations where
8601         there are multiple zero bytes after the first.
8603 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8605         [BZ #16890]
8606         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8607         when compiling wprintf.
8608         * stdio-common/tstdiomisc.c (t3): New function.
8609         (main): Call it.
8611 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8613         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8614         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8615         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8616         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8618 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8620         * stdlib/longlong.h: Updated from GCC.
8622 2014-05-01  Will Newton  <will.newton@linaro.org>
8623             Bernard Ogden  <bernie.ogden@linaro.org>
8625         * NEWS: Update fixed bug list.
8627         [BZ #15119]
8628         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8630 2014-04-30  David S. Miller  <davem@davemloft.net>
8632         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8633         (libc_feholdexcept_setround_sparc_ctx): New function.
8634         (libc_fesetenv_sparc_ctx): Likewise.
8635         (libc_feupdateenv_sparc_ctx): Likewise.
8636         (libc_feholdsetround_sparc_ctx): Likewise.
8637         (libc_feholdexcept_setround_ctx): Define.
8638         (libc_feholdexcept_setroundf_ctx): Likewise.
8639         (libc_feholdexcept_setroundl_ctx): Likewise.
8640         (libc_fesetenv_ctx): Likewise.
8641         (libc_fesetenvf_ctx): Likewise.
8642         (libc_fesetenvl_ctx): Likewise.
8643         (libc_feupdateenv_ctx): Likewise.
8644         (libc_feupdateenvf_ctx): Likewise.
8645         (libc_feupdateenvl_ctx): Likewise.
8646         (libc_feresetround_ctx): Likewise.
8647         (libc_feresetroundf_ctx): Likewise.
8648         (libc_feresetroundl_ctx): Likewise.
8649         (libc_feholdsetround_ctx): Likewise.
8650         (libc_feholdsetroundf_ctx): Likewise.
8651         (libc_feholdsetroundl_ctx): Likewise.
8653         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8654         with __USE_GNU instead of XOPEN cpp guards.
8656         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8657         0.
8659         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8660         with XOPEN cpp guards.
8662 2014-04-30  Julian Brown  <julian@codesourcery.com>
8664         [BZ #16888]
8665         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8666         handling.
8668 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
8670         [BZ #9894]
8671         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8672         Change to 2.6.32.
8673         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8674         * sysdeps/unix/sysv/linux/configure: Regenerated.
8675         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8676         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8677         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8678         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8679         * README: Update reference to required Linux kernel version.
8680         * manual/install.texi (Linux): Update reference to required Linux
8681         kernel headers version.
8682         * INSTALL: Regenerated.
8684         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8685         header inclusion.
8686         [POSIX] (limits.h): Likewise.
8687         [POSIX] (math.h): Likewise.
8688         [POSIX] (sys/wait.h): Likewise.
8689         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8690         function.
8691         [POSIX] (stddef.h): Do not allow header inclusion.
8693 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8695         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8697 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
8699         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8700         Return immediately after lll_futex_wake.
8702 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8704         [BZ #16791]
8705         * nscd/nscd-client.h (datahead_init_common): Initialize entire
8706         structure.
8707         (datahead_init_pos): Call datahead_init_common early.
8708         (datahead_init_neg): Likewise.
8710         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8711         datahead_init_neg): New functions.
8712         * nscd/aicache.c (addhstaiX): Use them.
8713         * nscd/grpcache.c (cache_addgr): Likewise.
8714         * nscd/hstcache.c (cache_addhst): Likewise.
8715         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8716         * nscd/netgroupcache.c (do_notfound): Likewise.
8717         (addgetnetgrentX): Likewise.
8718         (addinnetgrX): Likewise.
8719         * nscd/pwdcache.c (cache_addpw): Likewise.
8720         * nscd/servicescache.c (cache_addserv): Likewise.
8722 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8723             Atsushi Onoe  <atsushi@onoe.org>
8725         [BZ #14308]
8726         [BZ #12994]
8727         [BZ #13651]
8728         * resolv/res_query.c (__libc_res_nsearch): Return if at least
8729         one response is valid.
8730         * resolv/res_send.c (send_dg): Check for validity of other
8731         response if the current response is a referral.
8733 2014-04-29  Steve Ellcey  <sellcey@mips.com>
8735         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8737 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
8739         [BZ #16823]
8740         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8741         Always divide by positive zero when computing -Inf result.
8742         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8743         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8745 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8747         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8748         FPSCR if value do not change.
8749         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8750         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8751         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8752         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8753         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8754         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8755         function.
8757 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
8759         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8760         * sysdeps/unix/sysv/linux/hppa: Move directory from
8761         ports/systeps/unix/sysv/linux/hppa.
8762         * README: Update listing for hppa-*-linux-gnu.
8764 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
8766         [BZ #16754]
8767         * manual/stdio.texi (Hook functions): Fix types of stream hook
8768         functions.
8769         [BZ #16854]
8770         * socket/sys/socket.h: Fix typo in comment.
8772 2014-04-28  Wilco  <wdijkstr@arm.com>
8774         * sysdeps/arm/fenv_private.h: New file.
8775         * sysdeps/arm/math_private.h: New file.
8776         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8778 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
8780         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8781         with __int128_t.
8782         (La_x86_64_retval): Likewise.
8784 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
8786         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8787         fpsr if value didn't change.
8788         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8789         to fpcr if value didn't change.
8790         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8791         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8792         fpsr or fpcr if value didn't change.
8793         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8794         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8795         fpcr if value didn't change.
8796         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8797         to fpsr if value didn't change.
8799 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8801         * nptl/tst-sem3.c: Use test-skeleton.c
8802         (main): Rename to do_test.  Use return instead of
8803         exit.
8804         * nptl/tst-sem4.c: Use test-skeleton.c
8805         (main): Rename to do_test.
8807 2014-04-22  David S. Miller  <davem@davemloft.net>
8809         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8810         (struct sigaction): New struct member __glibc_reserved0, change
8811         type of sa_flags to int.
8813 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
8815         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8816         (COUNT_LEADING_ZEROS_0): Define for AArch64.
8818 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8820         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8821         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8823 2014-04-22  Will Newton  <will.newton@linaro.org>
8824             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
8826         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8827         (__longjmp): Add longjmp and longjmp_target SystemTap
8828         probes.
8829         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8830         (__sigsetjmp): Add setjmp SystemTap probe.
8832 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
8834         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8835         match manual order.
8837 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8839         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8841         * sysdeps/powerpc/fpu/fenv_private.h
8842         (libc_feholdexcept_setroundl_ctx): Define to
8843         libc_feholdexcept_setround_ppc_ctx.
8844         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8845         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8846         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8847         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8849 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8851         * sysdeps/aarch64/math-tests.h: New file.
8853 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
8855         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8856         New.
8857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8858         Check and set bit_AVX2_Usable.
8859         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8860         macro.
8861         (bit_AVX2): Likewise.
8862         (index_AVX2_Usable): Likewise.
8863         (CPUID_AVX2): Likewise.
8864         (HAS_AVX2): Likewise.
8866 2014-04-17  Will Newton  <will.newton@linaro.org>
8868         * manual/setjmp.texi (System V contexts): Add note that
8869         calling setcontext on a context created by a call to a
8870         signal handler is undefined.  Update text to note that
8871         setcontext from a signal handler is possible but not
8872         recommended.
8874         [BZ #16629]
8875         * stdlib/tst-setcontext.c: Include signal.h.
8876         (main): Check that the signal stack before and
8877         after swapcontext is the same.
8879         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8880         Re-implement to restore registers in user code and avoid
8881         rt_sigreturn system call.
8883 2014-04-17  Wilco  <wdijkstr@arm.com>
8885         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8886         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8887         * math/test-fenv.c: Skip exception trap tests on targets which only
8888         support non-stop mode.
8890 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8891             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8893         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8894         (libc_feholdsetround_aarch64_ctx)
8895         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8896         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8897         (libc_feresetround_ctx, libc_feresetroundf_ctx)
8898         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8899         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8900         (libc_feresetround_noexl_ctx): Define.
8902 2014-04-16  Richard Henderson  <rth@redhat.com>
8904         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8906         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8907         unwind tables.
8909         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8910         const from the non-libc, non-ldso copy.
8912         * sysdeps/alpha/libm-test-ulps: Regenerate.
8914 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
8915             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8917         * sysdeps/aarch64/fpu/math_private.h: New file.
8919 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8921         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8923 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
8925         [BZ #16275]
8926         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8927         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8928         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8929         Intel MPX bound registers before _dl_profile_fixup.
8930         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8931         registers after _dl_profile_fixup.  Save and restore bound
8932         registers bnd0/bnd1 when calling _dl_call_pltexit.
8933         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8934         (LR_BND_OFFSET): Likewise.
8935         (LRV_BND0_OFFSET): Likewise.
8936         (LRV_BND1_OFFSET): Likewise.
8938 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8940         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8941         to...
8942         * sysdeps/mach/hurd/i386/tls.h: ... here.
8943         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8944         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8945         fields.
8947 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8949         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8951 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8953         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8955 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8957         [BZ #14770]
8958         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8959         * sysdeps/s390/configure: Regenerate.
8961         [BZ #16824]
8962         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8963         Set round-to-nearest internally to reduce error accumulation.
8965 2014-04-16  Alan Modra  <amodra@gmail.com>
8967         [BZ #16740]
8968         [BZ #16619]
8969         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8970         * math/libm-test.inc (frexp_test_data): Add tests.
8971         * NEWS: Update fixed bug list.
8973 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8975         * benchtests/Makefile: Depend on libraries in build directory.
8976         (bench-math): Separate out math tests.
8977         (bench-pthread): Separate out pthread tests.
8978         (bench): Include math and pthread tests.
8980 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
8982         [BZ #16831]
8983         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8984         _dl_debug_initialize.
8986         * configure.ac: Remove SELinux header check.
8987         * configure: Regenerate.
8988         * nscd/selinux.c (perms): Array of const char* to permission names.
8989         (nscd_request_avc_has_perm): Call security_deny_unknown to find
8990         default policy. Call string_to_security_class and string_to_av_perm to
8991         translate strings. Enforce default policy and call avs_has_perm with
8992         results of translated strings.
8994 2014-04-13  David S. Miller  <davem@davemloft.net>
8996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8998 2014-04-12  Allan McRae  <allan@archlinux.org>
9000         [BZ #16838]
9001         * manual/string.texi (Collation Functions): Fix qsort argument
9002         order in example.
9003         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9005 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
9007         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9008         Make the test a no-op if there are no exceptions defined.
9010 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9012         * elf/Makefile (tests): make tst-dlopen-aout conditional on
9013         enable-hardcoded-path-in-tests
9015 2014-04-11  Will Newton  <will.newton@linaro.org>
9017         * benchtests/Makefile (extra-objs): Add json-lib.o.
9018         (bench-func): Tidy up JSON output.
9019         * benchtests/bench-skeleton.c: Include json-lib.h.
9020         (main): Use JSON library functions to do output of
9021         benchmark results.
9022         * benchtests/bench-timing-type.c (main): Output the
9023         timing type simply, leaving formatting to the user.
9024         * benchtests/json-lib.c: New file.
9025         * benchtests/json-lib.h: Likewise.
9027 2014-04-11  Torvald Riegel  <triegel@redhat.com>
9029         [BZ #15215]
9030         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9031         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
9032         memory barriers.  Add comments.
9033         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9034         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9035         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9036         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9037         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9038         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9040 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9042         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9043         * sysdeps/s390/s390-64/configure.ac: ... this ...
9044         * sysdeps/s390/configure.ac: ... to here.
9045         * sysdeps/s390/s390-32/configure: Delete file.
9046         * sysdeps/s390/s390-64/configure: Delete file.
9047         * sysdeps/s390/configure: Regenerate.
9049 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
9051         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9053 2014-04-11  Will Newton  <will.newton@linaro.org>
9055         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9056         to zero if it is not defined elsewhere.  (mtrim): Test
9057         the value of MALLOC_DEBUG with #if rather than #ifdef.
9059 2014-04-10 Torvald Riegel  <triegel@redhat.com>
9061         * benchtests/pthread_once-inputs: New file.
9062         * benchtests/pthread_once-source.c: New file.
9063         * benchtests/README: Update documentation.
9065 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9066             H.J. Lu  <hongjiu.lu@intel.com>
9068         [BZ #16275]
9069         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9070         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9071         * sysdeps/x86_64/configure: Regenerated.
9072         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9073         macro.
9074         (REGISTER_SAVE_RAX): Likewise.
9075         (REGISTER_SAVE_RCX): Likewise.
9076         (REGISTER_SAVE_RDX): Likewise.
9077         (REGISTER_SAVE_RSI): Likewise.
9078         (REGISTER_SAVE_RDI): Likewise.
9079         (REGISTER_SAVE_R8): Likewise.
9080         (REGISTER_SAVE_R9): Likewise.
9081         (REGISTER_SAVE_BND0): Likewise.
9082         (REGISTER_SAVE_BND1): Likewise.
9083         (REGISTER_SAVE_BND2): Likewise.
9084         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
9085         bound registers when calling _dl_fixup.
9087 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9089         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9090         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9091         of its definition.
9092         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9093         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9094         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9095         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9096         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9097         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9098         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9100 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
9102         [BZ #15514]
9103         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9104         pathconf(_PC_NAME_MAX).
9106 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9108         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9109         Remove macro usage.
9110         (__PTHREAD_SPINS): Move definition to ...
9111         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9112         (__PTHREAD_SPINS): ... here.
9113         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9114         (__PTHREAD_SPIN): Likewise.
9115         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9116         (__PTHREAD_SPIN): Likewise.
9117         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9118         (__PTHREAD_SPIN): Likewise.
9119         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9120         (__PTHREAD_SPIN): Likewise.
9121         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9122         (__PTHREAD_SPIN): Likewise.
9123         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9124         (__PTHREAD_SPIN): Likewise.
9125         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9126         (__PTHREAD_SPIN): Likewise.
9127         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9128         (__PTHREAD_SPIN): Likewise.
9129         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9130         (__PTHREAD_SPIN): Likewise.
9131         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9132         (__PTHREAD_SPIN): Likewise.
9133         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9134         (__PTHREAD_SPIN): Likewise.
9135         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9136         (__PTHREAD_SPIN): Likewise.
9138         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9139         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9140         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9141         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9142         imply folder.
9143         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9144         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9145         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9146         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9147         correct imply path.
9148         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9149         strlen symbol for non multi-arch builds.
9150         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9151         missing hidden_def and weak_alias.
9153 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9155         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9157 2014-04-07  Will Newton  <will.newton@linaro.org>
9159         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9160         and contents.  [!_LIBC] Remove #ifndef and contents.
9161         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9162         * string/memccpy.c (__memccpy): Use ANSI prototype.
9163         * string/memfrob.c (memfrob): Likewise.
9164         * string/strcoll.c (STRCOLL): Likewise.
9165         * string/strlen.c (strlen): Likewise.
9166         * string/strtok.c (STRTOK): Likewise.
9167         * string/strcat.c: Remove unused #include of memcopy.h.
9168         (strcat): Use ANSI prototype.
9169         * string/strchr.c: Remove unused #include of memcopy.h.
9170         (strchr): Use ANSI prototype.
9171         * string/strcmp.c: Remove unused #include of memcopy.h.
9172         (strcmp): Use ANSI prototype.
9173         * string/strcpy.c: Remove unused #include of memcopy.h.
9174         (strcpy): Use ANSI prototype.
9176 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9178         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9179         * config.make.in (config-extra-cppflags): Set it from
9180         libc_extra_cppflags.
9181         * configure.ac (libc_extra_cflags): Make it accumulate over
9182         configure fragments.
9183         (libc_extra_cppflags): New flag.
9184         * configure. Regenerate.
9185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9186         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9187         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9190         [BZ #16815]
9191         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9192         result for FE_DOWNWARD rounding mode.
9193         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9194         Likewise.
9195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9197 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9199         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9200         in function argument name.
9202 2014-04-03  David Svoboda  <svoboda@cert.org>
9204         [BZ #5666]
9205         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9206         explicitly.
9208 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9210         * elf/dl-unmap-segments.h: New file.
9211         * sysdeps/generic/ldsodefs.h
9212         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9213         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9214         * elf/dl-fptr.c: Likewise.
9215         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9216         * sysdeps/aarch64/tlsdesc.c: Likewise.
9217         * sysdeps/arm/tlsdesc.c: Likewise.
9218         * sysdeps/i386/tlsdesc.c: Likewise.
9219         * sysdeps/tile/dl-runtime.c: Likewise.
9220         * sysdeps/x86_64/tlsdesc.c: Likewise.
9221         * elf/dl-load.h: New file.
9222         * elf/dl-load.c: Include it.
9223         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9224         Macros moved to dl-load.h.
9225         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9226         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9227         Use _dl_unmap_segments in place of __munmap.
9228         Break out segment-mapping loop into ...
9229         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9231 2014-04-03  Will Newton  <will.newton@linaro.org>
9233         * elf/dl-lookup.c (do_lookup_x): Remove comment
9234         referring to nested function and move variable
9235         declarations down to before first use.
9237 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9239         [BZ #16799]
9240         [BZ #16800]
9241         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9242         with 0 numerator.
9243         * math/s_catanf.c (__catanf): Likewise.
9244         * math/s_catanh.c (__catanh): Likewise.
9245         * math/s_catanhf.c (__catanhf): Likewise.
9246         * math/s_catanhl.c (__catanhl): Likewise.
9247         * math/s_catanl.c (__catanl): Likewise.
9248         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9249         by positive zero when computing -Inf result.
9250         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9251         (catanh_test): Likewise.
9252         * sysdeps/i386/fpu/libm-test-ulps: Update.
9253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9255         [BZ #16789]
9256         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9257         instead of using underflowing value in computing result.
9258         * math/s_clog10.c (__clog10): Likewise.
9259         * math/s_clog10f.c (__clog10f): Likewise.
9260         * math/s_clog10l.c (__clog10l): Likewise.
9261         * math/s_clogf.c (__clogf): Likewise.
9262         * math/s_clogl.c (__clogl): Likewise.
9263         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9264         (clog10_test): Likewise.
9265         * sysdeps/i386/fpu/libm-test-ulps: Update.
9266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9268 2014-04-02  Alan Modra  <amodra@gmail.com>
9270         [BZ #16739]
9271         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9272         output when value is near a power of two.  Use int64_t for lx and
9273         remove casts.  Use decimal rather than hex exponent constants.
9274         Don't use long double multiplication when double will suffice.
9275         * math/libm-test.inc (nextafter_test_data): Add tests.
9276         * NEWS: Add 16739 and 16786 to bug list.
9278         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9280         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9282 2014-04-01  Will Newton  <will.newton@linaro.org>
9284         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9285         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9287 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9289         [BZ #13347]
9290         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9291         * nptl/tst-setuid2.c: New file.
9292         * nptl/Makefile (xtests): Add tst-setuid2.
9294 2014-04-01  Alan Modra  <amodra@gmail.com>
9296         [BZ #16786]
9297         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9299 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9301         [BZ #6803]
9302         [BZ #6804]
9303         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9304         set errno as appropriate.
9305         * math/w_scalbf.c (__scalbf): Likewise.
9306         * math/w_scalbl.c (__scalbl): Likewise.
9307         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9308         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9309         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9310         Add more NaN tests.
9312         [BZ #16349]
9313         * math/w_atan2.c: Include <errno.h>.
9314         (__atan2): Set errno for result underflowing to zero.
9315         * math/w_atan2f.c: Include <errno.h>.
9316         (__atan2f): Set errno for result underflowing to zero.
9317         * math/w_atan2l.c: Include <errno.h>.
9318         (__atan2l): Set errno for result underflowing to zero.
9319         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9320         tests.
9321         * math/auto-libm-test-out: Regenerated.
9323 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9325         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9326         Encode instruction correctly in little endian.
9327         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9328         Likewise.
9329         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9330         Likewise.
9331         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9332         Likewise.
9333         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9334         Likewise.
9336 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9338         [BZ #9894]
9339         * sysdeps/unix/sysv/linux/kernel-features.h
9340         [__sparc__ && !__arch64__ && !__sparc_v9__]
9341         (__ASSUME_SET_ROBUST_LIST): Do not define.
9342         [__sparc__ && !__arch64__ && !__sparc_v9__]
9343         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9344         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9345         Likewise.
9346         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9347         (__ASSUME_FUTEX_LOCK_PI): Undefine.
9348         (__ASSUME_REQUEUE_PI): Likewise.
9349         (__ASSUME_SET_ROBUST_LIST): Likewise.
9350         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9351         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9352         Undefine.
9353         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9354         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9355         Likewise.
9356         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9357         Likewise.
9358         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9359         Likewise.
9360         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9361         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9362         Undefine.
9363         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9364         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9365         Likewise.
9367         [BZ #16648]
9368         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9369         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9370         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9372 2014-03-31  Will Newton  <will.newton@linaro.org>
9374         * benchtests/Makefile (bench): Add ffs and ffsll to list
9375         of tests.
9376         * benchtests/ffs-inputs: New file.
9377         * benchtests/ffsll-inputs: Likewise.
9379 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
9381         [BZ #16770]
9382         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9383         too large before casting to int.
9384         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9385         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9386         * math/libm-test.inc (scalb_test_data): Add more tests.
9388 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9390         * benchtests/Makefile (DETAILED_OPT): New make option.
9391         (bench-func): Run benchmark program with -d if DETAILED_OPT is
9392         set.
9393         * benchtests/bench-skeleton.c: Include stdbool.h.
9394         (main): Store and print timings per input.
9395         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9396         member to each argument value.
9397         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9398         (_print_arg_data): Initialize per-input timing to 0.
9400         * benchtests/Makefile (timing-type): New binary.
9401         (bench-clean): Also remove bench-timing-type.
9402         (bench): New target for timing-type.
9403         (bench-func): Print output in JSON format.
9404         * benchtests/bench-skeleton.c (main): Print output in JSON
9405         format.
9406         * benchtests/bench-timing-type.c: New file.
9407         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9408         (TIMING_PRINT_STATS): Remove.
9409         * benchtests/scripts/bench.py (_print_arg_data): Store variant
9410         name separately.
9412         * benchtests/bench-modf.c: Remove.
9413         * benchtests/modf-inputs: New inputs file.
9415 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
9417         [BZ #16362]
9418         * math/s_clog10.c (M_PI_LOG10E): New macro.
9419         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9420         imaginary parts are 0.
9421         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9422         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9423         imaginary parts are 0.
9424         * math/s_clog10l.c (M_PI_LOG10El): New macro.
9425         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9426         imaginary parts are 0.
9427         * math/libm-test.inc (clog10_test_data): Update expected results
9428         for when real and imaginary parts are 0.
9430 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
9432         * elf/dl-load.c: Finish conversion of __builtin_expect into
9433         __glibc_{un}likely.
9435 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
9437         [BZ #16348]
9438         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9439         1+x for argument with exponent below -67.
9440         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9441         Likewise.
9442         * math/auto-libm-test-in: Add more tests of exp.
9443         * math/auto-libm-test-out: Regenerated.
9445 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9447         [BZ #16759]
9448         * inet/getnetgrent_r.c (get_nonempty_val): New function.
9449         (nscd_getnetgrent): Use it.
9451         [BZ #16760]
9452         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9453         of stpcpy.
9455 2014-03-27  Andi Kleen  <ak@linux.intel.com>
9457         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9458         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9459         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9460         (lll_robust_unlock): Remove out of line section. Use cfi
9461         intrinsics.
9462         (LLL_STUB_UNWIND_INFO*): Remove.
9463         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9464         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9465         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9466         (lll_robust_unlock): Remove out of line section. Use cfi
9467         intrinsics.
9468         (LLL_STUB_UNWIND_INFO*): Remove.
9470 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9472         [BZ #16758]
9473         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9474         blank values.
9476 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9478         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9480 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
9482         [BZ #16198]
9483         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9484         fnstenv.
9485         * math/test-fenv-preserve.c: New file.
9486         * math/Makefile (tests): Add test-fenv-preserve.
9488 2014-03-26  Will Newton <will.newton@linaro.org>
9490         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9492 2014-03-25  Roland McGrath  <roland@hack.frob.com>
9494         * scripts/versionlist.awk: Partition the version sets and emit all
9495         GLIBC_* (sorted) before all others (sorted).
9497 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9499         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9500         GLIBC_2.2.5 version.
9502 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9504         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9505         calls.
9507         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9508         previous change.
9510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9512 2014-03-25  Andreas Schwab  <schwab@suse.de>
9514         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9515         label to be used after in6ailist is initialized.
9517 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9519         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9520         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9522 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9524         [BZ #16357]
9525         [BZ #16599]
9526         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9527         min_plus_half.
9528         (fp_formats): Update initializers.
9529         (init_fp_formats): Initialize new field.
9530         (output_for_one_input_case): Allow underflow for results up to
9531         min_plus_half.
9532         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9533         * math/auto-libm-test-in: Don't mark some underflows from asin and
9534         atanh as spurious.
9535         * math/auto-libm-test-out: Regenerated.
9536         * sysdeps/i386/fpu/libm-test-ulps: Update.
9537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9539 2014-03-25  Andreas Schwab  <schwab@suse.de>
9541         * libio/Makefile (tst-ftell-partial-wide-ENV)
9542         (tst-ftell-active-handler-ENV): Define.
9544 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
9546         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9548 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9550         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9552 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9554         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9555         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9556         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9558 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9560         [BZ #16634]
9561         * elf/dl-load.c (open_verify): Add mode parameter.
9562         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9563         (open_path): Change from boolean 'secure' to complete flag 'mode'
9564         (_dl_map_object): Adjust.
9565         * elf/Makefile (tests): Add tst-dlopen-aout.
9566         * elf/tst-dlopen-aout.c: New test.
9568 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
9570         [BZ #16714]
9571         * sysdeps/unix/sysv/linux/s390/bits/stat.h
9572         (struct stat): Rename member pad0 to __glibc_reserved0.
9574         [BZ #16712]
9575         * sysdeps/s390/s390-32/bits/wordsize.h
9576         (__WORDSIZE32_SIZE_ULONG): New define.
9577         * sysdeps/s390/s390-64/bits/wordsize.h
9578         (__WORDSIZE32_SIZE_ULONG): Likewise.
9579         * sysdeps/generic/stdint.h (SIZE_MAX):
9580         Define as UL if __WORDSIZE32_SIZE_ULONG.
9582         [BZ #16713]
9583         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9584         (__glibc_reserved0): New variable.
9585         (sa_flags): Change type to int.
9587         * posix/Makefile (before-compile): Use += before-compile instead
9588         of a :=.
9590         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9591         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9593 2014-03-20  Andreas Schwab  <schwab@suse.de>
9595         [BZ #16743]
9596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9597         non-matching result from nscd.
9599 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9601         * scripts/bench.py: Moved to ...
9602         * benchtests/scripts/bench.py: ... here.
9603         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9605 2014-03-24  Andreas Schwab  <schwab@suse.de>
9607         [BZ #16002]
9608         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9609         alloca_account and account alloca use for struct in6ailist.
9611 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9613         [BZ #16284]
9614         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9615         rounding mode to recompute results that overflow to infinity or
9616         underflow to zero.
9617         * math/auto-libm-test-in: Don't mark tests as expected to fail for
9618         bug 16284.
9619         * math/auto-libm-test-out: Regenerated.
9620         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9621         (ccosh_test): Likewise.
9622         (csin_test_data): Use plus_oflow.
9623         (csin_test): Use ALL_RM_TEST.
9624         (csinh_test_data): Use plus_oflow.
9625         (csinh_test): Use ALL_RM_TEST.
9626         * sysdeps/i386/fpu/libm-test-ulps: Update.
9627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9629 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
9631         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9632         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9633         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9635         [BZ #16731]
9636         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9637         when x - 1 is zero.
9638         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9639         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9640         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9641         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9642         argument is 1.
9643         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9644         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9645         zero.
9646         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9647         * sysdeps/i386/fpu/libm-test-ulps: Update.
9648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9650 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9652         * scripts/bench.pl: Remove file.
9653         * scripts/bench.py: New benchmark script.
9654         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9655         * benchtests/README: Mention python dependency.
9656         * scripts/pylintrc: New file.
9657         * scripts/pylint: New file.
9659         * bits/mathdef.h: Use #ifdef instead of #if.
9660         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9661         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9662         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9663         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9664         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9665         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9667 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9668             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9670         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9672         and strpbrk-ppc64 objects.
9673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9674         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9675         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9676         multiarch strpbrk for POWER7.
9677         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9678         multiarch strpbrk for PPC64.
9679         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9680         ifunc selector.
9681         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9682         strpbrk for POWER7.
9684 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9686         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9687         (atan_test): Likewise.
9688         (atanh_test_data): Use NO_TEST_INLINE for two tests.
9689         (atanh_test): Use ALL_RM_TEST.
9690         (atan2_test_data): Likewise.
9691         (cabs_test): Likewise.
9692         (cacosh_test): Likewise.
9693         (carg_test): Likewise.
9694         (casin_test): Likewise.
9695         (casinh_test): Likewise.
9696         (cbrt_test): Likewise.
9697         (csqrt_test): Likewise.
9698         (erf_test): Likewise.
9699         (erfc_test): Likewise.
9700         (pow10_test): Likewise.
9701         (exp2_test): Likewise.
9702         (hypot_test): Likewise.
9703         (j0_test): Likewise.
9704         (j1_test): Likewise.
9705         (lgamma_test): Likewise.
9706         (gamma_test): Likewise.
9707         (sincos_test): Likewise.
9708         (tanh_test): Likewise.
9709         (y0_test): Likewise.
9710         (y1_test): Likewise.
9711         * sysdeps/i386/fpu/libm-test-ulps: Update.
9712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9714 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9716         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9717         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9718         and strcspn-ppc64 objects.
9719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9720         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9721         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9722         multiarch strcspn for POWER7.
9723         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9724         multiarch strcspn for PPC64.
9725         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9726         ifunc selector.
9727         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9728         strcspn for POWER7.
9730 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9732         * math/gen-libm-test.pl (generate_testfile): Expect only function
9733         name as argument to AUTO_TESTS_* and pass results for all rounding
9734         modes to parse_args.
9735         (parse_auto_input): Separate inputs of automatic tests from
9736         outputs before storing in %auto_tests.
9737         * math/libm-test.inc (acos_test_data): Update call to
9738         AUTO_TESTS_f_f.
9739         (acos_test): Use ALL_RM_TEST.
9740         (acos_tonearest_test_data): Remove.
9741         (acos_test_tonearest): Likewise.
9742         (acos_towardzero_test_data): Likewise.
9743         (acos_test_towardzero): Likewise.
9744         (acos_downward_test_data): Likewise.
9745         (acos_test_downward): Likewise.
9746         (acos_upward_test_data): Likewise.
9747         (acos_test_upward): Likewise.
9748         (acosh_test_data): Update call to AUTO_TESTS_f_f.
9749         (asin_test_data): Likewise.
9750         (asin_test): Use ALL_RM_TEST.
9751         (asin_tonearest_test_data): Remove.
9752         (asin_test_tonearest): Likewise.
9753         (asin_towardzero_test_data): Likewise.
9754         (asin_test_towardzero): Likewise.
9755         (asin_downward_test_data): Likewise.
9756         (asin_test_downward): Likewise.
9757         (asin_upward_test_data): Likewise.
9758         (asin_test_upward): Likewise.
9759         (asinh_test_data): Update call to AUTO_TESTS_f_f.
9760         (atan_test_data): Likewise.
9761         (atanh_test_data): Likewise.
9762         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9763         (cabs_test_data): Update call to AUTO_TESTS_c_f.
9764         (carg_test_data): Likewise.
9765         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9766         (ccos_test_data): Update call to AUTO_TESTS_c_c.
9767         (ccosh_test_data): Likewise.
9768         (cexp_test_data): Likewise.
9769         (clog_test_data): Likewise.
9770         (clog10_test_data): Likewise.
9771         (cos_test_data): Update call to AUTO_TESTS_f_f.
9772         (cos_test): Use ALL_RM_TEST.
9773         (cos_tonearest_test_data): Remove.
9774         (cos_test_tonearest): Likewise.
9775         (cos_towardzero_test_data): Likewise.
9776         (cos_test_towardzero): Likewise.
9777         (cos_downward_test_data): Likewise.
9778         (cos_test_downward): Likewise.
9779         (cos_upward_test_data): Likewise.
9780         (cos_test_upward): Likewise.
9781         (cosh_test_data): Update call to AUTO_TESTS_f_f.
9782         (cosh_test): Use ALL_RM_TEST.
9783         (cosh_tonearest_test_data): Remove.
9784         (cosh_test_tonearest): Likewise.
9785         (cosh_towardzero_test_data): Likewise.
9786         (cosh_test_towardzero): Likewise.
9787         (cosh_downward_test_data): Likewise.
9788         (cosh_test_downward): Likewise.
9789         (cosh_upward_test_data): Likewise.
9790         (cosh_test_upward): Likewise.
9791         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9792         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9793         (ctan_test_data): Likewise.
9794         (ctan_test): Use ALL_RM_TEST.
9795         (ctan_tonearest_test_data): Remove.
9796         (ctan_test_tonearest): Likewise.
9797         (ctan_towardzero_test_data): Likewise.
9798         (ctan_test_towardzero): Likewise.
9799         (ctan_downward_test_data): Likewise.
9800         (ctan_test_downward): Likewise.
9801         (ctan_upward_test_data): Likewise.
9802         (ctan_test_upward): Likewise.
9803         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9804         (ctanh_test): Use ALL_RM_TEST.
9805         (ctanh_tonearest_test_data): Remove.
9806         (ctanh_test_tonearest): Likewise.
9807         (ctanh_towardzero_test_data): Likewise.
9808         (ctanh_test_towardzero): Likewise.
9809         (ctanh_downward_test_data): Likewise.
9810         (ctanh_test_downward): Likewise.
9811         (ctanh_upward_test_data): Likewise.
9812         (ctanh_test_upward): Likewise.
9813         (erf_test_data): Update call to AUTO_TESTS_f_f.
9814         (erfc_test_data): Likewise.
9815         (exp_test_data): Likewise.
9816         (exp_test): Use ALL_RM_TEST.
9817         (exp_tonearest_test_data): Remove.
9818         (exp_test_tonearest): Likewise.
9819         (exp_towardzero_test_data): Likewise.
9820         (exp_test_towardzero): Likewise.
9821         (exp_downward_test_data): Likewise.
9822         (exp_test_downward): Likewise.
9823         (exp_upward_test_data): Likewise.
9824         (exp_test_upward): Likewise.
9825         (exp10_test_data): Update call to AUTO_TESTS_f_f.
9826         (exp10_test): Use ALL_RM_TEST.
9827         (exp10_tonearest_test_data): Remove.
9828         (exp10_test_tonearest): Likewise.
9829         (exp10_towardzero_test_data): Likewise.
9830         (exp10_test_towardzero): Likewise.
9831         (exp10_downward_test_data): Likewise.
9832         (exp10_test_downward): Likewise.
9833         (exp10_upward_test_data): Likewise.
9834         (exp10_test_upward): Likewise.
9835         (exp2_test_data): Update call to AUTO_TESTS_f_f.
9836         (expm1_test_data): Likewise.
9837         (expm1_test): Use ALL_RM_TEST.
9838         (expm1_tonearest_test_data): Remove.
9839         (expm1_test_tonearest): Likewise.
9840         (expm1_towardzero_test_data): Likewise.
9841         (expm1_test_towardzero): Likewise.
9842         (expm1_downward_test_data): Likewise.
9843         (expm1_test_downward): Likewise.
9844         (expm1_upward_test_data): Likewise.
9845         (expm1_test_upward): Likewise.
9846         (fma_test_data): Update call to AUTO_TESTS_fff_f.
9847         (fma_test): Use ALL_RM_TEST.
9848         (fma_towardzero_test_data): Remove.
9849         (fma_test_towardzero): Likewise.
9850         (fma_downward_test_data): Likewise.
9851         (fma_test_downward): Likewise.
9852         (fma_upward_test_data): Likewise.
9853         (fma_test_upward): Likewise.
9854         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9855         (j0_test_data): Update call to AUTO_TESTS_f_f.
9856         (j1_test_data): Likewise.
9857         (jn_test_data): Update call to AUTO_TESTS_if_f.
9858         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9859         (log_test_data): Update call to AUTO_TESTS_f_f.
9860         (log10_test_data): Likewise.
9861         (log1p_test_data): Likewise.
9862         (log2_test_data): Likewise.
9863         (pow_test_data): Update call to AUTO_TESTS_ff_f.
9864         (pow_tonearest_test_data): Likewise.
9865         (sin_test_data): Update call to AUTO_TESTS_f_f.
9866         (sin_test): Use ALL_RM_TEST.
9867         (sin_tonearest_test_data): Remove.
9868         (sin_test_tonearest): Likewise.
9869         (sin_towardzero_test_data): Likewise.
9870         (sin_test_towardzero): Likewise.
9871         (sin_downward_test_data): Likewise.
9872         (sin_test_downward): Likewise.
9873         (sin_upward_test_data): Likewise.
9874         (sin_test_upward): Likewise.
9875         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9876         (sinh_test_data): Update call to AUTO_TESTS_f_f.
9877         (sinh_test): Use ALL_RM_TEST.
9878         (sinh_tonearest_test_data): Remove.
9879         (sinh_test_tonearest): Likewise.
9880         (sinh_towardzero_test_data): Likewise.
9881         (sinh_test_towardzero): Likewise.
9882         (sinh_downward_test_data): Likewise.
9883         (sinh_test_downward): Likewise.
9884         (sinh_upward_test_data): Likewise.
9885         (sinh_test_upward): Likewise.
9886         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9887         (sqrt_test): Use ALL_RM_TEST.
9888         (sqrt_tonearest_test_data): Remove.
9889         (sqrt_test_tonearest): Likewise.
9890         (sqrt_towardzero_test_data): Likewise.
9891         (sqrt_test_towardzero): Likewise.
9892         (sqrt_downward_test_data): Likewise.
9893         (sqrt_test_downward): Likewise.
9894         (sqrt_upward_test_data): Likewise.
9895         (sqrt_test_upward): Likewise.
9896         (tan_test_data): Update call to AUTO_TESTS_f_f.
9897         (tan_test): Use ALL_RM_TEST.
9898         (tan_tonearest_test_data): Remove.
9899         (tan_test_tonearest): Likewise.
9900         (tan_towardzero_test_data): Likewise.
9901         (tan_test_towardzero): Likewise.
9902         (tan_downward_test_data): Likewise.
9903         (tan_test_downward): Likewise.
9904         (tan_upward_test_data): Likewise.
9905         (tan_test_upward): Likewise.
9906         (tanh_test_data): Update call to AUTO_TESTS_f_f.
9907         (tgamma_test_data): Likewise.
9908         (y0_test_data): Likewise.
9909         (y1_test_data): Likewise.
9910         (yn_test_data): Update call to AUTO_TESTS_if_f.
9911         (main): Do not call removed functions.
9913 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9915         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9916         (ldexp_test_data): Remove.
9917         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
9918         scalbn_test_data.
9919         (scalb_test): Use ALL_RM_TEST.
9921 2014-03-19  Andreas Schwab  <schwab@suse.de>
9923         * nscd/nscd.service: Also invalidate netgroup cache on reload.
9925 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9927         [BZ #16649]
9928         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9929         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9930         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9931         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9932         (__ASSUME_PREADV): Undefine.
9933         (__ASSUME_PWRITEV): Likewise.
9935 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9937         * bits/mman-linux.h: Add comment about non-Linux use.
9938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9939         bits/mman-linux.h resting place.
9941         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9942         * bits/mman-linux.h: ... here.
9944 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9946         * conform/conformtest.pl: Add standard definition when calling C
9947         preprocessor on data files.
9948         (checknamespace): Remove unused variable.
9950 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9952         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9953         minus_oflow, plus_uflow and minus_uflow in expected results.
9954         * math/libm-test.inc (scalbn_test_data): Add more tests of
9955         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
9956         minus_uflow.
9957         (scalbn_test): Use ALL_RM_TEST.
9958         (scalbln_test_data): Add more tests of negative arguments.  Use
9959         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9960         (scalbln_test): Use ALL_RM_TEST.
9962 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9964         * scripts/abilist.awk: Ignore symbols marked with .hidden.
9966 2014-03-18  Will Newton  <will.newton@linaro.org>
9968         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9969         inaccurate comment.
9971 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9973         * Makerules [!subdir] (check-abi): Exit with error status if a
9974         test failed.
9976 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9978         * math/libm-test.inc (nearbyint_test_data): Include all tests used
9979         for rint.  Include results for all rounding modes.
9980         (nearbyint_test): Use ALL_RM_TEST.
9981         (rint_test_data): Include all tests used for nearbyint.
9983 2014-03-17  Will Newton  <will.newton@linaro.org>
9985         * nptl/sysdeps/pthread/pthread.h: Revert previous
9986         change.
9988         * sysdeps/generic/ldsodefs.h: Revert previous
9989         change.
9991         * libio/genops.c: Revert previous change.
9992         * libio/libioP.h: Likewise.
9993         * stdio-common/vfprintf.c: Likewise.
9995         * sysdeps/generic/math_private.h: Revert previous
9996         change.
9998         * sysdeps/generic/math_private.h: Check whether
9999         HAVE_RM_CTX is defined with #ifdef rather
10000         than #if.
10002         * argp/argp-fmtstream.h: Check whether
10003         __STRICT_ANSI__ is defined with #ifdef rather
10004         than #if.
10005         * argp/argp.h: Likewise.
10007         * libio/genops.c: Check whether
10008         _IO_JUMPS_OFFSET is defined with #ifdef rather
10009         than #if.
10010         * libio/libioP.h: Likewise.
10011         * stdio-common/vfprintf.c: Likewise.
10013         * sysdeps/generic/ldsodefs.h: Check whether
10014         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10015         than #if.
10017         * nptl/sysdeps/pthread/pthread.h: Check
10018         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10019         its value.
10021 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10023         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10024         setting O_APPEND.
10025         * libio/tst-ftell-active-handler.c (do_append_test): Add a
10026         test case.
10028         [BZ #16680]
10029         * libio/fileops.c (_IO_file_open): Seek to end of file but
10030         don't cache the offset.
10031         (get_file_offset): Remove function.
10032         (do_ftell): Use cached offset when available.
10033         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10034         don't cache the offset.
10035         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10036         case.
10037         (do_one_test): Call it.
10038         (do_ftell_test): Fix up expected old offset for a+ mode.
10039         * libio/wfileops.c (do_ftell_wide): Used cached offset when
10040         available.
10042         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10043         up test status with function return status.
10044         (do_write_test): Likewise.
10045         (do_append_test): Likewise.
10047         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10048         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10049         Remove.
10051 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
10053         * math/gen-libm-test.pl (parse_args): Handle results specified for
10054         each rounding mode separately.
10055         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10056         tests and results from lrint_tonearest_test_data,
10057         lrint_towardzero_test_data, lrint_downward_test_data and
10058         lrint_upward_test_data.
10059         (lrint_test): Use ALL_RM_TEST.
10060         (lrint_tonearest_test_data): Remove.
10061         (lrint_test_tonearest): Likewise.
10062         (lrint_towardzero_test_data): Likewise.
10063         (lrint_test_towardzero): Likewise.
10064         (lrint_downward_test_data): Likewise.
10065         (lrint_test_downward): Likewise.
10066         (lrint_upward_test_data): Likewise.
10067         (lrint_test_upward): Likewise.
10068         (llrint_test_data): Merge in per-rounding-mode tests and results
10069         from llrint_tonearest_test_data, llrint_towardzero_test_data,
10070         llrint_downward_test_data and llrint_upward_test_data.
10071         (llrint_test): Use ALL_RM_TEST.
10072         (llrint_tonearest_test_data): Remove.
10073         (llrint_test_tonearest): Likewise.
10074         (llrint_towardzero_test_data): Likewise.
10075         (llrint_test_towardzero): Likewise.
10076         (llrint_downward_test_data): Likewise.
10077         (llrint_test_downward): Likewise.
10078         (llrint_upward_test_data): Likewise.
10079         (llrint_test_upward): Likewise.
10080         (rint_test_data): Merge in per-rounding-mode tests and results
10081         from rint_tonearest_test_data, rint_towardzero_test_data,
10082         rint_downward_test_data and rint_upward_test_data.  Add
10083         per-rounding-mode results for tests not in those arrays.
10084         (rint_test): Use ALL_RM_TEST.
10085         (rint_tonearest_test_data): Remove.
10086         (rint_test_tonearest): Likewise.
10087         (rint_towardzero_test_data): Likewise.
10088         (rint_test_towardzero): Likewise.
10089         (rint_downward_test_data): Likewise.
10090         (rint_test_downward): Likewise.
10091         (rint_upward_test_data): Likewise.
10092         (rint_test_upward): Likewise.
10093         (main): Don't call removed functions.
10095 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10097         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10098         "Compiled on ..." crapola.  It is anti-useful.
10100 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
10102         * scripts/evaluate-test.sh: Handle fourth argument to determine
10103         whether test run should stop on failure.
10104         * Makeconfig (stop-on-test-failure): New variable.
10105         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10106         $(stop-on-test-failure).
10107         * Makefile (tests): Give a summary of results from testing and
10108         exit with failure status if they include an ERROR or FAIL.
10109         (xtests): Likewise.
10110         * manual/install.texi (Configuring and compiling): Mention
10111         stop-on-test-failure=y.
10112         * INSTALL: Regenerated.
10114 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10116         * scripts/versionlist.awk: New file.
10117         * Makerules [$(build-shared) = yes]
10118         (postclean-generated): Add Versions.def, not Versions.def.v and
10119         Versions.def.v.i.
10120         ($(common-objpfx)Versions.def.v.i): Target removed.
10121         ($(common-objpfx)Versions.def): New target.
10122         ($(common-objpfx)Versions.all): Depend on that rather that
10123         $(common-objpfx)Versions.def.v.
10124         * Versions.def: File removed.
10126         * Makeconfig (+gccwarn): Add -Wundef.
10127         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10128         a dl-sysdep.h breaking its contract.
10129         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10130         * include/stackinfo.h: New file.
10131         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10132         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10133         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10134         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10135         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10136         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10137         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10138         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10139         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10140         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10141         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10142         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10143         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10144         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10145         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10147 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10149         [BZ #16707]
10150         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10151         implementation.
10152         * math/libm-test.inc (round_test_data): Add more tests.
10154         [BZ #16706]
10155         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10156         implementation.
10157         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10159         [BZ #16701]
10160         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10161         implementation.
10162         * math/libm-test.inc (ceil_test_data): Add more tests.
10164         * math/libm-test.inc (trunc_test_data): Add more tests related to
10165         BZ#16414.
10167 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10169         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10170         with #if rather than #ifdef.
10171         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10173 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10175         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10176         first.  Disable AVX-512 GCC support if assembler doesn't support
10177         it.
10178         * sysdeps/x86_64/configure: Regenerated.
10180 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10182         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10183         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10184         (__old_pthread_attr_setstack): Likewise.
10185         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10186         [!_STACK_GROWS_DOWN]: Likewise.
10188 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10190         * config.make.in (have-bash2): Delete.
10191         * configure.ac (libc_cv_have_bash2): Delete.
10192         * configure: Regenerate.
10193         * elf/Makefile (common-ldd-rewrite): Rename to ...
10194         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10195         (sh-ldd-rewrite): Delete.
10196         (bash-ldd-rewrite): Delete.
10197         (have-bash2): Delete checks.
10198         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10199         ldd-rewrite.
10201         * config.make.in (have-ksh): Delete.
10202         (KSH): Delete.
10203         * configure.ac (libc_cv_have_ksh): Delete.
10204         * configure: Regenerate.
10206         * elf/Makefile: Delete $(have-ksh) check.
10207         ($(objpfx)sotruss): Change KSH to BASH.
10208         * elf/sotruss.ksh: Rename to ...
10209         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10210         function style to match POSIX.  Drop ksh vim mode setting.
10212         * manual/time.texi (Specifying the Time Zone with TZ): Change
10213         Tuesday to Thursday.
10215         * debug/tst-longjmp_chk2.c: Update header comment.
10216         (stackoverflow_handler): Add comment.  Call assert on pass value.
10218 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10220         [BZ #16194]
10221         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10222         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10223         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10224         (La_x86_64_vector): Add zmm.
10225         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10226         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10227         ($(objpfx)tst-audit10): New target.
10228         ($(objpfx)tst-audit10.out): Likewise.
10229         (tst-audit10-ENV): New.
10230         (AVX512-CFLAGS): Likewise.
10231         (CFLAGS-tst-audit10.c): Likewise.
10232         (CFLAGS-tst-auditmod10a.c): Likewise.
10233         (CFLAGS-tst-auditmod10b.c): Likewise.
10234         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10235         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10236         * sysdeps/x86_64/configure: Regenerated.
10237         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10238         AVX-512 zmm register support.
10239         (_dl_x86_64_save_sse): Likewise.
10240         (_dl_x86_64_restore_sse): Likewise.
10241         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10242         size vector registers.
10243         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10244         (ZMM_SIZE): Likewise.
10245         * sysdeps/x86_64/tst-audit10.c: New file.
10246         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10247         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10249 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10251         * configure.ac (HAVE_EHDR_START): New check.
10252         * configure: Regenerated.
10253         * config.h.in (HAVE_EHDR_START): New #undef.
10254         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10255         assuming the lowest-addressed segment maps the start of the file.
10257 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10259         * INSTALL: Regenerated.
10261 2014-03-13  Will Newton  <will.newton@linaro.org>
10263         * manual/setjmp.texi (System V contexts): Improve
10264         clarity and grammar of documentation.
10266 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10268         [BZ #16381]
10269         * elf/Makefile (tests): Add tst-pie2.
10270         (tests-pie): Add tst-pie2.
10271         * elf/tst-pie2.c: New file.
10272         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10273         for ET_EXEC.
10274         * elf/rtld.c (map_doit): Load executable as lt_executable.
10275         (dl_main): Likewise.
10277 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10279         [BZ #16642]
10280         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10281         (__ASSUME_PSELECT): Undefine.
10283 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10285         [BZ #16689]
10286         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10287         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10288         static build.
10289         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10290         selector for static builds.
10292 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10294         [BZ #16695]
10295         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10296         key in the buffer.
10298 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10300         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10301         IFUNC selector for static builds.
10303 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10305         * sysdeps/mips/math_private.h [__mips_hard_float]
10306         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10307         libc_feresetround_mips_ctx.
10308         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10309         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10310         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10312         [BZ #16677]
10313         * math/s_nextafter.c (__nextafter): Do not return value from
10314         overflowing computation.
10315         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10316         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10317         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10318         Likewise.
10319         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10320         Likewise.
10321         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10322         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10324 2014-03-11  Roland McGrath  <roland@hack.frob.com>
10326         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10327         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10328         Move sfi_sp use from the load-multiple (that no longer sets sp) to
10329         the new mov targetting sp.
10331 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10333         [BZ #16683]
10334         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10335         Define it for static builds as well.
10336         (NO_BZERO_IMPL): Likewise.
10338 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10340         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10341         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10342         multiarch strspn for PPC64.
10343         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10344         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10346         (__libc_ifunc_impl_list): Likewise.
10347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10348         multiarch optimizations
10349         * string/strspn.c (strspn): Using macro to redefine symbol name.
10351 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10352             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10354         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10355         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10356         multiarch strncat for PPC64.
10357         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10358         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10360         (__libc_ifunc_impl_list): Likewise.
10361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10362         multiarch optimizations
10364 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10366         [BZ #16639]
10367         * nscd/nscd.service: Make service type forking.
10369 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10371         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10372         sign in non default rounding modes.
10373         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10375 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
10377         * math/libm-test.inc (ALL_RM_TEST): New macro.
10378         (ceil_test): Use ALL_RM_TEST.
10379         (cimag_test): Likewise.
10380         (conj_test): Likewise.
10381         (copysign_test): Likewise.
10382         (cproj_test): Likewise.
10383         (creal_test): Likewise.
10384         (fabs_test): Likewise.
10385         (floor_test): Likewise.
10386         (fmax_test): Likewise.
10387         (fmin_test): Likewise.
10388         (fmod_test): Likewise.
10389         (fpclassify_test): Likewise.
10390         (frexp_test): Likewise.
10391         (ilogb_test): Likewise.
10392         (isfinite_test): Likewise.
10393         (finite_test): Likewise.
10394         (isgreater_test): Likewise.
10395         (isgreaterequal_test): Likewise.
10396         (isinf_test): Likewise.
10397         (isless_test): Likewise.
10398         (islessequal_test): Likewise.
10399         (islessgreater_test): Likewise.
10400         (isnan_test): Likewise.
10401         (isnormal_test): Likewise.
10402         (issignaling_test): Likewise.
10403         (isunordered_test): Likewise.
10404         (logb_test): Likewise.
10405         (logb_downward_test_data): Remove.
10406         (logb_test_downward): Likewise.
10407         (lround_test): Use ALL_RM_TEST.
10408         (llround_test): Likewise.
10409         (modf_test): Likewise.
10410         (nexttoward_test): Likewise.
10411         (remainder_test): Likewise.
10412         (drem_test): Likewise.
10413         (remainder_tonearest_test_data): Likewise.
10414         (remainder_test_tonearest): Likewise.
10415         (drem_test_tonearest): Likewise.
10416         (remainder_towardzero_test_data): Likewise.
10417         (remainder_test_towardzero): Likewise.
10418         (drem_test_towardzero): Likewise.
10419         (remainder_downward_test_data): Likewise.
10420         (remainder_test_downward): Likewise.
10421         (drem_test_downward): Likewise.
10422         (remainder_upward_test_data): Likewise.
10423         (remainder_test_upward): Likewise.
10424         (drem_test_upward): Likewise.
10425         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
10426         (round_test): Use ALL_RM_TEST.
10427         (signbit_test): Likewise.
10428         (trunc_test): Likewise.
10429         (significand_test): Likewise.
10430         (main): Don't call removed functions.
10432 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10434         [BZ #16674]
10435         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10436         || __USE_XOPEN2K8].
10437         (ILL_ILLOPN): Likewise.
10438         (ILL_ILLADR): Likewise.
10439         (ILL_ILLTRP): Likewise.
10440         (ILL_PRVOPC): Likewise.
10441         (ILL_PRVREG): Likewise.
10442         (ILL_COPROC): Likewise.
10443         (ILL_BADSTK): Likewise.
10444         (FPE_INTDIV): Likewise.
10445         (FPE_INTOVF): Likewise.
10446         (FPE_FLTDIV): Likewise.
10447         (FPE_FLTOVF): Likewise.
10448         (FPE_FLTUND): Likewise.
10449         (FPE_FLTRES): Likewise.
10450         (FPE_FLTINV): Likewise.
10451         (FPE_FLTSUB): Likewise.
10452         (SEGV_MAPERR): Likewise.
10453         (SEGV_ACCERR): Likewise.
10454         (BUS_ADRALN): Likewise.
10455         (BUS_ADRERR): Likewise.
10456         (BUS_OBJERR): Likewise.
10457         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10458         (TRAP_TRACE): Likewise.
10459         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10460         __USE_XOPEN2K8].
10461         (CLD_KILLED): Likewise.
10462         (CLD_DUMPED): Likewise.
10463         (CLD_TRAPPED): Likewise.
10464         (CLD_STOPPED): Likewise.
10465         (CLD_CONTINUED): Likewise.
10466         (POLL_IN): Likewise.
10467         (POLL_OUT): Likewise.
10468         (POLL_MSG): Likewise.
10469         (POLL_ERR): Likewise.
10470         (POLL_PRI): Likewise.
10471         (POLL_HUP): Likewise.
10472         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10473         Likewise.
10474         (ILL_ILLOPN): Likewise.
10475         (ILL_ILLADR): Likewise.
10476         (ILL_ILLTRP): Likewise.
10477         (ILL_PRVOPC): Likewise.
10478         (ILL_PRVREG): Likewise.
10479         (ILL_COPROC): Likewise.
10480         (ILL_BADSTK): Likewise.
10481         (FPE_INTDIV): Likewise.
10482         (FPE_INTOVF): Likewise.
10483         (FPE_FLTDIV): Likewise.
10484         (FPE_FLTOVF): Likewise.
10485         (FPE_FLTUND): Likewise.
10486         (FPE_FLTRES): Likewise.
10487         (FPE_FLTINV): Likewise.
10488         (FPE_FLTSUB): Likewise.
10489         (SEGV_MAPERR): Likewise.
10490         (SEGV_ACCERR): Likewise.
10491         (BUS_ADRALN): Likewise.
10492         (BUS_ADRERR): Likewise.
10493         (BUS_OBJERR): Likewise.
10494         (BUS_MCEERR_AR): Likewise.
10495         (BUS_MCEERR_AO): Likewise.
10496         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10497         (TRAP_TRACE): Likewise.
10498         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10499         __USE_XOPEN2K8].
10500         (CLD_KILLED): Likewise.
10501         (CLD_DUMPED): Likewise.
10502         (CLD_TRAPPED): Likewise.
10503         (CLD_STOPPED): Likewise.
10504         (CLD_CONTINUED): Likewise.
10505         (POLL_IN): Likewise.
10506         (POLL_OUT): Likewise.
10507         (POLL_MSG): Likewise.
10508         (POLL_ERR): Likewise.
10509         (POLL_PRI): Likewise.
10510         (POLL_HUP): Likewise.
10511         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10512         (ILL_ILLOPN): Likewise.
10513         (ILL_ILLADR): Likewise.
10514         (ILL_ILLTRP): Likewise.
10515         (ILL_PRVOPC): Likewise.
10516         (ILL_PRVREG): Likewise.
10517         (ILL_COPROC): Likewise.
10518         (ILL_BADSTK): Likewise.
10519         (FPE_INTDIV): Likewise.
10520         (FPE_INTOVF): Likewise.
10521         (FPE_FLTDIV): Likewise.
10522         (FPE_FLTOVF): Likewise.
10523         (FPE_FLTUND): Likewise.
10524         (FPE_FLTRES): Likewise.
10525         (FPE_FLTINV): Likewise.
10526         (FPE_FLTSUB): Likewise.
10527         (SEGV_MAPERR): Likewise.
10528         (SEGV_ACCERR): Likewise.
10529         (BUS_ADRALN): Likewise.
10530         (BUS_ADRERR): Likewise.
10531         (BUS_OBJERR): Likewise.
10532         (BUS_MCEERR_AR): Likewise.
10533         (BUS_MCEERR_AO): Likewise.
10534         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10535         (TRAP_TRACE): Likewise.
10536         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10537         __USE_XOPEN2K8].
10538         (CLD_KILLED): Likewise.
10539         (CLD_DUMPED): Likewise.
10540         (CLD_TRAPPED): Likewise.
10541         (CLD_STOPPED): Likewise.
10542         (CLD_CONTINUED): Likewise.
10543         (POLL_IN): Likewise.
10544         (POLL_OUT): Likewise.
10545         (POLL_MSG): Likewise.
10546         (POLL_ERR): Likewise.
10547         (POLL_PRI): Likewise.
10548         (POLL_HUP): Likewise.
10549         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10550         Likewise.
10551         (ILL_ILLOPN): Likewise.
10552         (ILL_ILLADR): Likewise.
10553         (ILL_ILLTRP): Likewise.
10554         (ILL_PRVOPC): Likewise.
10555         (ILL_PRVREG): Likewise.
10556         (ILL_COPROC): Likewise.
10557         (ILL_BADSTK): Likewise.
10558         (ILL_BADIADDR): Likewise.
10559         (ILL_BREAK): Likewise.
10560         (FPE_INTDIV): Likewise.
10561         (FPE_INTOVF): Likewise.
10562         (FPE_FLTDIV): Likewise.
10563         (FPE_FLTOVF): Likewise.
10564         (FPE_FLTUND): Likewise.
10565         (FPE_FLTRES): Likewise.
10566         (FPE_FLTINV): Likewise.
10567         (FPE_FLTSUB): Likewise.
10568         (FPE_DECOVF): Likewise.
10569         (FPE_DECDIV): Likewise.
10570         (FPE_DECERR): Likewise.
10571         (FPE_INVASC): Likewise.
10572         (FPE_INVDEC): Likewise.
10573         (SEGV_MAPERR): Likewise.
10574         (SEGV_ACCERR): Likewise.
10575         (SEGV_PSTKOVF): Likewise.
10576         (BUS_ADRALN): Likewise.
10577         (BUS_ADRERR): Likewise.
10578         (BUS_OBJERR): Likewise.
10579         (BUS_MCEERR_AR): Likewise.
10580         (BUS_MCEERR_AO): Likewise.
10581         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10582         (TRAP_TRACE): Likewise.
10583         (TRAP_BRANCH): Likewise.
10584         (TRAP_HWBKPT): Likewise.
10585         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10586         __USE_XOPEN2K8].
10587         (CLD_KILLED): Likewise.
10588         (CLD_DUMPED): Likewise.
10589         (CLD_TRAPPED): Likewise.
10590         (CLD_STOPPED): Likewise.
10591         (CLD_CONTINUED): Likewise.
10592         (POLL_IN): Likewise.
10593         (POLL_OUT): Likewise.
10594         (POLL_MSG): Likewise.
10595         (POLL_ERR): Likewise.
10596         (POLL_PRI): Likewise.
10597         (POLL_HUP): Likewise.
10598         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10599         (ILL_ILLOPN): Likewise.
10600         (ILL_ILLADR): Likewise.
10601         (ILL_ILLTRP): Likewise.
10602         (ILL_PRVOPC): Likewise.
10603         (ILL_PRVREG): Likewise.
10604         (ILL_COPROC): Likewise.
10605         (ILL_BADSTK): Likewise.
10606         (FPE_INTDIV): Likewise.
10607         (FPE_INTOVF): Likewise.
10608         (FPE_FLTDIV): Likewise.
10609         (FPE_FLTOVF): Likewise.
10610         (FPE_FLTUND): Likewise.
10611         (FPE_FLTRES): Likewise.
10612         (FPE_FLTINV): Likewise.
10613         (FPE_FLTSUB): Likewise.
10614         (SEGV_MAPERR): Likewise.
10615         (SEGV_ACCERR): Likewise.
10616         (BUS_ADRALN): Likewise.
10617         (BUS_ADRERR): Likewise.
10618         (BUS_OBJERR): Likewise.
10619         (BUS_MCEERR_AR): Likewise.
10620         (BUS_MCEERR_AO): Likewise.
10621         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10622         (TRAP_TRACE): Likewise.
10623         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10624         __USE_XOPEN2K8].
10625         (CLD_KILLED): Likewise.
10626         (CLD_DUMPED): Likewise.
10627         (CLD_TRAPPED): Likewise.
10628         (CLD_STOPPED): Likewise.
10629         (CLD_CONTINUED): Likewise.
10630         (POLL_IN): Likewise.
10631         (POLL_OUT): Likewise.
10632         (POLL_MSG): Likewise.
10633         (POLL_ERR): Likewise.
10634         (POLL_PRI): Likewise.
10635         (POLL_HUP): Likewise.
10636         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10637         (ILL_ILLOPN): Likewise.
10638         (ILL_ILLADR): Likewise.
10639         (ILL_ILLTRP): Likewise.
10640         (ILL_PRVOPC): Likewise.
10641         (ILL_PRVREG): Likewise.
10642         (ILL_COPROC): Likewise.
10643         (ILL_BADSTK): Likewise.
10644         (FPE_INTDIV): Likewise.
10645         (FPE_INTOVF): Likewise.
10646         (FPE_FLTDIV): Likewise.
10647         (FPE_FLTOVF): Likewise.
10648         (FPE_FLTUND): Likewise.
10649         (FPE_FLTRES): Likewise.
10650         (FPE_FLTINV): Likewise.
10651         (FPE_FLTSUB): Likewise.
10652         (SEGV_MAPERR): Likewise.
10653         (SEGV_ACCERR): Likewise.
10654         (BUS_ADRALN): Likewise.
10655         (BUS_ADRERR): Likewise.
10656         (BUS_OBJERR): Likewise.
10657         (BUS_MCEERR_AR): Likewise.
10658         (BUS_MCEERR_AO): Likewise.
10659         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10660         (TRAP_TRACE): Likewise.
10661         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10662         __USE_XOPEN2K8].
10663         (CLD_KILLED): Likewise.
10664         (CLD_DUMPED): Likewise.
10665         (CLD_TRAPPED): Likewise.
10666         (CLD_STOPPED): Likewise.
10667         (CLD_CONTINUED): Likewise.
10668         (POLL_IN): Likewise.
10669         (POLL_OUT): Likewise.
10670         (POLL_MSG): Likewise.
10671         (POLL_ERR): Likewise.
10672         (POLL_PRI): Likewise.
10673         (POLL_HUP): Likewise.
10674         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10675         (ILL_ILLOPN): Likewise.
10676         (ILL_ILLADR): Likewise.
10677         (ILL_ILLTRP): Likewise.
10678         (ILL_PRVOPC): Likewise.
10679         (ILL_PRVREG): Likewise.
10680         (ILL_COPROC): Likewise.
10681         (ILL_BADSTK): Likewise.
10682         (FPE_INTDIV): Likewise.
10683         (FPE_INTOVF): Likewise.
10684         (FPE_FLTDIV): Likewise.
10685         (FPE_FLTOVF): Likewise.
10686         (FPE_FLTUND): Likewise.
10687         (FPE_FLTRES): Likewise.
10688         (FPE_FLTINV): Likewise.
10689         (FPE_FLTSUB): Likewise.
10690         (SEGV_MAPERR): Likewise.
10691         (SEGV_ACCERR): Likewise.
10692         (BUS_ADRALN): Likewise.
10693         (BUS_ADRERR): Likewise.
10694         (BUS_OBJERR): Likewise.
10695         (BUS_MCEERR_AR): Likewise.
10696         (BUS_MCEERR_AO): Likewise.
10697         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10698         (TRAP_TRACE): Likewise.
10699         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10700         __USE_XOPEN2K8].
10701         (CLD_KILLED): Likewise.
10702         (CLD_DUMPED): Likewise.
10703         (CLD_TRAPPED): Likewise.
10704         (CLD_STOPPED): Likewise.
10705         (CLD_CONTINUED): Likewise.
10706         (POLL_IN): Likewise.
10707         (POLL_OUT): Likewise.
10708         (POLL_MSG): Likewise.
10709         (POLL_ERR): Likewise.
10710         (POLL_PRI): Likewise.
10711         (POLL_HUP): Likewise.
10712         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10713         (ILL_ILLOPN): Likewise.
10714         (ILL_ILLADR): Likewise.
10715         (ILL_ILLTRP): Likewise.
10716         (ILL_PRVOPC): Likewise.
10717         (ILL_PRVREG): Likewise.
10718         (ILL_COPROC): Likewise.
10719         (ILL_BADSTK): Likewise.
10720         (ILL_DBLFLT): Likewise.
10721         (ILL_HARDWALL): Likewise.
10722         (FPE_INTDIV): Likewise.
10723         (FPE_INTOVF): Likewise.
10724         (FPE_FLTDIV): Likewise.
10725         (FPE_FLTOVF): Likewise.
10726         (FPE_FLTUND): Likewise.
10727         (FPE_FLTRES): Likewise.
10728         (FPE_FLTINV): Likewise.
10729         (FPE_FLTSUB): Likewise.
10730         (SEGV_MAPERR): Likewise.
10731         (SEGV_ACCERR): Likewise.
10732         (BUS_ADRALN): Likewise.
10733         (BUS_ADRERR): Likewise.
10734         (BUS_OBJERR): Likewise.
10735         (BUS_MCEERR_AR): Likewise.
10736         (BUS_MCEERR_AO): Likewise.
10737         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10738         (TRAP_TRACE): Likewise.
10739         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10740         __USE_XOPEN2K8].
10741         (CLD_KILLED): Likewise.
10742         (CLD_DUMPED): Likewise.
10743         (CLD_TRAPPED): Likewise.
10744         (CLD_STOPPED): Likewise.
10745         (CLD_CONTINUED): Likewise.
10746         (POLL_IN): Likewise.
10747         (POLL_OUT): Likewise.
10748         (POLL_MSG): Likewise.
10749         (POLL_ERR): Likewise.
10750         (POLL_PRI): Likewise.
10751         (POLL_HUP): Likewise.
10752         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10753         (ILL_ILLOPN): Likewise.
10754         (ILL_ILLADR): Likewise.
10755         (ILL_ILLTRP): Likewise.
10756         (ILL_PRVOPC): Likewise.
10757         (ILL_PRVREG): Likewise.
10758         (ILL_COPROC): Likewise.
10759         (ILL_BADSTK): Likewise.
10760         (FPE_INTDIV): Likewise.
10761         (FPE_INTOVF): Likewise.
10762         (FPE_FLTDIV): Likewise.
10763         (FPE_FLTOVF): Likewise.
10764         (FPE_FLTUND): Likewise.
10765         (FPE_FLTRES): Likewise.
10766         (FPE_FLTINV): Likewise.
10767         (FPE_FLTSUB): Likewise.
10768         (SEGV_MAPERR): Likewise.
10769         (SEGV_ACCERR): Likewise.
10770         (BUS_ADRALN): Likewise.
10771         (BUS_ADRERR): Likewise.
10772         (BUS_OBJERR): Likewise.
10773         (BUS_MCEERR_AR): Likewise.
10774         (BUS_MCEERR_AO): Likewise.
10775         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10776         (TRAP_TRACE): Likewise.
10777         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10778         __USE_XOPEN2K8].
10779         (CLD_KILLED): Likewise.
10780         (CLD_DUMPED): Likewise.
10781         (CLD_TRAPPED): Likewise.
10782         (CLD_STOPPED): Likewise.
10783         (CLD_CONTINUED): Likewise.
10784         (POLL_IN): Likewise.
10785         (POLL_OUT): Likewise.
10786         (POLL_MSG): Likewise.
10787         (POLL_ERR): Likewise.
10788         (POLL_PRI): Likewise.
10789         (POLL_HUP): Likewise.
10790         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10791         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10793         [BZ #16670]
10794         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10795         before #include of <time.h>.
10796         [!__USE_XOPEN2K] (__need_timespec): Likewise.
10797         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10798         (test-xfail-UNIX98/sched.h/conform): Likewise.
10800 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10802         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10803         error absence of trapping exception support.
10804         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10806 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10808         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10809         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10810         * timezone/Makefile (testdata): Move definition above include of
10811         Rules.
10812         (test-zones): New variable.
10813         (tests-special): Add zone files.
10814         (build-testdata): Use $(evaluate-test).
10816         * elf/Makefile (tests-special): Rename tests to end with .out.
10817         ($(objpfx)noload-mem): Likewise.
10818         ($(objpfx)tst-leaks1-mem): Likewise.
10819         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10820         * iconv/Makefile (xtests-special): Change test-iconvconfig to
10821         $(objpfx)test-iconvconfig.out.
10822         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
10823         set -e inside subshell and redirect output to file.
10824         * iconvdata/Makefile (generated): Rename tests to end with .out.
10825         Correct type.
10826         (tests-special): Rename tests to end with .out.
10827         ($(objpfx)mtrace-tst-loading): Likewise.
10828         * intl/Makefile (generated): Likewise.
10829         (tests-special): Likewise.
10830         ($(objpfx)mtrace-tst-gettext): Likewise.
10831         * misc/Makefile (generated): Likewise.
10832         (tests-special): Likewise.
10833         ($(objpfx)tst-error1-mem): Likewise.
10834         * nptl/Makefile (tests-special): Likewise.
10835         ($(objpfx)tst-stack3-mem): Likewise.
10836         (generated): Likewise.
10837         * posix/Makefile (generated): Likewise.
10838         (tests-special): Likewise.
10839         (xtests-special): Likewise.
10840         ($(objpfx)tst-fnmatch-mem): Likewise.
10841         ($(objpfx)bug-regex2-mem): Likewise.
10842         ($(objpfx)bug-regex14-mem): Likewise.
10843         ($(objpfx)bug-regex21-mem): Likewise.
10844         ($(objpfx)bug-regex31-mem): Likewise.
10845         ($(objpfx)tst-vfork3-mem): Likewise.
10846         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10847         ($(objpfx)tst-pcre-mem): Likewise.
10848         ($(objpfx)tst-boost-mem): Likewise.
10849         ($(objpfx)bug-ga2-mem): Likewise.
10850         ($(objpfx)bug-glob2-mem): Likewise.
10851         * resolv/Makefile (generate): Likewise.
10852         (tests-special): Likewise.
10853         (xtests-special): Likewise.
10854         (generated): Likewise.
10855         ($(objpfx)mtrace-tst-leaks): Likewise.
10856         ($(objpfx)mtrace-tst-leaks2): Likewise.
10858         * scripts/merge-test-results.sh: New file.
10859         * Makefile (tests-special-notdir): New variable.
10860         (tests): Run merge-test-results.sh.
10861         (xtests): Likewise.
10862         * Rules (tests-special-notdir): New variable.
10863         (xtests-special-notdir): Likewise.
10864         (tests): Run merge-test-results.sh
10865         (xtests): Likewise.
10867         * Makeconfig (test-xfail-name): New variable.
10868         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10869         compute variable name for expected failures.
10870         * conform/Makefile (conformtest-headers-data): New variable.
10871         (conformtest-standards): Likewise.
10872         (conformtest-headers-ISO): Likewise.
10873         (conformtest-headers-ISO99): Likewise.
10874         (conformtest-headers-ISO11): Likewise.
10875         (conformtest-headers-POSIX): Likewise.
10876         (conformtest-headers-XPG3): Likewise.
10877         (conformtest-headers-XPG4): Likewise.
10878         (conformtest-headers-UNIX98): Likewise.
10879         (conformtest-headers-XOPEN2K): Likewise.
10880         (conformtest-headers-POSIX2008): Likewise.
10881         (conformtest-headers-XOPEN2K8): Likewise.
10882         (conformtest-header-list-base): Likewise.
10883         (conformtest-header-list-tests): Likewise.
10884         (conformtest-header-base): Likewise.
10885         (conformtest-header-tests): Likewise.
10886         (tests-special): Add $(conformtest-header-list-tests).  If
10887         [$(fast-check) && !$(cross-compiling)], add
10888         $(conformtest-header-tests) instead of
10889         $(objpfx)run-conformtest.out.
10890         (generated): Add $(conformtest-header-list-base).  If
10891         [$(fast-check) && !$(cross-compiling)], add
10892         $(conformtest-header-base).  Remove previous setting.
10893         ($(conformtest-header-list-tests)): New target.
10894         (test-xfail-run-conformtest): Remove variable.
10895         ($(objpfx)run-conformtest.out): Remove target.
10896         (test-xfail-ISO11/complex.h/conform): New variable.
10897         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10898         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10899         (test-xfail-XPG3/varargs.h/conform): Likewise.
10900         (test-xfail-XPG4/varargs.h/conform): Likewise.
10901         (test-xfail-UNIX98/varargs.h/conform): Likewise.
10902         (test-xfail-XPG4/ndbm.h/conform): Likewise.
10903         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10904         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10905         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10906         (test-xfail-XPG3/fcntl.h/conform): Likewise.
10907         (test-xfail-XPG3/ftw.h/conform): Likewise.
10908         (test-xfail-XPG3/grp.h/conform): Likewise.
10909         (test-xfail-XPG3/langinfo.h/conform): Likewise.
10910         (test-xfail-XPG3/limits.h/conform): Likewise.
10911         (test-xfail-XPG3/pwd.h/conform): Likewise.
10912         (test-xfail-XPG3/search.h/conform): Likewise.
10913         (test-xfail-XPG3/signal.h/conform): Likewise.
10914         (test-xfail-XPG3/stdio.h/conform): Likewise.
10915         (test-xfail-XPG3/stdlib.h/conform): Likewise.
10916         (test-xfail-XPG3/string.h/conform): Likewise.
10917         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10918         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10919         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10920         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10921         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10922         (test-xfail-XPG3/sys/types.h/conform): Likewise.
10923         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10924         (test-xfail-XPG3/termios.h/conform): Likewise.
10925         (test-xfail-XPG3/time.h/conform): Likewise.
10926         (test-xfail-XPG3/unistd.h/conform): Likewise.
10927         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10928         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10929         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10930         (test-xfail-XPG4/netdb.h/conform): Likewise.
10931         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10932         (test-xfail-XPG4/signal.h/conform): Likewise.
10933         (test-xfail-XPG4/stdio.h/conform): Likewise.
10934         (test-xfail-XPG4/stdlib.h/conform): Likewise.
10935         (test-xfail-XPG4/stropts.h/conform): Likewise.
10936         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10937         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10938         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10939         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10940         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10941         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10942         (test-xfail-XPG4/sys/time.h/conform): Likewise.
10943         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10944         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10945         (test-xfail-XPG4/termios.h/conform): Likewise.
10946         (test-xfail-XPG4/ucontext.h/conform): Likewise.
10947         (test-xfail-XPG4/unistd.h/conform): Likewise.
10948         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10949         (test-xfail-POSIX/sched.h/conform): Likewise.
10950         (test-xfail-POSIX/signal.h/conform): Likewise.
10951         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10952         (test-xfail-POSIX/tar.h/conform): Likewise.
10953         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10954         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10955         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10956         (test-xfail-UNIX98/netdb.h/conform): Likewise.
10957         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10958         (test-xfail-UNIX98/sched.h/conform): Likewise.
10959         (test-xfail-UNIX98/signal.h/conform): Likewise.
10960         (test-xfail-UNIX98/stdio.h/conform): Likewise.
10961         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10962         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10963         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10964         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10965         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10966         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10967         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10968         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10969         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10970         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10971         (test-xfail-UNIX98/unistd.h/conform): Likewise.
10972         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10973         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10974         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10975         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10976         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10977         (test-xfail-XOPEN2K/math.h/conform): Likewise.
10978         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10979         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10980         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10981         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10982         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10983         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10984         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10985         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10986         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10987         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10988         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10989         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10990         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10991         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10992         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10993         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10994         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10995         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10996         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10997         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10998         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10999         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11000         (test-xfail-POSIX2008/signal.h/conform): Likewise.
11001         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11002         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11003         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11004         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11005         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11006         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11007         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11008         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11009         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11010         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11011         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11012         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11013         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11014         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11015         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11016         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11017         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11018         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11019         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11020         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11021         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11022         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11023         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11024         (conformtest-cc-flags): Likewise.
11025         ($(conformtest-header-tests): New target.
11026         * conform/check-header-lists.sh: New file.
11027         * conform/run-conformtest.sh: Remove.
11029         * conform/conformtest.pl: Allow ' and \ in values given for
11030         constants.
11031         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11032         inclusion.
11033         [POSIX] (sys/types.h): Likewise.
11034         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11035         inclusion.
11036         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11037         inclusion.
11038         * conform/data/signal.h-data (SIGIO): Remove expectation.
11039         [XPG3] (SIGBUS): Do not expect.
11040         [POSIX || XPG3] (SIGPOLL): Likewise.
11041         [POSIX || XPG3] (SIGPROF): Likewise.
11042         [POSIX || XPG3] (SIGSYS): Likewise.
11043         [XPG3] (SIGTRAP): Likewise.
11044         [POSIX || XPG3] (SIGURG): Likewise.
11045         [POSIX || XPG3] (SIGVTALRM): Likewise.
11046         [POSIX || XPG3] (SIGXCPU): Likewise.
11047         [POSIX || XPG3] (SIGXFSZ): Likewise.
11048         [POSIX] (SA_SIGINFO): Expect.
11049         [XPG3] (siginfo_t): Do not expect type or contents.
11050         [POSIX] (si_pid): Do not expect element.
11051         [POSIX] (si_uid): Likewise.
11052         [POSIX] (si_addr): Likewise.
11053         [POSIX] (si_status): Likewise.
11054         [POSIX] (si_band): Likewise.
11055         [XPG4] (si_value): Likewise.
11056         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11057         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11058         [POSIX || XPG3] (ILL_ILLADR): Likewise.
11059         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11060         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11061         [POSIX || XPG3] (ILL_PRVREG): Likewise.
11062         [POSIX || XPG3] (ILL_COPROC): Likewise.
11063         [POSIX || XPG3] (ILL_BADSTK): Likewise.
11064         [POSIX || XPG3] (FPE_INTDIV): Likewise.
11065         [POSIX || XPG3] (FPE_INTOVF): Likewise.
11066         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11067         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11068         [POSIX || XPG3] (FPE_FLTUND): Likewise.
11069         [POSIX || XPG3] (FPE_FLTRES): Likewise.
11070         [POSIX || XPG3] (FPE_FLTINV): Likewise.
11071         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11072         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11073         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11074         [POSIX || XPG3] (BUS_ADRALN): Likewise.
11075         [POSIX || XPG3] (BUS_ADRERR): Likewise.
11076         [POSIX || XPG3] (BUS_OBJERR): Likewise.
11077         [POSIX || XPG3] (CLD_EXITED): Likewise.
11078         [POSIX || XPG3] (CLD_KILLED): Likewise.
11079         [POSIX || XPG3] (CLD_DUMPED): Likewise.
11080         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11081         [POSIX || XPG3] (CLD_STOPPED): Likewise.
11082         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11083         [POSIX || XPG3] (POLL_IN): Likewise.
11084         [POSIX || XPG3] (POLL_OUT): Likewise.
11085         [POSIX || XPG3] (POLL_MSG): Likewise.
11086         [POSIX || XPG3] (POLL_ERR): Likewise.
11087         [POSIX || XPG3] (POLL_PRI): Likewise.
11088         [POSIX || XPG3] (POLL_HUP): Likewise.
11089         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11090         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11091         (SIG*): Do not allow.
11092         [XPG3] (si_*): Likewise.
11093         [XPG3] (SI_*): Likewise.
11094         [XPG3 || XPG4] (sigev_*): Likewise.
11095         [XPG3 || XPG4] (SIGEV_*): Likewise.
11096         [XPG3 || XPG4] (sival_*): Likewise.
11097         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11098         [POSIX || XPG3] (BUS_*): Likewise.
11099         [POSIX || XPG3] (CLD_*): Likewise.
11100         [POSIX || XPG3] (FPE_*): Likewise.
11101         [POSIX || XPG3] (ILL_*): Likewise.
11102         [POSIX || XPG3] (POLL_*): Likewise.
11103         [POSIX || XPG3] (SEGV_*): Likewise.
11104         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11105         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11106         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11107         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11108         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11109         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11110         Specify type and value.
11111         (TVERSLEN): Likewise.
11112         (REGTYPE): Likewise.
11113         (AREGTYPE): Likewise.
11114         (LNKTYPE): Likewise.
11115         (SYMTYPE): Likewise.
11116         (CHRTYPE): Likewise.
11117         (BLKTYPE): Likewise.
11118         (DIRTYPE): Likewise.
11119         (FIFOTYPE): Likewise.
11120         (CONTTYPE): Likewise.
11121         (TSUID): Likewise.
11122         (TSGID): Likewise.
11123         (TSVTX): Likewise.
11124         (TUREAD): Likewise.
11125         (TUWRITE): Likewise.
11126         (TUEXEC): Likewise.
11127         (TGREAD): Likewise.
11128         (TGWRITE): Likewise.
11129         (TGEXEC): Likewise.
11130         (TOREAD): Likewise.
11131         (TOWRITE): Likewise.
11132         (TOEXEC): Likewise.
11133         [POSIX] (TSVTX): Expect constant.
11135 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11137         * Makefile (tests): Change dependencies to ....
11138         (tests-special): ... additions to this variable.
11139         (tests): Depend on $(tests-special).
11140         * Makerules (check-abi-list): New variable.
11141         (check-abi): Depend on $(check-abi-list).
11142         [$(subdir) = elf] (tests-special): Add
11143         $(objpfx)check-abi-libc.out.
11144         [$(build-shared) = yes && subdir] (tests-special): Add
11145         $(check-abi-list).
11146         [$(build-shared) = yes && subdir] (tests): Do not depend on
11147         check-abi.
11148         * Rules (tests): Depend on $(tests-special).
11149         (xtests): Depend on $(xtests-special).
11150         * catgets/Makefile (tests): Change dependencies to ....
11151         (tests-special): ... additions to this variable.
11152         * conform/Makefile (tests): Change dependencies to ....
11153         (tests-special): ... additions to this variable.
11154         * elf/Makefile (tests): Change dependencies to ....
11155         (tests-special): ... additions to this variable.
11156         * grp/Makefile (tests): Change dependencies to ....
11157         (tests-special): ... additions to this variable.
11158         * iconv/Makefile (xtests): Change dependencies to ....
11159         (xtests-special): ... additions to this variable.
11160         * iconvdata/Makefile (tests): Change dependencies to ....
11161         (tests-special): ... additions to this variable.
11162         * intl/Makefile (tests): Change dependencies to ....
11163         (tests-special): ... additions to this variable.  Also add
11164         $(objpfx)tst-gettext.out.
11165         * io/Makefile (tests): Change dependencies to ....
11166         (tests-special): ... additions to this variable.
11167         * libio/Makefile (tests): Change dependencies to ....
11168         (tests-special): ... additions to this variable.
11169         * malloc/Makefile (tests): Change dependencies to ....
11170         (tests-special): ... additions to this variable.
11171         * misc/Makefile (tests): Change dependencies to ....
11172         (tests-special): ... additions to this variable.
11173         * nptl/Makefile (tests): Change dependencies to ....
11174         (tests-special): ... additions to this variable.
11175         * nptl_db/Makefile (tests): Change dependencies to ....
11176         (tests-special): ... additions to this variable.
11177         * posix/Makefile (tests): Change dependencies to ....
11178         (tests-special): ... additions to this variable.
11179         (xtests): Change dependencies to ....
11180         (xtests-special): ... additions to this variable.
11181         * resolv/Makefile (tests): Change dependencies to ....
11182         (tests-special): ... additions to this variable.
11183         (xtests): Change dependencies to ....
11184         (xtests-special): ... additions to this variable.
11185         * stdio-common/Makefile (tests): Change dependencies to ....
11186         (tests-special): ... additions to this variable.
11187         (do-tst-unbputc): Remove target.
11188         (do-tst-printf): Likewise.
11189         * stdlib/Makefile (tests): Change dependencies to ....
11190         (tests-special): ... additions to this variable.
11191         * string/Makefile (tests): Change dependencies to ....
11192         (tests-special): ... additions to this variable.
11193         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11194         (tests-special): ... additions to this variable.
11196         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11197         whole file.
11198         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11199         whole file.
11200         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11201         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11203         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11204         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11205         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11206         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11207         * conform/data/libgen.h-data [XPG3]: Likewise.
11208         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11209         * conform/data/ndbm.h-data [XPG3]: Likewise.
11210         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11211         * conform/data/netdb.h-data [XPG3]: Likewise.
11212         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11213         * conform/data/poll.h-data [XPG3]: Likewise.
11214         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11215         * conform/data/strings.h-data [XPG3]: Likewise.
11216         * conform/data/stropts.h-data [XPG3]: Likewise.
11217         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11218         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11219         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11220         Likewise.
11221         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11222         * conform/data/sys/time.h-data [XPG3]: Likewise.
11223         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11224         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11225         * conform/data/sys/un.h-data [XPG3]: Likewise.
11226         * conform/data/syslog.h-data [XPG3]: Likewise.
11227         * conform/data/ucontext.h-data [XPG3]: Likewise.
11228         * conform/data/utmpx.h-data [XPG3]: Likewise.
11229         * conform/data/varargs.h-data [UNIX98]: Enable file.
11231         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11233         * math/libm-test.inc (struct test_f_f_data): Move expected results
11234         into structure for each rounding mode.
11235         (struct test_ff_f_data): Likewise.
11236         (struct test_ff_f_data_nexttoward): Likewise.
11237         (struct test_fi_f_data): Likewise.
11238         (struct test_fl_f_data): Likewise.
11239         (struct test_if_f_data): Likewise.
11240         (struct test_fff_f_data): Likewise.
11241         (struct test_c_f_data): Likewise.
11242         (struct test_f_f1_data): Likewise.
11243         (struct test_fF_f1_data): Likewise.
11244         (struct test_ffI_f1_data): Likewise.
11245         (struct test_c_c_data): Likewise.
11246         (struct test_cc_c_data): Likewise.
11247         (struct test_f_i_data): Likewise.
11248         (struct test_ff_i_data): Likewise.
11249         (struct test_f_l_data): Likewise.
11250         (struct test_f_L_data): Likewise.
11251         (struct test_fFF_11_data): Likewise.
11252         (RM_): New macro.
11253         (RM_FE_DOWNWARD): Likewise.
11254         (RM_FE_TONEAREST): Likewise.
11255         (RM_FE_TOWARDZERO): Likewise.
11256         (RM_FE_UPWARD): Likewise.
11257         (RUN_TEST_LOOP_f_f): Update references to expected results.
11258         (RUN_TEST_LOOP_2_f): Likewise.
11259         (RUN_TEST_LOOP_fff_f): Likewise.
11260         (RUN_TEST_LOOP_c_f): Likewise.
11261         (RUN_TEST_LOOP_f_f1): Likewise.
11262         (RUN_TEST_LOOP_fF_f1): Likewise.
11263         (RUN_TEST_LOOP_fI_f1): Likewise.
11264         (RUN_TEST_LOOP_ffI_f1): Likewise.
11265         (RUN_TEST_LOOP_c_c): Likewise.
11266         (RUN_TEST_LOOP_cc_c): Likewise.
11267         (RUN_TEST_LOOP_f_i): Likewise.
11268         (RUN_TEST_LOOP_f_i_tg): Likewise.
11269         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11270         (RUN_TEST_LOOP_f_b): Likewise.
11271         (RUN_TEST_LOOP_f_b_tg): Likewise.
11272         (RUN_TEST_LOOP_f_l): Likewise.
11273         (RUN_TEST_LOOP_f_L): Likewise.
11274         (RUN_TEST_LOOP_fFF_11): Likewise.
11275         * math/gen-libm-test.pl (parse_args): Output four copies of
11276         expected results for each test.
11278         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11279         (__ASSUME_UTIMES): Remove.
11280         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11281         (__ASSUME_UTIMES): Likewise.
11283         * math/gen-auto-libm-tests.c: Update comment on output format.
11284         (output_for_one_input_case): Generate before-rounding and
11285         after-rounding information as conditions on output flags not
11286         floating-point format.
11287         * math/auto-libm-test-out: Regenerated.
11288         * math/gen-libm-test.pl (cond_value): New function.
11289         (or_cond_value): Use cond_value.
11290         (generate_testfile): Handle conditional exceptions.
11292 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11294         * math/libm-test.inc (max_valid_error): New variable.
11295         (init_max_error): Take new argument specifying whether function
11296         results are exactly determined.  Set max_valid_error and bound
11297         other variables for errors based on this argument.
11298         (set_max_error): Do not record results above max_valid_error.
11299         (check_float_internal): Only accept errors of up to 0.5ulps if
11300         also at most max_valid_error.
11301         (START): Take new argument EXACT and pass it to init_max_error.
11302         (acos_test): Update call to START.
11303         (acos_test_tonearest): Likewise.
11304         (acos_test_towardzero): Likewise.
11305         (acos_test_downward): Likewise.
11306         (acos_test_upward): Likewise.
11307         (acosh_test): Likewise.
11308         (asin_test): Likewise.
11309         (asin_test_tonearest): Likewise.
11310         (asin_test_towardzero): Likewise.
11311         (asin_test_downward): Likewise.
11312         (asin_test_upward): Likewise.
11313         (asinh_test): Likewise.
11314         (atan_test): Likewise.
11315         (atanh_test): Likewise.
11316         (atan2_test): Likewise.
11317         (cabs_test): Likewise.
11318         (cacos_test): Likewise.
11319         (cacosh_test): Likewise.
11320         (carg_test): Likewise.
11321         (casin_test): Likewise.
11322         (casinh_test): Likewise.
11323         (catan_test): Likewise.
11324         (catanh_test): Likewise.
11325         (cbrt_test): Likewise.
11326         (ccos_test): Likewise.
11327         (ccosh_test): Likewise.
11328         (ceil_test): Likewise.
11329         (cexp_test): Likewise.
11330         (cimag_test): Likewise.
11331         (clog_test): Likewise.
11332         (clog10_test): Likewise.
11333         (conj_test): Likewise.
11334         (copysign_test): Likewise.
11335         (cos_test): Likewise.
11336         (cos_test_tonearest): Likewise.
11337         (cos_test_towardzero): Likewise.
11338         (cos_test_downward): Likewise.
11339         (cos_test_upward): Likewise.
11340         (cosh_test): Likewise.
11341         (cosh_test_tonearest): Likewise.
11342         (cosh_test_towardzero): Likewise.
11343         (cosh_test_downward): Likewise.
11344         (cosh_test_upward): Likewise.
11345         (cpow_test): Likewise.
11346         (cproj_test): Likewise.
11347         (creal_test): Likewise.
11348         (csin_test): Likewise.
11349         (csinh_test): Likewise.
11350         (csqrt_test): Likewise.
11351         (ctan_test): Likewise.
11352         (ctan_test_tonearest): Likewise.
11353         (ctan_test_towardzero): Likewise.
11354         (ctan_test_downward): Likewise.
11355         (ctan_test_upward): Likewise.
11356         (ctanh_test): Likewise.
11357         (ctanh_test_tonearest): Likewise.
11358         (ctanh_test_towardzero): Likewise.
11359         (ctanh_test_downward): Likewise.
11360         (ctanh_test_upward): Likewise.
11361         (erf_test): Likewise.
11362         (erfc_test): Likewise.
11363         (exp_test): Likewise.
11364         (exp_test_tonearest): Likewise.
11365         (exp_test_towardzero): Likewise.
11366         (exp_test_downward): Likewise.
11367         (exp_test_upward): Likewise.
11368         (exp10_test): Likewise.
11369         (exp10_test_tonearest): Likewise.
11370         (exp10_test_towardzero): Likewise.
11371         (exp10_test_downward): Likewise.
11372         (exp10_test_upward): Likewise.
11373         (pow10_test): Likewise.
11374         (exp2_test): Likewise.
11375         (expm1_test): Likewise.
11376         (expm1_test_tonearest): Likewise.
11377         (expm1_test_towardzero): Likewise.
11378         (expm1_test_downward): Likewise.
11379         (expm1_test_upward): Likewise.
11380         (fabs_test): Likewise.
11381         (fdim_test): Likewise.
11382         (floor_test): Likewise.
11383         (fma_test): Likewise.
11384         (fma_test_towardzero): Likewise.
11385         (fma_test_downward): Likewise.
11386         (fma_test_upward): Likewise.
11387         (fmax_test): Likewise.
11388         (fmin_test): Likewise.
11389         (fmod_test): Likewise.
11390         (fpclassify_test): Likewise.
11391         (frexp_test): Likewise.
11392         (hypot_test): Likewise.
11393         (ilogb_test): Likewise.
11394         (isfinite_test): Likewise.
11395         (finite_test): Likewise.
11396         (isgreater_test): Likewise.
11397         (isgreaterequal_test): Likewise.
11398         (isinf_test): Likewise.
11399         (isless_test): Likewise.
11400         (islessequal_test): Likewise.
11401         (islessgreater_test): Likewise.
11402         (isnan_test): Likewise.
11403         (isnormal_test): Likewise.
11404         (issignaling_test): Likewise.
11405         (isunordered_test): Likewise.
11406         (j0_test): Likewise.
11407         (j1_test): Likewise.
11408         (jn_test): Likewise.
11409         (ldexp_test): Likewise.
11410         (lgamma_test): Likewise.
11411         (gamma_test): Likewise.
11412         (lrint_test): Likewise.
11413         (lrint_test_tonearest): Likewise.
11414         (lrint_test_towardzero): Likewise.
11415         (lrint_test_downward): Likewise.
11416         (lrint_test_upward): Likewise.
11417         (llrint_test): Likewise.
11418         (llrint_test_tonearest): Likewise.
11419         (llrint_test_towardzero): Likewise.
11420         (llrint_test_downward): Likewise.
11421         (llrint_test_upward): Likewise.
11422         (log_test): Likewise.
11423         (log10_test): Likewise.
11424         (log1p_test): Likewise.
11425         (log2_test): Likewise.
11426         (logb_test): Likewise.
11427         (logb_test_downward): Likewise.
11428         (lround_test): Likewise.
11429         (llround_test): Likewise.
11430         (modf_test): Likewise.
11431         (nearbyint_test): Likewise.
11432         (nextafter_test): Likewise.
11433         (nexttoward_test): Likewise.
11434         (pow_test): Likewise.
11435         (pow_test_tonearest): Likewise.
11436         (pow_test_towardzero): Likewise.
11437         (pow_test_downward): Likewise.
11438         (pow_test_upward): Likewise.
11439         (remainder_test): Likewise.
11440         (drem_test): Likewise.
11441         (remainder_test_tonearest): Likewise.
11442         (drem_test_tonearest): Likewise.
11443         (remainder_test_towardzero): Likewise.
11444         (drem_test_towardzero): Likewise.
11445         (remainder_test_downward): Likewise.
11446         (drem_test_downward): Likewise.
11447         (remainder_test_upward): Likewise.
11448         (drem_test_upward): Likewise.
11449         (remquo_test): Likewise.
11450         (rint_test): Likewise.
11451         (rint_test_tonearest): Likewise.
11452         (rint_test_towardzero): Likewise.
11453         (rint_test_downward): Likewise.
11454         (rint_test_upward): Likewise.
11455         (round_test): Likewise.
11456         (scalb_test): Likewise.
11457         (scalbn_test): Likewise.
11458         (scalbln_test): Likewise.
11459         (signbit_test): Likewise.
11460         (sin_test): Likewise.
11461         (sin_test_tonearest): Likewise.
11462         (sin_test_towardzero): Likewise.
11463         (sin_test_downward): Likewise.
11464         (sin_test_upward): Likewise.
11465         (sincos_test): Likewise.
11466         (sinh_test): Likewise.
11467         (sinh_test_tonearest): Likewise.
11468         (sinh_test_towardzero): Likewise.
11469         (sinh_test_downward): Likewise.
11470         (sinh_test_upward): Likewise.
11471         (sqrt_test): Likewise.
11472         (sqrt_test_tonearest): Likewise.
11473         (sqrt_test_towardzero): Likewise.
11474         (sqrt_test_downward): Likewise.
11475         (sqrt_test_upward): Likewise.
11476         (tan_test): Likewise.
11477         (tan_test_tonearest): Likewise.
11478         (tan_test_towardzero): Likewise.
11479         (tan_test_downward): Likewise.
11480         (tan_test_upward): Likewise.
11481         (tanh_test): Likewise.
11482         (tgamma_test): Likewise.
11483         (trunc_test): Likewise.
11484         (y0_test): Likewise.
11485         (y1_test): Likewise.
11486         (yn_test): Likewise.
11487         (significand_test): Likewise.
11489         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11490         individual tests in comment.
11491         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11492         (prev_max_error): New variable.
11493         (prev_real_max_error): Likewise.
11494         (prev_imag_max_error): Likewise.
11495         (compare_ulp_data): Don't refer to test names in comment.
11496         (find_test_ulps): Remove function.
11497         (find_function_ulps): Likewise.
11498         (find_complex_function_ulps): Likewise.
11499         (init_max_error): Take function name as argument.  Look up ulps
11500         for that function.
11501         (print_ulps): Remove function.
11502         (print_max_error): Use prev_max_error instead of calling
11503         find_function_ulps.
11504         (print_complex_max_error): Use prev_real_max_error and
11505         prev_imag_max_error instead of calling find_complex_function_ulps.
11506         (check_float_internal): Take max_ulp parameter instead of calling
11507         find_test_ulps.  Don't call print_ulps.
11508         (check_float): Update call to check_float_internal.
11509         (check_complex): Update calls to check_float_internal.
11510         (START): Pass argument to init_max_error.
11511         * math/gen-libm-test.pl (%results): Don't include "kind"
11512         information.
11513         (parse_ulps): Don't handle ulps of individual tests.
11514         (print_ulps_file): Likewise.
11515         (output_ulps): Likewise.
11516         * math/README.libm-test: Update.
11517         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11518         individual tests.
11519         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11520         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11521         * sysdeps/arm/libm-test-ulps: Likewise.
11522         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11523         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11524         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11525         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11526         * sysdeps/microblaze/libm-test-ulps: Likewise.
11527         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11528         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11529         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11530         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11531         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11532         * sysdeps/sh/libm-test-ulps: Likewise.
11533         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11534         * sysdeps/tile/libm-test-ulps: Likewise.
11535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11537 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
11539         * math/libm-test.inc (print_complex_max_error): Check separately
11540         whether real and imaginary errors are within allowed range and
11541         pass 0 to print_complex_function_ulps instead of value within
11542         allowed range.
11544 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11546         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11547         formatting.
11548         (get_handles_fopen): Likewise.
11549         (do_write_test): Likewise.
11551         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11553         * libio/fileops.c (do_ftell): Use cached offset when
11554         available.
11555         * libio/iofwide.c (do_ftell_wide): Likewise.
11556         * libio/iofdopen.c (_IO_new_fdopen): Don't use
11557         _IO_file_attach.
11558         * libio/wfileops.c (_IO_fwide): Don't cache offset.
11560         [BZ #16532]
11561         * libio/libioP.h (get_file_offset): New function.
11562         * libio/fileops.c (get_file_offset): Likewise.
11563         (do_ftell): Likewise.
11564         (_IO_new_file_seekoff): Split out ftell logic.
11565         * libio/wfileops.c (do_ftell_wide): Likewise.
11566         (_IO_wfile_seekoff): Split out ftell logic.
11567         * libio/tst-ftell-active-handler.c: New test case.
11568         * libio/Makefile (tests): Add it.
11570 2014-03-03  Roland McGrath  <roland@hack.frob.com>
11572         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11573         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11575 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11577         [BZ #16639]
11578         * nscd/connections.c (nscd_init): Call do_exit.
11579         (start_threads): Call do_exit and notify_parent.
11580         (begin_drop_privileges): Call do_exit.
11581         (finish_drop_privileges): Likewise.
11582         * nscd/selinux.c (preserve_capabilities): Likewise.
11583         (install_real_capabilities): Likewise.
11584         (nscd_selinux_enabled): Likewise.
11585         (avc_create_thread): Likewise.
11586         (avc_alloc_lock): Likewise.
11587         (nscd_avc_init): Likewise.
11588         * nscd/nscd.c (parent_fd): New static variable.
11589         (main): Create a pipe between parent and child processes.
11590         Skip closing parent_fd.
11591         (monitor_child): New function.
11592         (do_exit): Likewise.
11593         (notify_parent): Likewise.
11594         * nscd/nscd.h (notify_parent): Likewise.
11595         (do_exit): Likewise.
11597 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
11599         * malloc/malloc.c (__libc_calloc): Revert last change.
11601 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11605 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11607         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11609         implementation.
11610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11611         (__libc_ifunc_impl_list): Likewise.
11612         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11613         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11614         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11615         * string/strrchr.c: Define STRRCHR.
11617 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
11619         * benchtest/bench-strtok.c (simple_strtok): Delete.
11620         (strtok_string): Use as benchmark.
11621         * string/strtok (STRTOK): New macro.
11623 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
11625         * manual/threads.texi: Add header and standard comments to all
11626         functions.
11628         * elf/dl-lookup.c (check_match): New function.
11629         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11630         (do_lookup_x): Remove nested function check_match. Use non-nested
11631         function check_match.
11633 2014-02-28  Roland McGrath  <roland@hack.frob.com>
11635         * csu/Makefile (generated, before-compile): Use += rather than =.
11636         * catgets/Makefile (generated, generated-dirs): Likewise.
11637         * debug/Makefile (generated): Likewise.
11638         * dlfcn/Makefile (generated): Likewise.
11639         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11640         * iconvdata/Makefile (before-compile, generated): Likewise.
11641         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11642         * libio/Makefile (generated): Likewise.
11643         * malloc/Makefile (generated): Likewise.
11644         * manual/Makefile (generated, generated-dirs): Likewise.
11645         * misc/Makefile (generated): Likewise.
11646         * posix/Makefile (generated): Likewise.
11647         * resolv/Makefile (generated): Likewise.
11648         * sunrpc/Makefile (generated, generated-dirs): Likewise.
11649         * timezone/Makefile (generated, generated-dirs): Likewise.
11651         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11653 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11655         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11656         power8 implementation.
11657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11658         file: POWER8 llround ifunc implementation.
11659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11660         (__lllround): Add POWER8 implementation.
11661         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11662         POWER8 llround implementation.
11664         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11665         power8 implementation.
11666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11667         file: POWER8 llrint ifunc implementation.
11668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11669         Add POWER8 implementation.
11670         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11671         POWER8 llrint implementation.
11673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11674         power8 implementation.
11675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11676         file: POWER8 finite ifunc implementation.
11677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11678         Add POWER8 implementation.
11679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11680         Likewise.
11681         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11682         POWER8 finite implementation.
11683         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11685         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11686         power8 implementation.
11687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11688         file: POWER8 isinf ifunc implementation.
11689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11690         POWER8 implementation.
11691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11692         Likewise.
11693         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11694         isinf implementation.
11695         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11697         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11698         (INIT_ARCH): Add hwcap2 initialization.
11699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11700         power8 implementation.
11701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11702         file: POWER8 isnan ifunc implementation.
11703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11704         POWER8 implementation.
11705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11706         Likewise.
11707         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11708         isnan implementation.
11709         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11711 2014-02-27  Joey Ye  <joey.ye@arm.com>
11713         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11714         (_FP_NANFRAC_Q): Set to zero.
11716 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11718         [BZ #16623]
11719         * math/auto-libm-test-in: New test inputs.
11720         * math/auto-libm-test-out: Regenerate.
11721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11722         and DA.
11723         (__cos): Likewise.
11724         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11726 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
11728         * scripts/evaluate-test.sh: Take new argument indicating whether
11729         failure is expected.
11730         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11731         indicating whether failure is expected.
11732         * conform/Makefile (test-xfail-run-conformtest): New variable.
11733         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11734         level.
11735         * posix/Makefile (test-xfail-annexc): New variable.
11736         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11738 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
11740         * argp/Makefile: Include Makeconfig immediately after defining
11741         subdir.
11742         * assert/Makefile: Likewise.
11743         * benchtests/Makefile: Likewise.
11744         * catgets/Makefile: Likewise.
11745         * conform/Makefile: Likewise.
11746         * crypt/Makefile: Likewise.
11747         * csu/Makefile: Likewise.
11748         (all): Remove target.
11749         * ctype/Makefile: Include Makeconfig immediately after defining
11750         subdir.
11751         * debug/Makefile: Likewise.
11752         * dirent/Makefile: Likewise.
11753         * dlfcn/Makefile: Likewise.
11754         * gmon/Makefile: Likewise.
11755         * gnulib/Makefile: Likewise.
11756         * grp/Makefile: Likewise.
11757         * gshadow/Makefile: Likewise.
11758         * hesiod/Makefile: Likewise.
11759         * hurd/Makefile: Likewise.
11760         (all): Remove target.
11761         * iconvdata/Makefile: Include Makeconfig immediately after
11762         defining subdir.
11763         * inet/Makefile: Likewise.
11764         * intl/Makefile: Likewise.
11765         * io/Makefile: Likewise.
11766         * libio/Makefile: Likewise.
11767         (all): Remove target.
11768         * locale/Makefile: Include Makeconfig immediately after defining
11769         subdir.
11770         * login/Makefile: Likewise.
11771         * mach/Makefile: Likewise.
11772         (all): Remove target.
11773         * malloc/Makefile: Include Makeconfig immediately after defining
11774         subdir.
11775         (all): Remove target.
11776         * manual/Makefile: Include Makeconfig immediately after defining
11777         subdir.
11778         * math/Makefile: Likewise.
11779         * misc/Makefile: Likewise.
11780         * nis/Makefile: Likewise.
11781         * nss/Makefile: Likewise.
11782         * po/Makefile: Likewise.
11783         (all): Remove target.
11784         * posix/Makefile: Include Makeconfig immediately after defining
11785         subdir.
11786         * pwd/Makefile: Likewise.
11787         * resolv/Makefile: Likewise.
11788         * resource/Makefile: Likewise.
11789         * rt/Makefile: Likewise.
11790         * setjmp/Makefile: Likewise.
11791         * shadow/Makefile: Likewise.
11792         * signal/Makefile: Likewise.
11793         * socket/Makefile: Likewise.
11794         * soft-fp/Makefile: Likewise.
11795         * stdio-common/Makefile: Likewise.
11796         * stdlib/Makefile: Likewise.
11797         * streams/Makefile: Likewise.
11798         * string/Makefile: Likewise.
11799         * sunrpc/Makefile: Likewise.
11800         (all): Remove target.
11801         * sysvipc/Makefile: Include Makeconfig immediately after defining
11802         subdir.
11803         * termios/Makefile: Likewise.
11804         * time/Makefile: Likewise.
11805         * timezone/Makefile: Likewise.
11806         (all): Remove target.
11807         * wcsmbs/Makefile: Include Makeconfig immediately after defining
11808         subdir.
11809         * wctype/Makefile: Likewise.
11811 2014-02-26  Steve Ellcey  <sellcey@mips.com>
11813         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11814         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11815         (libc_feholdexcept_setround_mips): Ditto.
11816         (libc_feholdsetround): New.
11817         (libc_feholdsetroundf): New.
11818         (libc_feholdsetroundl): New.
11819         (libc_feupdateenv_test_mips): New.
11820         (libc_feupdateenv_test): New.
11821         (libc_feupdateenv_testf): New.
11822         (libc_feupdateenv_testl): New.
11823         (libc_feresetround): New.
11824         (libc_feresetroundf): New.
11825         (libc_feresetroundl): New.
11826         (libc_fetestexcept_mips): New.
11827         (libc_fetestexcept): New.
11828         (libc_fetestexceptf): New.
11829         (libc_fetestexceptl): New.
11830         (HAVE_RM_CTX): New.
11831         (libc_feholdexcept_setround_mips_ctx): New.
11832         (libc_feholdexcept_setround_ctx): New.
11833         (libc_feholdexcept_setroundf_ctx): New.
11834         (libc_feholdexcept_setroundl_ctx): New.
11835         (libc_fesetenv_mips_ctx): New.
11836         (libc_fesetenv_ctx): New.
11837         (libc_fesetenv_ctxf): New.
11838         (libc_fesetenv_ctxl): New.
11839         (libc_feupdateenv_mips_ctx): New.
11840         (libc_feupdateenv_ctx): New.
11841         (libc_feupdateenvf_ctx): New.
11842         (libc_feupdateenvl_ctx): New.
11843         (libc_feholdsetround_mips_ctx): New.
11844         (libc_feholdsetround_ctx): New.
11845         (libc_feholdsetroundf_ctx): New.
11846         (libc_feholdsetroundl_ctx): New.
11847         (libc_feresetround_mips_ctx): New.
11848         (libc_feresetround_ctx): New.
11849         (libc_feresetroundf_ctx): New.
11850         (libc_feresetroundl_ctx): New.
11852 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
11854         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11856         * manual/ipc.texi: New file.
11857         * manual/Makefile (chapters): Add ipc.
11858         * manual/job.texi: Add "Inter-Process Communication" to next.
11859         * manual/process.texi: Add "Inter-Process Communication" to prev.
11861 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11865 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
11867         * malloc/malloc.c (__libc_calloc): Simplify implementation.
11869         * manual/arith.texi: Fix spaces after sentences.
11870         * manual/charset.texi: Likewise.
11871         * manual/errno.texi: Likewise.
11872         * manual/install.texi: Likewise.
11873         * manual/llio.texi: Likewise.
11874         * manual/locale.texi: Likewise.
11875         * manual/maint.texi: Likewise.
11876         * manual/math.texi: Likewise.
11877         * manual/memory.texi: Likewise.
11878         * manual/message.texi: Likewise.
11879         * manual/probes.texi: Likewise.
11880         * manual/resource.texi: Likewise.
11881         * manual/signal.texi: Likewise.
11882         * manual/socket.texi: Likewise.
11883         * manual/stdio.texi: Likewise.
11884         * manual/string.texi: Likewise.
11885         * manual/time.texi: Likewise.
11886         * manual/users.texi: Likewise.
11888 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
11890         [BZ #16632]
11891         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11892         _DEFAULT_SOURCE is defined.
11894 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
11895             Carlos O'Donell  <carlos@redhat.com>
11897         [BZ #16613]
11898         * elf/dl-tls.c (_dl_count_modids): New function.
11899         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11900         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11901         audit library and increment generation counter.
11902         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11903         * elf/tst-audit9.c: New file.
11904         * elf/tst-auditmod9a.c: New file.
11905         * elf/tst-auditmod9b.c: New file.
11906         * elf/Makefile: Add rules to build and run tst-audit9.
11908 2014-02-25  Florian Weimer  <fweimer@redhat.com>
11910         [BZ #15347]
11911         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11913 2014-02-25  Will Newton  <will.newton@linaro.org>
11915         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11916         (__longjmp): Restore sp and lr before restoring callee
11917         saved registers.  Add longjmp and longjmp_target
11918         SystemTap probe point.
11919         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11920         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11921         Define to zero to match jmpbuf layout.
11922         * sysdeps/arm/setjmp.S: Include stap-probe.h.
11923         (__sigsetjmp): Save sp and lr before saving callee
11924         saved registers.  Add setjmp SystemTap probe point.
11926 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11928         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11930 2014-02-24  Andreas Schwab  <schwab@suse.de>
11932         [BZ #15804]
11933         * elf/pldd.c (wait_for_ptrace_stop): New function.
11934         (main): Call it after attaching.
11936 2014-02-22  Roland McGrath  <roland@hack.frob.com>
11938         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11939         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11940         Versions files is now verboten.
11941         * hurd/Versions (libc: GLIBC_2.0):
11942         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11943         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11944         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11945         * mach/Versions: Likewise.
11947         * csu/Versions: Remove unused %include.
11948         * resolv/Versions: Likewise.
11950 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
11952         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11953         ($(objpfx)check-local-headers.out): Likewise.
11954         ($(objpfx)begin-end-check.out): Likewise.
11955         * Makerules (check-abi-%.out): Likewise.
11956         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11957         ($(objpfx)test2.cat): Likewise.
11958         ($(objpfx)de/libc.cat): Likewise.
11959         ($(objpfx)test-gencat.out): Likewise.
11960         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11961         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11962         ($(objpfx)noload-mem): Likewise.
11963         ($(objpfx)tst-pathopt.out): Likewise.
11964         ($(objpfx)tst-rtld-load-self.out): Likewise.
11965         ($(objpfx)tst-array1-cmp.out): Likewise.
11966         ($(objpfx)tst-array1-static-cmp.out): Likewise.
11967         ($(objpfx)tst-array2-cmp.out): Likewise.
11968         ($(objpfx)tst-array3-cmp.out): Likewise.
11969         ($(objpfx)tst-array4-cmp.out): Likewise.
11970         ($(objpfx)tst-array5-cmp.out): Likewise.
11971         ($(objpfx)tst-array5-static-cmp.out): Likewise.
11972         ($(objpfx)check-textrel.out): Likewise.
11973         ($(objpfx)check-execstack.out): Likewise.
11974         ($(objpfx)check-localplt.out): Likewise.
11975         ($(objpfx)order2-cmp.out): Likewise.
11976         ($(objpfx)tst-leaks1-mem): Likewise.
11977         ($(objpfx)tst-leaks1-static-mem): Likewise.
11978         ($(objpfx)tst-initorder-cmp.out): Likewise.
11979         ($(objpfx)tst-initorder2-cmp.out): Likewise.
11980         ($(objpfx)tst-unused-dep.out): Likewise.
11981         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11982         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11983         * iconv/Makefile (test-iconvconfig): Likewise.
11984         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11985         ($(objpfx)iconv-test.out): Likewise.
11986         ($(objpfx)tst-tables.out): Likewise.
11987         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11988         ($(objpfx)tst-gettext.out): Likewise.
11989         ($(objpfx)tst-translit.out): Likewise.
11990         ($(objpfx)tst-gettext2.out): Likewise.
11991         ($(objpfx)tst-gettext4.out): Likewise.
11992         ($(objpfx)tst-gettext6.out): Likewise.
11993         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11994         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11995         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11996         ($(objpfx)tst-fopenloc-mem.out): Likewise.
11997         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11998         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11999         * posix/Makefile ($(objpfx)globtest.out): Likewise.
12000         ($(objpfx)wordexp-tst.out): Likewise.
12001         ($(objpfx)annexc.out): Likewise.
12002         ($(objpfx)tst-fnmatch-mem): Likewise.
12003         ($(objpfx)bug-regex2-mem): Likewise.
12004         ($(objpfx)bug-regex14-mem): Likewise.
12005         ($(objpfx)bug-regex21-mem): Likewise.
12006         ($(objpfx)bug-regex31-mem): Likewise.
12007         ($(objpfx)tst-vfork3-mem): Likewise.
12008         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12009         ($(objpfx)tst-pcre-mem): Likewise.
12010         ($(objpfx)tst-boost-mem): Likewise.
12011         ($(objpfx)tst-getconf.out): Likewise.
12012         ($(objpfx)bug-ga2-mem): Likewise.
12013         ($(objpfx)bug-glob2-mem): Likewise.
12014         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12015         ($(objpfx)mtrace-tst-leaks2): Likewise.
12016         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12017         ($(objpfx)tst-printf.out): Likewise.
12018         ($(objpfx)tst-setvbuf1.out): Likewise.
12019         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12020         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12021         ($(objpfx)tst-fmtmsg.out): Likewise.
12022         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12023         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12025         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12026         * bits/sigaction.h [__USE_MISC]: Likewise.
12027         * bits/waitstatus.h: Update #endif comments.
12028         * ctype/ctype.h: Likewise.
12029         * dirent/dirent.h: Likewise.
12030         [__USE_MISC]: Remove redundant conditionals.
12031         * grp/grp.h: Update #endif comments.
12032         [__USE_GNU]: Remove redundant conditionals.
12033         [__USE_MISC]: Likewise.
12034         * inet/netinet/in.h [__USE_GNU]: Likewise.
12035         * io/sys/stat.h [__USE_MISC]: Likewise.
12036         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12037         * libio/bits/stdio.h: Update #endif comments.
12038         [__USE_MISC]: Remove redundant conditionals.
12039         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12040         * libio/stdio.h: Update #endif comments.
12041         [__USE_MISC]: Remove redundant conditionals.
12042         * math/bits/math-finite.h [__USE_MISC]: Likewise.
12043         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12044         * math/math.h: Update #else and #endif comments.
12045         [__USE_MISC]: Remove redundant conditionals.
12046         * misc/sys/uio.h: Update #endif comments.
12047         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12048         * posix/glob.h [__USE_MISC]: Likewise.
12049         * posix/sys/types.h: Update #endif comments.
12050         [__USE_MISC]: Remove redundant conditionals.
12051         * posix/sys/wait.h: Update #endif comments.
12052         [__USE_MISC]: Remove redundant conditionals.
12053         * posix/unistd.h: Update #endif comments.
12054         [__USE_MISC]: Remove redundant conditionals.
12055         * pwd/pwd.h [__USE_GNU]: Likewise.
12056         [__USE_MISC]: Likewise.
12057         * resolv/netdb.h [__USE_GNU]: Likewise.
12058         * signal/signal.h: Update #endif comments.
12059         [__USE_MISC]: Remove redundant conditionals.
12060         * stdlib/stdlib.h: Update #else and #endif comments.
12061         [__USE_MISC]: Remove redundant conditionals.
12062         [__USE_GNU]: Likewise.
12063         * string/bits/string2.h [__USE_MISC]: Likewise.
12064         * string/string.h: Update #endif comments.
12065         [__USE_MISC]: Remove redundant conditionals.
12066         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12067         Likewise.
12068         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12069         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12070         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12071         Likewise.
12072         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12073         Likewise.
12074         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12075         comments.
12076         [__USE_MISC]: Remove redundant conditionals.
12077         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12078         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12079         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12080         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12081         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12082         Likewise.
12083         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12084         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12085         Likewise.
12086         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12087         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12088         Likewise.
12089         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12090         Likewise.
12091         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12092         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12093         Likewise.
12094         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12095         Likewise.
12096         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12097         * sysdeps/x86/bits/string.h: Update #endif comments.
12098         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12099         conditionals.
12100         * time/sys/time.h: Update #endif comments.
12101         * time/time.h: Likewise.
12102         [__USE_MISC]: Remove redundant conditionals.
12104 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
12106         [BZ #16600]
12107         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12109 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
12111         * Versions.def (librt): Add GLIBC_2.17.
12113 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12115         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12116         synonym for _SYS_AUXV_H to allow direct inclusion.
12117         * sysdeps/sparc/bits/hwcap.h: Likewise.
12118         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12119         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12120         * sysdeps/sparc/sysdep.h: Likewise.
12122 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12124         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12126 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12128         * benchtests/bench-strrchr.c: Print length instead of position.
12130 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12132         [BZ #16611]
12133         * sysdeps/unix/sysv/linux/kernel-features.h
12134         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12135         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12136         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12137         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12138         Likewise.
12139         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12140         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12141         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12142         (__ASSUME_SENDMMSG): Define instead of using previous
12143         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12144         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12145         (__ASSUME_SENDMMSG_SYSCALL): Define.
12146         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12147         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12148         Likewise.
12149         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12150         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12151         Likewise.
12152         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12153         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12154         Likewise.
12155         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12156         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12157         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12158         [__ASSUME_SENDMMSG]: Change conditionals to
12159         [__ASSUME_SENDMMSG_SOCKETCALL].
12160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12161         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12162         Define.
12163         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12164         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12165         Likewise.
12166         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12167         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12168         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12169         [!__ASSUME_SENDMMSG]: Change conditional to
12170         [!__ASSUME_SENDMMSG_SOCKETCALL].
12171         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12172         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12173         Define.
12175         [BZ #16610]
12176         * sysdeps/unix/sysv/linux/kernel-features.h
12177         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12178         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12179         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12180         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12181         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12182         [__i386__ || __sparc__]
12183         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12184         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12185         (__ASSUME_RECVMMSG): Define instead of using previous
12186         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12187         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12188         (__ASSUME_RECVMMSG_SYSCALL): Define.
12189         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12190         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12191         Likewise.
12192         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12193         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12194         Likewise.
12195         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12196         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12197         Likewise.
12198         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12199         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12200         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12201         [__ASSUME_RECVMMSG]: Change condition to
12202         [__ASSUME_RECVMMSG_SOCKETCALL].
12203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12204         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12205         Define.
12206         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12207         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12208         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12209         Likewise.
12210         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12211         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12212         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12213         [!__ASSUME_RECVMMSG]: Change condition to
12214         [!__ASSUME_RECVMMSG_SOCKETCALL].
12215         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12216         (__ASSUME_RECVMMSG_SYSCALL): Define.
12218         [BZ #16609]
12219         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12220         __powerpc__ || __s390__ || __sh__ || __sparc__]
12221         (__ASSUME_SOCKETCALL): Define.
12222         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12223         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12224         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12225         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12226         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12227         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12228         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12229         (__ASSUME_ACCEPT4): Define instead of using previous
12230         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12231         __powerpc__ || __sparc__ || __s390__)] condition.
12232         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12233         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12234         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12235         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12236         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12237         [!__ASSUME_ACCEPT4]: Change condition to
12238         [!__ASSUME_ACCEPT4_SOCKETCALL].
12239         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12240         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12241         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12242         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12243         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12244         __ASSUME_ACCEPT4_SYSCALL.
12245         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12246         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12247         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12248         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12249         __ASSUME_ACCEPT4_SYSCALL.
12250         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12251         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12252         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12253         [__ASSUME_ACCEPT4]: Change condition to
12254         [__ASSUME_ACCEPT4_SOCKETCALL].
12255         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12256         (__ASSUME_SOCKETCALL): Define.
12257         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12258         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12259         (__ASSUME_SOCKETCALL): Define.
12260         (__ASSUME_ACCEPT4): Remove.
12261         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12262         Define.
12263         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12264         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12265         Likewise.
12266         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12267         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12269         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12270         macro.
12271         (HWCAP_ARM_LPAE): Likewise.
12272         (HWCAP_ARM_EVTSTRM): Likewise.
12273         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12274         Add vpfd32, lpae and evtstrm.
12275         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12276         Increase to 22.
12278 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12280         * math/auto-libm-test-in: Add tests of clog10.
12281         * math/auto-libm-test-out: Regenerated.
12282         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12283         * sysdeps/i386/fpu/libm-test-ulps: Update.
12284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12286 2014-02-18  Andreas Schwab  <schwab@suse.de>
12288         [BZ #16574]
12289         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12290         Store non-zero if the second buffer was newly allocated.
12291         (send_dg): Likewise.
12292         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12293         to send_vc and send_dg.
12294         (res_nsend): Pass NULL for ansp2_malloced.
12295         * resolv/res_query.c (__libc_res_nquery): Add parameter
12296         answerp2_malloced and pass it down to __libc_res_nsend.
12297         (res_nquery): Pass additional NULL to __libc_res_nquery.
12298         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12299         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12300         second answer buffer if answerp2_malloced was set.
12301         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12302         (__libc_res_nquerydomain): Add parameter
12303         answerp2_malloced and pass it down to __libc_res_nquery.
12304         (res_nquerydomain): Pass additional NULL to
12305         __libc_res_nquerydomain.
12306         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12307         additional NULL to __libc_res_nsend and __libc_res_nquery.
12308         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12309         additional NULL to __libc_res_nsearch.
12310         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12311         parameter of __libc_res_nsearch to check for separately allocated
12312         second buffer.
12313         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12314         __libc_res_nquery.
12315         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12316         additional NULL to __libc_res_nquery.
12317         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12318         __libc_res_nsearch.
12319         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12320         * include/resolv.h: Update prototypes of __libc_res_nquery,
12321         __libc_res_nsearch, __libc_res_nsend.
12323 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
12325         * math/auto-libm-test-in: Add tests of fma.
12326         * math/auto-libm-test-out: Regenerated.
12327         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12328         (fma_towardzero_test_data): Likewise.
12329         (fma_downward_test_data): Likewise.
12330         (fma_upward_test_data): Likewise.
12331         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12332         mpc_mode.
12333         (rounding_modes): Add values for new field.
12334         (func_calc_method): Add value mpfr_fff_f.
12335         (func_calc_desc): Add mpfr_fff_f union field.
12336         (test_function): Add field exact_args.
12337         (FUNC): Add macro argument EXACT_ARGS.
12338         (FUNC_mpfr_f_f): Update call to FUNC.
12339         (FUNC_mpfr_f_f): Likewise.
12340         (FUNC_mpfr_ff_f): Likewise.
12341         (FUNC_mpfr_if_f): Likewise.
12342         (FUNC_mpc_c_f): Likewise.
12343         (FUNC_mpc_c_c): Likewise.
12344         (test_functions): Add fma.  Update calls to FUNC.
12345         (handle_input_arg): Add argument exact_args.
12346         (add_test): Update call to handle_input_arg.
12347         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
12348         (output_for_one_input_case): Update call to calc_generic_results.
12349         Recalculate exact zero results in each rounding mode.
12351         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12352         non-negative before setting low bit.
12353         * math/auto-libm-test-in: Mark one asin test possibly having
12354         spurious underflow.
12355         * math/auto-libm-test-out: Regenerated.
12356         * sysdeps/i386/fpu/libm-test-ulps: Update.
12357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12359 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
12361         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12362         * sysdeps/unix/sysv/linux/microblaze: Move directory from
12363         ports/sysdeps/unix/sysv/linux/microblaze.
12364         * README: Add missing listing for microblaze*-*-linux-gnu.
12366 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
12368         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12369         duplicate code
12371 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
12373         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12374         * sysdeps/unix/sysv/linux/ia64: Move directory from
12375         ports/sysdeps/unix/sysv/linux/ia64.
12376         * README: Update listing for ia64-*-linux-gnu.
12378 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
12379             Joseph Myers  <joseph@codesourcery.com>
12381         * Makeconfig (test-name): New variable.
12382         (evaluate-test): Likewise.
12383         * Makerules (do-test-clean): Remove .test-result files.
12384         (common-mostlyclean): Likewise.
12385         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12386         * scripts/evaluate-test.sh: New file.
12388 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
12390         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12391         separate $(objpfx)tst-fopenloc-cmp.out and
12392         $(objpfx)tst-fopenloc-mem.out targets.
12393         (tests): Update dependencies.
12394         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12395         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12396         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12397         (tst-rxspencer-no-utf8-ARGS): New variable.
12398         (tst-rxspencer-no-utf8-ENV): Likewise.
12399         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12400         instead of $(objpfx)tst-rxspencer-mem.
12401         ($(objpfx)tst-rxspencer-mem): Change target to
12402         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
12403         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12404         * posix/tst-rxspencer-no-utf8.c: New file.
12406         * elf/Makefile ($(objpfx)order.out): Remove rule.
12407         [$(run-built-tests) = yes] (tests): Depend on
12408         $(objpfx)order-cmp.out.
12409         ($(objpfx)order-cmp.out): New rule.
12410         [$(run-built-tests) = yes] (tests): Depend on
12411         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12412         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12413         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12414         $(objpfx)tst-array5-static-cmp.out.
12415         ($(objpfx)tst-array1.out): Remove rule.
12416         ($(objpfx)tst-array1-cmp.out): New rule.
12417         ($(objpfx)tst-array1-static.out): Remove rule.
12418         ($(objpfx)tst-array1-static-cmp.out): New rule.
12419         ($(objpfx)tst-array2.out): Remove rule.
12420         ($(objpfx)tst-array2-cmp.out): New rule.
12421         ($(objpfx)tst-array3.out): Remove rule.
12422         ($(objpfx)tst-array3-cmp.out): New rule.
12423         ($(objpfx)tst-array4.out): Remove rule.
12424         ($(objpfx)tst-array4-cmp.out): New rule.
12425         ($(objpfx)tst-array5.out): Remove rule.
12426         ($(objpfx)tst-array5-cmp.out): New rule.
12427         ($(objpfx)tst-array5-static.out): Remove rule.
12428         ($(objpfx)tst-array5-static-cmp.out): New rule.
12429         [$(run-built-tests) = yes] (tests): Depend on
12430         $(objpfx)order2-cmp.out.
12431         ($(objpfx)order2.out): Remove rule.
12432         ($(objpfx)order2-cmp.out): New rule.
12433         ($(objpfx)tst-initorder.out): Remove rule.
12434         [$(run-built-tests) = yes] (tests): Depend on
12435         $(objpfx)tst-initorder-cmp.out.
12436         ($(objpfx)tst-initorder-cmp.out): New rule.
12437         ($(objpfx)tst-initorder2.out): Remove rule.
12438         [$(run-built-tests) = yes] (tests): Depend on
12439         $(objpfx)tst-initorder2-cmp.out.
12440         ($(objpfx)tst-initorder2-cmp.out): New rule.
12441         [$(run-built-tests) = yes] (tests): Depend on
12442         $(objpfx)tst-unused-dep-cmp.out.
12443         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12444         ($(objpfx)tst-unused-dep-cmp.out): New rule.
12445         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12446         on $(objpfx)tst-setvbuf1-cmp.out.
12447         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12448         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12449         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12450         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12451         ($(objpfx)tst-svc.out): Remove rule.
12452         ($(objpfx)tst-svc-cmp.out): New rule.
12454 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
12456         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12457         * ctype/ctype.h [__USE_MISC]: Likewise.
12458         * dirent/dirent.h [__USE_MISC]: Likewise.
12459         * grp/grp.h [__USE_MISC]: Likewise.
12460         * io/fcntl.h [__USE_MISC]: Likewise.
12461         * io/sys/stat.h [__USE_MISC]: Likewise.
12462         * libio/stdio.h [__USE_MISC]: Likewise.
12463         * posix/unistd.h [__USE_MISC]: Likewise.
12464         * pwd/pwd.h [__USE_MISC]: Likewise.
12465         * stdlib.h [__USE_MISC]: Likewise.
12466         * string/bits/string2.h [__USE_MISC]: Likewise.
12467         * string/string.h [__USE_MISC]: Likewise.
12468         * time/time.h [__USE_MISC]: Likewise.
12470 2014-02-13  Andreas Schwab  <schwab@suse.de>
12472         [BZ #16574]
12473         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12474         second answer buffer if it was separately allocated.
12476 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
12478         * sysdeps/mips/math-tests.h: Include <features.h>.
12479         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12480         (ROUNDING_TESTS_long_double): Do not define.
12481         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12482         (EXCEPTION_TESTS_long_double): Likewise.
12483         * sysdeps/mips/mips64/libm-test-ulps: Update.
12485         * include/features.h (__USE_BSD): Remove macro definitions.
12486         (__USE_SVID): Likewise.
12487         (_BSD_SOURCE): Likewise.
12488         (_SVID_SOURCE): Likewise.
12489         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12490         from definition of _DEFAULT_SOURCE.
12491         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12492         [_DEFAULT_SOURCE].
12493         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12494         * bits/mman.h [__USE_BSD]: Likewise.
12495         * bits/termios.h [__USE_BSD]: Likewise.
12496         * bits/waitstatus.h [__USE_BSD]: Likewise.
12497         * ctype/ctype.h [__USE_SVID]: Likewise.
12498         * dirent/dirent.h [__USE_BSD]: Likewise.
12499         * grp/grp.h [__USE_SVID]: Likewise.
12500         [__USE_BSD]: Likewise.
12501         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12502         * io/fcntl.h [__USE_BSD]: Likewise.
12503         * io/ftw.h [__USE_BSD]: Likewise.
12504         * io/sys/stat.h [__USE_BSD]: Likewise.
12505         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12506         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12507         * libio/stdio.h [__USE_SVID]: Likewise.
12508         [__USE_BSD]: Likewise.
12509         * math/math.h [__USE_SVID]: Likewise.
12510         [__USE_BSD]: Likewise.
12511         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12512         * misc/bits/syslog.h [__USE_BSD]: Likewise.
12513         * misc/search.h [__USE_SVID]: Likewise.
12514         * misc/sys/mman.h [__USE_BSD]: Likewise.
12515         * misc/sys/syslog.h [__USE_BSD]: Likewise.
12516         * misc/sys/uio.h [__USE_BSD]: Likewise.
12517         * posix/bits/unistd.h [__USE_BSD]: Likewise.
12518         * posix/glob.h [__USE_BSD]: Likewise.
12519         * posix/regex.h [__USE_BSD]: Likewise.
12520         * posix/sys/types.h [__USE_BSD]: Likewise.
12521         [__USE_SVID]: Likewise.
12522         * posix/sys/utsname.h [__USE_SVID]: Likewise.
12523         * posix/sys/wait.h [__USE_BSD]: Likewise.
12524         [__USE_SVID]: Likewise.
12525         * posix/unistd.h [__USE_BSD]: Likewise.
12526         [__USE_SVID]: Likewise.
12527         * pwd/pwd.h [__USE_SVID]: Likewise.
12528         * resolv/netdb.h [__USE_BSD]: Likewise.
12529         * setjmp/setjmp.h [__USE_BSD]: Likewise.
12530         * signal/signal.h [__USE_BSD]: Likewise.
12531         [__USE_SVID]: Likewise.
12532         * socket/sys/socket.h [__USE_BSD]: Likewise.
12533         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12534         * stdlib/stdlib.h [__USE_BSD]: Likewise.
12535         [__USE_SVID]: Likewise.
12536         * string/bits/string2.h [__USE_BSD]: Likewise.
12537         [__USE_SVID]: Likewise.
12538         * string/bits/string3.h [__USE_BSD]: Likewise.
12539         * string/endian.h [__USE_BSD]: Likewise.
12540         * string/string.h [__USE_SVID]: Likewise.
12541         [__USE_BSD]: Likewise.
12542         * string/strings.h [__USE_BSD]: Likewise.
12543         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12544         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12545         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12546         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12547         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12548         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12549         Likewise.
12550         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12551         Likewise.
12552         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12553         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12554         Likewise.
12555         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12556         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12557         Likewise.
12558         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12559         Likewise.
12560         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12561         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12562         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12563         Likewise.
12564         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12565         Likewise.
12566         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12567         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12568         * termios/termios.h [__USE_BSD]: Likewise.
12569         * time/sys/time.h [__USE_BSD]: Likewise.
12570         * time/time.h [__USE_BSD]: Likewise.
12571         [__USE_SVID]: Likewise.
12573         * Makefile (subdir_targets): Remove subdir_lint.out.
12575         * stdio-common/Makefile (do-tst-unbputc): Remove target.
12576         (do-tst-printf): Likewise.
12577         (tests): Depend directly on $(objpfx)tst-unbputc.out and
12578         $(objpfx)tst-printf.out.
12580         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12582         * Makerules (check-abi-%): Change target to
12583         $(objpfx)check-abi-%.out.
12584         (check-abi target): Update dependencies.
12585         (check-abi-pattern variable): Redirect output of diff to $@.
12586         (check-abi variable): Likewise.
12587         * elf/Makefile (check-abi): Update dependencies.
12589         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12590         unused.
12591         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12592         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12593         subnormal range.
12594         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12595         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12596         value has largest subnormal exponent.
12597         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12598         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12599         * sysdeps/aarch64/soft-fp/sfp-machine.h
12600         (_FP_TININESS_AFTER_ROUNDING): New macro.
12601         * sysdeps/alpha/soft-fp/sfp-machine.h
12602         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12603         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12604         Likewise.
12605         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12606         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12607         * sysdeps/mips/soft-fp/sfp-machine.h
12608         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12609         * sysdeps/powerpc/soft-fp/sfp-machine.h
12610         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12611         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12612         Likewise.
12613         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12614         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12615         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12616         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12617         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12618         Likewise.
12620 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
12622         [BZ #16545]
12623         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12624         model 1.
12626 2014-02-12  Richard Henderson  <rth@redhat.com>
12628         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12629         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12630         * sysdeps/unix/sysv/linux/alpha: Move directory from
12631         ports/sysdeps/unix/sysv/linux/alpha.
12632         * README: Update listing for alpha-*-linux-gnu.
12634 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
12636         * include/features.h: Update comment documenting feature test
12637         macros.
12638         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
12639         _DEFAULT_SOURCE.
12640         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12641         (_SVID_SOURCE): Likewise.
12642         (_DEFAULT_SOURCE): Update description of default features.
12643         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12644         with _GNU_SOURCE.
12645         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12646         (S_ISVTX): Likewise.
12647         * manual/math.texi (Mathematical Constants): Likewise.
12648         * manual/signal.texi (Interrupted Primitives): Likewise.
12649         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12650         * math/test-matherr.c (_SVID_SOURCE): Do not define.
12651         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12652         Don't refer to _SVID_SOURCE in warning text.
12654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12656         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12657         already defined.
12658         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12659         * sysdeps/mips/dl-lookup.c: Remove.
12660         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12662 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12664         [BZ #16447]
12665         * math/auto-libm-test-in: Add testcase for expl.
12666         * math/auto-libm-test-out: Regenerate.
12667         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12668         calculation of unsafe.
12669         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12671 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12673         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12674         * sysdeps/unix/sysv/linux/aarch64: Move directory from
12675         ports/sysdeps/unix/sysv/linux/aarch64.
12676         * README: Update listing for aarch64*-*-linux-gnu.
12678 2014-02-11  Will Newton  <will.newton@linaro.org>
12680         * manual/probes.texi (Mathematical Function Probes): Use
12681         "triggered" instead of "hit".
12683         * manual/probes.texi (Internal Probes): Add documentation
12684         of setjmp, longjmp and longjmp_target probes.
12686         * include/stap-probe.h: Add comment about probe argument
12687         format.
12689         * malloc/mtrace.c (attribute_hidden): Remove unused macro
12690         definition.  (tr_where, tr_freehook, tr_mallochook,
12691         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12693 2014-02-11  David S. Miller  <davem@davemloft.net>
12695         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12696         processing int_tests.
12698 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
12700         * sysdeps/mips: Move directory from ports/sysdeps/mips.
12701         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12702         * sysdeps/unix/sysv/linux/mips: Move directory from
12703         ports/sysdeps/unix/sysv/linux/mips.
12704         * README: Update listing for mips-*-linux-gnu and
12705         mips64-*-linux-gnu.
12707 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12709         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12710         * sysdeps/unix/sysv/linux/m68k: Move directory from
12711         ports/sysdeps/unix/sysv/linux/m68k.
12712         * README: Update listing for m68k-*-linux-gnu.
12714 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
12716         * sysdeps/tile: Move directory from ports/sysdeps/tile.
12717         * sysdeps/unix/sysv/linux/generic: Move directory from
12718         ports/sysdeps/unix/sysv/linux/generic.
12719         * sysdeps/unix/sysv/linux/tile: Move directory from
12720         ports/sysdeps/unix/sysv/linux/tile.
12721         * README: Update listing for tile*-*-linux-gnu.
12723 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
12725         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12726         __builtin_expect.
12727         * benchtests/bench-memmem.c (simple_memmem): Likewise.
12728         * catgets/open_catalog.c (__open_catalog): Likewise.
12729         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12730         * debug/confstr_chk.c: Likewise.
12731         * debug/fread_chk.c (__fread_chk): Likewise.
12732         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12733         * debug/getgroups_chk.c: Likewise.
12734         * debug/mbsnrtowcs_chk.c: Likewise.
12735         * debug/mbsrtowcs_chk.c: Likewise.
12736         * debug/mbstowcs_chk.c: Likewise.
12737         * debug/memcpy_chk.c: Likewise.
12738         * debug/memmove_chk.c: Likewise.
12739         * debug/mempcpy_chk.c: Likewise.
12740         * debug/memset_chk.c: Likewise.
12741         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12742         * debug/strcat_chk.c (__strcat_chk): Likewise.
12743         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12744         * debug/strncat_chk.c (__strncat_chk): Likewise.
12745         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12746         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12747         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12748         * debug/wcpncpy_chk.c: Likewise.
12749         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12750         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12751         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12752         * debug/wcsncpy_chk.c: Likewise.
12753         * debug/wcsnrtombs_chk.c: Likewise.
12754         * debug/wcsrtombs_chk.c: Likewise.
12755         * debug/wcstombs_chk.c: Likewise.
12756         * debug/wmemcpy_chk.c: Likewise.
12757         * debug/wmemmove_chk.c: Likewise.
12758         * debug/wmempcpy_chk.c: Likewise.
12759         * debug/wmemset_chk.c: Likewise.
12760         * dirent/scandirat.c (SCANDIRAT): Likewise.
12761         * dlfcn/dladdr1.c (dladdr1): Likewise.
12762         * dlfcn/dladdr.c (dladdr): Likewise.
12763         * dlfcn/dlclose.c (dlclose_doit): Likewise.
12764         * dlfcn/dlerror.c (__dlerror): Likewise.
12765         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12766         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12767         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12768         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12769         * dlfcn/dlsym.c (dlsym_doit): Likewise.
12770         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12771         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12772         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12773         Likewise.
12774         * elf/dl-conflict.c: Likewise.
12775         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12776         * elf/dl-dst.h: Likewise.
12777         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12778         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12779         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12780         * elf/dl-init.c (call_init, _dl_init): Likewise.
12781         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12782         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12783         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12784         Likewise.
12785         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12786         Likewise.
12787         * elf/dl-minimal.c (__libc_memalign): Likewise.
12788         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12789         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12790         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12791         * elf/dl-sym.c (do_sym): Likewise.
12792         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12793         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12794         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12795         * elf/dl-writev.h (_dl_writev): Likewise.
12796         * elf/ldconfig.c (search_dir): Likewise.
12797         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12798         (dl_main): Likewise.
12799         * elf/setup-vdso.h (setup_vdso): Likewise.
12800         * grp/compat-initgroups.c (compat_call): Likewise.
12801         * grp/fgetgrent.c (fgetgrent): Likewise.
12802         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12803         * grp/putgrent.c (putgrent): Likewise.
12804         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12805         Likewise.
12806         * hurd/hurdinit.c: Likewise.
12807         * iconvdata/8bit-gap.c (struct): Likewise.
12808         * iconvdata/ansi_x3.110.c : Likewise.
12809         * iconvdata/big5.c : Likewise.
12810         * iconvdata/big5hkscs.c : Likewise.
12811         * iconvdata/cp1255.c: Likewise.
12812         * iconvdata/cp1258.c : Likewise.
12813         * iconvdata/cp932.c : Likewise.
12814         * iconvdata/euc-cn.c: Likewise.
12815         * iconvdata/euc-jisx0213.c : Likewise.
12816         * iconvdata/euc-jp.c: Likewise.
12817         * iconvdata/euc-jp-ms.c : Likewise.
12818         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12819         * iconvdata/gb18030.c : Likewise.
12820         * iconvdata/gbbig5.c (const): Likewise.
12821         * iconvdata/gbgbk.c: Likewise.
12822         * iconvdata/gbk.c : Likewise.
12823         * iconvdata/ibm1364.c : Likewise.
12824         * iconvdata/ibm930.c : Likewise.
12825         * iconvdata/ibm932.c: Likewise.
12826         * iconvdata/ibm933.c : Likewise.
12827         * iconvdata/ibm935.c : Likewise.
12828         * iconvdata/ibm937.c : Likewise.
12829         * iconvdata/ibm939.c : Likewise.
12830         * iconvdata/ibm943.c: Likewise.
12831         * iconvdata/iso_11548-1.c: Likewise.
12832         * iconvdata/iso-2022-cn.c : Likewise.
12833         * iconvdata/iso-2022-cn-ext.c : Likewise.
12834         * iconvdata/iso-2022-jp-3.c: Likewise.
12835         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12836         * iconvdata/iso-2022-kr.c : Likewise.
12837         * iconvdata/iso646.c (gconv_end): Likewise.
12838         * iconvdata/iso_6937-2.c : Likewise.
12839         * iconvdata/iso_6937.c : Likewise.
12840         * iconvdata/iso8859-1.c: Likewise.
12841         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12842         * iconvdata/shift_jisx0213.c : Likewise.
12843         * iconvdata/sjis.c : Likewise.
12844         * iconvdata/t.61.c : Likewise.
12845         * iconvdata/tcvn5712-1.c : Likewise.
12846         * iconvdata/tscii.c: Likewise.
12847         * iconvdata/uhc.c : Likewise.
12848         * iconvdata/unicode.c (gconv_end): Likewise.
12849         * iconvdata/utf-16.c (gconv_end): Likewise.
12850         * iconvdata/utf-32.c (gconv_end): Likewise.
12851         * iconvdata/utf-7.c (base64): Likewise.
12852         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12853         * iconv/gconv_close.c (__gconv_close): Likewise.
12854         * iconv/gconv_open.c (__gconv_open): Likewise.
12855         * iconv/gconv_simple.c (internal_ucs4_loop_single)
12856         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12857         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12858         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12859         (ucs4le_internal_loop_single): Likewise.
12860         * iconv/iconv.c (iconv): Likewise.
12861         * iconv/iconv_close.c: Likewise.
12862         * iconv/loop.c (SINGLE): Likewise.
12863         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12864         * include/atomic.h: Likewise.
12865         * inet/inet6_option.c (option_alloc): Likewise.
12866         * intl/bindtextdom.c (set_binding_values): Likewise.
12867         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12868         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12869         * intl/localealias.c (read_alias_file): Likewise.
12870         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12871         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12872         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12873         * libio/fmemopen.c (fmemopen): Likewise.
12874         * libio/iofgets.c (_IO_fgets): Likewise.
12875         * libio/iofgets_u.c (fgets_unlocked): Likewise.
12876         * libio/iofgetws.c (fgetws): Likewise.
12877         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12878         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12879         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12880         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12881         * locale/findlocale.c (_nl_find_locale): Likewise.
12882         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12883         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12884         Likewise.
12885         * locale/setlocale.c (setlocale): Likewise.
12886         * login/programs/pt_chown.c (main): Likewise.
12887         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12888         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12889         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12890         (mmap, mmap64, mremap, munmap): Likewise.
12891         * math/e_exp2l.c: Likewise.
12892         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12893         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12894         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12895         * math/s_catan.c (__catan): Likewise.
12896         * math/s_catanf.c (__catanf): Likewise.
12897         * math/s_catanh.c (__catanh): Likewise.
12898         * math/s_catanhf.c (__catanhf): Likewise.
12899         * math/s_catanhl.c (__catanhl): Likewise.
12900         * math/s_catanl.c (__catanl): Likewise.
12901         * math/s_ccosh.c (__ccosh): Likewise.
12902         * math/s_ccoshf.c (__ccoshf): Likewise.
12903         * math/s_ccoshl.c (__ccoshl): Likewise.
12904         * math/s_cexp.c (__cexp): Likewise.
12905         * math/s_cexpf.c (__cexpf): Likewise.
12906         * math/s_cexpl.c (__cexpl): Likewise.
12907         * math/s_clog10.c (__clog10): Likewise.
12908         * math/s_clog10f.c (__clog10f): Likewise.
12909         * math/s_clog10l.c (__clog10l): Likewise.
12910         * math/s_clog.c (__clog): Likewise.
12911         * math/s_clogf.c (__clogf): Likewise.
12912         * math/s_clogl.c (__clogl): Likewise.
12913         * math/s_csin.c (__csin): Likewise.
12914         * math/s_csinf.c (__csinf): Likewise.
12915         * math/s_csinh.c (__csinh): Likewise.
12916         * math/s_csinhf.c (__csinhf): Likewise.
12917         * math/s_csinhl.c (__csinhl): Likewise.
12918         * math/s_csinl.c (__csinl): Likewise.
12919         * math/s_csqrt.c (__csqrt): Likewise.
12920         * math/s_csqrtf.c (__csqrtf): Likewise.
12921         * math/s_csqrtl.c (__csqrtl): Likewise.
12922         * math/s_ctan.c (__ctan): Likewise.
12923         * math/s_ctanf.c (__ctanf): Likewise.
12924         * math/s_ctanh.c (__ctanh): Likewise.
12925         * math/s_ctanhf.c (__ctanhf): Likewise.
12926         * math/s_ctanhl.c (__ctanhl): Likewise.
12927         * math/s_ctanl.c (__ctanl): Likewise.
12928         * math/w_pow.c: Likewise.
12929         * math/w_powf.c: Likewise.
12930         * math/w_powl.c: Likewise.
12931         * math/w_scalb.c (sysv_scalb): Likewise.
12932         * math/w_scalbf.c (sysv_scalbf): Likewise.
12933         * math/w_scalbl.c (sysv_scalbl): Likewise.
12934         * misc/error.c (error_tail): Likewise.
12935         * misc/pselect.c (__pselect): Likewise.
12936         * nis/nis_callback.c (__nis_create_callback): Likewise.
12937         * nis/nis_call.c (__nisfind_server): Likewise.
12938         * nis/nis_creategroup.c (nis_creategroup): Likewise.
12939         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12940         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12941         * nis/nis_getservlist.c (nis_getservlist): Likewise.
12942         * nis/nis_lookup.c (nis_lookup): Likewise.
12943         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12944         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12945         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12946         * nis/nis_xdr.c (xdr_endpoint): Likewise.
12947         * nis/nss_compat/compat-grp.c (getgrent_next_file)
12948         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12949         * nis/nss_compat/compat-initgroups.c (add_group)
12950         (internal_getgrent_r): Likewise.
12951         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12952         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12953         * nis/nss_compat/compat-spwd.c (getspent_next_file)
12954         (internal_getspnam_r): Likewise.
12955         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12956         (_nss_nis_getaliasbyname_r): Likewise.
12957         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12958         (_nss_nis_getntohost_r): Likewise.
12959         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12960         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12961         (_nss_nis_getgrgid_r): Likewise.
12962         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12963         (internal_nis_gethostent_r, internal_gethostbyname2_r)
12964         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12965         (_nss_nis_gethostbyname4_r): Likewise.
12966         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12967         (initgroups_netid): Likewise.
12968         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12969         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12970         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12971         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12972         (_nss_nis_getprotobynumber_r): Likewise.
12973         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12974         (_nss_nis_getsecretkey): Likewise.
12975         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12976         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12977         (_nss_nis_getpwuid_r): Likewise.
12978         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12979         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12980         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12981         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12982         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12983         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12984         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12985         Likewise.
12986         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12987         (_nss_nisplus_getntohost_r): Likewise.
12988         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12989         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12990         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12991         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12992         Likewise.
12993         * nis/nss_nisplus/nisplus-initgroups.c
12994         (_nss_nisplus_initgroups_dyn): Likewise.
12995         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12996         (_nss_nisplus_getnetbyaddr_r): Likewise.
12997         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12998         (_nss_nisplus_getprotobynumber_r): Likewise.
12999         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13000         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13001         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13002         Likewise.
13003         * nis/nss_nisplus/nisplus-service.c
13004         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13005         (_nss_nisplus_getservbyport_r): Likewise.
13006         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13007         (_nss_nisplus_getspnam_r): Likewise.
13008         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13009         Likewise.
13010         * nscd/aicache.c (addhstaiX): Likewise.
13011         * nscd/cache.c (cache_search, prune_cache): Likewise.
13012         * nscd/connections.c (register_traced_file, send_ro_fd)
13013         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13014         (main_loop_epoll): Likewise.
13015         * nscd/grpcache.c (addgrbyX): Likewise.
13016         * nscd/hstcache.c (addhstbyX): Likewise.
13017         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13018         * nscd/mem.c (gc, mempool_alloc): Likewise.
13019         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13020         (addinnetgrX): Likewise.
13021         * nscd/nscd-client.h (__nscd_acquire_maplock)
13022         (__nscd_drop_map_ref): Likewise.
13023         * nscd/nscd_getai.c (__nscd_getai): Likewise.
13024         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13025         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13026         Likewise.
13027         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13028         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13029         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13030         (__nscd_get_map_ref): Likewise.
13031         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13032         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13033         Likewise.
13034         * nscd/pwdcache.c (addpwbyX): Likewise.
13035         * nscd/selinux.c (preserve_capabilities): Likewise.
13036         * nscd/servicescache.c (addservbyX): Likewise.
13037         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13038         * posix/fnmatch.c (fnmatch): Likewise.
13039         * posix/getopt.c (_getopt_internal_r): Likewise.
13040         * posix/glob.c (glob, glob_in_dir): Likewise.
13041         * posix/wordexp.c (exec_comm_child): Likewise.
13042         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13043         (getanswer_r, gaih_getanswer_slice): Likewise.
13044         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13045         * resolv/res_init.c: Likewise.
13046         * resolv/res_mkquery.c (res_nmkquery): Likewise.
13047         * resolv/res_query.c (__libc_res_nquery): Likewise.
13048         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13049         Likewise.
13050         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13051         * stdio-common/perror.c (perror): Likewise.
13052         * stdio-common/printf_fp.c (___printf_fp): Likewise.
13053         * stdio-common/tmpnam.c (tmpnam): Likewise.
13054         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13055         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13056         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13057         Likewise.
13058         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13059         * stdlib/putenv.c (putenv): Likewise.
13060         * stdlib/setenv.c (__add_to_environ): Likewise.
13061         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13062         * stdlib/strtol_l.c (INTERNAL): Likewise.
13063         * string/memmem.c (memmem): Likewise.
13064         * string/strerror.c (strerror): Likewise.
13065         * string/strnlen.c (__strnlen): Likewise.
13066         * string/test-memmem.c (simple_memmem): Likewise.
13067         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13068         * sunrpc/pm_getport.c (__get_socket): Likewise.
13069         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13070         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13071         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13072         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13073         Likewise.
13074         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13075         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13076         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13077         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13078         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13079         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13080         Likewise.
13081         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13082         Likewise.
13083         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13084         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13085         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13086         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13087         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13089         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13090         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13091         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13092         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13093         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13094         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13095         Likewise.
13096         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13097         Likewise.
13098         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13099         Likewise.
13100         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13101         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13102         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13103         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13104         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13105         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13106         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13107         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13108         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13109         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13110         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13111         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13112         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13113         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13114         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13115         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13116         Likewise.
13117         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13118         Likewise.
13119         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13120         Likewise.
13121         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13122         Likewise.
13123         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13124         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13125         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13126         Likewise.
13127         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13128         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13129         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13130         * sysdeps/posix/sleep.c: Likewise.
13131         * sysdeps/posix/tempname.c: Likewise.
13132         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13133         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13134         Likewise.
13135         * sysdeps/powerpc/powerpc32/dl-machine.h
13136         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13137         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13139         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13140         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13141         Likewise.
13142         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13143         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13144         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13145         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13146         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13147         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13148         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13149         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13150         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13151         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13152         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13153         (elf_machine_lazy_rel): Likewise.
13154         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13155         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13156         (elf_machine_lazy_rel): Likewise.
13157         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13158         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13159         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13160         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13161         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13162         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13163         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13164         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13165         Likewise.
13166         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13167         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13168         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13169         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13170         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13171         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13172         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13173         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13174         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13175         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13176         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13177         Likewise.
13178         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13179         (__posix_fallocate64_l64): Likewise.
13180         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13181         (posix_fallocate): Likewise.
13182         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13183         Likewise.
13184         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13185         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13186         (getifaddrs_internal): Likewise.
13187         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13188         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13189         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13190         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13191         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13192         (__posix_fallocate64_l64): Likewise.
13193         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13194         Likewise.
13195         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13196         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13197         (__get_clockfreq): Likewise.
13198         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13199         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13200         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13201         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13202         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13203         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13204         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13205         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13206         Likewise.
13207         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13208         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13209         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13210         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13211         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13212         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13213         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13214         Likewise.
13215         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13216         (posix_fallocate): Likewise.
13217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13218         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13219         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13220         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13221         (elf_machine_rela, elf_machine_rela_relative)
13222         (elf_machine_lazy_rel): Likewise.
13223         * time/asctime.c (asctime_internal): Likewise.
13224         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13225         * time/tzset.c (__tzset_parse_tz): Likewise.
13226         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13227         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13228         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13229         * wcsmbs/wcsmbsload.h: Likewise.
13231         [BZ #15894]
13232         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13234         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13235         (arena_get2): Remove THREAD_STATS conditionals.
13236         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13237         (__malloc_stats, int): Likewise.
13239 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13241         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13242         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13244         * manual/setjmp.texi: Fix typos/grammar errors.
13246         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13247         Only return early when n is <= 0.  Delete unused return statement.
13249         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13250         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13251         * debug/tst-longjmp_chk3.c: New file.
13253         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13254         (test_main): Replace code with set_fortify_handler call.
13255         * debug/test-strcpy_chk.c: Likewise.
13256         * debug/tst-chk1.c: Likewise.
13257         * debug/tst-longjmp_chk.c: Likewise.
13258         * test-skeleton.c: Include fcntl.h & paths.h
13259         (set_fortify_handler): Define.
13261         * debug/tst-longjmp_chk.c: Add header comment and include
13262         ../test-skeleton.c.
13263         (do_test): Mark static.
13264         (TEST_FUNCTION): Define.
13266         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13267         (IP_PMTUDISC_INTERFACE): Likewise.
13268         (IP_MULTICAST_IF): Likewise.
13269         (IP_MULTICAST_TTL): Likewise.
13270         (IP_MULTICAST_LOOP): Likewise.
13271         (IP_ADD_MEMBERSHIP): Likewise.
13272         (IP_DROP_MEMBERSHIP): Likewise.
13273         (IP_UNBLOCK_SOURCE): Likewise.
13274         (IP_BLOCK_SOURCE): Likewise.
13275         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13276         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13277         (IP_MSFILTER): Likewise.
13278         (MCAST_JOIN_GROUP): Likewise.
13279         (MCAST_BLOCK_SOURCE): Likewise.
13280         (MCAST_UNBLOCK_SOURCE): Likewise.
13281         (MCAST_LEAVE_GROUP): Likewise.
13282         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13283         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13284         (MCAST_MSFILTER): Likewise.
13285         (IP_MULTICAST_ALL): Likewise.
13286         (IP_UNICAST_IF): Likewise.
13288         * timezone/Makefile: Delete $(have-ksh) check.
13289         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13290         * timezone/tzselect.ksh: Add +x mode bits.
13292         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13293         (ANON_INODE_FS_MAGIC): Likewise.
13294         (BDEVFS_MAGIC): Likewise.
13295         (BINFMTFS_MAGIC): Likewise.
13296         (BTRFS_TEST_MAGIC): Likewise.
13297         (CRAMFS_MAGIC_WEND): Likewise.
13298         (DEBUGFS_MAGIC): Likewise.
13299         (ECRYPTFS_SUPER_MAGIC): Likewise.
13300         (EXT3_SUPER_MAGIC): Likewise.
13301         (EXT4_SUPER_MAGIC): Likewise.
13302         (FUTEXFS_SUPER_MAGIC): Likewise.
13303         (HOSTFS_SUPER_MAGIC): Likewise.
13304         (HUGETLBFS_MAGIC): Likewise.
13305         (MINIX3_SUPER_MAGIC): Likewise.
13306         (MTD_INODE_FS_MAGIC): Likewise.
13307         (NILFS_SUPER_MAGIC): Likewise.
13308         (OPENPROM_SUPER_MAGIC): Likewise.
13309         (PIPEFS_MAGIC): Likewise.
13310         (PSTOREFS_MAGIC): Likewise.
13311         (QNX6_SUPER_MAGIC): Likewise.
13312         (RAMFS_MAGIC): Likewise.
13313         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13314         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13315         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13316         (SECURITYFS_MAGIC): Likewise.
13317         (SELINUX_MAGIC): Likewise.
13318         (SMACK_MAGIC): Likewise.
13319         (SOCKFS_MAGIC): Likewise.
13320         (SQUASHFS_MAGIC): Likewise.
13321         (STACK_END_MAGIC): Likewise.
13322         (TMPFS_MAGIC): Likewise.
13323         (USBDEVICE_SUPER_MAGIC): Likewise.
13324         (V9FS_MAGIC): Likewise.
13325         (XENFS_SUPER_MAGIC): Likewise.
13326         (CRAMFS_MAGIC): Fix typo in comment.
13327         (EXT2_SUPER_MAGIC): Update comment.
13328         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13330 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
13332         * sysdeps/arm: Move directory from ports/sysdeps/arm.
13333         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13334         * sysdeps/unix/sysv/linux/arm: Move directory from
13335         ports/sysdeps/unix/sysv/linux/arm.
13336         * README: Update listing for arm-*-linux-gnueabi.
13338         * README: Remove mention of am33.
13340 2014-02-07  Roland McGrath  <roland@hack.frob.com>
13342         * bits/sigset.h (__sigemptyset): Use a statement expression rather
13343         than the comma operator, to avoid "rhs of comma has no effect"
13344         compiler warnings.
13345         (__sigfillset, __sigandset, __sigorset): Likewise.
13346         * include/signal.h (__sigemptyset): Likewise.
13347         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13349 2014-02-07  Allan McRae  <allan@archlinux.org>
13351         * version.h (RELEASE): Set to "development".
13352         (VERSION): Set to "2.19.90"
13353         * NEWS: Add 2.20 section.
13355 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
13357         [BZ #16529]
13358         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13360 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13362         * manual/contrib.texi: Update entry for Carlos O'Donell,
13363         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13365 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
13367         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13369         * sysdeps/unix/sysv/linux/kernel-features.h
13370         [__LINUX_KERNEL_VERSION >= 0x020621]
13371         (__ASSUME_PROC_PID_TASK_COMM): Define.
13373 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13375         [BZ #16398]
13376         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13377         conversion when destination buffer does not have enough space.
13378         * libio/tst-ftell-partial-wide.c: New test case.
13379         * libio/Makefile (tests): Add tst-ftell-partial-wide.
13381         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13382         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13383         Leonard and Allan McRae.
13385 2014-02-04  David S. Miller  <davem@davemloft.net>
13387         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13388         32-bit.
13390 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13393         New file
13394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13395         New file
13396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13397         New file.
13398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13399         New file.
13400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13401         New file.
13402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13403         New file.
13404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13405         New file.
13406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13407         New file.
13408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13409         New file.
13410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13411         New file.
13412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13413         New file.
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13415         New file.
13416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13417         New file.
13419 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13421         * nptl/shlib-versions: Change powerpc*le start to 2.17.
13422         * shlib-versions: Likewise.
13424 2014-02-04  Roland McGrath  <roland@hack.frob.com>
13425             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13427         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13428         (abilist-pattern): New variable, set to %-le.abilist.
13430         * Makerules (abilist-pattern): New variable.
13431         (vpath): Use $(abilist-pattern) in place of %.abilist.
13432         (check-abi-% pattern rule): Likewise.
13433         (check-abi, update-abi): Likewise.
13435 2014-02-04  Eric Wong  <normalperson@yhbt.net>
13437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13439 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
13441         * manual/startup.texi: Add next, previous, and top entries for
13442         the `Program Arguments' and `Environment Variables' nodes.
13444 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
13446         * manual/macros.texi: Add comments before MTASC-safety macros.
13448         * manual/users.texi: Document MTASC-safety properties.
13450         * manual/threads.texi (pthread_key_create, pthread_key_delete)
13451         (pthread_getspecific, pthread_setspecific): Format with
13452         @deftypefun, and add @safety note.
13453         * manual/signal.texi: Move comments that analyze the above
13454         functions to their home place.
13456 2014-02-03  Allan McRae  <allan@archlinux.org>
13458         * po/sl.po: Update Slovenian translation from translation project.
13460 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
13462         * manual/time.texi (timegm): Add missing blank after @c.
13463         Reported by Joseph Myers <joseph@codesourcery.com>.
13465 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
13467         * manual/check-safety.sh: New.
13468         * manual/Makefile ($(objpfx)stamp-summary): Run it.
13470         * manual/terminal.texi: Document MTASC-safety properties.
13472         * manual/filesys.texi: Document MTASC-safety properties.
13474         * manual/errno.texi: Document MTASC-safety properties.
13476         * manual/intro.texi: Document safety identifiers and
13477         conditionals.
13479         * manual/string.texi (wcstok): Fix prototype.
13480         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13482         * manual/time.texi: Document MTASC-safety properties.
13484         * manual/string.texi: Document MTASC-safety properties.
13486         * manual/threads.texi: Document MTASC-safety properties.
13488         * manual/stdio.texi: Document MTASC-safety properties.
13490         * manual/syslog.texi: Document MTASC-safety properties.
13492         * manual/sysinfo.texi: Document MTASC-safety properties.
13494         * manual/startup.texi: Document MTASC-safety properties.
13496         * manual/socket.texi: Document MTASC-safety properties.
13498         * manual/signal.texi: Document MTASC-safety properties.
13500 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
13502         * manual/setjmp.texi: Document MTASC-safety properties.
13504         * manual/search.texi: Document MTASC-safety properties.
13506         * manual/resource.texi: Document MTASC-safety properties.
13508         * manual/process.texi: Document MTASC-safety properties.
13510         * manual/platform.texi: Document MTASC-safety properties.
13512         * manual/pipe.texi: Document MTASC-safety properties.
13514         * manual/pattern.texi: Document MTASC-safety properties.
13516         * manual/message.texi: Document MTASC-safety properties.
13518         [BZ #12751]
13519         * manual/memory.texi: Document MTASC-safety properties.
13521         * manual/math.texi: Document MTASC-safety properties.
13523         * manual/locale.texi: Document MTASC-safety properties.
13525         * manual/llio.texi: Document MTASC-safety properties.
13527         * manual/libdl.texi: New.
13529         * manual/lang.texi: Document MTASC-safety properties.
13531         * manual/job.texi: Document MTASC-safety properties.
13533         * manual/getopt.texi: Document MTASC-safety properties.
13535         * manual/ctype.texi: Document MTASC-safety properties.
13537 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
13539         [BZ #16046]
13540         * csu/libc-tls.c (static_map): Remove variable.
13541         (__libc_setup_tls): Use main executable's link map for TLS data.
13542         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13543         casing for LM_ID_BASE and GL(dl_nns).
13544         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13545         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
13546         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13547         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13548         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13549         member.
13550         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13551         l_phnum members.
13553 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
13555         * manual/debug.texi: Document MTASC-safety properties.
13557 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
13559         [BZ #16510]
13560         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13561         of __x86_64__ when disabling x87 inline functions.
13563 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13565         * manual/charset.texi: Document MTASC-safety properties.
13567         * manual/crypt.texi: Document MTASC-safety properties.
13569         * manual/conf.texi: Document MTASC-safety properties.
13571         * manual/arith.texi: Document MTASC-safety properties.
13573         * manual/argp.texi: Document MTASC-safety properties.
13575         * manual/macros.texi: Introduce macros to document multi
13576         thread, asynchronous signal and asynchronous cancellation
13577         safety properties.
13578         * manual/intro.texi: Introduce the properties themselves.
13580 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13582         * sysdeps/sh/sh4/Makefile: New file.
13584 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
13586         * math/gen-libm-test.pl ($srcdir): New variable.
13587         ($auto_input): Use it.
13589 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13591         [BZ #16506]
13592         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13593         access beyond array bounds when parsing netgroups file.
13595         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13596         the old buffer before realloc.
13598 2014-01-27  Allan McRae  <allan@archlinux.org>
13600         * po/fr.po: Update French translation from translation project.
13602 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13604         * sysdeps/sh/libm-test-ulps: Regenerate.
13606 2014-01-24  David S. Miller  <davem@davemloft.net>
13608         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13610 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13612         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13613         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13615 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13617         [BZ #16474]
13618         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13619         string pointers after reallocation.
13621 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13623         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13624         __SH4A__ instead of __SH_FPU_ANY__.
13626 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13628         * sysdeps/sh/fpu_control.h: New file.
13629         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13630         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13631         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13632         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13633         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13634         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13635         * sysdeps/sh/sys/ucontext.h: Remove.
13636         * sysdeps/sh/sys: Remove directory.
13638 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13640         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13641         s390/sys/ucontext.h.
13642         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13643         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13645 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
13647         [BZ #15605]
13648         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13650 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13652         [BZ#16431]
13653         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13654         Adjust the vDSO correctly for internal calls.
13655         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13657 2014-01-20  Allan McRae  <allan@archlinux.org>
13659         * po/ca.po: Update Catalan translation from translation project.
13661 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
13663         * sysdeps/s390/sotruss-lib.c: New file.
13665 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13667         [BZ#16430]
13668         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13669         (__GI___gettimeofday): Alias for a different internal symbol to avoid
13670         local calls issues by not having a PLT stub required for IFUNC calls.
13671         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13673 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
13675         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13676         * math/test-fpucw-static.c: Likewise.
13678 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13680         [BZ #16453]
13681         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13683 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13685         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13686         implementation for powerpc.
13688 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
13690         [BZ #14782]
13691         * sysdeps/posix/system.c (__libc_system): Do not enable
13692         asynchronous cancellation.
13694 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13696         [BZ #16427]
13697         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13698         handling only for numbers special also in the IEEE case.
13700 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13702         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13704 2014-01-11  Allan McRae  <allan@archlinux.org>
13706         * po/bg.po: Update Bulgarian translation from translation project.
13708         * po/de.po: Update German translation from translation project.
13710 2014-01-10  Roland McGrath  <roland@hack.frob.com>
13712         * sysdeps/generic/gcc-compat.h: New file.
13714 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13716         * benchtests/asin-inputs: Correct slow inputs.
13717         * benchtests/acos-inputs: Likewise.
13719 2014-01-10  Allan McRae  <allan@archlinux.org>
13721         * po:sv.po: Update Swedish translation from translation project.
13723         * po/vi.po: Update Vietnamese translation from translation project.
13725         * po/eo.po: Update Esperanto translation from translation project.
13727         * po/cs.po: Update Czech translation from translation project.
13729         * po/nl.po: Update Dutch translation from translation project.
13731         * po/pl.po: Update Polish translation from translation project.
13733         * po/ru.po: Update Russian translation from translation project.
13735         * po/uk.po: Update Ukrainian translation from translation project.
13737 2014-01-08  Brooks Moses  <bmoses@google.com>
13739         * elf/dl-load.c: Fix comment typo.
13741 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
13743         * po/header.pot: Rename to...
13744         * po/pot.header: ... this.
13745         * po/Makefile: Use pot.header.
13747 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
13748             Maxim Kuvyrkov  <maxim@kugelworks.com>
13750         [BZ #16394]
13751         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13752         SRC and DEST against LEN.
13754 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13756         [BZ #16414]
13757         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13758         implementation.
13759         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13761 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13765 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
13767         [BZ #16408]
13768         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13769         for large positive arguments.
13771 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
13773         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13775         * math/auto-libm-test-in: Mark various tests with
13776         xfail-rounding:ldbl-128ibm.
13777         * math/auto-libm-test-out: Regenerated.
13779         [BZ #16407]
13780         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13781         Increase overflow threshold.
13783 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
13785         [BZ #14286]
13786         * stdio-common/vfprintf.c: Check for integer overflow.
13788 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13790         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13791         the first argument and return value of __tls_get_addr_internal.
13793 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13795         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13796         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13798 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13800         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13801         * sysdeps/s390/rtld-global-offsets.sym: New file.
13802         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13803         GLIBC_2.19 symbol.
13804         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13805         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13806         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13807         ... this.
13808         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13809         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13810         ... this.
13811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13812         Regenerate.
13813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13814         Regenerate.
13815         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13816         halfs of GPRs for high_gprs contexts.
13817         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13818         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
13819         field.
13820         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13821         uc_flags field.
13822         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13823         64 bit versions:
13824         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13825         for high GPRs (uc_high_gprs) and for future extensions
13826         (__reserved).
13827         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13828         for future extensions (__reserved).
13829         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13830         64 bit versions:
13831         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13832         SC_HIGHGPRS offset definition.
13833         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13834         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13836         * Versions.def: Add GLIBC_2.19 for libpthread.
13837         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13838         siglongjmp for libpthread with GLIBC_2.19 symver.
13839         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13840         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13841         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13842         * sysdeps/s390/__longjmp.c: New file.
13843         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13844         * sysdeps/s390/longjmp.c: New file.
13845         * sysdeps/s390/setjmp.S: New file.
13846         * sysdeps/s390/sigjmp.S: New file.
13847         * sysdeps/s390/v1-longjmp.c: New file.
13848         * sysdeps/s390/v1-setjmp.h: New file.
13849         * sysdeps/s390/v1-sigjmp.c: New file.
13850         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13851         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13852         GLIBC_2.19 version.
13853         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13854         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13855         versioned symbols for ____longjmp_chk.
13856         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13857         Likewise.
13858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13859         Regenerate.
13860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13861         Regenerate.
13862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13863         Regenerate.
13864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13865         Regenerate.
13866         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13867         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13868         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13869         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13870         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13871         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13872         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13873         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13874         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13875         * sysdeps/s390/rtld-__longjmp.c: New file.
13876         * sysdeps/s390/rtld-setjmp.S: New file.
13878 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
13880         [BZ #16400]
13881         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13882         Return -__logl (x) for small positive arguments without evaluating
13883         a polynomial.
13885 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
13887         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13888         Rename to ...
13889         (__ptrace_peeksiginfo_args): ... this.
13890         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13891         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13892         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13894 2014-01-06  Allan McRae  <allan@archlinux.org>
13896         * inet/netinet/in.h: Fix typo in comment.
13898 2014-01-05  Andreas Jaeger  <aj@suse.de>
13900         * sysdeps/i386/fpu/libm-test-ulps: Update.
13902 2014-01-05  Allan McRae  <allan@archlinux.org>
13904         * po/libc.pot: Regenerated.
13906         * malloc/memusagestat.c: Fix gettext call formatting.
13908 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
13910         * nscd/nscd.c: Improve usage() output.
13912 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
13914         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13915         * sysdeps/unix/sysv/linux/configure: Regenerated.
13916         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13917         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13919 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13921         [BZ #16390]
13922         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13923         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13925 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13927         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13928         extra tokens at end of #undef directive.
13929         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13930         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13931         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13933 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13935         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13937         * math/auto-libm-test-in: Mark various tests with
13938         xfail-rounding:ldbl-128ibm.
13939         * math/auto-libm-test-out: Regenerated.
13941 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
13943         [BZ #16386]
13944         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13945         numbers with subnormal high part when calculating exponent.
13947         [BZ #16385]
13948         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13949         fabs.
13951         [BZ #16384]
13952         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13953         M_LN2l.
13954         (__ieee754_acoshl): Use __log1pl not __log1p.
13956 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
13958         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13959         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13960         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13961         (grow_heap, heap_trim, _int_new_arena, get_free_list)
13962         (reused_arena, arena_get2): Convert to GNU style.
13963         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13964         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13965         (memalign_check, __malloc_set_state): Likewise.
13966         * malloc/mallocbug.c (main): Likewise.
13967         * malloc/malloc.c (__malloc_assert, malloc_init_state)
13968         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13969         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13970         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13971         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13972         (__posix_memalign, malloc_info): Likewise.
13973         * malloc/malloc.h: Likewise.
13974         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13975         (mallochook, memalignhook, reallochook, mabort): Likewise.
13976         * malloc/mcheck.h: Likewise.
13977         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13978         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13979         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13980         * malloc/morecore.c (__default_morecore): Likewise.
13981         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13982         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13983         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13984         (print_and_abort): Likewise.
13985         * malloc/obstack.h: Likewise.
13986         * malloc/set-freeres.c (__libc_freeres): Likewise.
13987         * malloc/tst-mallocstate.c (main): Likewise.
13988         * malloc/tst-mtrace.c (main): Likewise.
13989         * malloc/tst-realloc.c (do_test): Likewise.
13991 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13993         [BZ #16366]
13994         * nscd/netgroupcache.c (do_notfound): New function.
13995         (addgetnetgrentX): Use it.
13997         [BZ # 16365]
13998         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13999         NSS_STATUS_NOTFOUND.
14001 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
14003         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14006 2014-01-01  Allan McRae  <allan@archlinux.org>
14008         * scripts/update-copyrights: Update configure input file suffix.
14010         * NEWS: Update copyright year.
14011         * catgets/gencat.c: Likewise.
14012         * csu/version.c: Likewise.
14013         * debug/catchsegv.sh: Likewise.
14014         * debug/pcprofiledump.c: Likewise.
14015         * debug/xtrace.sh: Likewise.
14016         * elf/ldconfig.c: Likewise.
14017         * elf/ldd.bash.in: Likewise.
14018         * elf/pldd.c: Likewise.
14019         * elf/sotruss.ksh: Likewise.
14020         * elf/sprof.c: Likewise.
14021         * iconv/iconv_prog.c: Likewise.
14022         * iconv/iconvconfig.c: Likewise.
14023         * locale/programs/locale.c: Likewise.
14024         * locale/programs/localedef.c: Likewise.
14025         * login/programs/pt_chown.c: Likewise.
14026         * malloc/memusage.sh: Likewise.
14027         * malloc/memusagestat.c: Likewise.
14028         * malloc/mtrace.pl: Likewise.
14029         * manual/libc.texinfo: Likewise.
14030         * nscd/nscd.c: Likewise.
14031         * nss/getent.c: Likewise.
14032         * nss/makedb.c: Likewise.
14033         * posix/getconf.c: Likewise.
14034         * scripts/test-installation.pl: Likewise.
14036         * All files with FSF copyright notices: Update copyright dates
14037         using scripts/update-copyrights.
14038         * intl/plural.c: Regenerated.
14039         * locale/programs/charmap-kw.h: Likewise.
14040         * locale/programs/locfile-kw.h: Likewise.
14042 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
14044         * sysdeps/unix/sysv/linux/configure: Regenerated.
14045         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14046         the linux/fanotify.h header.
14047         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14048         HAVE_LINUX_FANOTIFY_H is defined.
14050 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14052         * benchtests/cos-inputs: New inputs.
14053         * benchtests/sin-inputs: Likewise.
14055         * benchtests/atan-inputs: New inputs. Fix name of multiple
14056         precision fallback inputs.
14058         * benchtests/atanh-inputs: New inputs.
14059         * benchtests/tanh-inputs: Likewise.
14061         * benchtests/acosh-inputs: New inputs.
14062         * benchtests/asinh-inputs: Likewise.
14064         * benchtests/cosh-inputs: New inputs.
14065         * benchtests/sinh-inputs: Likewise.
14067         * benchtests/acos-inputs: Add more inputs.
14068         * benchtests/asin-inputs: Likewise.
14070 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
14072         [BZ #16375]
14073         * manual/arith.texi: Fix spelling.
14074         * manual/charset.texi: Likewise.
14075         * manual/errno.texi: Likewise.
14076         * manual/filesys.texi: Likewise.
14077         * manual/lang.texi: Likewise.
14078         * manual/llio.texi: Likewise.
14079         * manual/locale.texi: Likewise.
14080         * manual/message.texi: Likewise.
14081         * manual/resource.texi: Likewise.
14082         * manual/search.texi: Likewise.
14083         * manual/setjmp.texi: Likewise.
14084         * manual/stdio.texi: Likewise.
14085         * manual/string.texi: Likewise.
14086         * manual/sysinfo.texi: Likewise.
14087         * manual/time.texi: Likewise.
14089 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
14091         * po/sl.po: New file.
14093 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
14095         * .gitignore: Add core/.gdbinit/.gdb_history.
14097 2013-12-27  Allan McRae  <allan@archlinux.org>
14099         [BZ #16369]
14100         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14101         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14103 2013-12-24  Brooks Moses  <bmoses@google.com>
14105         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14106         all compilers that claim C++98 compliance, not just GCC.
14107         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14108         Likewise.
14110 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14112         * NEWS: Restore accidentally deleted bug-fix entries.
14114 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14115             Ondřej Bílka  <neleai@seznam.cz>
14117         [BZ #15073]
14118         * malloc/malloc.c (_int_free): Perform sanity check only if we
14119         have_lock.
14121 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14123         [BZ #12986]
14124         * manual/stdio.texi (String Input Conversions): Clarify that character
14125         classes are not supported.
14127 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14131 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14133         [BZ #16337]
14134         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14135         Calculate results for small negative arguments directly rather
14136         than using reflection formula with special underflow handling.
14138         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14139         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14140         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14141         (fchflags): Likewise.
14142         (revoke): Likewise.
14143         (setlogin): Likewise.
14144         (sigaltstack): Likewise.
14145         (wait4): Likewise.
14146         (sigblock): Remove.
14147         (sigsetmask): Likewise.
14148         (wait3): Likewise.
14149         (waitpid): Likewise.
14150         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14151         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14152         file.
14153         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14154         * sysdeps/unix/bsd/Makefile: ... here.
14155         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14156         * sysdeps/unix/bsd/Versions: ... here.
14157         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14158         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14159         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14160         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14161         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14162         * sysdeps/unix/bsd/sigblock.c: ... here.
14163         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14164         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14165         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14166         * sysdeps/unix/bsd/sigvec.c: ... here.
14167         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14168         * sysdeps/unix/bsd/tcdrain.c: ... here.
14169         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14170         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14171         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14172         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14173         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14174         * sysdeps/unix/bsd/wait.c: ... here.
14175         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14176         * sysdeps/unix/bsd/wait3.c: ... here.
14177         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14178         * sysdeps/unix/bsd/waitpid.c: ... here.
14180 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14182         [BZ #16356]
14183         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14184         round-to-nearest for [!USE_AS_EXPM1L].
14185         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14186         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14187         more tests of exp and exp10.  Expect some exp10 tests to miss
14188         exceptions or fail in directed rounding modes.
14189         * math/auto-libm-test-out: Regenerated.
14190         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14191         (exp10_test_tonearest): New function.
14192         (exp10_towardzero_test_data): New array.
14193         (exp10_test_towardzero): New function.
14194         (exp10_downward_test_data): New array.
14195         (exp10_test_downward): New function.
14196         (exp10_upward_test_data): New array.
14197         (exp10_test_upward): New function.
14198         (main): Call the new functions.
14199         * sysdeps/i386/fpu/libm-test-ulps: Update.
14200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14202 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14204         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14205         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14206         * math/auto-libm-test-out: Regenerated.
14207         * math/libm-test.inc (acosh_test_data): Add more tests.
14208         (atanh_test_data): Likewise.
14209         (ceil_test_data): Likewise.
14210         (copysign_test_data): Likewise.
14211         * sysdeps/i386/fpu/libm-test-ulps: Update.
14212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14214         * timezone/checktab.awk: Update from tzcode 2013i.
14215         * timezone/private.h: Likewise.
14216         * timezone/scheck.c: Likewise.
14217         * timezone/tzfile.h: Likewise.
14218         * timezone/tzselect.ksh: Likewise.
14219         * timezone/zdump.c: Likewise.
14220         * timezone/zic.c: Likewise.
14222         * math/auto-libm-test-in: Add tests of cpow.
14223         * math/auto-libm-test-out: Regenerated.
14224         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14225         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14226         mpc_cc_c.
14227         (func_calc_desc): Add mpc_cc_c union field.
14228         (test_functions): Add cpow.
14229         (special_fill_2pi): New function.
14230         (special_real_inputs): Add 2pi.
14231         (calc_generic_results): Handle mpc_cc_c.
14232         * sysdeps/i386/fpu/libm-test-ulps: Update.
14233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14235         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14236         csqrt, ctan and ctanh.
14237         * math/auto-libm-test-out: Regenerated.
14238         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14239         (TEST_COND_x86): Likewise.
14240         (ccos_test_data): Use AUTO_TESTS_c_c.
14241         (ccosh_test_data): Likewise.
14242         (cexp_test_data): Likewise.
14243         (clog_test_data): Likewise.
14244         (csqrt_test_data): Likewise.
14245         (ctan_test_data): Likewise.
14246         (ctan_tonearest_test_data): Likewise.
14247         (ctan_towardzero_test_data): Likewise.
14248         (ctan_downward_test_data): Likewise.
14249         (ctan_upward_test_data): Likewise.
14250         (ctanh_test_data): Likewise.
14251         (ctanh_tonearest_test_data): Likewise.
14252         (ctanh_towardzero_test_data): Likewise.
14253         (ctanh_downward_test_data): Likewise.
14254         (ctanh_upward_test_data): Likewise.
14255         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14256         mpc_c_c.
14257         (func_calc_desc): Add mpc_c_c union field.
14258         (FUNC_mpc_c_c): New macro.
14259         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14260         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14261         ctanh.
14262         (special_fill_min_subnorm_p120): New function.
14263         (special_real_inputs): Add min_subnorm_p120.
14264         (calc_generic_results): Handle mpc_c_c.
14265         * sysdeps/i386/fpu/libm-test-ulps: Update.
14266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14268 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14270         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14271         (do_sin_slow): New functions.
14272         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14273         (cslow2, csloww1, csloww2): Use the new functions.
14275         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14276         Use M to change sign of result instead of X.  Assume X is
14277         positive.
14278         (csloww1): Likewise.
14279         (__sin): Adjust.
14280         (__cos): Adjust.
14282         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14283         arguments A and DA.
14284         (__sin): Adjust.
14285         (__cos): Likewise.
14287         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14288         (__cos): Likewise.
14289         (sloww1): Don't adjust sign of DX.
14290         (csloww1): Likewise.
14291         (sloww2): Use X directly and don't adjust sign of DX.
14292         (csloww2): Likewise.
14294 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14296         * math/auto-libm-test-in: Add tests of cabs and carg.
14297         * math/auto-libm-test-out: Regenerated.
14298         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14299         (carg_test_data): Likewise.
14300         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14301         mpc_c_f.
14302         (func_calc_desc): Add mpc_c_f union field.
14303         (test_functions): Add cabs and carg.
14304         (calc_generic_results): Handle mpc_c_f.
14306         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14307         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14308         as a macro and a compat symbol.
14309         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14310         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14311         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14312         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14313         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14314         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14315         not use .hidden.
14316         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14317         Likewise.
14318         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14319         Likewise.
14320         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14321         Likewise.
14322         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14323         Likewise.
14324         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14325         Likewise.
14326         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14327         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14328         from GLIBC_2.3.2.
14330 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14334 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14336         * manual/texinfo.tex: Update to version 2013-11-26.10 with
14337         trailing whitespace removed.
14338         * scripts/config.guess: Update to version 2013-11-29.
14339         * scripts/config.sub: Update to version 2013-10-01.
14341         * math/auto-libm-test-in: Add tests of sincos.
14342         * math/auto-libm-test-out: Regenerated.
14343         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14344         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14345         mpfr_f_11.
14346         (func_calc_desc): Add mpfr_f_11 union field.
14347         (test_functions): Add sincos.
14348         (calc_generic_results): Handle mpfr_f_11.
14349         * sysdeps/i386/fpu/libm-test-ulps: Update.
14350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14352 2013-12-19  Andreas Schwab  <schwab@suse.de>
14354         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14355         CALL_MCOUNT.
14356         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14357         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14358         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14360 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14362         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14363         * sysdeps/i386/fpu/libm-test-ulps: Update.
14364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14366         [BZ #16293]
14367         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14368         round-to-nearest mode when using frndint.
14369         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14370         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14371         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14372         Likewise.
14373         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
14374         sinh test to fail.
14375         * math/auto-libm-test-out: Regenerated.
14376         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14377         (TEST_COND_x86): Likewise.
14378         (expm1_tonearest_test_data): New array.
14379         (expm1_test_tonearest): New function.
14380         (expm1_towardzero_test_data): New array.
14381         (expm1_test_towardzero): New function.
14382         (expm1_downward_test_data): New array.
14383         (expm1_test_downward): New function.
14384         (expm1_upward_test_data): New array.
14385         (expm1_test_upward): New function.
14386         (main): Run the new test functions.
14387         * sysdeps/i386/fpu/libm-test-ulps: Update.
14388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14390         * include/features.h: Update comment documenting feature test
14391         macros.  Mention _DEFAULT_SOURCE in comment.
14392         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14393         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14394         _BSD_SOURCE and _SVID_SOURCE.
14395         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14396         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14397         !_SVID_SOURCE]: Likewise.
14398         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14399         (__USE_POSIX_IMPLICITLY): Define.
14400         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14401         (_POSIX_SOURCE): Undefine and redefine.
14402         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14403         (_POSIX_C_SOURCE): Likewise.
14404         * manual/creature.texi (_DEFAULT_SOURCE): Document.
14405         (Feature Test Macros): Update documentation of default features.
14407 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14409         * benchtests/Makefile: Add bench-strtok.
14410         * benchtests/bench-strtok.c: New file: strtok benchtest.
14412 2013-12-19  Allan McRae  <allan@archlinux.org>
14414         * manual/install.texi: Suppress menu for plain text output.
14415         * INSTALL: Regenerated.
14417 2013-12-18  Brooks Moses  <bmoses@google.com>
14419         [BZ #15846]
14420         * misc/getauxval.c: Include errno.h.
14421         (__getauxval): Set errno to ENOENT if the requested type is not
14422         found.
14423         * misc/sys/auxv.h (getauxval): Document that it may set errno;
14424         don't declare with __attribute_const__.
14425         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14426         * manual/startup.texi: Document that getauxval sets errno.
14428 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14430         * math/auto-libm-test-in: Add tests of jn and yn.
14431         * math/auto-libm-test-out: Regenerated.
14432         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14433         (yn_test_data): Likewise.
14434         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14435         mpfr_if_f.
14436         (func_calc_desc): Add mpfr_if_f union field.
14437         (FUNC_mpfr_if_f): New macro.
14438         (test_functions): Add jn and yn.
14439         (calc_generic_results): Assert type of second input for
14440         mpfr_ff_f.  Handle mpfr_if_f.
14441         (output_for_one_input_case): Disable all checking for arguments
14442         fitting floating-point types in case of an integer argument.
14443         * sysdeps/i386/fpu/libm-test-ulps: Update.
14444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14447         Don't expect fegetround reference in libm.so.
14449 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14451         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14452         $(config-cflags-nofma).
14454 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14456         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14457         * math/auto-libm-test-out: Regenerated.
14459         [BZ #16338]
14460         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14461         to determine exponent and adjust argument to have exponent of -1.
14462         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14463         log2.
14464         * math/auto-libm-test-out: Regenerated.
14465         * sysdeps/i386/fpu/libm-test-ulps: Update.
14466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14468 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
14470         * manual/probes.texi: Remove cases when per-thread arenas are
14471         disabled.
14473 2013-12-18  Andreas Schwab  <schwab@suse.de>
14475         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14476         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14477         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14478         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14479         * sysdeps/i386/i686/multiarch/Makefile: Update.
14480         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14482 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14484         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14485         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14487 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
14489         [BZ #15968]
14490         Support TZ transition times < 00:00:00.
14491         This is needed for version-3 tz-format files; it supports time
14492         stamps past 2037 for America/Godthab (the only entry in the tz
14493         database for which this change is relevant).
14494         * manual/time.texi (TZ Variable): Document transition times
14495         from -167:59:59 through -00:00:01.
14496         * time/tzset.c (tz_rule): Time of day is now signed.
14497         (__tzset_parse_tz): Parse negative time of day.
14499         Document TZ transition times >= 25:00:00.
14500         * manual/time.texi (TZ Variable): Document transition times from
14501         25:00:00 through 167:59:59.  These are already supported, and this
14502         support will help with version-3 tz-format files.
14504         * manual/time.texi (TZ Variable): Modernize North America example
14505         to reflect current (i.e., 2007-and-later) daylight saving rules.
14507         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14509 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14511         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14512         * sysdeps/unix/bsd/bits/stat.h: Likewise.
14513         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14515         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14516         * sysdeps/unix/bsd/bsdstat.h: Likewise.
14517         * sysdeps/unix/bsd/clock.c: Likewise.
14518         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14519         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14520         * sysdeps/unix/bsd/init-posix.c: Likewise.
14521         * sysdeps/unix/bsd/poll.c: Likewise.
14522         * sysdeps/unix/bsd/ptsname.c: Likewise.
14523         * sysdeps/unix/bsd/seekdir.c: Likewise.
14524         * sysdeps/unix/bsd/setegid.c: Likewise.
14525         * sysdeps/unix/bsd/seteuid.c: Likewise.
14526         * sysdeps/unix/bsd/setgid.c: Likewise.
14527         * sysdeps/unix/bsd/setrgid.c: Likewise.
14528         * sysdeps/unix/bsd/setruid.c: Likewise.
14529         * sysdeps/unix/bsd/setsid.c: Likewise.
14530         * sysdeps/unix/bsd/setuid.c: Likewise.
14531         * sysdeps/unix/bsd/sigaction.c: Likewise.
14532         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14533         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14534         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14535         * sysdeps/unix/bsd/telldir.c: Likewise.
14536         * sysdeps/unix/bsd/times.c: Likewise.
14537         * sysdeps/unix/bsd/usleep.c: Likewise.
14539         * misc/Makefile (install-lib): Remove libbsd-compat.a.
14540         ($(objpfx)libbsd-compat.a): Remove rule.
14542         * include/features.h (__FAVOR_BSD): Do not define.
14543         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14544         features conflicting with POSIX.
14545         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14546         (_BSD_SOURCE): Remove description of not being a subset of other
14547         feature test macros.
14548         * manual/job.texi (getpgrp): Do not document BSD version.
14549         (getpgid): Do not document by reference to BSD getpgrp.
14550         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14551         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14552         * signal/signal.h [__FAVOR_BSD]: Likewise.
14553         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14554         instead of making contents conditional on [__FAVOR_BSD].
14555         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14557 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14561 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14563         [BZ #16314]
14564         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14565         values below 2**-450, not 2**-500.
14566         * math/auto-libm-test-in: Don't allow spurious underflow from
14567         hypot.
14568         * math/auto-libm-test-out: Regenerated.
14570         [BZ #16316]
14571         [BZ #16330]
14572         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14573         values of ha and hb and sort them after adjusting subnormal
14574         arguments.
14575         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14576         Likewise.
14577         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14578         values of ea and eb and sort them after adjusting subnormal
14579         arguments.
14580         * math/auto-libm-test-in: Do not expect some hypot tests of
14581         subnormals to fail.  Add more hypot tests.
14582         * math/auto-libm-test-out: Regenerated.
14584 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14586         [BZ #13304]
14587         * sysdeps/sh/s_fma.c: New file.
14588         * sysdeps/sh/s_fmaf.c: New file.
14589         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
14590         version.
14591         * sysdeps/sh/Implies: Add sh/soft-fp.
14593 2013-12-16  Roland McGrath  <roland@hack.frob.com>
14595         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
14596         level of indirection to members `objname', `errstring', `malloced'.
14597         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14598         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
14599         it as the __longjmp argument (just pass 1 instead).
14600         (_dl_catch_error): Initialize C with argument pointers and address of
14601         volatile local ERRCODE rather than copying values out of C at return.
14603 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
14605         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14606         * math/auto-libm-test-out: Regenerated.
14607         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14608         (hypot_test_data): Likewise.
14609         (pow_test_data): Likewise.
14610         (pow_tonearest_test_data): Likewise.
14611         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14612         mpfr_ff_f.
14613         (func_calc_desc): Add mpfr_ff_f union field.
14614         (FUNC_mpfr_ff_f): New macro.
14615         (test_functions): Add atan2, hypot and pow.
14616         (special_fill_min): New function.
14617         (special_fill_minus_min): Likewise.
14618         (special_fill_min_subnorm): Likewise.
14619         (special_fill_minus_min_subnorm): Likewise.
14620         (special_real_inputs): Add min, -min, min_subnorm and
14621         -min_subnorm.
14622         (calc_generic_results): Handle mpfr_ff_f.
14623         * sysdeps/i386/fpu/libm-test-ulps: Update.
14624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14626 2013-12-16  Will Newton  <will.newton@linaro.org>
14628         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14629         (Aligned Memory Blocks): Add documentation for aligned_alloc
14630         and suggest it as an alternative to posix_memalign.
14631         (Hooks for Malloc): Document __memalign_hook is also called
14632         for aligned_alloc.  (Summary of Malloc): Add summary for
14633         aligned alloc.  Document __memalign_hook is also called
14634         for aligned_alloc.
14636 2013-12-16  Will Newton  <will.newton@linaro.org>
14638         * manual/memory.texi (Malloc Examples): Clarify default
14639         alignment documentation.  Suggest posix_memalign rather
14640         than memalign or valloc.
14641         (Aligned Memory Blocks): Remove suggestion to use memalign
14642         or valloc.  Remove obsolete comment about BSD.
14643         Document memalign errno values and mark the function obsolete.
14644         Document posix_memalign returned error codes.  Mark valloc
14645         as obsolete.  (Hooks for Malloc): __memalign_hook is also
14646         called for posix_memalign and valloc.
14647         (Summary of Malloc): Add posix_memalign to function summary.
14648         __memalign_hook is also called for posix_memalign and valloc.
14650 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14652         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14653         TAYLOR_SIN.
14654         (__sin): Adjust.
14655         (__cos): Likewise.
14656         (sloww): Use mynumber union.  Expand ternary operator into
14657         if-else statements.
14658         (cslow): use mynumber union.
14660 2013-12-16  Allan McRae  <allan@archlinux.org>
14662         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14663         * configure: Regenerated.
14665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14667         [BZ #14120]
14668         * configure.ac: Added --enable-maintainer-mode. Check for
14669         autoconf when enabled.
14670         * configure: Regenerated.
14672         * nscd/nscd.service: New file.
14673         * nscd/nscd.tmpfiles: New file.
14675 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
14677         [BZ #12100]
14678         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14679         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14680         * sysdeps/x86_64/multiarch/strstr.c: ... here.
14681         (strstr): Add __strstr_sse2_unaligned ifunc.
14682         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14683         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14684         (strcasestr): Remove __strcasestr_sse42 ifunc.
14685         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14686         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14689 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14691         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14692         * sysdeps/sh/bits/fenv.h: ... here.
14693         * sysdeps/sh/sh4/fpu/bits: Remove directory.
14695 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14697         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14700         hypotf multiarch implementations.
14701         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14702         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14703         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14704         multiarch hypot for PPC64.
14705         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14706         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14707         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14708         multiarch hypotf for PPC64.
14710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14711         modff multiarch implementations.
14712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14715         multiarch modf for PPC64.
14716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14719         multiarch modff for PPC64.
14721         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14722         and logl multiarch implementations.
14723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14726         multiarch logb for PPC64.
14727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14730         multiarch logb for PPC64.
14731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14734         multiarch logb for PPC64.
14736         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14737         isinff multiarch implementation.
14738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14739         file.
14740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14742         multiarch isinf for PPC64.
14743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14744         file.
14745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14746         multiarch isinff for PPC64.
14748         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14749         finitef multiarch implementation.
14750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14751         file.
14752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14754         multiarch finite for PPC64.
14755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14756         file.
14757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14758         multiarch finitef for PPC64.
14760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14761         lrint multiarch implementation.
14762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14763         file.
14764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14766         multiarch llrint for PPC64.
14767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14768         multiarch lrint for PPC64.
14770         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14771         copysignf multiarch implementation.
14772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14773         file.
14774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14775         file.
14776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14777         multiarch copysign for PPC64.
14778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14779         multiarch copysignf for PPC64.
14781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14782         multiarch implementation.
14783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14784         file.
14785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14786         file.
14787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14788         file.
14789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14790         file.
14791         multiarch llround for PPC64.
14792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14793         multiarch trunc for PPC64.
14794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14795         multiarch truncf for PPC64.
14797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14798         multiarch implementation.
14799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14800         file.
14801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14802         file.
14803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14804         file.
14805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14806         file.
14807         multiarch llround for PPC64.
14808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14809         multiarch round for PPC64.
14810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14811         multiarch roundf for PPC64.
14813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14814         multiarch implementation.
14815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14816         file.
14817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14818         file.
14819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14820         file.
14821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14822         file.
14823         multiarch llround for PPC64.
14824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14825         multiarch floor for PPC64.
14826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14827         multiarch floorf for PPC64.
14829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14830         multiarch implementation.
14831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14832         file.
14833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14834         file.
14835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14836         file.
14837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14838         file.
14839         multiarch llround for PPC64.
14840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14841         multiarch ceil for PPC64.
14842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14843         multiarch ceilf for PPC64.
14845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14846         multiarch implementation.
14847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14848         file.
14849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14850         file.
14851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14852         file.
14853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14854         multiarch llround for PPC64.
14855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14856         multiarch lround for PPC64.
14858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14859         multiarch implementation.
14860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14863         file.
14864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14867         multiarch isnan for PPC64.
14868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14869         multiarch isnanf for PPC64.
14871         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14872         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14873         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14874         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14875         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14878         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14879         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14880         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14881         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14884         multiarch implementations.
14885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14886         (__libc_ifunc_impl_list): Likewise.
14887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14888         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14889         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14890         multiarch stpcpy for PPC64.
14892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14893         multiarch implementations.
14894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14895         (__libc_ifunc_impl_list): Likewise.
14896         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14897         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14898         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14899         multiarch strcpy for PPC64.
14901         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14902         redefine function name.
14903         (_wordcopy_fwd_dest_aligned): Likewise.
14904         (_wordcopy_bwd_aligned): Likewise.
14905         (_wordcopy_bwd_dest_aligned): Likewise.
14906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14907         multiarch implementations.
14908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14909         (__libc_ifunc_impl_list): Likewise.
14910         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14911         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14912         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14913         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14914         multiarch wcscpy for PPC64.
14916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14917         multiarch implementations.
14918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14919         (__libc_ifunc_impl_list): Likewise.
14920         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14921         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14922         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14923         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14924         multiarch wcscpy for PPC64.
14926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14927         multiarch implementations.
14928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14929         (__libc_ifunc_impl_list): Likewise.
14930         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14931         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14932         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14933         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14934         multiarch wcsrchr for PPC64.
14936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14937         multiarch implementations.
14938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14939         (__libc_ifunc_impl_list): Likewise.
14940         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14941         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14942         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14943         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14944         multiarch wcschr for PPC64.
14946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14947         multiarch implementations.
14948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14949         (__libc_ifunc_impl_list): Likewise.
14950         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14951         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14952         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14953         multiarch strchrnul for PPC64.
14955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14956         implementations.
14957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14958         (__libc_ifunc_impl_list): Likewise.
14959         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14960         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14961         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14962         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14963         strchr for PPC64.
14965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14966         implementations.
14967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14968         (__libc_ifunc_impl_list): Likewise.
14969         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14970         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14971         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14972         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14973         strncmp for PPC64.
14975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14976         multiarch implementations.
14977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14978         (__libc_ifunc_impl_list): Likewise.
14979         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14980         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14981         strncasecmp for PPC64.
14982         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14983         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14984         multiarch strncasecmp_l for PPC64.
14986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14987         multiarch implementations.
14988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14989         (__libc_ifunc_impl_list): Likewise.
14990         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14991         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14992         multiarch strcasecmp for PPC64.
14993         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14994         file.
14995         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14996         multiarch strcasecmp_l for PPC64.
14998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14999         implementations.
15000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15001         (__libc_ifunc_impl_list): Likewise.
15002         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15003         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15004         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15005         strnlen for PPC64.
15007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15008         implementations.
15009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15010         (__libc_ifunc_impl_list): Likewise.
15011         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15012         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15013         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15014         strlen for PPC64.
15016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15017         implementations.
15018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15019         (__libc_ifunc_impl_list): Likewise.
15020         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15021         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15022         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15023         rawmemrchr for PPC64.
15025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15026         implementation.
15027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15028         (__libc_ifunc_impl_list): Likewise.
15029         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15030         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15031         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15032         memrchr for PPC64.
15034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15035         implementation.
15036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15037         (__libc_ifunc_impl_list): Likewise.
15038         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15039         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15040         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15041         memchr for PPC64.
15043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15044         implementation.
15045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15046         (__libc_ifunc_impl_list): Likewise.
15047         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15048         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15049         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15050         mempcpy for PPC64.
15052         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15053         avoid cretion of __bzero symbol.
15054         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15055         Likewise.
15056         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15057         Likewise.
15058         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15059         Likewise.
15060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15061         multiarch implementations.
15062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15063         (__libc_ifunc_impl_list): Likewise.
15064         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15065         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15066         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15067         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15068         bzero for PPC32.
15069         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15070         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15071         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15072         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15073         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15074         memset for PPC64.
15075         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15077         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15079         implementations.
15080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15081         (__libc_ifunc_impl_list): Likewise.
15082         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15083         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15084         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15085         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15086         memcmp for PPC64.
15088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15089         multiarch for POWER/PPC64.
15090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15091         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15092         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15093         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15094         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15095         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15096         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15097         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15098         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15099         memcpy for PPC64.
15101         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15102         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15103         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15104         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15105         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15106         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15107         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15108         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15109         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15110         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15111         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15112         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15113         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15114         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15115         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15124 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15126         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15128 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15130         * benchtests/Makefile (bench): Add exp2 and log2.
15131         (LDLIBS-bench-exp2): Add -lm.
15132         (LDLIBS-bench-log2): Likewise.
15133         * benchtests/exp2-inputs: New inputs file.
15134         * benchtests/log2-inputs: New inputs file.
15135         * benchtests/log-inputs: Add new inputs.
15136         * benchtests/tan-inputs: Likewise.
15138 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15140         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15141         definition...
15142         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15143         (csloww2): ... from here.
15145         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15146         instead of structures.
15147         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15148         (POLYNOMIAL): Likewise.
15149         (TAYLOR_SLOW): Likewise.
15150         (__sin): Likewise.
15151         (__cos): Likewise.
15152         (slow1): Likewise.
15153         (slow2): Likewise.
15154         (sloww): Likewise.
15155         (sloww1); Likewise.
15156         (sloww2): Likewise.
15157         (bsloww1): Likewise.
15158         (bsloww2): Likewise.
15159         (cslow2): Likewise.
15160         (csloww): Likewise.
15161         (csloww1): Likewise.
15162         (csloww2): Likewise.
15164 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15166         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15167         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15168         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15169         * malloc/hooks.c (realloc_check): Likewise.
15171         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15172         * malloc/arena.c: Remove PER_THREAD conditional.
15173         [!PER_THREAD]: Remove code.
15174         (ptmalloc_unlock_all2): Likewise.
15175         (ptmalloc_init): Likewise.
15176         (_int_new_arena): Likewise.
15177         (arena_get2): Likewise.
15178         * malloc/hooks.c (__malloc_get_state): Likewise.
15179         (__malloc_set_state): Likewise.
15180         * malloc/malloc.c: Likewise.
15181         (struct malloc_state): Likewise.
15182         (struct malloc_par): Likewise.
15183         (__libc_realloc): Likewise.
15184         (__libc_mallopt): Likewise.
15186 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15188         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15190 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15192         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15193         macro to a function.  Check for zero perturb_byte.
15194         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15196         * malloc/malloc.c: (force_reg): Remove.
15197         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15198         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15199         force_reg by atomic_forced_read.
15200         * malloc/arena.c (ptmalloc_init): Likewise.
15201         * malloc/hooks.c (top_check): Likewise.
15203 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15207 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15211 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15213         * math/auto-libm-test-in: Add tests of lgamma.
15214         * math/auto-libm-test-out: Regenerated.
15215         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15216         (M_LOG_2_SQRT_PIl): Likewise.
15217         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15218         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15219         mpfr_f_f1.
15220         (func_calc_desc): Add mpfr_f_f1 union field.
15221         (ARGS1): New macro.
15222         (ARGS2): Likewise.
15223         (ARGS3): Likewise.
15224         (ARGS4): Likewise.
15225         (RET1): Likewise.
15226         (RET2): Likewise.
15227         (CALC): Likewise.
15228         (FUNC): Likewise.
15229         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15230         (test_functions): Add lgamma.
15231         (calc_generic_results): Handle mpfr_f_f1.
15232         * sysdeps/i386/fpu/libm-test-ulps: Update.
15233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15235 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15237         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15238         __mpn_add_n for PowerPC64/POWER7.
15239         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15240         __mpn_sub_n for PowerPC64/POWER7.
15242         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15243         __mpn_addmul_1 for PowerPC64.
15244         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15245         __mpn_submul_1 for PowerPC64.
15246         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15247         for PowerPC64.
15248         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15249         for PowerPC64.
15251 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15253         [BZ #15089]
15254         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15256 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15258         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15260         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15261         add multiarch folders.
15262         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15263         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15264         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15265         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15266         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15267         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15268         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15269         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15270         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15271         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15272         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15281         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15283         New file.
15284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15285         New file.
15286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15287         multiarch __ieee754_hypot for PowerPC32.
15288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15289         New file.
15290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15291         New file.
15292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15293         multiarch __ieee754_hypotf for PowerPC32.
15295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15296         long_double_symbol only if __logbl is defined.
15297         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15298         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15300         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15301         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15302         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15303         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15304         path for implementation.
15305         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15306         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15308         logb, and logbl multiarch implementations for PowerPC32.
15309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15310         file.
15311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15312         file.
15313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15314         multiarch logb for PowerPC32.
15315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15316         file.
15317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15318         file.
15319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15320         multiarch logbf for PowerPC32.
15321         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15323         file.
15324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15325         multiarch logbl implementation for PowerPC32.
15327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15328         and modff multiarch implementations.
15329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15330         New file.
15331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15332         New file.
15333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15334         multiarch modf for PowerPC32.
15335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15336         New file.
15337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15338         New file.
15339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15340         multiarch modff for PowerPC32.
15342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15343         and lrintf multiarch implementations.
15344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15345         New file.
15346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15347         New file.
15348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15349         multiarch lrint for PowerPC32.
15350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15351         file: multiarch lrintf for PowerPC32.
15353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15354         and lroundf multiarch implementations.
15355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15356         New file.
15357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15358         New file.
15359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15360         New file.
15361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15362         multiarch lround for PowerPC32.
15363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15364         file: multiarch lroundf for PowerPC32.
15366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15367         copysign and copysignf multiarch implementations.
15368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15369         New file.
15370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15371         New file.
15372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15373         file: multiarch copysign for PowerPC32.
15374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15375         file: multiarch copysignf for PowerPC32.
15377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15378         and truncf multiarch implementations.
15379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15380         New file.
15381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15382         file.
15383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15384         multiarch trunc for PowerPC32.
15385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15386         New file.
15387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15388         New file.
15389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15390         multiarch truncf for PowerPC32.
15392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15393         and roundf multiarch implementations.
15394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15395         New file.
15396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15397         file.
15398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15399         multiarch round for PowerPC32.
15400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15401         New file.
15402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15403         New file.
15404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15405         multiarch roundf for PowerPC32.
15407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15408         and floorf multiarch implementations.
15409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15410         New file.
15411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15412         file.
15413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15414         multiarch floor for PowerPC32.
15415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15416         New file.
15417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15418         New file.
15419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15420         multiarch floorf for PowerPC32.
15422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15423         and ceilf multiarch implementations.
15424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15425         New file.
15426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15427         file.
15428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15429         multiarch ceil for PowerPC32.
15430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15431         New file.
15432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15433         file.
15434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15435         multiarch ceilf for PowerPC32.
15437         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15438         is defined.
15439         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15440         FINITEF is defined.
15441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15442         and finitef multiarch implementations.
15443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15444         New file.
15445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15446         file.
15447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15448         multiarch finite for PowerPC32.
15449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15450         New file.
15451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15452         file: multiarch finitef for PowerPC32.
15454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15455         and isinff multiarch implementations.
15456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15457         file.
15458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15459         file.
15460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15461         multiarch isinf for PowerPC32.
15462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15463         New file.
15464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15465         multiarch isinff for PowerPC32.
15467         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15468         alias when __isnan is defined.
15469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15470         and isnanf multiarch implementations.
15471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15472         file.
15473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15474         file.
15475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15476         file.
15477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15478         file.
15479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15480         multiarch isnan for PowerPC32.
15481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15482         New file.
15483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15484         New file.
15485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15486         multiarch isnanf for PowerPC32.
15488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15489         and sqrtf multiarch implementations.
15490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15491         file.
15492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15493         file.
15494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15495         multiarch sqrt for PowerPC32.
15496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15497         file.
15498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15499         file.
15500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15501         multiarch sqrtf for PowerPC32.
15503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15504         and llroundf multiarch implementations.
15505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15506         New file.
15507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15508         New file.
15509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15510         New file.
15511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15512         file: multiarch llround for PowerPC32.
15513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15514         file: multiarch llroundf for PowerPC32.
15516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15517         multiarch PowerPC32 fpu implementations.
15518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15519         New file.
15520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15521         New file.
15522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15523         multiarch llrint for PowerPC32.
15524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15525         New file.
15526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15527         New file.
15528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15529         file.
15531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15533         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15534         file.
15535         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15536         file.
15537         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15538         file.
15539         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15540         multiarch wordcopy for PPC32.
15541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15542         wordcopy objects.
15543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15544         (__libc_ifunc_impl_list): Likewise.
15545         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15546         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15547         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15548         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15549         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15550         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15552         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15553         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15554         file.
15555         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15556         file.
15557         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15558         file.
15559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15560         multiarch wcscpy for PPC32.
15561         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
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/wcscpy.c: Adjust to use
15568         sysdeps/powerpc/power6/wcscpy.c.
15570         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15572         file.
15573         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15574         file.
15575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15576         file.
15577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15578         multiarch wcsrchr for PPC32.
15579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15580         multiarch objects.
15581         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15582         (__libc_ifunc_impl_list): Likewise.
15583         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15584         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15585         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15586         sysdeps/powerpc/power6/wcsrchr.c.
15588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15589         file.
15590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15591         file.
15592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15594         multiarch wcschr for PPc32.
15595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15596         multiarch objects.
15597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15598         (__libc_ifunc_impl_list): Likewise.
15599         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15600         * sysdeps/powerpc/power6/wcschr.c: ... to here.
15601         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15602         sysdeps/powerpc/power6/wcschr.c.
15604         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15605         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15606         file.
15607         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15608         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15609         file: multiarch strchr for PPC32.
15610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15611         multiarch objects.
15612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15613         (__libc_ifunc_impl_list): Likewise.
15615         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15616         name.
15617         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15618         file.
15619         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15620         file.
15621         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15622         multiarch strchrnul for PPC32.
15623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15624         multiarch objects.
15625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15626         (__libc_ifunc_impl_list): Likewise.
15628         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15629         file.
15630         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15631         multiarch strncasecmp for PPC32.
15632         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15633         file.
15634         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15635         multiarch strncasecmp_l for PPC32.
15636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15637         strncasecmp multiarch objects.
15638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15639         (__libc_ifunc_impl_list): Likewise.
15641         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15642         file.
15643         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15644         multiarch strncasecmp for PPC32.
15645         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15646         New file.
15647         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15648         multiarch strcasecmp_l for PPC32.
15649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15650         multiarch objects.
15651         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15652         (__libc_ifunc_impl_list): Likewise.
15654         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15655         file.
15656         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15657         file.
15658         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15659         multiarch strncmp for PPC32.
15660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15661         multiarch objects.
15662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15663         (__libc_ifunc_impl_list): Likewise.
15665         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15666         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15667         file.
15668         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15669         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15670         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15671         multiarch objects.
15672         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15673         (__libc_ifunc_impl_list): Likewise.
15675         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15676         file.
15677         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15678         file.
15679         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15681         multiarch objects.
15682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15683         (__libc_ifunc_impl_list): Likewise.
15685         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15686         file.
15687         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15688         file.
15689         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15690         multiarch rawmemchr for PPC32.
15691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15692         multiarch objects.
15693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15694         (__libc_ifunc_impl_list): Likewise.
15696         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15697         file.
15698         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15699         file.
15700         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15701         file: memrchr multiarch for PPC32.
15702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15703         multiarch objects.
15704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15705         (__libc_ifunc_impl_list): Likewise.
15707         * string/memchr.c (__memchr): Using macro to redefine symbol name.
15708         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15709         file.
15710         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15711         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15712         multiarch memchr for PPC32.
15713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15714         multiarch objects.
15715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15716         (__libc_ifunc_impl_list): Likewise.
15718         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15719         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15720         file.
15721         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15722         file.
15723         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15724         file: multiarch mempcpy for PPC32.
15725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15726         multiarch objects.
15727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15728         (__libc_ifunc_impl_list): Likewise.
15730         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15731         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15732         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15733         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15734         multiarch bzero for PPC32.
15735         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15736         file.
15737         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15738         file.
15739         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15740         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15741         file: multiarch memset for PPC32.
15742         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15744         memset multiarch objects.
15745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15746         (__libc_ifunc_impl_list): Likewise.
15748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15749         file.
15750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15751         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15752         memcmp for PPC32.
15753         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15755         multiarch objects.
15756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15757         (__libc_ifunc_impl_list): Likewise.
15759         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15760         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15761         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15762         file.
15763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15764         file.
15765         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15766         file.
15767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15768         multiarch memcpy for PPC32.
15769         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15770         multiarch objects.
15771         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15772         (__libc_ifunc_impl_list): Likewise.
15774         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15775         support multiarch for POWER/PPC32.
15776         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15777         Likewise.
15778         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15780         Implies file to make multiarch folder appers before the fpu and
15781         default folder for power4 configuration.
15783 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15785         * scripts/bench.pl: Append volatile keyword to type.
15787 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15789         * sysdeps/sh/sotruss-lib.c: New file.
15790         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15792 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15796 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
15798         [BZ #6810]
15799         * math/w_tgamma.c: Include <errno.h>.
15800         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
15801         * math/w_tgammaf.c: Include <errno.h>.
15802         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
15803         * math/w_tgammal.c: Include <errno.h>.
15804         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
15805         * math/auto-libm-test-in: Do not allow missing errno on tgamma
15806         underflow.  Add more tgamma tests.
15807         * math/auto-libm-test-out: Regenerated.
15808         * sysdeps/i386/fpu/libm-test-ulps: Update.
15809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15811         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15812         sin, sinh, tan, tanh, tgamma, y0 and y1.
15813         * math/auto-libm-test-out: Regenerated.
15814         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15815         (TEST_COND_x86): Likewise.
15816         (M_E2l): Remove macro.
15817         (M_E3l): Likewise.
15818         (M_2_SQRT_PIl): Likewise.
15819         (M_SQRT_PIl): Likewise.
15820         (M_1_DIV_El): Likewise.
15821         (log_test_data): Use AUTO_TESTS_f_f.
15822         (log10_test_data): Likewise.
15823         (log1p_test_data): Likewise.
15824         (log2_test_data): Likewise.
15825         (sin_test_data): Likewise.
15826         (sin_tonearest_test_data): Likewise.
15827         (sin_towardzero_test_data): Likewise.
15828         (sin_downward_test_data): Likewise.
15829         (sin_upward_test_data): Likewise.
15830         (sinh_test_data): Likewise.
15831         (sinh_tonearest_test_data): Likewise.
15832         (sinh_towardzero_test_data): Likewise.
15833         (sinh_downward_test_data): Likewise.
15834         (sinh_upward_test_data): Likewise.
15835         (tan_test_data): Likewise.
15836         (tan_tonearest_test_data): Likewise.
15837         (tan_towardzero_test_data): Likewise.
15838         (tan_downward_test_data): Likewise.
15839         (tan_upward_test_data): Likewise.
15840         (tanh_test_data): Likewise.
15841         (tgamma_test_data): Likewise.
15842         (y0_test_data): Likewise.
15843         (y1_test_data): Likewise.
15844         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15845         (special_real_inputs): Add pi/4.
15846         * sysdeps/i386/fpu/libm-test-ulps: Update.
15847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15849 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15851         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15852         "longjmp_target" static probes.
15853         (__longjmp): Rename to __longjmp_symbol.
15854         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15855         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15856         on which longjmp to generate.
15857         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15858         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15859         probe.
15860         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15861         (__sigjmp_save): Rename to __sigjmp_save_symbol.
15862         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15863         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15864         and __sigjmp_save_symbol based on which sigsetjmp to generated.
15865         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15867         __longjmp_symbol based on which __longjmp to generate.
15868         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15869         probe.
15870         (setjmp): Rename to setjmp_symbol.
15871         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15872         (_setjmp): Rename to _setjmp_symbol.
15873         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15874         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15875         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15876         which setjmp to generate.
15877         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15878         "longjmp_target" static probes.
15880 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15882         * benchtests/README: Add note about output arguments.
15883         * benchtests/bench-sincos.c: Remove file.
15884         * benchtests/sincos-inputs: New file.
15885         * scripts/bench.pl: Identify output arguments and define
15886         static variables for them.
15888         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15890         [BZ #15941]
15891         * Makefile (INSTALL): Add install-plain.texi as the primary
15892         dependency.
15893         * manual/install-plain.texi: New file.
15894         * manual/install.texi: Include node directive only for
15895         non-plaintext output.
15897 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
15899         * stdlib/longlong.h: Update from GCC.
15901         [BZ #6807]
15902         [BZ #15901]
15903         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15904         * math/w_j0f.c (y0f): Likewise.
15905         * math/w_j0l.c (__y0l): Likewise.
15906         * math/w_j1.c (y1): Likewise.
15907         * math/w_j1f.c (y1f): Likewise.
15908         * math/w_j1l.c (__y1l): Likewise
15909         * math/w_jn.c (yn): Likewise.
15910         * math/w_jnf.c (ynf): Likewise.
15911         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15912         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
15913         value for Bessel function domain errors outside _SVID_ mode.
15914         Adjust sign of return value for yn (negative integer, 0).
15915         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15916         by zero in return for negative x and set sign appropriately for
15917         negative n.
15918         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15919         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15920         * math/libm-test.inc (y0_test_data): Add more tests and adjust
15921         expectations in error cases.
15922         (y1_test_data): Likewise.
15923         (yn_test_data): Likewise.
15924         * sysdeps/i386/fpu/libm-test-ulps: Update.
15925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15927 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15929         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15930         "64" to "64-v1".  Add "64-v2".
15931         (abi-64-options): Rename to ...
15932         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
15933         (abi-64-condition): Rename to ...
15934         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
15935         (abi-64-ld-soname): Rename to ...
15936         (abi-64-v1-ld-soname): ... this.
15937         (abi-64-v2-options): Define.
15938         (abi-64-v2-condition): Likewise.
15939         (abi-64-v2-ld-soname): Likewise.
15940         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15941         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15946 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15947             Alan Modra  <amodra@gmail.com>
15949         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15950         New versions for use with the ELFv2 ABI.
15951         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15952         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15953         declaration.
15954         (struct La_ppc64v2_retval): Likewise.
15955         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15956         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15957         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15958         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15959         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15960         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15961         Do not save or restore CR.
15962         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15963         (_dl_profile_resolve): Do no save or restore CR.  Support extended
15964         return values for ELFv2 ABI.  Fix location of FPR return registers.
15965         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15966         updated values for _CALL_ELF == 2.
15967         (La_regs, La_retval, int_retval): Likewise.
15969 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15971         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15972         (FRAME_MIN_SIZE_PARM): Likewise.
15973         (FRAME_BACKCHAIN): Likewise.
15974         (FRAME_CR_SAVE): Likewise.
15975         (FRAME_LR_SAVE): Likewise.
15976         (FRAME_TOC_SAVE): Likewise.
15977         (FRAME_PARM_SAVE): Likewise.
15978         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15979         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15980         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15981         (call_mcount_parm_offset): New macro.
15982         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15983         (PROF): Use symbolic stack frame offsets.
15984         (TAIL_CALL_SYSCALL_ERROR): Likewise.
15985         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15986         Redefine in terms of FRAME_MIN_SIZE.
15987         (_dl_runtime_resolve): Use symbolic stack frame offsets.
15988         (_dl_profile_resolve): Likewise.  Update comment.
15989         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15990         symbols stack frame offsets.
15991         (__sigsetjmp): Likewise.
15992         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15993         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15994         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15995         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15998         (FRAME_BACKCHAIN): Remove.
15999         (FRAME_CR_SAVE): Likewise.
16000         (FRAME_LR_SAVE): Likewise.
16001         (FRAME_COMPILER_DW): Likewise.
16002         (FRAME_LINKER_DW): Likewise.
16003         (FRAME_TOC_SAVE): Likewise.
16004         (FRAME_PARM_SAVE): Likewise.
16005         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16006         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16007         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16009         (CHECK_SP): Use symbolic stack frame offsets.
16010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16011         zone" instead of caller's parameter save area for temp storage.
16012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16013         Likewise.  Also, use symbolic stack frame offsets.
16014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16015         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16016         our own stack frame instead of the caller's.
16017         (__socket): Use symbolic stack frame offsets.
16019 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16020             Alan Modra  <amodra@gmail.com>
16022         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16023         Define.
16024         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16025         (PPC64_LOCAL_ENTRY_OFFSET): Define.
16026         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16027         New function.
16028         (elf_machine_fixup_plt): Call it.
16029         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
16030         reloc arguments.
16031         (elf_machine_rela): Update call to elf_machine_plt_conflict.
16032         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16033         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16034         r2 before calling target.
16036 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16037             Alan Modra  <amodra@gmail.com>
16039         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16040         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16041         versions of macros to support ELFv2 ABI.
16042         (LOCALENTRY): New macro.
16043         (ENTRY, EALIGN): Use it.
16044         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16045         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16046         fall through into ENTRY entry point.
16047         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16048         Only define if _CALL_ELF != 2.
16050         (elf_machine_matches_host): Verify ABI version matches.
16051         (RTLD_START): Use LOCALENTRY.
16052         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16053         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16054         (PLT_ENTRY_WORDS): New macro.
16055         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16056         (elf_machine_runtime_setup): Support ELFv2 ABI.
16057         (elf_machine_fixup_plt): Likewise.
16058         (elf_machine_plt_conflict): Likewise.
16059         (resolve_ifunc): Likewise.
16060         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16061         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16062         Likewise.
16063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16064         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16066         (makecontext): Support ELFv2 ABI.
16067         * elf/elf.h (EF_PPC64_ABI): Define.
16069 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16071         * sysdeps/powerpc/powerpc64/sysdep.h
16072         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16073         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16074         (ENTRY) [ASSEMBLER]: ... but instead here ...
16075         (EALIGN) [ASSEMBLER]: ... and here.
16076         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16077         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16078         (ENTRY_2) [!ASSEMBLER]: Use it.
16079         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16080         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
16081         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16082         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16083         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16085         Use PPC64_LOAD_FUNCPTR.
16087         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16089 2013-12-04  Alan Modra  <amodra@gmail.com>
16091         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16092         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16093         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16094         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16096         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16097         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16098         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16099         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16100         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16101         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16103 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
16105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16106         (__makecontext): Fix incorrect CFI when backtracing out of
16107         context created via makecontext.
16108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16109         (__setcontext): Fix incorrect CFI during switch to new context.
16110         (__novec_setcontext): Likewise.
16112 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16114         [BZ #4772]
16115         * time/strptime_l.c (__strptime_internal): Allow modifiers
16116         in strptime.
16117         * time/tst-strptime.c (day_tests): Add testcase.
16119 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16121         * scripts/bench.pl: Skip over blank lines.
16123 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16125         [BZ #926]
16126         * manual/time.texi (Calendar Time): Clarify what timezone functions
16127         use.
16129 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16133 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16135         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16136         implementation.
16137         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16138         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16139         * debug/memset_chk.c (__memset_chk): Likewise.
16140         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16141         * debug/strncpy_chk.c: Likewise.
16143 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16145         [BZ #15268]
16146         [BZ #15425]
16147         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16148         (__ieee754_exp): For possibly underflowing results, check size of
16149         result and force underflow exception if required.
16150         * math/auto-libm-test-in: Add more tests of exp.
16151         * math/auto-libm-test-out: Regenerated.
16152         * sysdeps/i386/fpu/libm-test-ulps: Update.
16153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16155         [BZ #16283]
16156         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16157         * math/w_exp2f.c (__exp2f): Likewise.
16158         * math/w_exp2l.c (__exp2l): Likewise.
16159         * math/auto-libm-test-in: Do not allow missing errno on exp2
16160         underflow.
16161         * math/auto-libm-test-out: Regenerated.
16163 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16165         [BZ #16274]
16166         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16167         handle filename validation.
16168         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16169         (do_open): Delete.
16171 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16173         [BZ #6786]
16174         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16175         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16176         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16177         <float.h>.
16178         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16179         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16180         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16181         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16182         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16183         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16184         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16185         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16186         Add more erfc tests.
16187         * math/auto-libm-test-out: Regenerated.
16188         * sysdeps/i386/fpu/libm-test-ulps: Update.
16189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16191         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16192         exp2, expm1, j0 and j1.
16193         * math/auto-libm-test-out: Regenerated.
16194         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16195         (erfc_test_data): Likewise.
16196         (exp_test_data): Likewise.
16197         (exp_tonearest_test_data): Likewise.
16198         (exp_towardzero_test_data): Likewise.
16199         (exp_downward_test_data): Likewise.
16200         (exp_upward_test_data): Likewise.
16201         (exp10_test_data): Likewise.
16202         (exp2_test_data): Likewise.
16203         (expm1_test_data): Likewise.
16204         (j0_test_data): Likewise.
16205         (j1_test_data): Likewise.
16206         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16207         (input_flag_type): Add flag_xfail_rounding.
16208         (input_flags): Add xfail-rounding.
16209         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16210         (output_for_one_input_case): Handle flag_xfail_rounding.
16211         * sysdeps/i386/fpu/libm-test-ulps: Update.
16212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16214 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16216         [BZ #16289]
16217         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16218         division by 0.
16220 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16222         [BZ #16195]
16223         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16224         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16225         (STAP_PROBE0): New macro.
16226         (STAP_PROBE1): Likewise.
16227         (STAP_PROBE2): Likewise.
16228         (STAP_PROBE3): Likewise.
16229         (STAP_PROBE4): Likewise.
16231 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16233         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16235 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16237         * benchtests/Makefile (bench): Add sqrt.
16238         (LDLIBS-bench-sqrt): New.
16239         * benchtests/sqrt-input: New.
16241 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16243         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16244         (GAIH_EAI): Likewise.
16245         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16246         (gaih_inet): Likewise.
16247         (getaddrinfo): Don't use GAIH_EAI.
16249         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16250         (struct gaih): Remove definition.
16252 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16254         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16255         Use HERRNOP directly.
16257 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16261 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16263         * math/gen-auto-libm-tests.c (test_functions): Add more
16264         single-argument functions.
16265         (special_fill_pi_2): New function.
16266         (special_fill_minus_pi_2): Likewise.
16267         (special_fill_pi_6): Likewise.
16268         (special_fill_minus_pi_6): Likewise.
16269         (special_fill_pi_3): Likewise.
16270         (special_fill_2pi_3): Likewise.
16271         (special_fill_e): Likewise.
16272         (special_fill_1_e): Likewise.
16273         (special_fill_e_minus_1): Likewise.
16274         (special_real_inputs): Add more special inputs.
16275         (output_for_one_input_case): Do not require ERANGE on underflow to
16276         zero if round-to-nearest result does not underflow to zero, unless
16277         exact results required.
16278         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16279         atan, atanh, cbrt, cos and cosh.
16280         * math/auto-libm-test-out: Regenerated.
16281         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16282         (acos_tonearest_test_data): Likewise.
16283         (acos_towardzero_test_data): Likewise.
16284         (acos_downward_test_data): Likewise.
16285         (acos_upward_test_data): Likewise.
16286         (acosh_test_data): Likewise.
16287         (asin_test_data): Likewise.
16288         (asin_tonearest_test_data): Likewise.
16289         (asin_towardzero_test_data): Likewise.
16290         (asin_upward_test_data): Likewise.
16291         (asinh_test_data): Likewise.
16292         (atan_test_data): Likewise.
16293         (atanh_test_data): Likewise.
16294         (cbrt_test_data): Likewise.
16295         (cos_test_data): Likewise.
16296         (cos_tonearest_test_data): Likewise.
16297         (cos_towardzero_test_data): Likewise.
16298         (cos_downward_test_data): Likewise.
16299         (cos_upward_test_data): Likewise.
16300         (cosh_test_data): Likewise.
16301         (cosh_tonearest_test_data): Likewise.
16302         (cosh_towardzero_test_data): Likewise.
16303         (cosh_downward_test_data): Likewise.
16304         (cosh_upward_test_data): Likewise.
16305         * sysdeps/i386/fpu/libm-test-ulps: Update.
16306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16308 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16310         [BZ #6787]
16311         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16312         * math/w_exp10f.c (__exp10f): Likewise.
16313         * math/w_exp10l.c (__exp10l): Likewise.
16314         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16315         errno settings in existing tests.
16317         [BZ #14032]
16318         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16319         precision control set to double precision.
16320         * sysdeps/i386/fpu/w_sqrt.c: New file.
16321         * math/auto-libm-test-in: Add more tests.
16322         * math/auto-libm-test-out: Update.
16324         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16325         (sqrt_test_tonearest): New function.
16326         (sqrt_towardzero_test_data): New variable.
16327         (sqrt_test_towardzero): New function.
16328         (sqrt_downward_test_data): New variable.
16329         (sqrt_test_downward): New function.
16330         (sqrt_upward_test_data): New variable.
16331         (sqrt_test_upward): New function.
16332         (main): Call the new functions.
16334         * math/gen-auto-libm-tests.c: New file.
16335         * math/auto-libm-test-in: Likewise.
16336         * math/auto-libm-test-out: New generated file.
16337         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16338         variables.
16339         (%beautify): Add generated representations of zero.
16340         (top level): Set $auto_input and call parse_auto_input.
16341         (beautify): Remove trailing "f" from hex float constants.
16342         (parse_args): Handle XFAIL_TEST.
16343         (convert_condition): New function.
16344         (or_value): Likewise.
16345         (or_cond_value): Likewise.
16346         (generate_testfile): Handle AUTO_TESTS_* lines.
16347         (parse_auto_input): New function.
16348         * math/libm-test.inc (XFAIL_TEST): New macro.
16349         (ERRNO_UNCHANGED): Update value.
16350         (ERRNO_EDOM): Likewise.
16351         (ERRNO_ERANGE): Likewise.
16352         (IGNORE_RESULT): Likewise.
16353         (TEST_COND_flt_32): New macro.
16354         (TEST_COND_dbl_64): Likewise.
16355         (TEST_COND_ldbl_96_intel): Likewise.
16356         (TEST_COND_ldbl_96_m68k): Likewise.
16357         (TEST_COND_ldbl_128): Likewise.
16358         (TEST_COND_ldbl_128ibm): Likewise.
16359         (TEST_COND_long32): Likewise.
16360         (TEST_COND_long64): Likewise.
16361         (TEST_COND_before_rounding): Likewise.
16362         (TEST_COND_after_rounding): Likewise.
16363         (enable_test): Handle XFAIL_TEST flag.
16364         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16365         with finite results.
16366         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16367         auto-libm-test-out.
16369 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16370             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16372         [BZ #16214]
16373         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16374         __tls_get_addr_internal instead of __tls_get_offset in order to
16375         avoid GOT pointer dependency.  Make rtld export
16376         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16377         __tls_get_addr since we are a __tls_get_offset platform.
16378         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16379         GOT pointer being set up before.
16380         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16382 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
16384         * manual/math.texi (Errors in Math Functions): Document accuracy
16385         goals.
16387         [BZ #15004]
16388         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16389         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16390         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16391         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16392         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16393         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16394         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16395         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16396         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16397         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16398         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16399         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16400         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16401         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16402         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16403         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16405         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16406         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16407         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16408         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16409         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16410         Likewise.
16411         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16412         Likewise.
16413         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16414         Likewise.
16415         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16416         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16417         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16418         atomic-feupdateenv and flt-rounds.
16419         * sysdeps/powerpc/nofpu/Versions (libc): Add
16420         __atomic_feholdexcept, __atomic_feclearexcept,
16421         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16422         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16423         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16424         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16425         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16426         here.
16427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16428         Update.
16430         * manual/arith.texi (FP Exceptions): Document that exceptions may
16431         not be raised when matherr is used.
16432         (Math Error Reporting): Document overflow in directed rounding
16433         modes.  Document that errno may not be set when finite values are
16434         returned on overflow.  Document intent to set errno on underflow
16435         only for underflow to zero.
16437         [BZ #16271]
16438         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16439         round-to-nearest then adjust result for other rounding modes.
16440         * include/fenv.h (fegetround): Use libm_hidden_proto.
16441         * math/fegetround.c (fegetround): Use libm_hidden_def.
16442         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16443         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16444         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16445         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16446         Likewise.
16447         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16448         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16449         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16450         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16452 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16454         [BZ #16077]
16455         * nss/Versions (libnss_files): Add
16456         _nss_files_gethostbyname3_r.
16457         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16458         New function.
16459         (HOST_DB_LOOKUP): Remove macro.
16460         (_nss_files_gethostbyname_r): Implement function without the
16461         HOST_DB_LOOKUP macro.
16462         (_nss_files_gethostbyname2_r): Likewise.
16464 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
16466         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16468 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
16470         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16471         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16472         warning.
16474 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16476         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16477         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16478         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16479         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16480         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16481         __fe_nomask_env_priv and attribute_hidden.
16482         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16483         (libc_feupdateenv_test_ppc): Likewise.
16484         (libc_feresetround_ppc): Likewise.
16485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16486         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16487         compat_symbol macro.
16488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16489         (__fe_nomask_env): Likewise.
16490         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16492 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16494         * string/Makefile: Remove ifunc tests.
16495         * string/test-string.h: Define TEST_IFUNC.
16496         * string/test-bcopy-ifunc.c: Remove.
16497         * string/test-bzero-ifunc.c: Likewise.
16498         * string/test-memccpy-ifunc.c: Likewise.
16499         * string/test-memchr-ifunc.c: Likewise.
16500         * string/test-memcmp-ifunc.c: Likewise.
16501         * string/test-memcpy-ifunc.c: Likewise.
16502         * string/test-memmem-ifunc.c: Likewise.
16503         * string/test-memmove-ifunc.c: Likewise.
16504         * string/test-mempcpy-ifunc.c: Likewise.
16505         * string/test-memrchr-ifunc.c: Likewise.
16506         * string/test-memset-ifunc.c: Likewise.
16507         * string/test-rawmemchr-ifunc.c: Likewise.
16508         * string/test-stpcpy-ifunc.c: Likewise.
16509         * string/test-stpncpy-ifunc.c: Likewise.
16510         * string/test-strcasecmp-ifunc.c: Likewise.
16511         * string/test-strcasestr-ifunc.c: Likewise.
16512         * string/test-strcat-ifunc.c: Likewise.
16513         * string/test-strchr-ifunc.c: Likewise.
16514         * string/test-strchrnul-ifunc.c: Likewise.
16515         * string/test-strcmp-ifunc.c: Likewise.
16516         * string/test-strcpy-ifunc.c: Likewise.
16517         * string/test-strcspn-ifunc.c: Likewise.
16518         * string/test-strlen-ifunc.c: Likewise.
16519         * string/test-strncasecmp-ifunc.c: Likewise.
16520         * string/test-strncat-ifunc.c: Likewise.
16521         * string/test-strncmp-ifunc.c: Likewise.
16522         * string/test-strncpy-ifunc.c: Likewise.
16523         * string/test-strnlen-ifunc.c: Likewise.
16524         * string/test-strpbrk-ifunc.c: Likewise.
16525         * string/test-strrchr-ifunc.c: Likewise.
16526         * string/test-strspn-ifunc.c: Likewise.
16527         * string/test-strstr-ifunc.c: Likewise.
16529 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16531         * benchtests/Makefile: Remove ifunc tests.
16532         * benchtests/bench-string.h: Define TEST_IFUNC.
16533         * benchtests/bench-bcopy-ifunc.c: Remove.
16534         * benchtests/bench-bzero-ifunc.c: Likewise.
16535         * benchtests/bench-memccpy-ifunc.c: Likewise.
16536         * benchtests/bench-memchr-ifunc.c: Likewise.
16537         * benchtests/bench-memcmp-ifunc.c: Likewise.
16538         * benchtests/bench-memcpy-ifunc.c: Likewise.
16539         * benchtests/bench-memmem-ifunc.c: Likewise.
16540         * benchtests/bench-memmove-ifunc.c: Likewise.
16541         * benchtests/bench-mempcpy-ifunc.c: Likewise.
16542         * benchtests/bench-memrchr-ifunc.c: Likewise.
16543         * benchtests/bench-memset-ifunc.c: Likewise.
16544         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16545         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16546         * benchtests/bench-stpcpy-ifunc.c: Likewise.
16547         * benchtests/bench-stpncpy-ifunc.c: Likewise.
16548         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16549         * benchtests/bench-strcasestr-ifunc.c: Likewise.
16550         * benchtests/bench-strcat-ifunc.c: Likewise.
16551         * benchtests/bench-strchr-ifunc.c: Likewise.
16552         * benchtests/bench-strchrnul-ifunc.c: Likewise.
16553         * benchtests/bench-strcmp-ifunc.c: Likewise.
16554         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16555         * benchtests/bench-strcpy-ifunc.c: Likewise.
16556         * benchtests/bench-strcspn-ifunc.c: Likewise.
16557         * benchtests/bench-strlen-ifunc.c: Likewise.
16558         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16559         * benchtests/bench-strncat-ifunc.c: Likewise.
16560         * benchtests/bench-strncmp-ifunc.c: Likewise.
16561         * benchtests/bench-strncpy-ifunc.c: Likewise.
16562         * benchtests/bench-strnlen-ifunc.c: Likewise.
16563         * benchtests/bench-strpbrk-ifunc.c: Likewise.
16564         * benchtests/bench-strrchr-ifunc.c: Likewise.
16565         * benchtests/bench-strsep-ifunc.c: Likewise.
16566         * benchtests/bench-strspn-ifunc.c: Likewise.
16567         * benchtests/bench-strstr-ifunc.c: Likewise.
16569 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16571         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16573 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16575         * resolv/netdb.h: Use __glibc_reserved instead __unused.
16576         * rt/aio.h: Likewise.
16577         * sysdeps/gnu/bits/utmp.h: Likewise.
16578         * sysdeps/gnu/bits/utmpx.h: Likewise.
16579         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16580         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16581         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16582         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16583         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16584         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16585         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16586         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16587         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16588         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16589         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16590         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16591         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16593         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16594         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16595         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16596         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16597         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16598         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16599         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16600         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16601         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16602         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16603         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16605         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16606         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16607         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16608         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16609         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16610         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16611         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16612         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16613         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16614         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16615         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16616         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16617         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16618         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16619         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16620         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16622 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
16624         [BZ #16245]
16625         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16626         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16628 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
16630         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16631         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16632         Likewise.
16634 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16636         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16637         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16638         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16639         (__fesetround): Remove define.
16640         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16641         rounding and exceptions handling.
16642         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16643         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16644         (__fe_nomask_env): Likewise.
16645         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16646         __fegetround instead of fegetround.
16647         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16648         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16650 2013-11-21  Roland McGrath  <roland@hack.frob.com>
16652         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16653         it's there.
16655         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16657 2013-11-21  Meador Inge  <meadori@codesourcery.com>
16659         [BZ #11157]
16660         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16661         (encrypt_r): Likewise.
16662         * malloc/obstack.h (obstack_free): Likewise.
16663         * posix/unistd.h (encrypt): Likewise.
16665 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
16667         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16668         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16669         DL_CALL_DT_FINI() that call the functions directly.
16670         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16671         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16672         * elf/dl-fini.c: Likewise.
16674 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
16676         * malloc/hooks.c (memalign_check): Add alignment rounding.
16677         * malloc/malloc.c (_mid_memalign): New function.
16678         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16679         Implement by calling _mid_memalign.
16680         * manual/probes.texi (Memory Allocation Probes): Remove
16681         memory_valloc_retry and memory_pvalloc_retry.
16683 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16685         * locale/programs/locarchive.c (open_archive): Add const
16686         qualifier to ARCHIVEFNAME and copy default fname to
16687         DEFAULT_FNAME.
16689         [BZ #15601]
16690         * libio/tst-widetext.input: Rename Oriya to Odia.
16691         * locale/iso-639.def: Likewise.
16693         * manual/probes.texi (Mathematical Function Probes): Add
16694         documentation for sin, cos, asin and acos probes.
16695         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16696         (__sin32): Add slowasin probe.
16697         (__cos32): Add slowacos probe.
16698         (__mpsin): Add slowsin probe.
16699         (__mpcos): Add slowcos probe.
16701 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
16703         [BZ #15483]
16704         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16705         thread-local __sim_exceptions_thread and global
16706         __sim_exceptions_global.
16707         (__sim_disabled_exceptions): Change to thread-local
16708         __sim_disabled_exceptions_thread and global
16709         __sim_disabled_exceptions_global.
16710         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16711         and global __sim_round_mode_global.
16712         (__simulate_exceptions): Use thread-local floating-point state and
16713         set global state from it as needed.
16714         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16715         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16716         __sim_round_mode_thread.
16717         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16718         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16719         and global __sim_exceptions_global.
16720         (__sim_disabled_exceptions): Change to thread-local
16721         __sim_disabled_exceptions_thread and global
16722         __sim_disabled_exceptions_global.
16723         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16724         and global __sim_round_mode_global.
16725         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16726         (SIM_SET_GLOBAL): Likewise.
16727         * sysdeps/powerpc/soft-fp/sfp-machine.h
16728         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16729         __sim_round_mode_thread.
16730         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16731         __sim_disabled_exceptions_thread.
16732         (__sim_exceptions): Change to __sim_exceptions_thread.
16733         (__sim_disabled_exceptions): Change to
16734         __sim_disabled_exceptions_thread.
16735         (__sim_round_mode): Change to __sim_round_mode_thread.
16736         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16737         thread-local floating-point state and set global state from it as
16738         needed.
16739         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16740         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16741         (__sim_disabled_exceptions): Remove extern declaration.
16742         (feenableexcept): Use thread-local floating-point state and set
16743         global state from it as needed.
16744         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16745         extern declaration.
16746         (__sim_disabled_exceptions): Likewise.
16747         (__sim_round_mode): Likewise.
16748         (__fegetenv): Use thread-local floating-point state.
16749         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16750         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16751         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16752         floating-point state and set global state from it as needed.
16753         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16754         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16755         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16756         Likewise.
16757         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16758         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16759         Likewise.
16760         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16761         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16762         Use __sim_round_mode_thread.
16763         * math/test-fenv-tls.c: New file.
16764         * math/Makefile (tests): Add test-fenv-tls.
16765         ($(objpfx)test-fenv-tls): Depend on
16766         $(common-objpfx)nptl/libpthread.so.
16768 2013-11-19  Andreas Schwab  <schwab@suse.de>
16770         * locale/programs/locale.c (show_info): Decode wordarray elements.
16771         * locale/categories.def (LC_MONETARY): Add element for
16772         _NL_MONETARY_CRNCYSTR.
16773         * locale/C-monetary.c (conversion_rate): New variable.
16774         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16775         element.
16777 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
16779         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16780         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16782 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16784         * elf/Makefile (tst-auxv): New test.
16785         * elf/tst-auxv.c: New
16786         * elf/rtld.c (dl_main): Adjust AT_EXECFN
16788 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
16790         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16791         (hidden_proto): Caller changed.
16792         (hidden_tls_proto): New macro.
16793         (libc_hidden_tls_proto): Likewise.
16794         (rtld_hidden_tls_proto): Likewise.
16795         (libm_hidden_tls_proto): Likewise.
16796         (libresolv_hidden_tls_proto): Likewise.
16797         (librt_hidden_tls_proto): Likewise.
16798         (libdl_hidden_tls_proto): Likewise.
16799         (libnss_files_hidden_tls_proto): Likewise.
16800         (libnsl_hidden_tls_proto): Likewise.
16801         (libnss_nisplus_hidden_tls_proto): Likewise.
16802         (libutil_hidden_tls_proto): Likewise.
16804 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
16806         [BZ #10253]
16807         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16808         (decompose_rpath): Defer expansion to fillin_rpath.
16809         (_dl_init_paths): Pass linkmap to fillin_rpath.
16811 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16813         * benchtests/Makefile: Add strsep.
16814         * benchtests/bench-strsep.c: New file: strsep benchtest.
16815         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16817 2013-11-18  Andreas Schwab  <schwab@suse.de>
16819         * locale/programs/locale.c (show_info) [case byte]: Check for
16820         '\377' instead of '\177'.
16821         * locale/C-monetary.c (not_available): Always use "\377".
16822         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16823         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
16824         detect unavailable sign_posn locale elements.
16825         * locale/localeconv.c (__localeconv): For grouping and
16826         mon_grouping handle "\177" and "\377" like no grouping.
16827         (INT_ELEM): New macro.  Use it to set all numeric members.
16828         * locale/programs/ld-monetary.c (monetary_read)
16829         <tok_mon_grouping>: Normalize single -1 to the empty string.
16830         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16831         Likewise.
16833 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16835         [BZ #16055]
16836         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16837         when we match (nil).
16838         * stdio-common/tst-sscanf.c (struct test): Add testcase.
16840 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
16842         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16843         (NO_TEST_INLINE): Update value.
16844         (ERRNO_UNCHANGED): Likewise.
16845         (ERRNO_EDOM): Likewise.
16846         (ERRNO_ERANGE): Likewise.
16847         (IGNORE_RESULT): Likewise.
16848         (check_float_internal): Check signs of NaN results if
16849         TEST_NAN_SIGN used.
16850         (check_complex): Pass TEST_NAN_SIGN flag through to second
16851         check_float_internal call.
16852         (copysign_test_data): Add tests with quiet NaNs as second
16853         argument.  Use TEST_NAN_SIGN.
16854         (fabs_test_data): Add test of negative quiet NaN argument.  Use
16855         TEST_NAN_SIGN.
16856         (signbit_test_data): Add tests of quiet NaN argument.
16857         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16859         * math/gen-libm-test.pl (show_exceptions): Take extra argument
16860         $ignore_result.
16861         (parse_args): Handle function results specified as IGNORE.
16862         * math/libm-test.inc (IGNORE_RESULT): New macro.
16863         (check_float_internal): Do not check numerical result if flag
16864         IGNORE_RESULT set.
16865         (check_complex): Pass through IGNORE_RESULT to second
16866         check_float_internal call.
16867         (check_int): Do not check numerical result if flag IGNORE_RESULT
16868         set.
16869         (check_long): Likewise.
16870         (check_bool): Likewise.
16871         (check_longlong): Likewise.
16872         (lrint_test_data): Add tests of infinite and NaN arguments.
16873         (lrint_tonearest_test_data): Likewise.
16874         (lrint_towardzero_test_data): Likewise.
16875         (lrint_downward_test_data): Likewise.
16876         (lrint_upward_test_data): Likewise.
16877         (llrint_test_data): Likewise.
16878         (llrint_tonearest_test_data): Likewise.
16879         (llrint_towardzero_test_data): Likewise.
16880         (llrint_downward_test_data): Likewise.
16881         (llrint_upward_test_data): Likewise.
16882         (lround_test_data): Likewise.
16883         (llround_test_data): Likewise.
16885         * math/libm-test.inc (NO_TEST_INLINE): New macro.
16886         (ERRNO_UNCHANGED): Update value.
16887         (ERRNO_EDOM): Likewise.
16888         (ERRNO_ERANGE): Likewise.
16889         (NO_TEST_INLINE_FLOAT): New macro.
16890         (NO_TEST_INLINE_DOUBLE): Likewise.
16891         (enable_test): New function.
16892         (RUN_TEST_f_f): Check enable_test before running test.
16893         (RUN_TEST_2_f): Likewise.
16894         (RUN_TEST_fff_f): Likewise.
16895         (RUN_TEST_c_f): Likewise.
16896         (RUN_TEST_f_f1): Likewise.
16897         (RUN_TEST_fF_f1): Likewise.
16898         (RUN_TEST_fI_f1): Likewise.
16899         (RUN_TEST_ffI_f1): Likewise.
16900         (RUN_TEST_c_c): Likewise.
16901         (RUN_TEST_cc_c): Likewise.
16902         (RUN_TEST_f_i): Likewise.
16903         (RUN_TEST_f_i_tg): Likewise.
16904         (RUN_TEST_ff_i_tg): Likewise.
16905         (RUN_TEST_f_b): Likewise.
16906         (RUN_TEST_f_b_tg): Likewise.
16907         (RUN_TEST_f_l): Likewise.
16908         (RUN_TEST_f_L): Likewise.
16909         (RUN_TEST_fFF_11): Likewise.
16910         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16911         conditionals.
16912         (cosh_test_data): Likewise.
16913         (exp_test_data): Likewise.
16914         (expm1_test_data): Likewise.
16915         (hypot_test_data): Likewise.
16916         (pow_test_data): Likewise.
16917         (sinh_test_data): Likewise.
16918         (tanh_test_data): Likewise.
16919         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16920         flags argument.
16922         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16923         tests with quiet NaN input and output.
16924         (acosh_test_data): Likewise.
16925         (asin_test_data): Likewise.
16926         (asinh_test_data): Likewise.
16927         (atan_test_data): Likewise.
16928         (atanh_test_data): Likewise.
16929         (atan2_test_data): Likewise.
16930         (cbrt_test_data): Likewise.
16931         (cos_test_data): Likewise.
16932         (cosh_test_data): Likewise.
16933         (erf_test_data): Likewise.
16934         (erfc_test_data): Likewise.
16935         (exp_test_data): Likewise.
16936         (exp10_test_data): Likewise.
16937         (exp2_test_data): Likewise.
16938         (expm1_test_data): Likewise.
16939         (hypot_test_data): Likewise.
16940         (j0_test_data): Likewise.
16941         (j1_test_data): Likewise.
16942         (jn_test_data): Likewise.
16943         (lgamma_test_data): Likewise.
16944         (log_test_data): Likewise.
16945         (log10_test_data): Likewise.
16946         (log1p_test_data): Likewise.
16947         (log2_test_data): Likewise.
16948         (pow_test_data): Likewise.
16949         (scalb_test_data): Likewise.
16950         (sin_test_data): Likewise.
16951         (sincos_test_data): Likewise.
16952         (sinh_test_data): Likewise.
16953         (tan_test_data): Likewise.
16954         (tanh_test_data): Likewise.
16955         (tgamma_test_data): Likewise.
16956         (y0_test_data): Likewise.
16957         (y1_test_data): Likewise.
16958         (yn_test_data): Likewise.
16960         [BZ #16167]
16961         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16962         argument being NaN and avoid computations with second argument in
16963         that case.
16964         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16965         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16966         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16968 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
16970         * locale/iso-639.def: Add Chitwani Tharu (the).
16972 2013-11-14  Andreas Schwab  <schwab@suse.de>
16974         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16975         word instead of empty string.
16977 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16980         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16982         (__fe_nomask_env): Likewise.
16984 2013-11-13  Steve Ellcey  <sellcey@mips.com>
16986         * benchtests/bench-timing.h: Include time.h.
16988 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
16990         [BZ #15997]
16991         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16992         to 3.4.0 for x32.
16993         * sysdeps/unix/sysv/linux/configure: Regenerated.
16995 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
16997         [BZ #16151]
16998         * stdlib/strtod_l.c (round_and_return): Do not consider
16999         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17000         exponent one less than half the least subnormal exponent.
17001         * stdlib/test-strtod-round-data: Add more tests.
17002         * stdlib/tst-strtod-round.c (tests): Regenerated.
17004 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17006         [BZ #14143]
17007         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17008         (__fe_mask_env): Likewise.
17009         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17010         libm_hidden_proto and add function prototype.
17011         (__fe_mask_env): Add function prototype.
17012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17013         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17015         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17017         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17019 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17021         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17022         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17024 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17026         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17027         of htab_find_slot().
17029 2013-11-11  David S. Miller  <davem@davemloft.net>
17031         [BZ #16150]
17032         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17033         symbol in the non-vis3 case in static builds.
17034         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17035         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17036         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17037         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17039 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
17041         [BZ #387]
17042         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17043         it is empty.
17045 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17047         * benchtests/Makefile: Add bench-strtod.
17048         * benchtests/bench-strtod.c: New file: strtod benchtest
17050 2013-11-11  Andreas Schwab  <schwab@suse.de>
17052         [BZ #16153]
17053         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17054         terminating NUL in key length.
17056 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17058         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17059         Add artificial ODP entry for vDSO symbol for PPC64.
17060         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17061         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17063 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
17065         [BZ #15374]
17066         * nss/getent.c (services_keys): Recognize services starting with digit.
17068 2013-11-06  David S. Miller  <davem@davemloft.net>
17070         [BZ #15985]
17071         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17072         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17074 2013-11-06  Will Newton  <will.newton@linaro.org>
17076         * manual/memory.texi (Malloc Examples): Remove register
17077         keyword from examples.
17079 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
17081         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17083 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
17085         [BZ #6981]
17086         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17087         depending on [__GCC_IEC_559 > 0].
17088         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17089         depending on [__GCC_IEC_559_COMPLEX > 0].
17091 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
17093         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17094         to iso-639.def.
17096 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
17098         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17100 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
17102         [BZ #16112]
17103         * malloc/malloc (malloc_info): Do not handle first bin as
17104         special case.
17106 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
17108         * locale/iso-639.def: Add Central Nahuatl (nhn).
17110 2013-11-01  Bruno Haible  <bruno@clisp.org>
17112         [BZ #7003]
17113         * manual/math.texi (BSD Random): Specify range upper bound as
17114         in POSIX.
17116 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17118         * locale/iso-639.def: Add Meadow Mari (mhr).
17120 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17122         [BZ #14752], [BZ #15763]
17123         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17124         Validate name.
17125         * rt/tst_shm.c: Add test for escaping directory.
17127 2013-10-31  Andreas Schwab  <schwab@suse.de>
17129         [BZ #15917]
17130         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17131         followed by 'x' as part of digit sequence.
17132         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17134 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17136         [BZ #16037]
17137         * configure.ac: allow GNU Make 4.0 and greater.
17138         * configure: Regenerated.
17140 2013-10-30  Will Newton  <will.newton@linaro.org>
17142         [BZ #16038]
17143         * malloc/hooks.c (memalign_check): Limit alignment to the
17144         maximum representable power of two.
17145         * malloc/malloc.c (__libc_memalign): Likewise.
17146         * malloc/tst-memalign.c (do_test): Add test for very
17147         large alignment values.
17148         * malloc/tst-posix_memalign.c (do_test): Likewise.
17150 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17152         [BZ #11087]
17153         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17154         (munmap_chunk): Likewise.
17155         (mremap_chunk): Likewise.
17157 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17159         [BZ #15799]
17160         * stdlib/div.c (div): Remove obsolete code.
17161         * stdlib/ldiv.c (ldiv): Likewise.
17162         * stdlib/lldiv.c (lldiv): Likewise.
17164 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17166         [BZ #16071]
17167         * nss/nss_files/files-XXX.c (get_contents_ret): New
17168         enumerator.
17169         (get_contents): New function.
17170         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17172 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17174         * configure.in: Moved to ...
17175         * configure.ac: ... here. Change reference to configure.in
17176         to configure.ac.
17177         * sysdeps/arm/preconfigure.ac: ... here.
17178         configure.in to configure.ac.
17179         * sysdeps/gnu/configure.in: Moved to ...
17180         * sysdeps/gnu/configure.ac: ... here.
17181         * sysdeps/i386/configure.in: Moved to ...
17182         * sysdeps/i386/configure.ac: ... here.
17183         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17184         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17185         * sysdeps/mach/configure.in: Moved to ...
17186         * sysdeps/mach/configure.ac: ... here.
17187         * sysdeps/mach/hurd/configure.in: Moved to ...
17188         * sysdeps/mach/hurd/configure.ac: ... here.
17189         * sysdeps/powerpc/configure.in: Moved to ...
17190         * sysdeps/powerpc/configure.ac: ... here.
17191         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17192         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17193         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17194         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17195         * sysdeps/s390/s390-32/configure.in: Moved to ...
17196         * sysdeps/s390/s390-32/configure.ac: ... here.
17197         * sysdeps/s390/s390-64/configure.in: Moved to ...
17198         * sysdeps/s390/s390-64/configure.ac: ... here.
17199         * sysdeps/sh/configure.in: Moved to ...
17200         * sysdeps/sh/configure.ac: ... here.
17201         * sysdeps/sparc/configure.in: Moved to ...
17202         * sysdeps/sparc/configure.ac: ... here.
17203         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17204         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17205         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17206         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17207         * sysdeps/x86_64/configure.in: Moved to ...
17208         * sysdeps/x86_64/configure.ac: ... here.
17209         * sysdeps/x86_64/preconfigure.in: Moved to ...
17210         * sysdeps/x86_64/preconfigure.ac: ... here.
17211         * aclocal.m4: Change reference to configure.in to configure.ac.
17212         * config.h.in: Likewise.
17213         * manual/install.texi: Likewise.
17214         * manual/maint.texi: Likewise.
17215         * Makefile: Likewise.
17216         * malloc/Makefile: Likewise.
17217         * nscd/Makefile: Likewise.
17218         * Makeconfig: Change reference to configure.in and
17219         preconfigure.in to configure.ac and preconfigure.ac
17220         respectively.
17221         * INSTALL: Regenerated.
17222         * configure: Likewise.
17223         * sysdeps/gnu/configure: Likewise.
17224         * sysdeps/i386/configure: Likewise.
17225         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17226         * sysdeps/mach/configure: Likewise.
17227         * sysdeps/mach/hurd/configure: Likewise.
17228         * sysdeps/powerpc/configure: Likewise.
17229         * sysdeps/powerpc/powerpc32/configure: Likewise.
17230         * sysdeps/powerpc/powerpc64/configure: Likewise.
17231         * sysdeps/s390/s390-32/configure: Likewise.
17232         * sysdeps/s390/s390-64/configure: Likewise.
17233         * sysdeps/sh/configure: Likewise.
17234         * sysdeps/sparc/configure: Likewise.
17235         * sysdeps/unix/sysv/linux/configure: Likewise.
17236         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17237         * sysdeps/x86_64/configure: Likewise.
17238         * sysdeps/x86_64/preconfigure: Likewise.
17240 2013-10-29  Andreas Schwab  <schwab@suse.de>
17242         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17244 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17246         * benchtests/pow-inputs: Add new inputs.
17248         * benchtests/exp-inputs: Add new inputs.
17250         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17251         conditional check for return value.
17252         (__cos32): Likewise.
17254 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17256         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17257         to provide a boost for large inputs with word alignment.
17258         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17259         implementation based on optimized PPC64 strcpy.
17260         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17261         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17262         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17263         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17265 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17267         [BZ #2801]
17268         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17270 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17272         [BZ #14876]
17273         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17274         * time/tst-strptime.c (day_tests): Add testcase.
17276 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17278         [BZ #14029]
17279         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17281 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17283         [BZ #16074]
17284         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17285         MAP_FAILED on error.
17287 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17289         [BZ #16072]
17290         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17291         heap for large requests.
17293 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17295         [BZ #9954]
17296         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17297         result if the result has no associated interface.
17298         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17299         interface for all 127.X.Y.Z addresses.
17301 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17303         * locale/iso-639.def: Add Ligurian (lij)
17305 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17307         [BZ #15825]
17308         * sunrpc/rpc_main.c: Document rpcgen -5.
17310 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17312         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17314 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17316         [BZ #10278]
17317         * posix/glob.c: Match only directories when trailing slash is present.
17318         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17319         (main): Add testcase.
17321 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17323         [BZ #15670]
17324         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17326 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
17328         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17329         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17330         AUTH_DES and cindex for FIPS 140-2.
17331         (DES Encryption): Add cindex FIPS 46-3.
17333         * locale/locarchive.h (struct locarhandle): Add fname.
17334         * locale/programs/localedef.c (main): Pass ARGV[remaining]
17335         if an optional argument was specified to --list-archive,
17336         otherwise NULL.
17337         * locale/programs/locarchive.c (show_archive_content): Take new
17338         argument fname and pass it via ah.fname to open_archive.
17339         * locale/programs/localedef.h: Update decl.
17340         (open_archive): If AH->fname is non-null, open that file
17341         rather than the default file name, and don't ignore ENOENT.
17342         (create_archive): Set AH.fname to NULL.
17343         (delete_locales_from_archive): Likewise.
17344         (add_locales_to_archive): Likewise.
17345         * locale/programs/locfile.c (write_all_categories): Likewise.
17347 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
17348             Aldy Hernandez  <aldyh@redhat.com>
17350         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17351         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17352         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17353         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17354         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17355         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17356         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17357         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17358         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17359         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17360         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17361         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17362         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17363         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17364         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17365         Likewise.
17366         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17367         Likewise.
17368         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17369         Likewise.
17370         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17371         Likewise.
17372         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17373         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17374         Likewise.
17375         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17376         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17377         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17378         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17379         Likewise.
17380         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17381         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17382         * sysdeps/powerpc/preconfigure: Likewise.
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17384         Likewise.
17385         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17386         Replace contents of file by #include of <fenv_libc.h>.
17387         * sysdeps/powerpc/soft-fp/sfp-machine.h
17388         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17389         and <sys/prctl.h>.
17390         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17391         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17392         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17393         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17394         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17395         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17397         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17398         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17399         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17400         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17401         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17403         Allow copysignl PLT reference to be missing.
17405 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
17406             Joseph Myers  <joseph@codesourcery.com
17408         [BZ #15948]
17409         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17410         single character.
17411         (add_to_tablewc): Assert sequence of wide characters is nonempty.
17413 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17415         * elf/tst-tls-dlinfo.c: Don't include tls.h.
17416         * elf/tst-tls1.c: Likewise.
17417         * elf/tst-tls10.h: Likewise.
17418         * elf/tst-tls14.c: Likewise.
17419         * elf/tst-tls2.c: Likewise.
17420         * elf/tst-tls3.c: Likewise.
17421         * elf/tst-tls4.c: Likewise.
17422         * elf/tst-tls5.c: Likewise.
17423         * elf/tst-tls6.c: Likewise.
17424         * elf/tst-tls7.c: Likewise.
17425         * elf/tst-tls8.c: Likewise.
17426         * elf/tst-tls9.c: Likewise.
17427         * elf/tst-tlsmod1.c: Likewise.
17428         * elf/tst-tlsmod13.c: Likewise.
17429         * elf/tst-tlsmod13a.c: Likewise.
17430         * elf/tst-tlsmod14a.c: Likewise.
17431         * elf/tst-tlsmod16a.c: Likewise.
17432         * elf/tst-tlsmod16b.c: Likewise.
17433         * elf/tst-tlsmod2.c: Likewise.
17434         * elf/tst-tlsmod3.c: Likewise.
17435         * elf/tst-tlsmod4.c: Likewise.
17436         * elf/tst-tlsmod5.c: Likewise.
17437         * elf/tst-tlsmod6.c: Likewise.
17439 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
17441         [BZ #12486]
17442         * malloc/malloc.c: remove checks for statistics.
17444 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17446         [BZ #15277]
17447         * inet/inet_net.c (inet_network): Detect additional invalid strings.
17448         * inet/tst-network.c: Add testcase.
17450 2013-10-17  Andreas Schwab  <schwab@suse.de>
17452         [BZ #15218]
17453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17454         to determine canonical name.
17456 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17458         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17459         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17460         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17461         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17462         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17463         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17464         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17465         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17466         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17467         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17468         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17469         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17470         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17471         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17472         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17473         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17474         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17475         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17476         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17477         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17478         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17479         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17480         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17481         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17482         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17483         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17484         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17485         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17486         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17487         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17488         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17489         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17490         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17491         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17492         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17493         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17494         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17495         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17496         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17497         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17498         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17499         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17500         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17501         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17502         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17503         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17504         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17505         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17506         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17507         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17508         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17509         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17510         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17511         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17512         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17513         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17514         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17515         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17517 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
17519         [BZ #16041]
17520         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17521         make result into a quiet NaN.
17523 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
17525         * soft-fp/adddf3.c: Fix horizontal whitespace.
17526         * soft-fp/addsf3.c: Likewise.
17527         * soft-fp/addtf3.c: Likewise.
17528         * soft-fp/divdf3.c: Likewise.
17529         * soft-fp/divsf3.c: Likewise.
17530         * soft-fp/divtf3.c: Likewise.
17531         * soft-fp/double.h: Likewise.
17532         * soft-fp/eqdf2.c: Likewise.
17533         * soft-fp/eqsf2.c: Likewise.
17534         * soft-fp/eqtf2.c: Likewise.
17535         * soft-fp/extenddftf2.c: Likewise.
17536         * soft-fp/extended.h: Likewise.
17537         * soft-fp/extendsfdf2.c: Likewise.
17538         * soft-fp/extendsftf2.c: Likewise.
17539         * soft-fp/extendxftf2.c: Likewise.
17540         * soft-fp/fixdfdi.c: Likewise.
17541         * soft-fp/fixdfsi.c: Likewise.
17542         * soft-fp/fixdfti.c: Likewise.
17543         * soft-fp/fixsfdi.c: Likewise.
17544         * soft-fp/fixsfsi.c: Likewise.
17545         * soft-fp/fixsfti.c: Likewise.
17546         * soft-fp/fixtfdi.c: Likewise.
17547         * soft-fp/fixtfsi.c: Likewise.
17548         * soft-fp/fixtfti.c: Likewise.
17549         * soft-fp/fixunsdfdi.c: Likewise.
17550         * soft-fp/fixunsdfsi.c: Likewise.
17551         * soft-fp/fixunsdfti.c: Likewise.
17552         * soft-fp/fixunssfdi.c: Likewise.
17553         * soft-fp/fixunssfsi.c: Likewise.
17554         * soft-fp/fixunssfti.c: Likewise.
17555         * soft-fp/fixunstfdi.c: Likewise.
17556         * soft-fp/fixunstfsi.c: Likewise.
17557         * soft-fp/fixunstfti.c: Likewise.
17558         * soft-fp/floatdidf.c: Likewise.
17559         * soft-fp/floatdisf.c: Likewise.
17560         * soft-fp/floatditf.c: Likewise.
17561         * soft-fp/floatsidf.c: Likewise.
17562         * soft-fp/floatsisf.c: Likewise.
17563         * soft-fp/floatsitf.c: Likewise.
17564         * soft-fp/floattidf.c: Likewise.
17565         * soft-fp/floattisf.c: Likewise.
17566         * soft-fp/floattitf.c: Likewise.
17567         * soft-fp/floatundidf.c: Likewise.
17568         * soft-fp/floatundisf.c: Likewise.
17569         * soft-fp/floatunditf.c: Likewise.
17570         * soft-fp/floatunsidf.c: Likewise.
17571         * soft-fp/floatunsisf.c: Likewise.
17572         * soft-fp/floatunsitf.c: Likewise.
17573         * soft-fp/floatuntidf.c: Likewise.
17574         * soft-fp/floatuntisf.c: Likewise.
17575         * soft-fp/floatuntitf.c: Likewise.
17576         * soft-fp/fmadf4.c: Likewise.
17577         * soft-fp/fmasf4.c: Likewise.
17578         * soft-fp/fmatf4.c: Likewise.
17579         * soft-fp/gedf2.c: Likewise.
17580         * soft-fp/gesf2.c: Likewise.
17581         * soft-fp/getf2.c: Likewise.
17582         * soft-fp/ledf2.c: Likewise.
17583         * soft-fp/lesf2.c: Likewise.
17584         * soft-fp/letf2.c: Likewise.
17585         * soft-fp/muldf3.c: Likewise.
17586         * soft-fp/mulsf3.c: Likewise.
17587         * soft-fp/multf3.c: Likewise.
17588         * soft-fp/negdf2.c: Likewise.
17589         * soft-fp/negsf2.c: Likewise.
17590         * soft-fp/negtf2.c: Likewise.
17591         * soft-fp/op-1.h: Likewise.
17592         * soft-fp/op-2.h: Likewise.
17593         * soft-fp/op-4.h: Likewise.
17594         * soft-fp/op-8.h: Likewise.
17595         * soft-fp/op-common.h: Likewise.
17596         * soft-fp/quad.h: Likewise.
17597         * soft-fp/single.h: Likewise.
17598         * soft-fp/soft-fp.h: Likewise.
17599         * soft-fp/sqrtdf2.c: Likewise.
17600         * soft-fp/sqrtsf2.c: Likewise.
17601         * soft-fp/sqrttf2.c: Likewise.
17602         * soft-fp/subdf3.c: Likewise.
17603         * soft-fp/subsf3.c: Likewise.
17604         * soft-fp/subtf3.c: Likewise.
17605         * soft-fp/truncdfsf2.c: Likewise.
17606         * soft-fp/trunctfdf2.c: Likewise.
17607         * soft-fp/trunctfsf2.c: Likewise.
17608         * soft-fp/trunctfxf2.c: Likewise.
17609         * soft-fp/unorddf2.c: Likewise.
17610         * soft-fp/unordsf2.c: Likewise.
17611         * soft-fp/unordtf2.c: Likewise.
17613 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
17615         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17616         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17618 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
17620         * elf/dl-libc.c: Clear initfini list after freeing.
17622 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
17624         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17625         * soft-fp/addsf3.c: Likewise.
17626         * soft-fp/addtf3.c: Likewise.
17627         * soft-fp/divdf3.c: Likewise.
17628         * soft-fp/divsf3.c: Likewise.
17629         * soft-fp/divtf3.c: Likewise.
17630         * soft-fp/double.h: Likewise.
17631         * soft-fp/eqdf2.c: Likewise.
17632         * soft-fp/eqsf2.c: Likewise.
17633         * soft-fp/eqtf2.c: Likewise.
17634         * soft-fp/extenddftf2.c: Likewise.
17635         * soft-fp/extended.h: Likewise.
17636         * soft-fp/extendsfdf2.c: Likewise.
17637         * soft-fp/extendsftf2.c: Likewise.
17638         * soft-fp/extendxftf2.c: Likewise.
17639         * soft-fp/fixdfdi.c: Likewise.
17640         * soft-fp/fixdfsi.c: Likewise.
17641         * soft-fp/fixdfti.c: Likewise.
17642         * soft-fp/fixsfdi.c: Likewise.
17643         * soft-fp/fixsfsi.c: Likewise.
17644         * soft-fp/fixsfti.c: Likewise.
17645         * soft-fp/fixtfdi.c: Likewise.
17646         * soft-fp/fixtfsi.c: Likewise.
17647         * soft-fp/fixtfti.c: Likewise.
17648         * soft-fp/fixunsdfdi.c: Likewise.
17649         * soft-fp/fixunsdfsi.c: Likewise.
17650         * soft-fp/fixunsdfti.c: Likewise.
17651         * soft-fp/fixunssfdi.c: Likewise.
17652         * soft-fp/fixunssfsi.c: Likewise.
17653         * soft-fp/fixunssfti.c: Likewise.
17654         * soft-fp/fixunstfdi.c: Likewise.
17655         * soft-fp/fixunstfsi.c: Likewise.
17656         * soft-fp/fixunstfti.c: Likewise.
17657         * soft-fp/floatdidf.c: Likewise.
17658         * soft-fp/floatdisf.c: Likewise.
17659         * soft-fp/floatditf.c: Likewise.
17660         * soft-fp/floatsidf.c: Likewise.
17661         * soft-fp/floatsisf.c: Likewise.
17662         * soft-fp/floatsitf.c: Likewise.
17663         * soft-fp/floattidf.c: Likewise.
17664         * soft-fp/floattisf.c: Likewise.
17665         * soft-fp/floattitf.c: Likewise.
17666         * soft-fp/floatundidf.c: Likewise.
17667         * soft-fp/floatundisf.c: Likewise.
17668         * soft-fp/floatunsidf.c: Likewise.
17669         * soft-fp/floatunsisf.c: Likewise.
17670         * soft-fp/floatuntidf.c: Likewise.
17671         * soft-fp/floatuntisf.c: Likewise.
17672         * soft-fp/floatuntitf.c: Likewise.
17673         * soft-fp/fmadf4.c: Likewise.
17674         * soft-fp/fmasf4.c: Likewise.
17675         * soft-fp/fmatf4.c: Likewise.
17676         * soft-fp/gedf2.c: Likewise.
17677         * soft-fp/gesf2.c: Likewise.
17678         * soft-fp/getf2.c: Likewise.
17679         * soft-fp/ledf2.c: Likewise.
17680         * soft-fp/lesf2.c: Likewise.
17681         * soft-fp/letf2.c: Likewise.
17682         * soft-fp/muldf3.c: Likewise.
17683         * soft-fp/mulsf3.c: Likewise.
17684         * soft-fp/multf3.c: Likewise.
17685         * soft-fp/negdf2.c: Likewise.
17686         * soft-fp/negsf2.c: Likewise.
17687         * soft-fp/negtf2.c: Likewise.
17688         * soft-fp/op-1.h: Likewise.
17689         * soft-fp/op-2.h: Likewise.
17690         * soft-fp/op-4.h: Likewise.
17691         * soft-fp/op-8.h: Likewise.
17692         * soft-fp/op-common.h: Likewise.
17693         * soft-fp/quad.h: Likewise.
17694         * soft-fp/single.h: Likewise.
17695         * soft-fp/soft-fp.h: Likewise.
17696         * soft-fp/sqrtdf2.c: Likewise.
17697         * soft-fp/sqrtsf2.c: Likewise.
17698         * soft-fp/sqrttf2.c: Likewise.
17699         * soft-fp/subdf3.c: Likewise.
17700         * soft-fp/subsf3.c: Likewise.
17701         * soft-fp/subtf3.c: Likewise.
17702         * soft-fp/truncdfsf2.c: Likewise.
17703         * soft-fp/trunctfdf2.c: Likewise.
17704         * soft-fp/trunctfsf2.c: Likewise.
17705         * soft-fp/trunctfxf2.c: Likewise.
17706         * soft-fp/unorddf2.c: Likewise.
17707         * soft-fp/unordsf2.c: Likewise.
17708         * soft-fp/unordtf2.c: Likewise.
17710 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
17712         [BZ #15672]
17713         * misc/error.c (error_tail): Fix possible buffer overflow.
17715 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
17717         [BZ #13028]
17718         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17719         address.
17721 2013-10-14  P. J. McDermott  <pj@pehjota.net>
17723         [BZ #832]
17724         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
17725         testing pipefail option.
17727 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17729         * soft-fp/double.h: Indent preprocessor directives inside #if.
17730         * soft-fp/extended.h: Likewise.
17731         * soft-fp/op-2.h: Likewise.
17732         * soft-fp/op-4.h: Likewise.
17733         * soft-fp/op-common.h: Likewise.
17734         * soft-fp/quad.h: Likewise.
17735         * soft-fp/single.h: Likewise.
17736         * soft-fp/soft-fp.h: Likewise.
17738 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
17740         * iconv/iconv_prog.c: Fix typos.
17741         * stdio-common/psiginfo-data.h: Likewise.
17743 2013-10-12   Reuben Thomas <rrt@sc3d.org>
17745         [BZ #15764]
17746         * locale/setlocale.c: Fix typo.
17748 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17750         [BZ #16036]
17751         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17752         signaling NaN arguments.
17753         * soft-fp/unordsf2.c (__unordsf2): Likewise.
17754         * soft-fp/unordtf2.c (__unordtf2): Likewise.
17756         [BZ #14910]
17757         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17758         unordered operands.
17759         * soft-fp/gesf2.c (__gesf2): Likewise.
17760         * soft-fp/getf2.c (__getf2): Likewise.
17761         * soft-fp/ledf2.c (__ledf2): Likewise.
17762         * soft-fp/lesf2.c (__lesf2): Likewise.
17763         * soft-fp/letf2.c (__letf2): Likewise.
17765         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17766         * soft-fp/eqsf2.c (__eqsf2): Likewise.
17767         * soft-fp/eqtf2.c (__eqtf2): Likewise.
17768         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17769         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17770         * soft-fp/fixdfti.c (__fixdfti): Likewise.
17771         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17772         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17773         * soft-fp/fixsfti.c (__fixsfti): Likewise.
17774         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17775         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17776         * soft-fp/fixtfti.c (__fixtfti): Likewise.
17777         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17778         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17779         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17780         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17781         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17782         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17783         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17784         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17785         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17786         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17787         * soft-fp/floatdisf.c (__floatdisf): Likewise.
17788         * soft-fp/floatsisf.c (__floatsisf): Likewise.
17789         * soft-fp/floattidf.c (__floattidf): Likewise.
17790         * soft-fp/floattisf.c (__floattisf): Likewise.
17791         * soft-fp/floattitf.c (__floattitf): Likewise.
17792         * soft-fp/floatundidf.c (__floatundidf): Likewise.
17793         * soft-fp/floatundisf.c (__floatundisf): Likewise.
17794         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17795         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17796         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17797         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17798         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17799         * soft-fp/gesf2.c (__gesf2): Likewise.
17800         * soft-fp/getf2.c (__getf2): Likewise.
17801         * soft-fp/ledf2.c (__ledf2): Likewise.
17802         * soft-fp/lesf2.c (__lesf2): Likewise.
17803         * soft-fp/letf2.c (__letf2): Likewise.
17805         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17806         Undefine and redefine.
17807         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17808         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17809         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17810         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17811         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17812         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17813         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17814         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17815         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17816         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17817         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17818         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17819         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17820         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17821         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17823         [BZ #16032]
17824         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17825         without decrementing exponent if mantissa >= that for the
17826         denominator, not >.
17827         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17828         denominator, not >.  Decrement exponent in < case instead of
17829         incrementing in >= case.
17830         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17831         without decrementing exponent if mantissa >= that for the
17832         denominator, not >.
17834         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17835         computing saturated result for unsigned overflow.
17837 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17838             Jeff Law  <law@redhat.com>
17840         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17841         (atan2Mp): Add systemtap probe marker.
17842         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17843         (__ieee754_log): Add systemtap probe marker.
17844         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17845         (atanMp): Add systemtap probe marker.
17846         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17847         (tanMp): Add systemtap probe marker.
17848         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17849         (__slowexp): Add systemtap probe marker.
17850         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17851         (__slowpow): Add systemtap probe marker.
17852         * manual/probes.texi: Document probes.
17854 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
17856         [BZ #15362]
17857         * libio/fileops.c (_IO_new_file_write): Return count of bytes
17858         written.
17859         (_IO_new_file_xsputn): Don't return EOF if nothing has been
17860         written.
17861         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17862         written to buffer but not flushed.
17863         * libio/iofwrite_u.c:  Likewise.
17864         * libio/iopadn.c:  Return bytes returned even if EOF was
17865         encountered.
17866         * libio/iowpadn.c:  Likewise.
17867         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17868         if _IO_padn does not write the whole buffer.
17869         [!COMPILE_WPRINTF] (PAD): Likewise.
17871 2013-10-10  David S. Miller  <davem@davemloft.net>
17873         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17874         directory block.
17876 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17878         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
17879         instead of FSF address.
17880         * soft-fp/fixdfti.c: Likewise.
17881         * soft-fp/fixsfti.c: Likewise.
17882         * soft-fp/fixtfti.c: Likewise.
17883         * soft-fp/fixunsdfti.c: Likewise.
17884         * soft-fp/fixunssfti.c: Likewise.
17885         * soft-fp/fixunstfti.c: Likewise.
17886         * soft-fp/floattidf.c: Likewise.
17887         * soft-fp/floattisf.c: Likewise.
17888         * soft-fp/floattitf.c: Likewise.
17889         * soft-fp/floatuntidf.c: Likewise.
17890         * soft-fp/floatuntisf.c: Likewise.
17891         * soft-fp/floatuntitf.c: Likewise.
17892         * soft-fp/trunctfxf2.c: Likewise.
17894         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
17895         * soft-fp/fixdfti.c: Likewise.
17896         * soft-fp/fixsfti.c: Likewise.
17897         * soft-fp/fixtfti.c: Likewise.
17898         * soft-fp/fixunsdfti.c: Likewise.
17899         * soft-fp/fixunssfti.c: Likewise.
17900         * soft-fp/fixunstfti.c: Likewise.
17901         * soft-fp/floattidf.c: Likewise.
17902         * soft-fp/floattisf.c: Likewise.
17903         * soft-fp/floattitf.c: Likewise.
17904         * soft-fp/floatuntidf.c: Likewise.
17905         * soft-fp/floatuntisf.c: Likewise.
17906         * soft-fp/floatuntitf.c: Likewise.
17907         * soft-fp/trunctfxf2.c: Likewise.
17909 2013-10-10  David S. Miller  <davem@davemloft.net>
17911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17913 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
17915         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17916         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17917         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17918         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17919         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17920         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17921         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17923         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17924         for NaNs before doing comparisons on argument.
17925         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17926         Likewise.
17928 2013-10-10  Will Newton  <will.newton@linaro.org>
17930         * malloc/hooks.c (memalign_check): Ensure the value of bytes
17931         passed to _int_memalign does not overflow.
17933 2013-10-10  Torvald Riegel  <triegel@redhat.com>
17935         * scripts/bench.pl: Add include-sources directive.
17936         * benchtests/README: Update documentation.
17938 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17940         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17941         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17942         instead of FP_INIT_ROUNDMODE.
17943         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17944         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17946         [BZ #16034]
17947         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
17948         copy class of input value.
17949         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
17950         not handle exceptions.
17951         * soft-fp/negsf2.c (__negsf2): Likewise.
17952         * soft-fp/negtf2.c (__negtf2): Likewise.
17953         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17955 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
17957         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17958         semicolon.  From Linux kernel.
17960 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
17962         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17964 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
17966         [BZ #156]
17967         * manual/socket.texi: Added statement about buffer
17968         for gethostbyname2_r.
17970 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
17972         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17973         Use .p2align directive instead, throughout.
17974         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17975         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17976         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17977         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17978         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17979         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17980         * sysdeps/x86_64/strchr.S: Likewise.
17981         * sysdeps/x86_64/strrchr.S: Likewise.
17983 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17985         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17987         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17989         * sysdeps/generic/math_private.h (__mpsin1): Remove
17990         declaration.
17991         (__mpcos1): Likewise.
17992         (__mpsin): New argument __range_reduce.
17993         (__mpcos): Likewise.
17994         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17995         (slow): Use __mpsin and __mpcos.
17996         (slow1): Likewise.
17997         (slow2): Likewise.
17998         (sloww): Likewise.
17999         (sloww1): Likewise.
18000         (sloww2): Likewise.
18001         (bsloww): Likewise.
18002         (bsloww1): Likewise.
18003         (bsloww2): Likewise.
18004         (cslow2): Likewise.
18005         (csloww): Likewise.
18006         (csloww1): Likewise.
18007         (csloww2): Likewise.
18008         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18009         range_reduce.  Merge in __mpsin1.
18010         (__mpcos): Likewise.
18011         (__mpsin1): Remove.
18012         (__mpcos1): Likewise.
18014 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
18016         * locale/loadlocale.c (_nl_intern_locale_data): Use
18017         LOCFILE_ALIGNED_P.
18018         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18019         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18020         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18021         obstack data is appropriately aligned.
18022         (obstack_int32_grow_fast): Likewise.
18023         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18024         * locale/programs/locfile.c (add_locale_uint32): Likewise.
18025         (add_locale_uint32_array): Likewise.
18027 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18029         * benchtests/Makefile: Remove ARGLIST and RET variables.
18030         ($(objpfx)bench-%.c): Pass only function name to the script.
18031         * benchtests/README: Update documentation.
18032         * benchtests/acos-inputs: Add new directives.
18033         * benchtests/acosh-inputs: Likewise.
18034         * benchtests/asin-inputs: Likewise.
18035         * benchtests/asinh-inputs: Likewise.
18036         * benchtests/atan-inputs: Likewise.
18037         * benchtests/atanh-inputs: Likewise.
18038         * benchtests/cos-inputs: Likewise.
18039         * benchtests/cosh-inputs: Likewise.
18040         * benchtests/exp-inputs: Likewise.
18041         * benchtests/log-inputs: Likewise.
18042         * benchtests/pow-inputs: Likewise.
18043         * benchtests/rint-inputs: Likewise.
18044         * benchtests/sin-inputs: Likewise.
18045         * benchtests/sinh-inputs: Likewise.
18046         * benchtests/tan-inputs: Likewise.
18047         * benchtests/tanh-inputs: Likewise.
18048         * scripts/bench.pl: Add support for new directives.
18050 2013-10-07  Alan Modra  <amodra@gmail.com>
18052         * README: Fix careless merge.
18054 2013-10-05  Alan Modra  <amodra@gmail.com>
18056         * NEWS: Mention powerpc64le support and bugs fixed.
18057         * README: Both big-endian and little-endian powerpc64 supported.
18059 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18061         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18062         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18063         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18064         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18066 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
18068         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18069         match prototype.
18071 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
18073         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18074         Move -mhard-float appending from
18075         ports/sysdeps/powerpc/powerpc32/Makefile.
18076         [$(with-fp) = yes] (ASFLAGS): Likewise.
18077         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18078         * sysdeps/powerpc/nofpu: Move directory from
18079         ports/sysdeps/powerpc/nofpu.
18080         * sysdeps/powerpc/soft-fp: Move directory from
18081         ports/sysdeps/powerpc/soft-fp.
18082         * sysdeps/powerpc/powerpc32/405: Move directory from
18083         ports/sysdeps/powerpc/powerpc32/405.
18084         * sysdeps/powerpc/powerpc32/440: Move directory from
18085         ports/sysdeps/powerpc/powerpc32/440.
18086         * sysdeps/powerpc/powerpc32/464: Move directory from
18087         ports/sysdeps/powerpc/powerpc32/464.
18088         * sysdeps/powerpc/powerpc32/476: Move directory from
18089         ports/sysdeps/powerpc/powerpc32/476.
18090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18091         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18093         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18095         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18097         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18099         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18100         * README: Update for powerpc-*-linux-gnu software floating point
18101         support in libc.
18103         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18104         case to powerpc/powerpc32*.
18105         * sysdeps/unix/sysv/linux/configure: Regenerated.
18107         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18108         (_FPU_MASK_OM): Define as 0x04.
18109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18111         0x00c10080.
18112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18113         0x0000003c.
18114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18117         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18118         getcontext_e500.
18119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18120         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18121         setcontext_e500.
18122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18123         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18124         and setcontext_e500.
18126 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18128         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18130 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18132         * manual/threads.texi (Default Thread Attributes): Fix typo.
18134 2013-10-04  Will Newton  <will.newton@linaro.org>
18136         * malloc/Makefile: Add tst-memalign.
18137         * malloc/tst-memalign.c: New file.
18139         * malloc/tst-posix_memalign.c: Add comments.
18140         (do_test): Add comments and call free on all potentially
18141         allocated pointers. Add space after cast.
18143         * malloc/tst-pvalloc.c: Add comments.
18144         (do_test): Add comments and call free on all potentially
18145         allocated pointers. Remove duplicate check for NULL pointer.
18146         Add space after cast.
18148         * malloc/tst-valloc.c: Add comments.
18149         (do_test): Add comments and call free on all potentially
18150         allocated pointers. Remove duplicate check for NULL pointer.
18151         Add space after cast.
18153 2013-10-04  Alan Modra  <amodra@gmail.com>
18155         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18156         Use stdint types in rather than __attribute__((mode())).
18157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18159 2013-10-04  Alan Modra  <amodra@gmail.com>
18161         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18162         Correct handling of unaligned relocs for little-endian.
18163         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18165 2013-10-04  Alan Modra  <amodra@gmail.com>
18167         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18168         * configure: Regenerate.
18169         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18170         * shlib-versions: Likewise.
18172 2013-10-04  Alan Modra  <amodra@gmail.com>
18174         * string/tester.c (test_memrchr): Increment reported test cycle.
18176 2013-10-04  Alan Modra  <amodra@gmail.com>
18178         * string/test-memcpy.c (do_one_test): When reporting errors, print
18179         string address and don't overrun end of string.
18181 2013-10-04  Alan Modra  <amodra@gmail.com>
18183         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18184         insrdi.  Make better use of reg selection to speed exit slightly.
18185         Schedule entry path a little better.  Remove useless "are we done"
18186         checks on entry to main loop.  Handle wrapping around zero address.
18187         Correct main loop count.  Handle single left-over word from main
18188         loop inline rather than by using loop_small.  Remove extra word
18189         case in loop_small caused by wrong loop count.  Add little-endian
18190         support.
18191         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18192         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18193         cache hint.
18194         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18195         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18196         support.  Avoid rlwimi.
18197         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18199 2013-10-04  Alan Modra  <amodra@gmail.com>
18201         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18202         insrdi.  Formatting.
18203         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18204         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18205         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18206         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18207         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18208         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18210 2013-10-04  Alan Modra  <amodra@gmail.com>
18212         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18213         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18214         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18215         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18216         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18217         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18218         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18219         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18220         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18221         use of regs.  Use power7 mtocrf.  Tidy function tails.
18223 2013-10-04  Alan Modra  <amodra@gmail.com>
18225         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18226         Formatting.  Consistently use rXXX register defines or rN defines.
18227         Use early exit labels that avoid restoring unused non-volatile regs.
18228         Make cr field use more consistent with rWORDn compares.  Rename
18229         regs used as shift registers for unaligned loop, using rN defines
18230         for short lifetime/multiple use regs.
18231         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18232         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18233         addi 1,1,64 to pop stack frame.  Simplify return value code.
18234         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18236 2013-10-04  Alan Modra  <amodra@gmail.com>
18238         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18239         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18240         rather than rlwimi.
18241         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18242         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18243         little-endian support.  Correct typos.
18244         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18245         rather than rlwimi.
18246         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18247         in loop and entry code to keep "and." results.
18248         (strchr): Add little-endian support.  Comment.  Move cntlzd
18249         earlier in tail.
18250         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18252 2013-10-04  Alan Modra  <amodra@gmail.com>
18254         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18255         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18256         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18257         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18259 2013-10-04  Alan Modra  <amodra@gmail.com>
18261         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18262         (rTMP): Define as r11.
18263         (strcmp): Add little-endian support.  Optimise tail.
18264         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18265         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18266         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18267         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18268         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18269         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18270         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18272 2013-10-04  Alan Modra  <amodra@gmail.com>
18274         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18275         little-endian support.  Remove unnecessary "are we done" tests.
18276         Handle "s" wrapping around zero and extremely large "size".
18277         Correct main loop count.  Handle single left-over word from main
18278         loop inline rather than by using small_loop.  Correct comments.
18279         Delete "zero" tail, use "end_max" instead.
18280         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18282 2013-10-04  Alan Modra  <amodra@gmail.com>
18284         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18285         support.  Don't branch over align.
18286         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18287         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18288         support.  Rearrange tmp reg use to suit.  Comment.
18289         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18291 2013-10-04  Alan Modra  <amodra@gmail.com>
18293         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18295 2013-10-04  Alan Modra  <amodra@gmail.com>
18297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18298         conditional form of branch and link when obtaining pc.
18299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18301 2013-10-04  Alan Modra  <amodra@gmail.com>
18303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18304         HIWORD/LOWORD.
18305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18308 2013-10-04  Alan Modra  <amodra@gmail.com>
18310         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18311         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18312         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18313         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18314         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18315         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18316         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18317         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18318         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18319         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18321 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18322             Alistair Popple <alistair@ozlabs.au.ibm.com>
18323             Alan Modra <amodra@gmail.com>
18325         [BZ #15723]
18326         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18327         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18328         _dl_hwcap access for little-endian.
18329         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
18330         destroy vmx regs when saving unaligned.
18331         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18332         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
18333         destroy vmx regs when saving unaligned.
18335 2013-10-04  Alan Modra  <amodra@gmail.com>
18337         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18338         Don't use a union to pack hi/low value.
18340 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18342         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18343         for little-endian.
18344         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18345         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18346         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18347         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18348         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18350 2013-10-04  Alan Modra  <amodra@gmail.com>
18352         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18353         constants to usual value for .cst8 section, and remove redundant
18354         high address load.
18355         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18356         constant for 0x1p52.  Load little-endian words of double from
18357         correct stack offsets.
18359 2013-10-04  Alan Modra  <amodra@gmail.com>
18361         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18362         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18363         words of double from correct stack offsets.
18364         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18365         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18366         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18367         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18368         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18369         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18370         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18371         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18372         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18373         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18374         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18375         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18376         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18377         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18378         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18379         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18380         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18382 2013-10-04  Alan Modra  <amodra@gmail.com>
18384         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18385         64-bit int/double union.
18386         (_FPU_SETCW): Likewise.
18387         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18388         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18390 2013-10-04  Alan Modra  <amodra@gmail.com>
18392         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18393         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18395 2013-10-04  Alan Modra  <amodra@gmail.com>
18397         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18398         use vector int constants.
18399         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18401 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18403         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18404         array with long long.
18405         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18406         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18407         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18408         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18409         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18410         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18411         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18412         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18413         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18414         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18415         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18416         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18417         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18419 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18421         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18422         (__signbit): Likewise.  Correct for little-endian.
18423         (__signbitl): Call __signbit.
18424         (lrint): Correct for little-endian.
18425         (lrintf): Call lrint.
18427 2013-10-04  Alan Modra  <amodra@gmail.com>
18429         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18430         union 32-bit int array member with 64-bit int array.
18431         (t515, tm256): Double rather than long double.
18432         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18434 2013-10-04  Alan Modra  <amodra@gmail.com>
18436         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18437         Delete.
18438         (IEEE854_LONG_DOUBLE_BIAS): Delete.
18439         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18440         version of math_ldbl.h.
18442 2013-10-04  Alan Modra  <amodra@gmail.com>
18444         [BZ #15734], [BZ #15735]
18445         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18446         all uses of ieee875 long double macros and unions.  Simplify test
18447         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
18448         ldbl_extract_mantissa value for ix,iy exponents.  Properly
18449         normalize after ldbl_extract_mantissa, and don't add hidden bit
18450         already handled.  Don't treat low word of ieee854 mantissa like
18451         low word of IBM long double and mask off bit when testing for
18452         zero.
18453         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18454         all uses of ieee875 long double macros and unions.  Simplify tests
18455         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
18456         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
18457         two1022, instead use their values.  Recognise that tests for large
18458         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18459         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18460         Rewrite all uses of ieee875 long double macros and unions.  Simplify
18461         test for 0.0L and nan.  Correct negation.
18462         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18463         ieee875 long double macros and unions.  Correct output for large
18464         magnitude x.  Correct absolute value calculation.
18465         (__erfcl): Likewise.
18466         * math/libm-test.inc: Add tests for errors discovered in IBM long
18467         double versions of fmodl, remainderl, erfl and erfcl.
18469 2013-10-04  Alan Modra  <amodra@gmail.com>
18471         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18472         all uses of ieee854 long double macros and unions.  Simplify tests
18473         for long doubles that are fully specified by the high double.
18474         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18475         Likewise.
18476         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18477         Remove dead code too.
18478         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18479         (__ieee754_ynl): Likewise.
18480         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18481         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18482         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18483         Remove dead code too.
18484         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18485         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18486         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18487         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18488         Simplify.
18489         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18490         Simplify.
18491         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18492         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18493         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18494         Comment on variable precision.
18495         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18496         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18497         Likewise.
18498         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18499         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18500         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18501         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18502         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18504 2013-10-04  Alan Modra  <amodra@gmail.com>
18506         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18507         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18508         all uses of ieee854 long double macros and unions.
18509         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18510         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18511         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18512         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18513         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18514         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18515         Likewise.
18516         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18517         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18518         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18519         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18520         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18521         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18522         Simplify sign and nan test too.
18523         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18524         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18525         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18526         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18527         Likewise.
18528         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18529         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18530         Likewise.
18531         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18532         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18533         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18534         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18535         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18538 2013-10-04  Alan Modra  <amodra@gmail.com>
18540         * stdio-common/printf_size.c (__printf_size): Don't use
18541         union ieee854_long_double in fpnum union.
18542         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
18543         signbit macro to retrieve sign from long double.
18544         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18545         retrieve sign from long double.
18546         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18547         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18548         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18549         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18550         * math/test-misc.c (main): Don't use union ieee854_long_double.
18552 2013-10-04  Alan Modra  <amodra@gmail.com>
18554         [BZ #15680]
18555         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18556         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18557         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18558         calculation.  Remove unnecessary test for denormal exponent.
18559         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18560         Correct handling of denormals.  Avoid undefined shift behaviour.
18561         Correct normalisation of low mantissa when low double is denormal.
18562         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18563         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
18564         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18565         Correct normalisation of low mantissa.  Test for overflow of high
18566         mantissa and normalise.
18567         (ldbl_nearbyint): Use more readable constant for two52.
18568         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18569         (__mpn_construct_long_double): Fix test for overflow of high
18570         mantissa and correct normalisation.  Avoid undefined shift.
18572 2013-10-04  Alan Modra  <amodra@gmail.com>
18574         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18575         (union ibm_extended_long_double): Define as an array of ieee754_double.
18576         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18577         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18578         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18579         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18580         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18581         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18582         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18583         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18584         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18585         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18586         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18588 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
18590         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18591         page size instead of calling getpagesize.
18593         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18594         (LOCFILE_ALIGN_MASK): Likewise.
18595         (LOCFILE_ALIGN_UP): Likewise.
18596         (LOCFILE_ALIGNED_P): Likewise.
18597         * locale/programs/ld-collate.c (collate_output): Use the new
18598         macros instead of __alignof__ (int32_t).
18599         * locale/weight.h (findidx): Likewise.
18601 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
18603         [BZ #431]
18604         * manual/string.texi: Fix strncat and wcsncat.
18606 2013-10-03  Brooks Moses  <bmoses@google.com>
18608         [BZ #15915]
18609         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18610         * Makerules: ...here, and adjust associated comments.
18612 2013-10-02  Will Newton  <will.newton@linaro.org>
18614         * malloc/Makefile: Add tst-pvalloc.
18615         * malloc/tst-pvalloc.c: New file.
18617 2013-10-02  Will Newton  <will.newton@linaro.org>
18619         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18620         improve test coverage.
18622 2013-10-02  Will Newton  <will.newton@linaro.org>
18624         * malloc/Makefile: Add tst-posix_memalign.
18625         * malloc/tst-posix_memalign.c: New file.
18627 2013-10-01  Eric Blake  <eblake@redhat.com>
18629         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18630         Use __THROWNL rather than __THROW on static functions.
18632 2013-09-30  Petr Machata  <pmachata@redhat.com>
18634         * elf/elf.h (R_AARCH64_ABS16): New macro.
18635         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18636         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18637         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18638         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18639         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18640         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18641         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18642         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18643         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18644         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18645         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18646         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18647         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18648         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18649         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18650         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18651         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18652         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18653         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18654         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18655         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18656         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18657         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18658         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18659         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18660         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18661         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18662         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18663         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18664         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18665         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18666         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18667         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18668         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18669         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18670         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18671         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18672         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18673         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18674         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18675         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18676         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18677         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18678         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18679         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18680         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18681         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18682         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18683         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18684         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18685         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18686         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18687         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18688         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18689         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18690         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18691         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18692         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18693         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18694         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18695         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18696         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18697         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18698         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18699         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18700         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18701         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18702         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18703         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18704         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18705         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18706         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18707         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18708         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18709         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18710         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18711         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18712         (R_AARCH64_TLSDESC_LDR): Likewise.
18713         (R_AARCH64_TLSDESC_ADD): Likewise.
18714         (R_AARCH64_TLSDESC_CALL): Likewise.
18716 2013-09-30  Andreas Schwab  <schwab@suse.de>
18718         [BZ #15048]
18719         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18720         the nss database lookup.
18721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18724 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
18726         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18728 2013-09-28  P. J. McDermott  <pj@pehjota.net>
18730         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18731         ${Bash-specific parameter/pattern/string} parameter expansion.
18732         * sysdeps/unix/make-syscalls.sh: Likewise.
18734 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18736         * sysdeps/sh/stackguard-macros.h: New file.
18738 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
18740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18742         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18743         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18744         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18745         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18747 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18749         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18750         Fix thread ID register.
18752 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
18754         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18755         [POSIX || UNIX98]: Require rather than permitting all symbols from
18756         <time.h>.
18757         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18758         element of struct sched_param.
18759         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18760         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18761         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18762         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18763         constant.
18765 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
18767         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18768         argument calculation.
18770 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18772         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18773         Expect macro.
18774         [POSIX] (pthread_attr_t): Do not require type.
18775         [POSIX] (pthread_cond_t): Likewise.
18776         [POSIX] (pthread_condattr_t): Likewise.
18777         [POSIX] (pthread_key_t): Likewise.
18778         [POSIX] (pthread_mutex_t): Likewise.
18779         [POSIX] (pthread_mutexattr_t): Likewise.
18780         [POSIX] (pthread_once_t): Likewise.
18781         [POSIX] (pthread_t): Likewise.
18782         [POSIX-based standards] (pthread_atfork): Expect function.
18784 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18785             Richard Sandiford  <richard@codesourcery.com>
18787         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18788         (swap_endianness_p): New extern variable.
18789         (set_big_endian): New inline function.
18790         (maybe_swap_uint32): Likewise.
18791         (maybe_swap_uint32_array): Likewise.
18792         (maybe_swap_uint32_obstack): Likewise.
18793         * locale/programs/locfile.c: Include <stdbool.h>.
18794         (swap_endianness_p): New variable.
18795         (add_locale_uint32): Call maybe_swap_uint32.
18796         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18797         (write_locale_data): Call maybe_swap_uint32_array.
18798         * locale/programs/ld-collate.c (obstack_int32_grow): Call
18799         maybe_swap_uint32.
18800         (obstack_int32_grow_fast): Likewise.
18801         (output_weightwc): Call maybe_swap_uint32_obstack.
18802         (collate_output): Likewise.
18803         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18804         (OPT_LITTLE_ENDIAN): Likewise.
18805         (options): Add --little-endian and --big-endian options.
18806         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18807         * locale/programs/locarchive.c: Include "locfile.h".
18808         (GET): New macro.
18809         (SET): Likewise.
18810         (INC): Likewise.
18811         (create_archive): Use the new macros to access fields of
18812         structures directly mapped from or written to locale archives.
18813         (oldlocrecentcmp): Likewise.
18814         (enlarge_archive): Likewise.
18815         (insert_name): Likewise.
18816         (add_alias): Likewise.
18817         (add_locale): Likewise.
18818         (delete_locales_from_archive): Likewise.
18819         (show_archive_content): Likewise.
18820         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
18821         locale data.
18823 2013-09-24  Roland McGrath  <roland@hack.frob.com>
18825         * manual/freemanuals.texi: Updated from (newly) canonical copy at
18826         http://www.gnu.org/doc/freemanuals.texi.
18827         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18829 2013-09-24  Will Newton  <will.newton@linaro.org>
18831         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18832         macro.
18834 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
18836         * locale/hashval.h (compute_hashval): Interpret bytes of key as
18837         unsigned char.
18839 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
18841         * manual/threads.texi (POSIX Threads): Fix a typo.
18843 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18845         [BZ #14547]
18846         * string/tst-strcoll-overflow.c: New test case.
18847         * string/Makefile (xtests): Add tst-strcoll-overflow.
18848         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18849         cache if string sizes may cause integer overflow.
18851         [BZ #14547]
18852         * string/strcoll_l.c (coll_seq): New members rule, idx,
18853         save_idx and back_us.
18854         (get_next_seq_nocache): New function.
18855         (do_compare_nocache): New function.
18856         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18857         when malloc fails.
18859 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
18861         [BZ #15754]
18862         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18863         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18864         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18866         [BZ #15754]
18867         * elf/Makefile (tests): Add tst-ptrguard1.
18868         (tests-static): Add tst-ptrguard1-static.
18869         (tst-ptrguard1-ARGS): Define.
18870         (tst-ptrguard1-static-ARGS): Define.
18871         * elf/tst-ptrguard1.c: New file.
18872         * elf/tst-ptrguard1-static.c: New file.
18873         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18874         * sysdeps/i386/stackguard-macros.h: Likewise.
18875         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18876         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18877         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18878         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18879         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18880         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18882 2013-09-23  Hector Marco  <hecmargi@upv.es>
18883             Ismael Ripoll  <iripoll@disca.upv.es>
18884             Carlos O'Donell  <carlos@redhat.com>
18886         [BZ #15754]
18887         * sysdeps/generic/stackguard-macros.h: Define
18888         __pointer_chk_guard_local and POINTER_CHK_GUARD.
18889         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18890         Define __pointer_chk_guard_local.
18891         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18892         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18894 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
18896         [BZ #15859]
18897         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18899 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
18901         * include/string.h (__ffs): Declare as hidden.
18902         * string/ffs.c (__ffs): Define as hidden.
18903         * sysdeps/i386/ffs.c (__ffs): Likewise.
18904         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18905         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18906         * sysdeps/s390/ffs.c (__ffs): Likewise.
18907         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18909 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
18911         * NEWS: Mention malloc probes.
18913         * malloc/arena.c (new_heap): New memory_heap_new probe.
18914         (grow_heap): New memory_heap_more probe.
18915         (shrink_heap): New memory_heap_less probe.
18916         (heap_trim): New memory_heap_free probe.
18917         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18918         (systrim): New memory_sbrk_less probe.
18919         * manual/probes.texi: Document them.
18921         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18922         * manual/probes.texi: Document it.
18924         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18925         (__libc_realloc): Add memory_realloc_retry probe.
18926         (__libc_memalign): Add memory_memalign_retry probe.
18927         (__libc_valloc): Add memory_valloc_retry probe.
18928         (__libc_pvalloc): Add memory_pvalloc_retry probe.
18929         (__libc_calloc): Add memory_calloc_retry probe.
18930         * manual/probes.texi: Document them.
18932         * malloc/arena.c (get_free_list): Add probe
18933         memory_arena_reuse_free_list.
18934         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18935         and memory_arena_reuse.
18936         (arena_get2) [!PER_THREAD]: Likewise.
18937         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18938         memory_arena_reuse_realloc.
18939         * manual/probes.texi: Document them.
18941         * malloc/malloc.c (__libc_free): Add
18942         memory_mallopt_free_dyn_thresholds probe.
18943         (__libc_mallopt): Add multiple memory_mallopt probes.
18944         * manual/probes.texi: Document them.
18946         * malloc/malloc.c: Include stap-probe.h.
18947         (__libc_mallopt): Add memory_mallopt probe.
18948         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18949         * manual/probes.texi: New.
18950         * manual/Makefile (chapters): Add probes.
18951         * manual/threads.texi: Set next node.
18953 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
18955         [BZ #15963, #13985]
18956         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18957         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18958         Add `Chinese' to `nan' entry name.
18960 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18962         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18963         (POLYNOMIAL): Likewise.
18964         (TAYLOR_SINCOS): Likewise.
18965         (TAYLOR_SLOW): Likewise.
18966         (__sin): Use TAYLOR_SINCOS.
18967         (__cos): Likewise.
18968         (slow): Use TAYLOR_SLOW.
18969         (sloww): Likewise.
18970         (bsloww): Likewise.
18971         (csloww): Likewise.
18973 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18975         * stdlib/strtod_l.c: Fix buffer overrun.
18977 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18979         * benchtests/Makefile (bench): Add sincos.
18980         * benchtests/bench-sincos.c: New file.
18982         * math/libm-test.inc (cos_test_data): New test inputs.
18983         (sin_test_data): Likewise.
18985         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18986         macro.
18987         (__sin): Use it.
18988         (__cos): Likewise.
18989         (slow1): Likewise.
18990         (slow2): Likewise.
18991         (sloww1): Likewise.
18992         (sloww2): Likewise.
18993         (bsloww1): Likewise.
18994         (bsloww2): Likewise.
18995         (cslow2): Likewise.
18996         (csloww1): Likewise.
18997         (csloww2): Likewise.
18999         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19000         function.
19001         (__sin): Use it.
19002         (__cos): Likewise.
19004         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19005         gotos.
19006         (__cos): Likewise.
19008 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
19010         * config.h.in (HAVE_MIPS_NAN2008): New macro.
19011         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19012         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19013         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19014         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19015         * elf/cache.c (print_entry): Handle the new cache flags.
19017 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19018             Aldy Hernandez  <aldyh@redhat.com>
19020         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19021         Change condition to [_SOFT_FLOAT].
19022         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19023         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19024         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19031         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19032         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19033         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19034         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19037         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19038         declaration.
19040 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
19042         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19043         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19044         (__longjmp): Use LOAD_GP to load saved GPRs.
19045         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19046         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19047         (__sigsetjmp): Use SAVE_GP to save GPRs.
19049         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19050         Do not append -msoft-float.
19051         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19053 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19055         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19057 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
19059         [BZ #15966]
19060         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19061         (_FPU_GETCW): Use initial "__" on variable and field names but not
19062         on macro parameter name.
19063         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
19064         parentheses around reference to macro parameter.
19066 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
19068         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19069         prototype.
19070         (ctype_startup): Use uint32_t in cast and sizeof for
19071         ctype->charnames.
19073 2013-09-11  Jia Liu  <proljc@gmail.com>
19075         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19076         __daddr_t_defined.
19077         [__FreeBSD__]: Likewise.
19079 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
19081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19082         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19083         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19084         (strchr): Remove __strchr_sse42 ifunc selection.
19085         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19086         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19088 2013-09-11  Will Newton  <will.newton@linaro.org>
19090         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19091         parameter to RES. Remove hardcoded 1000 value.
19092         * benchtests/bench-skeleton.c (main): Pass RES parameter
19093         to TIMING_INIT and multiply result by 1000.
19095 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19099 2013-09-11  Andreas Schwab  <schwab@suse.de>
19101         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19102         if not defined.
19103         (O_TMPFILE) [__USE_GNU]: Define.
19104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19105         Define.
19107 2013-09-11  Will Newton  <will.newton@linaro.org>
19109         [BZ #15857]
19110         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19111         does not overflow.
19113 2013-09-11  Will Newton  <will.newton@linaro.org>
19115         [BZ #15856]
19116         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19117         does not overflow.
19119 2013-09-11  Will Newton  <will.newton@linaro.org>
19121         [BZ #15855]
19122         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19123         does not overflow.
19125 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19127         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19128         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19129         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19130         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19131         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19133 2013-09-10  Allan McRae  <allan@archlinux.org>
19135         [BZ #15748]
19136         * manual/arith.texi (Parsing of Floats): Clarify
19137         cross-reference.
19139         [BZ #15849]
19140         * manual/install.texi (Running make install): Mention
19141         --enable-pt-chown.
19142         * INSTALL: Regenerated.
19144 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19146         * csu/init-first.c (_init): Remove the !SHARED condition around
19147         FPU control word initialization.
19148         * elf/dl-support.c (_dl_fpu_control): New variable.
19149         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19150         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19151         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19152         * math/test-fpucw-static.c: New file.
19153         * math/test-fpucw-ieee.c: New file.
19154         * math/test-fpucw-ieee-static.c: New file.
19155         * math/Makefile (tests): Add `test-fpucw-ieee' and
19156         `$(tests-static)'.
19157         (tests-static): New variable.
19158         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19159         dependency to...
19160         [($(build-shared),yes)]
19161         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19162         ... this.
19163         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19164         New dependency.
19166 2013-09-09  Allan McRae  <allan@archlinux.org>
19168         [BZ #15939]
19169         * manual/string.texi (Collation Functions): Fix typo in
19170         strcoll example.
19171         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19173         [BZ #15893]
19174         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19176         [BZ #15892]
19177         * libio/memstream.c (open_memstream): Fix memory leak.
19178         * libio/wmemstream.c (open_wmemstream): Likewise.
19180         [BZ #15895]
19181         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19183 2013-09-09  Will Newton  <will.newton@linaro.org>
19185         * malloc/Makefile: Add tst-realloc to tests.
19186         * malloc/tst-realloc.c: New file.
19188 2013-09-09  Allan McRae  <allan@archlinux.org>
19190         [BZ #15844]
19191         * COPYING: Update from GNU website to fix FSF address.
19192         * COPYING.LIB: Likewise.
19194 2013-09-06  David S. Miller  <davem@davemloft.net>
19196         * po/zh_TW.po: Update Chinese (traditional) translation from
19197         translation project.
19199 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19200             Joseph Myers  <joseph@codesourcery.com>
19202         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19203         "localeinfo.h".
19204         (obstack_chunk_alloc): New macro.
19205         (obstack_chunk_free): Likewise.
19206         (record_offset): New function.
19207         (init_locale_data): Likewise.
19208         (align_locale_data): Likewise.
19209         (add_locale_empty): Likewise.
19210         (add_locale_raw_data): Likewise.
19211         (add_locale_raw_obstack): Likewise.
19212         (add_locale_string): Likewise.
19213         (add_locale_wstring): Likewise.
19214         (add_locale_uint32): Likewise.
19215         (add_locale_uint32_array): Likewise.
19216         (add_locale_char): Likewise.
19217         (start_locale_structure): Likewise.
19218         (end_locale_structure): Likewise.
19219         (start_locale_prelude): Likewise.
19220         (end_locale_prelude): Likewise.
19221         (write_locale_data): Take locale_file structure rather than an
19222         iovec.
19223         * locale/programs/locfile.h: Include "obstack.h".
19224         (struct locale_file): Change to store locale file contents instead
19225         of header.
19226         (init_locale_data): New prototype.
19227         (align_locale_data): Likewise.
19228         (add_locale_empty): Likewise.
19229         (add_locale_raw_data): Likewise.
19230         (add_locale_raw_obstack): Likewise.
19231         (add_locale_string): Likewise.
19232         (add_locale_wstring): Likewise.
19233         (add_locale_uint32): Likewise.
19234         (add_locale_uint32_array): Likewise.
19235         (add_locale_char): Likewise.
19236         (start_locale_structure): Likewise.
19237         (end_locale_structure): Likewise.
19238         (start_locale_prelude): Likewise.
19239         (end_locale_prelude): Likewise.
19240         (write_locale_data): Update prototype.
19241         * locale/programs/3level.h (struct TABLE): Remove result field.
19242         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19243         Use new locale_file interface.
19244         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19245         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19246         * locale/programs/ld-address.c (address_output): Use new
19247         locale_file interface.
19248         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19249         NO_ADD_LOCALE.
19250         (collate_finish): Don't call collseq_table_finalize.
19251         (collate_output): Use new locale_file interface.
19252         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19253         in file.
19254         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19255         (TABLE): Move defines earlier in file.
19256         (ELEMENT): Likewise.
19257         (DEFAULT): Likewise.
19258         (wctrans_table_add): Move macro and inline function earlier in
19259         file.
19260         (struct wctype_table): Move type earlier in file.
19261         (add_locale_wctype_table): New static prototype.
19262         (struct locale_ctype_t): Use logical types instead of struct iovec
19263         pointers for members.
19264         (ctype_output): Use new locale_file interface.
19265         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19266         new locale_file interface.
19267         (allocate_arrays): Update for use of new locale_file interface.
19268         * locale/programs/ld-identification.c (identification_output): Use
19269         new locale_file interface.
19270         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19271         * locale/programs/ld-messages.c (messages_output): Likewise.
19272         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19273         * locale/programs/ld-name.c (name_output): Likewise.
19274         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19275         * locale/programs/ld-paper.c (paper_output): Likewise.
19276         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19277         * locale/programs/ld-time.c (time_output): Likewise.
19279 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19281         * benchtests/Makefile: Add memrchr benchmark.
19282         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19283         benchmark as memrchr.
19284         * benchtests/bench-memrchr-ifunc.c: New file.
19285         * benchtests/bench-memrchr.c: New file.
19287 2013-09-06   Will Newton  <will.newton@linaro.org>
19289         * benchtests/Makefile (string-bench): Add memcpy.
19291 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19292             Cong Wang  <amwang@redhat.com>
19294         [BZ #15850]
19295         * sysdeps/unix/sysv/linux/bits/in.h
19296         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19297         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19298         before __USE_KERNEL_IPV6_DEFS uses.
19299         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19300         IPPROTO_BEETPH.
19301         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19302         sockaddr_in6, or ipv6_mreq.
19304 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19306         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19307         memory access for final bytes in some large inputs.
19308         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19310 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19312         * string/test-memrchr.c: New file.
19313         * string/test-memrchr-ifunc.c: New file.
19314         * string/Makefile: Add new memrchr testcase.
19316 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19318         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19319         fanotify_init returns EPERM.
19321 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19323         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19324         errors.
19325         (top level): Treat second token from macro or constant entries for
19326         allowed headers as allowed.
19327         * include/complex.h: Condition internal declarations on
19328         [!_ISOMAC].
19329         * include/fenv.h: Condition include of <stdbool.h> and internal
19330         declarations on [!_ISOMAC].
19332 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
19334         [BZ #15923]
19335         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19337 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19339         * configure.in (--enable-versioning): Remove configure option.
19340         (libc_cv_asm_symver_directive): Remove configure test.
19341         (libc_cv_ld_version_script_option): Likewise.
19342         (VERSIONING): Remove variable and AC_SUBST.
19343         (DO_VERSIONING): Remove AC_DEFINE.
19344         * configure: Regenerated.
19345         * config.h.in (DO_VERSIONING): Remove macro.
19346         * Makerules [$(versioning) = yes]: Change conditionals to
19347         [$(build-shared) = yes].
19348         * config.make.in (versioning): Remove variable.
19349         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19350         [$(build-shared) = yes].
19351         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19352         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19353         * elf/Makefile [$(versioning) = yes]: Change conditionals to
19354         [$(build-shared) = yes].
19355         * extra-lib.mk [$(versioning) = yes]: Likewise.
19356         * hurd/Makefile [$(versioning) = yes]: Likewise.
19357         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19358         [SHARED].
19359         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19360         [SHARED].
19361         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19362         [SHARED && !NO_HIDDEN].
19363         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19364         [SHARED].
19365         [SHARED && DO_VERSIONING]: Likewise..
19366         * libio/Makefile [$(versioning) = yes]: Change conditionals to
19367         [$(build-shared) = yes].
19368         * manual/install.texi (--disable-versioning): Remove
19369         documentation.
19370         * INSTALL: Regenerated.
19371         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19372         to [SHARED].
19373         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19374         [$(build-shared) = yes].
19375         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19376         * sysdeps/i386/i686/multiarch/strstr-c.c
19377         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19378         [SHARED && !NO_HIDDEN].
19379         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19380         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19381         * sysdeps/powerpc/powerpc32/dl-machine.c
19382         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19383         * sysdeps/powerpc/powerpc32/sysdep.h
19384         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19385         to [SHARED && PIC && !NO_HIDDEN].
19386         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19387         conditional to [SHARED].
19389 2013-09-04   Will Newton  <will.newton@linaro.org>
19391         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19392         * benchtests/bench-string.h: Include bench-timing.h instead
19393         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19394         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19395         call to HP_TIMING_DIFF_INIT.
19396         * benchtests/bench-memccpy.c: Use bench-timing.h macros
19397         instead of hp-timing.h macros.
19398         * benchtests/bench-memchr.c: Likewise.
19399         * benchtests/bench-memcmp.c: Likewise.
19400         * benchtests/bench-memcpy.c: Likewise.
19401         * benchtests/bench-memmem.c: Likewise.
19402         * benchtests/bench-memmove.c: Likewise.
19403         * benchtests/bench-memset.c: Likewise.
19404         * benchtests/bench-rawmemchr.c: Likewise.
19405         * benchtests/bench-strcasecmp.c: Likewise.
19406         * benchtests/bench-strcasestr.c: Likewise.
19407         * benchtests/bench-strcat.c: Likewise.
19408         * benchtests/bench-strchr.c: Likewise.
19409         * benchtests/bench-strcmp.c: Likewise.
19410         * benchtests/bench-strcpy.c: Likewise.
19411         * benchtests/bench-strcpy_chk.c: Likewise.
19412         * benchtests/bench-strlen.c: Likewise.
19413         * benchtests/bench-strncasecmp.c: Likewise.
19414         * benchtests/bench-strncat.c: Likewise.
19415         * benchtests/bench-strncmp.c: Likewise.
19416         * benchtests/bench-strncpy.c: Likewise.
19417         * benchtests/bench-strnlen.c: Likewise.
19418         * benchtests/bench-strpbrk.c: Likewise.
19419         * benchtests/bench-strrchr.c: Likewise.
19420         * benchtests/bench-strspn.c: Likewise.
19421         * benchtests/bench-strstr.c: Likewise.
19423 2013-09-04  Will Newton  <will.newton@linaro.org>
19425         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19427 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
19429         [BZ #15427]
19430         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19431         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19432         * math/libm-test.inc (lgamma_test_data): Add more tests.
19433         * sysdeps/i386/fpu/libm-test-ulps: Update.
19434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19436 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
19438         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19440         Add ifunc.
19441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19442         Add strcmp-sse2-unaligned
19443         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19445 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19447         * Versions.def (libc): Add GLIBC_2.19.
19449 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19451         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19452         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19454 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
19456         [BZ #14155]
19457         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19458         intermediate calculations in recurrence.
19459         (__ieee754_ynf): Likewise.
19460         * math/libm-test.inc (jn_test_data): Do not allow spurious
19461         underflow exception.  Add more tests.
19462         (yn_test_data): Add more tests.
19463         * sysdeps/i386/fpu/libm-test-ulps: Update.
19464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19466 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
19468         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19470 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19472         * csu/init-first.c: Fix then/than typos.
19473         * locale/programs/ld-collate.c: Likewise.
19474         * locale/programs/linereader.h: Likewise.
19475         * manual/charset.texi: Likewise.
19476         * manual/filesys.texi: Likewise.
19477         * manual/stdio.texi: Likewise.
19478         * manual/string.texi: Likewise.
19479         * stdlib/fmtmsg.c: Likewise.
19480         * sysdeps/i386/stpncpy.S: Likewise.
19481         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19482         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19483         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19484         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19486 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19488         * elf/dl-open.c: Fix typos.
19489         * iconvdata/gbbig5.c: Likewise.
19490         * iconvdata/iso-2022-jp.c: Likewise.
19491         * iconv/gconv_int.h: Likewise.
19492         * iconv/loop.c: Likewise.
19493         * nis/rpcsvc/nis.h: Likewise.
19494         * resolv/ns_name.c: Likewise.
19495         * stdio-common/vfscanf.c: Likewise.
19496         * streams/stropts.h: Likewise.
19497         * sunrpc/rpc_thread.c: Likewise.
19498         * sysdeps/i386/strpbrk.S: Likewise.
19499         * sysdeps/ieee754/k_standard.c: Likewise.
19500         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19501         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19502         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19503         * sysdeps/mach/hurd/profil.c: Likewise.
19504         * sysdeps/s390/dl-procinfo.h: Likewise.
19505         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19506         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19507         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19508         * sysdeps/x86_64/dl-trampoline.S: Likewise.
19509         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19511 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
19513         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19516 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
19518         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19519         aix specific files.
19520         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19521         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19522         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19523         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19524         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19525         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19526         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19527         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19529 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19530             Roland McGrath  <roland@hack.frob.com>
19532         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19533         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19535 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19537         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19538         __executable_start symbol instead of _start.
19540 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19542         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19543         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19544         Move macros to...
19545         * sysdeps/gnu/ldsodefs.h: ... this new file.
19547         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19548         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19549         instead of ELFOSABI_LINUX.
19551         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19552         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19553         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19554         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19555         Likewise.
19556         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19557         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19558         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19559         Likewise.
19560         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19561         (ibm_extended_long_double): Add ieee_nan member.
19562         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19563         (do_test): New function.
19565         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19566         TEST_TRUNC.
19567         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19568         functions, renamed from truncdfsf_test, trunctfsf_test,
19569         trunctfdf_test.
19570         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19571         functions.
19572         (do_test): Run all these.
19574 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
19576         * argp/argp-help.c: Fix typos.
19577         * argp/argp-parse.c: Likewise.
19578         * debug/backtracesyms.c: Likewise.
19579         * elf/elf.h: Likewise.
19580         * malloc/malloc.c: Likewise.
19581         * nis/nis_print.c: Likewise.
19582         * resolv/res_comp.c: Likewise.
19583         * stdlib/stdlib.h: Likewise.
19584         * sunrpc/clnt_tcp.c: Likewise.
19585         * sunrpc/clnt_udp.c: Likewise.
19586         * sunrpc/clnt_unix.c: Likewise.
19587         * sysdeps/unix/bsd/ptsname.c: Likewise.
19588         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19589         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19591         Likewise.
19592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19593         Likewise.
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19595         Likewise.
19596         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19598 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19600         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19603 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
19605         [BZ #15897]
19606         * dlfcn/Makefile (tests): Add bug-dl-leaf.
19607         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19608         ($(objpfx)bug-dl-leaf): New rule.
19609         ($(objpfx)bug-dl-leaf.so): Likewise.
19610         ($(objpfx)bug-dl-leaf.out): Likewise.
19611         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19612         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19613         * dlfcn/bug-dl-leaf.c: New test.
19614         * dlfcn/bug-dl-leaf-lib.c: Likewise.
19615         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19616         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19617         (dlclose): Likewise.
19618         (dlmopen): Likewise.
19620 2013-08-27  Roland McGrath  <roland@hack.frob.com>
19622         * include/netdb.h [!_ISOMAC]:
19623         Don't include <tls.h>.
19624         (h_errno, __libc_h_errno): Move declaration and macros out of
19625         [_LIBC_REENTRANT].
19627         * include/resolv.h [_RESOLV_H_]:
19628         Don't include <tls.h>.
19629         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19630         * resolv/res_libc.c: Don't include <tls.h>.
19631         (_res): Use __attribute__ ((nocommon)) in place of
19632         __attribute__ ((section (".bss"))).
19634         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19635         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19637         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19639         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19640         only under [SIOCGIFCONF && SIOCGIFNETMASK].
19642         * resolv/res_mkquery.c: Include <sys/time.h>.
19644         * inet/ifreq.c: Moved to ...
19645         * sysdeps/unix/ifreq.c: ... here.
19646         * inet/ifreq.c: New file, true stub version.
19648         * socket/sa_len.c: New file.
19649         * socket/Makefile (aux): Add it.
19650         * sysdeps/unix/sysv/linux/Makefile
19651         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19652         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19653         and #include <socket/sa_len.c>.
19654         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19655         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19657         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19658         * bits/socket.h: ... here.
19660         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19661         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19662         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19664 2013-08-27  Andreas Schwab  <schwab@suse.de>
19666         [BZ #15736]
19667         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19668         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19669         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19670         * string/test-strcasecmp.c (test_main): Run tests in several
19671         locales.
19672         * string/test-strncasecmp.c (test_main): Likewise.
19674         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19675         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19676         to __strcasecmp_nonascii and __strncasecmp_nonascii.
19677         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19678         (__strncasecmp_ssse3) [PIC]: Likewise.
19680 2013-08-26  Roland McGrath  <roland@hack.frob.com>
19682         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19684         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19685         instead of explicitly declaring xdecrypt.
19686         * nis/nss_nis/nis-publickey.c: Likewise.
19688 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19690         [BZ #15890]
19691         * nscd/aicache.c: Include res_hconf.h.
19692         (addhstaiX): Initialize res_hconf.
19694 2013-08-26  Andreas Schwab  <schwab@suse.de>
19696         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19697         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19699 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19701         * nscd/aicache.c (addhstaiX): Fix indentation.
19703 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
19705         * configure.ac: Quote $build_pt_chown test.
19706         * configure: Regenerated.
19708 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
19710         [BZ #15532]
19711         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19712         * math/s_cexpf.c (__cexpf): Likewise.
19713         * math/s_cexpl.c (__cexpl): Likewise.
19714         * math/libm-test.inc (cexp_test_data): Correct expected return
19715         value for NaN + i0.  Add another test.
19717 2013-08-22  David S. Miller  <davem@davemloft.net>
19719         * po/ca.po: Update Catalan translation from translation project.
19720         * po/uk.po: Add Ukrainian translations from translation project.
19722 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
19724         [BZ #15797]
19725         * math/s_fdim.c (__fdim): Check for infinite arguments if result
19726         is infinite, not alongside NaN test.
19727         * math/s_fdimf.c (__fdimf): Likewise.
19728         * math/s_fdiml.c (__fdiml): Likewise.
19729         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
19730         errno is unchanged.
19732 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
19734         * argp/argp-help.c: Fix typos.
19735         * crypt/speeds.c: Likewise.
19736         * csu/check_fds.c: Likewise.
19737         * elf/dl-load.c: Likewise.
19738         * elf/dl-open.c: Likewise.
19739         * elf/reldep3.c: Likewise.
19740         * elf/reldep.c: Likewise.
19741         * elf/sprof.c: Likewise.
19742         * iconv/iconv_charmap.c: Likewise.
19743         * iconv/skeleton.c: Likewise.
19744         * iconv/strtab.c: Likewise.
19745         * io/lockf64.c: Likewise.
19746         * libio/libioP.h: Likewise.
19747         * resolv/gai_notify.c: Likewise.
19748         * resolv/ns_name.c: Likewise.
19749         * resolv/ns_samedomain.c: Likewise.
19750         * resolv/res_send.c: Likewise.
19751         * stdlib/random.c: Likewise.
19752         * sunrpc/rpc/xdr.h: Likewise.
19753         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19754         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19755         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19756         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19757         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19758         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19759         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19760         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19761         * sysdeps/mach/hurd/check_fds.c: Likewise.
19762         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19763         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19764         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19765         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19766         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19767         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19768         * sysdeps/pthread/aio_notify.c: Likewise.
19769         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19770         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19771         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19772         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19773         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19775 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19777         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19778         version if bit_Slow_SSE4_2 is set.
19779         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19780         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19782 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19784         [BZ #15867]
19785         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19786         trampoline stack frame information.
19787         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19788         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19789         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19790         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19791         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19792         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19793         (_libc_vdso_platform_setup): Initialize the signal trampolines.
19794         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19795         sa_flags value.
19796         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19797         interrupting a syscall and set with option SA_SIGINFO.
19799 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19801         [BZ #15531]
19802         * math/s_cproj.c (__cproj): Only return an infinity if one part of
19803         argument is infinite.
19804         * math/s_cprojf.c (__cprojf): Likewise.
19805         * math/s_cprojl.c (__cprojl): Likewise.
19806         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19807         * math/libm-test.inc (cproj_test_data): Add more tests.
19809         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19811         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19812         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19813         size.  Use __ffs to determine corresponding shift.
19815 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19816             Roland McGrath  <roland@hack.frob.com>
19818         * Makefile (INSTALL): Remove trailing blank lines from output of
19819         makeinfo.
19821 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19823         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19824         Align 32 bit compat elf_greg to 8 bytes.
19826 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
19828         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19830 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19832         * string/strcoll_l.c (coll_seq): New structure.
19833         (get_next_seq_cached): New function.
19834         (get_next_seq): New function.
19835         (do_compare): New function.
19836         (STRCOLL): Use GNU style definition.  Simplify implementation
19837         by using get_next_seq, get_next_seq_cached and do_compare.
19839 2013-08-16  Florian Weimer  <fweimer@redhat.com>
19841         [BZ #14699]
19842         CVE-2013-4237
19843         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19844         member.
19845         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19846         member.
19847         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19848         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19849         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
19850         conditional.
19851         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19852         GETDENTS_64BIT_ALIGNED.
19853         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19854         * manual/filesys.texi (Reading/Closing Directory): Document
19855         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
19856         strongly.
19857         * manual/conf.texi (Limits for Files): Add portability note to
19858         NAME_MAX, PATH_MAX.
19859         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19861 2013-08-13  Andreas Schwab  <schwab@suse.de>
19863         [BZ #15749]
19864         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19865         of fabs.
19866         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19867         LDBL_MAX_EXP >= 16384]: Add tests for it.
19869 2013-08-12  David S. Miller  <davem@davemloft.net>
19871         * version.h (RELEASE): Set to "development".
19872         (VERSION): Set to "2.18.90".
19873         * NEWS: Add 2.19 section.
19875 2013-08-03  David S. Miller  <davem@davemloft.net>
19877         * po/ko.po: Update Korean translation from translation project.
19879 2013-08-01  David S. Miller  <davem@davemloft.net>
19881         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
19882         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19883         Bilka.
19885 2013-07-30  David S. Miller  <davem@davemloft.net>
19887         * po/fr.po: Update French translation from translation project.
19889 2013-07-28  David S. Miller  <davem@davemloft.net>
19891         * po/cs.po: Update Czech translation from translation project.
19893         * po/sv.po: Update Swedish translation from translation project.
19895 2013-07-27  David S. Miller  <davem@davemloft.net>
19897         * po/eo.po: Update Esperanto translation from translation project.
19899         * po/vi.po: Update Vietnamese translation from translation project.
19901         * po/de.po: Update German translation from translation project.
19903 2013-07-26  David S. Miller  <davem@davemloft.net>
19905         * po/bg.po: Update Bulgarian translation from translation project.
19907         * po/nl.po: Update Dutch translation from translation project.
19908         * po/pl.po: Update Polish translation from translation project.
19909         * po/ru.po: Update Russian translation from translation project.
19911 2013-07-24  David S. Miller  <davem@davemloft.net>
19913         * po/libc.pot: Update.
19915 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19917         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19918         variable page size.
19919         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19920         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19921         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19923 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19925         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19927 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19928             Andreas Schwab  <schwab@suse.de>
19929             Roland McGrath  <roland@hack.frob.com>
19930             Joseph Myers  <joseph@codesourcery.com>
19931             Carlos O'Donell  <carlos@redhat.com>
19933         [BZ #15755]
19934         * config.h.in: Define HAVE_PT_CHOWN.
19935         * config.make.in (build-pt-chown): New variable.
19936         * configure.in (--enable-pt_chown): New configure option.
19937         * configure: Regenerate.
19938         * login/Makefile: Include Makeconfig.  Build pt_chown only if
19939         build-pt-chown is enabled.
19940         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19941         pt_chown to fix pty ownership.
19942         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19943         CLOSE_ALL_FDS.
19944         * manual/install.texi (Configuring and compiling): Mention
19945         --enable-pt_chown. Add @findex for grantpt.
19946         * INSTALL: Regenerate.
19948 2013-07-20  David S. Miller  <davem@davemloft.net>
19950         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19951         difference between 32-bit and 64-bit.
19953 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
19955         [BZ #15711]
19956         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19957         Avoid system header dependency with -ffreestanding.
19958         ($(objpfx)bits/syscall%d): Likewise.
19960 2013-07-13  David S. Miller  <davem@davemloft.net>
19962         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19963         underflows from atanl/atan2l due to bug 15319.
19964         (casinh_test_data): Likewise.
19966 2013-07-07  David S. Miller  <davem@davemloft.net>
19968         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19970 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
19972         * sysdeps/i386/fpu/libm-test-ulps: Update.
19973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19975 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19977         * configure.in (--enable-lock-elision): Fix message text.
19978         * INSTALL: Regenerate.
19979         * configure: Regenerate.
19981 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19985 2013-07-03  Andreas Jaeger  <aj@suse.de>
19987         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19988         define.
19989         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19990         (ptrace_peeksiginfo_args): Add.
19991         (__ptrace_peeksiginfo_flags): Add.
19992         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19993         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19994         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19996 2013-07-03  Allan McRae  <allan@archlinux.org>
19998         * sysdeps/i386/fpu/libm-test-ulps: Update.
20000 2013-07-02  David S. Miller  <davem@davemloft.net>
20002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20004 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
20006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20008 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20010         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20013 2013-07-02  Andi Kleen <ak@linux.intel.com>
20015         * config.h.in (ENABLE_LOCK_ELISION): Add.
20016         * configure.in (--enable-lock-elision): Add option.
20017         * manual/install.texi: Document --enable lock elision.
20018         * configure: Regenerate
20019         * INSTALL: Regenerate.
20021 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
20023         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20024         SSE4.2 strcasecmp for libc.a.
20025         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20027 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
20029         [BZ #13304]
20030         * soft-fp/op-common.h (_FP_FMA): New macro.
20031         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20032         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
20033         (_FP_MUL_MEAT_1_imm): ... here.
20034         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
20035         (_FP_MUL_MEAT_1_wide): ... here.
20036         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
20037         (_FP_MUL_MEAT_1_hard): ... here.
20038         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20039         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
20040         (_FP_MUL_MEAT_2_wide): ... here.
20041         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
20042         (_FP_MUL_MEAT_2_wide_3mul): ... here.
20043         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
20044         (_FP_MUL_MEAT_2_gmp): ... here.
20045         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20046         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
20047         (_FP_MUL_MEAT_4_wide): ... here.
20048         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
20049         (_FP_MUL_MEAT_4_gmp): ... here.
20050         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20051         (_FP_WFRACBITS_DW_S): Likewise.
20052         (_FP_WFRACXBITS_DW_S): Likewise.
20053         (_FP_HIGHBIT_DW_S): Likewise.
20054         (FP_FMA_S): Likewise.
20055         (_FP_FRAC_HIGH_DW_S): Likewise.
20056         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20057         (_FP_WFRACBITS_DW_D): Likewise.
20058         (_FP_WFRACXBITS_DW_D): Likewise.
20059         (_FP_HIGHBIT_DW_D): Likewise.
20060         (FP_FMA_D): Likewise.
20061         (_FP_FRAC_HIGH_DW_D): Likewise.
20062         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20063         (_FP_WFRACBITS_DW_E): Likewise.
20064         (_FP_WFRACXBITS_DW_E): Likewise.
20065         (_FP_HIGHBIT_DW_E): Likewise.
20066         (FP_FMA_E): Likewise.
20067         (_FP_FRAC_HIGH_DW_E): Likewise.
20068         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20069         (_FP_WFRACBITS_DW_Q): Likewise.
20070         (_FP_WFRACXBITS_DW_Q): Likewise.
20071         (_FP_HIGHBIT_DW_Q): Likewise.
20072         (FP_FMA_Q): Likewise.
20073         (_FP_FRAC_HIGH_DW_Q): Likewise.
20074         * soft-fp/fmasf4.c: New file.
20075         * soft-fp/fmadf4.c: Likewise.
20076         * soft-fp/fmatf4.c: Likewise.
20078 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20080         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20081         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20082         Silvermont.
20083         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20084         macro.
20085         (index_Slow_SSE4_2): Likewise.
20086         (index_Prefer_PMINUB_for_stringop): Likewise.
20087         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20088         bit_Slow_SSE4_2 is set.
20089         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20090         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20092 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20094         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20095         rtld_global._dl_hwcap2.
20096         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20097         POWER8.
20098         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20099         POWER8 feature descriptions defined in _dl_hwcap2.
20100         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20101         string handling for POWER8 feature bits.
20102         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20103         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20104         _dl_powerpc_cap_flags.
20105         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20106         * sysdeps/powerpc/rtld-global-offsets.sym
20107         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20108         _dl_hwcap2 in the rtld_global_ro structure.
20110 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20112         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20113         hardware capabilities in support of AT_HWCAP2.
20114         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20115         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20116         GLRO(dl_hwcap2).
20117         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20118         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20119         explicitly the unknown a_type display mechanism is used.
20120         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20121         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20122         struct member.
20123         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20124         to macro prototype for AT_HWCAP2 support.
20125         * sysdeps/i386/dl-procinfo.h: Likewise.
20126         * sysdeps/s390/dl-procinfo.h: Likewise.
20127         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20128         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20129         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20130         return -1 for unknown a_type display fallback.
20131         * sysdeps/sparc/dl-procinfo.h: Likewise.
20132         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20133         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20135 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20137         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20138         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20140 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20142         [BZ #12492]
20143         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20144         mprotect making __stack_prot writable.
20146 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20147             Joseph Myers  <joseph@codesourcery.com>
20149         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20150         as being properly aligned.
20152 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20154         * dlfcn/modstatic5.c: New file.
20155         * dlfcn/tststatic5.c: New file.
20156         * dlfcn/Makefile (tests): Add tststatic5.
20157         (tests-static): Likewise.
20158         (modules-names): Add modstatic5.
20159         (tststatic5-ENV): New variable.
20160         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20162         [BZ #15022]
20163         * elf/dl-support.c (_dl_main_map): New variable.
20164         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20165         (_dl_nns, _dl_load_adds): Set to 1.
20166         (_dl_initial_searchlist): Refer to _dl_main_map.
20167         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20168         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20169         call to _dl_get_origin.
20170         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20171         around call_map.
20172         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20173         * dlfcn/modstatic3.c: New file.
20174         * dlfcn/tststatic3.c: New file.
20175         * dlfcn/tststatic4.c: New file.
20176         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20177         (tests-static): Likewise.
20178         (modules-names): Add modstatic3.
20179         (tststatic3-ENV, tststatic4-ENV): New variables.
20180         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20181         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20183 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20185         * configure.in (CC): Require GCC version 4.4 or later.
20186         * configure: Regenerated.
20187         * manual/install.texi (Tools for Compilation): Update GCC version
20188         requirement.
20189         * INSTALL: Regenerated.
20191 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20193         [BZ #15674]
20194         * string/test-memcmp.c (check2): New.
20195         (main): Call check2.
20197         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20199 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20201         [BZ #15022]
20202         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20203         over to...
20204         (dl_open_worker) [!SHARED]: ... here.
20206 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20208         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20210 2013-06-25  Richard Henderson  <rth@redhat.com>
20212         * locale/programs/locarchive.c: Include <libc-internal.h>
20214 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20216         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20217         trailing whitespace removed.
20219 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20221         [BZ #10283]
20222         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20223         * locale/programs/locarchive.c: Include libc-mmap.h.
20224         (prepare_address_space): Take two new outputs (the mmap base and len).
20225         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20226         values.
20227         (create_archive): Declare new mmap base and len values for
20228         prepare_address_space, and store the result in ah.
20229         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20230         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20231         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20232         Declare new mmap base and len values for
20233         prepare_address_space, and store the result in new_ah.
20234         (open_archive): Declare new mmap base and len values for
20235         prepare_address_space, and store the result in ah.
20236         (close_archive): If ah->mmap_base is not NULL, use that and
20237         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20238         * sysdeps/generic/libc-mmap.h: New file.
20240 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20242         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20243         (ALIGN_UP): Likewise.
20244         (PTR_ALIGN_DOWN): Likewise.
20245         (PTR_ALIGN_UP): Likewise.
20247 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20249         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20250         entry mapped to PPC_PLATFORM_POWER8.
20251         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20252         POWER8.
20253         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20254         (_dl_string_platform): Add case for exporting platform position for
20255         POWER8.
20256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20257         search path to sysdeps/powerpc/powerpc32/power8 directory.
20258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20259         search path to sysdeps/powerpc/powerpc64/power8 directory.
20260         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20261         power7 directories.
20262         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20263         power7 directories.
20265 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20267         * INSTALL: Regenerate.
20269         * nscd/connections.c (nscd_init): Fix comment.
20271 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20273         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20275         [BZ #15667]
20276         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20277         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20279 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20281         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20282         DL_DST_REQ_STATIC.
20283         (DL_DST_REQ_STATIC): Remove macro.
20285 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20287         [BZ #7006]
20288         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20289         with a shift of 0 bits.
20291 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20293         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20294         $(tststatic-ENV).
20296 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20298         [BZ #15655]
20299         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20301 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20303         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20304         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20305         accepts -fno-tree-loop-distribute-patterns.
20306         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20307         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20308         recursive call.
20309         * string/memset.c (memset): Likewise.
20310         * string/test-memmove.c (simple_memmove): Disable loop transformation
20311         to library calls.
20312         * string/test-memset.c (simple_memset): Likewise.
20313         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20314         * benchtests/bench-memset.c (simple_memset): Likewise.
20315         * configure: Regenerated.
20317 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20319         * math/test-misc.c (main): Ignore fesetround failure when failures
20320         of subsequent rounding tests would be ignored.
20322         [BZ #15654]
20323         * math/fedisblxcpt.c (fedisableexcept): Return 0.
20324         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20325         * math/fegetenv.c (__fegetenv): Return 0.
20326         * math/fegetexcept.c (fegetexcept): Return 0.
20327         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20328         FE_TONEAREST.
20329         * math/feholdexcpt.c (feholdexcept): Return 0.
20330         * math/fesetenv.c (__fesetenv): Return 0.
20331         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20332         argument FE_TONEAREST.
20333         * math/feupdateenv.c (__feupdateenv): Return 0.
20334         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20336 2013-06-18  Roland McGrath  <roland@hack.frob.com>
20338         * elf/rtld-Rules (rtld-compile-command.S): New variable.
20339         (rtld-compile-command.s, rtld-compile-command.c): New variables.
20340         ($(objpfx)rtld-%.os rules): Use them.
20342 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20344         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20345         fields.
20347 2013-06-17  Roland McGrath  <roland@hack.frob.com>
20349         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20350         length of target pattern, then descending length of dependency pattern.
20351         * configure.in (AWK): Require gawk 3.1.2 or newer.
20352         * manual/install.texi (Tools for Compilation): Say that we do.
20353         * configure: Regenerated.
20355         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20356         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20357         * scripts/sysd-rules.awk: ... this new script.
20358         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20359         than a glob-style pattern.
20361 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
20363         * math/test-misc.c (main): Do not treat incorrectly rounded
20364         conversions as failure unless ROUNDING_TESTS passes.
20366 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
20368         [BZ #15631]
20369         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20370         restore exception state around main square root computation, then
20371         check for inexactness explicitly.
20373         * math/libm-test.inc (fma_test_data): Add another test.
20375 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20377         * manual/threads.texi (Non-POSIX Extensions): New document
20378         node.  Document pthread_getattr_default_np and
20379         pthread_setattr_default_np.
20381         * Versions.def (libpthread): Add GLIBC_2.18.
20382         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20384         Likewise.
20385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20386         Likewise.
20387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20388         Likewise.
20389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20390         Likewise.
20391         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20392         Likewise.
20393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20394         Likewise.
20395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20396         Likewise.
20397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20398         Likewise.
20399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20400         Likewise.
20402 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20405         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20407 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20408             H.J. Lu  <hjl.tools@gmail.com>
20410         [BZ #15627]
20411         * sysdeps/x86_64/rtld-memset.c: Remove file.
20412         * sysdeps/x86_64/rtld-memset.S: New file.
20414 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
20416         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20417         (test_in_one_mode): Take arguments for whether the rounding mode
20418         is supported for each floating-point type.
20419         (do_test): Pass new arguments to test_in_one_mode using
20420         ROUNDING_TESTS.
20422 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20424         * posix/tst-waitid.c (do_test): Distinguish different instances of
20425         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
20426         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20427         before entering the kernel for waitpid.
20429 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20431         * NEWS: Fix note on clock function precision.  Text by Roland
20432         McGrath.
20434 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20436         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20437         it into place only when and if the sanity check passes.
20439 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
20441         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20442         output for whether conversion result is exact.  Take argument
20443         indicating whether type is IBM long double.
20444         (round_for_all): Change need_exact field to ibm_ld.
20445         * stdlib/tst-strtod-round.c (struct exactness): New type.
20446         (struct test): Change bool ld_ok field to struct exactness exact.
20447         (TEST): Update all definitions for change to field.
20448         (tests): Regenerate array contents.
20449         (test_in_one_mode): Take pointer to new field instead of old ld_ok
20450         field value.  Check for IBM long double here.
20451         (do_test): Update calls to test_in_one_mode.
20453 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20455         [BZ #12515]
20456         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20457         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20459 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20461         [BZ #15605]
20462         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20463         generated by the compiler on loop optimizations.
20464         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20465         general definitions.
20467 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
20469         * math/bug-nextafter.c: Include <math-tests.h>.
20470         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20471         the relevant type.
20472         * math/bug-nexttoward.c: Include <math-tests.h>.
20473         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20474         the relevant type.
20475         * math/test-misc.c: Include <math-tests.h>.
20476         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20477         the relevant type.
20479 2013-06-12  Andreas Jaeger  <aj@suse.de>
20481         * po/ia.po: Update Interlingua translation from translation
20482         project.
20484 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20486         * include/fenv.h: Include stdbool.h.
20487         (struct rm_ctx): New structure.
20488         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20489         Define macro.
20490         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20491         (SET_RESTORE_ROUNDF): Likewise.
20492         (SET_RESTORE_ROUNDL): Likewise.
20493         (SET_RESTORE_ROUND_NOEX): Likewise.
20494         (SET_RESTORE_ROUND_NOEXF): Likewise.
20495         (SET_RESTORE_ROUND_NOEXL): Likewise.
20496         (SET_RESTORE_ROUND_53BIT): Likewise.
20497         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20498         (libc_feresetround_noexf_ctx): Likewise.
20499         (libc_feresetround_noexl_ctx): Likewise.
20500         (libc_feholdsetround_53bit_ctx): Likewise.
20501         (libc_feresetround_53bit_ctx): Likewise.
20502         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20503         (libc_feholdexcept_setround_sse_ctx): New function.
20504         (libc_fesetenv_sse_ctx): Likewise.
20505         (libc_feupdateenv_sse_ctx): Likewise.
20506         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20507         (libc_feholdexcept_setround_387_ctx): Likewise.
20508         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20509         (libc_feholdsetround_387_prec_ctx): Likewise.
20510         (libc_feholdsetround_387_ctx): Likewise.
20511         (libc_feholdsetround_387_53bit_ctx): Likewise.
20512         (libc_feholdsetround_sse_ctx): Likewise.
20513         (libc_feresetround_sse_ctx): Likewise.
20514         (libc_feresetround_387_ctx): Likewise.
20515         (libc_feupdateenv_387_ctx): Likewise.
20516         (libc_feholdexcept_setroundf_ctx): Define macro.
20517         (libc_fesetenvf_ctx): Likewise.
20518         (libc_feupdateenvf_ctx): Likewise.
20519         (libc_feholdsetroundf_ctx): Likewise.
20520         (libc_feresetroundf_ctx): Likewise.
20521         (libc_feholdexcept_setround_ctx): Likewise.
20522         (libc_fesetenv_ctx): Likewise.
20523         (libc_feupdateenv_ctx): Likewise.
20524         (libc_feholdsetround_ctx): Likewise.
20525         (libc_feresetround_ctx): Likewise.
20526         (libc_feholdexcept_setroundl_ctx): Likewise.
20527         (libc_feupdateenvl_ctx): Likewise.
20528         (libc_feholdsetroundl_ctx): Likewise.
20529         (libc_feresetroundl_ctx): Likewise.
20530         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20531         (libc_feresetround_53bit_ctx): Likewise.
20533 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20535         * locale/iso-639.def: Convert to UTF-8.
20537 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
20539         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20540         (EXCEPTION_TESTS_double): Likewise.
20541         (EXCEPTION_TESTS_long_double): Likewise.
20542         (EXCEPTION_TESTS): Likewise.
20543         * math/libm-test.inc (test_exceptions): Only test exceptions if
20544         EXCEPTION_TESTS (FLOAT).
20546 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20548         * benchtests/Makefile (string-bench): Add strcpy_chk and
20549         stpcpy_chk.
20550         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20551         * benchtests/bench-stpcpy_chk.c: New file.
20552         * benchtests/bench-strcpy_chk-ifunc.c: New file.
20553         * benchtests/bench-strcpy_chk.c: New file.
20554         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20555         code.
20556         (do_test): Likewise.
20558 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20560         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20561         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20562         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20563         with tabs where appropriate.
20564         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20565         dl-procinfo.h.
20566         [PPC_PLATFORM_PPC440]: Likewise.
20567         [PPC_PLATFORM_PPC464]: Likewise.
20568         [PPC_PLATFORM_PPC476]: Likewise.
20569         (_dl_string_platform): Add support for detecting ppc405, ppc440,
20570         ppc464, and ppc476 platform strings merging from ports/
20571         dl-procinfo.h.
20573 2013-06-11  Andreas Schwab  <schwab@suse.de>
20575         [BZ #14991]
20576         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20577         (from_ucs4_idx): Regenerate.
20578         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20579         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20580         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20581         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20582         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20583         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20584         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20585         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20586         from FROM_LOOP and TO_LOOP specific macros.
20587         (BODY): Handle combining characters.
20588         * iconvdata/BIG5HKSCS.irreversible: Update.
20589         * iconvdata/BIG5HKSCS.precomposed: New file.
20590         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20591         characters.
20592         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20594 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20596         * include/sys/time.h: Fix indentation and add copyright header.
20598         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20599         (do_test): Likewise.
20600         * string/test-memchr.c (do_one_test): Likewise.
20601         (do_test): Likewise.
20602         * string/test-memcmp.c (do_one_test): Likewise.
20603         (do_test): Likewise.
20604         * string/test-memcpy.c (do_one_test): Likewise.
20605         (do_test): Likewise.
20606         * string/test-memmem.c (do_one_test): Likewise.
20607         (do_test): Likewise.
20608         (do_random_tests): Likewise.
20609         * string/test-memmove.c (do_one_test): Likewise.
20610         (do_test): Likewise.
20611         * string/test-memset.c (do_one_test): Likewise.
20612         (do_test): Likewise.
20613         * string/test-rawmemchr.c (do_one_test): Likewise.
20614         (do_test): Likewise.
20615         * string/test-strcasecmp.c (do_one_test): Likewise.
20616         (do_test): Likewise.
20617         * string/test-strcasestr.c (do_one_test): Likewise.
20618         (do_test): Likewise.
20619         * string/test-strcat.c (do_one_test): Likewise.
20620         (do_test): Likewise.
20621         * string/test-strchr.c (do_one_test): Likewise.
20622         (do_test): Likewise.
20623         * string/test-strcmp.c (do_one_test): Likewise.
20624         (do_test): Likewise.
20625         * string/test-strcpy.c (do_one_test): Likewise.
20626         (do_test): Likewise.
20627         * string/test-string.h: Likewise.
20628         (test_init): Likewise.
20629         * string/test-strlen.c (do_one_test): Likewise.
20630         (do_test): Likewise.
20631         * string/test-strncasecmp.c (do_one_test): Likewise.
20632         (do_test): Likewise.
20633         * string/test-strncat.c (do_one_test): Likewise.
20634         (do_test): Likewise.
20635         * string/test-strncmp.c (do_one_test): Likewise.
20636         (do_test_limit): Likewise.
20637         (do_test): Likewise.
20638         * string/test-strncpy.c (do_one_test): Likewise.
20639         (do_test): Likewise.
20640         * string/test-strnlen.c (do_one_test): Likewise.
20641         (do_test): Likewise.
20642         * string/test-strpbrk.c (do_one_test): Likewise.
20643         (do_test): Likewise.
20644         * string/test-strrchr.c (do_one_test): Likewise.
20645         (do_test): Likewise.
20646         * string/test-strspn.c (do_one_test): Likewise.
20647         (do_test): Likewise.
20648         * string/test-strstr.c (do_one_test): Likewise.
20649         (do_test): Likewise.
20651         * benchtests/Makefile (string-bench): Add string benchmarks.
20652         * benchtests/bench-bcopy-ifunc.c: New file.
20653         * benchtests/bench-bcopy.c: New file.
20654         * benchtests/bench-bzero-ifunc.c: New file.
20655         * benchtests/bench-bzero.c: New file.
20656         * benchtests/bench-memccpy-ifunc.c: New file.
20657         * benchtests/bench-memccpy.c: New file.
20658         * benchtests/bench-memchr-ifunc.c: New file.
20659         * benchtests/bench-memchr.c: New file.
20660         * benchtests/bench-memcmp-ifunc.c: New file.
20661         * benchtests/bench-memcmp.c: New file.
20662         * benchtests/bench-memmem-ifunc.c: New file.
20663         * benchtests/bench-memmem.c: New file.
20664         * benchtests/bench-memmove-ifunc.c: New file.
20665         * benchtests/bench-memmove.c: New file.
20666         * benchtests/bench-mempcpy-ifunc.c: New file.
20667         * benchtests/bench-mempcpy.c: New file.
20668         * benchtests/bench-memset-ifunc.c: New file.
20669         * benchtests/bench-memset.c: New file.
20670         * benchtests/bench-rawmemchr-ifunc.c: New file.
20671         * benchtests/bench-rawmemchr.c: New file.
20672         * benchtests/bench-stpcpy-ifunc.c: New file.
20673         * benchtests/bench-stpcpy.c: New file.
20674         * benchtests/bench-stpncpy-ifunc.c: New file.
20675         * benchtests/bench-stpncpy.c: New file.
20676         * benchtests/bench-strcasecmp-ifunc.c: New file.
20677         * benchtests/bench-strcasecmp.c: New file.
20678         * benchtests/bench-strcasestr-ifunc.c: New file.
20679         * benchtests/bench-strcasestr.c: New file.
20680         * benchtests/bench-strcat-ifunc.c: New file.
20681         * benchtests/bench-strcat.c: New file.
20682         * benchtests/bench-strchr-ifunc.c: New file.
20683         * benchtests/bench-strchr.c: New file.
20684         * benchtests/bench-strchrnul-ifunc.c: New file.
20685         * benchtests/bench-strchrnul.c: New file.
20686         * benchtests/bench-strcmp-ifunc.c: New file.
20687         * benchtests/bench-strcmp.c: New file.
20688         * benchtests/bench-strcpy-ifunc.c: New file.
20689         * benchtests/bench-strcpy.c: New file.
20690         * benchtests/bench-strcspn-ifunc.c: New file.
20691         * benchtests/bench-strcspn.c: New file.
20692         * benchtests/bench-strlen-ifunc.c: New file.
20693         * benchtests/bench-strlen.c: New file.
20694         * benchtests/bench-strncasecmp-ifunc.c: New file.
20695         * benchtests/bench-strncasecmp.c: New file.
20696         * benchtests/bench-strncat-ifunc.c: New file.
20697         * benchtests/bench-strncat.c: New file.
20698         * benchtests/bench-strncmp-ifunc.c: New file.
20699         * benchtests/bench-strncmp.c: New file.
20700         * benchtests/bench-strncpy-ifunc.c: New file.
20701         * benchtests/bench-strncpy.c: New file.
20702         * benchtests/bench-strnlen-ifunc.c: New file.
20703         * benchtests/bench-strnlen.c: New file.
20704         * benchtests/bench-strpbrk-ifunc.c: New file.
20705         * benchtests/bench-strpbrk.c: New file.
20706         * benchtests/bench-strrchr-ifunc.c: New file.
20707         * benchtests/bench-strrchr.c: New file.
20708         * benchtests/bench-strspn-ifunc.c: New file.
20709         * benchtests/bench-strspn.c: New file.
20710         * benchtests/bench-strstr-ifunc.c: New file.
20711         * benchtests/bench-strstr.c: New file.
20713         * benchtests/Makefile: Disable parallel execution of targets.
20714         (string-bench): Add memcpy.
20715         (benchset): New variable to store a list of benchmark sets.
20716         (bench-func): Renamed from bench.
20717         (bench-set): New target.
20718         (bench): Depend on bench-func and bench-set.
20719         * benchtests/README: Add section on benchmark sets.
20720         * benchtests/bench-memcpy-ifunc.c: New file.
20721         * benchtests/bench-memcpy.c: New file.
20722         * benchtests/bench-string.h: New file.
20724 2013-06-11  Andreas Schwab  <schwab@suse.de>
20726         [BZ #15577]
20727         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20728         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20729         values in the triple.
20730         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20731         terminator in the group key.
20733 2013-06-11  Andreas Jaeger  <aj@suse.de>
20735         * po/zh_TW.po: Update Chinese (traditional) translation from
20736         translation project.
20738 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20740         * include/time.h (__clock_gettime): Add libc_hidden_proto.
20741         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20742         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
20743         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20744         (clock_getcpuclockid): Likewise.
20745         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20746         Add weak_alias and libc_hidden_def.
20747         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20748         * rt/clock_gettime.c (clock_gettime): Rename to
20749         __clock_gettime.  Add weak_alias and libc_hidden_def.
20750         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20751         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20752         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
20753         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20754         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20755         Likewise.
20756         * rt/clock_settime.c (clock_settime): Rename to
20757         __clock_settime.  Add weak_alias and libc_hidden_def.
20758         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20760 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
20762         * mach/err_boot.sub: Remove trailing whitespace.
20763         * mach/err_ipc.sub: Likewise.
20764         * mach/err_mach.sub: Likewise.
20766         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20767         (ROUNDING_TESTS_double): Likewise.
20768         (ROUNDING_TESTS_long_double): Likewise.
20769         (ROUNDING_TESTS): Likewise.
20770         * math/libm-test.inc: Include <math-tests.h>.
20771         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20772         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20773         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20774         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20776 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20778         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20779         of assigning.
20781 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
20783         * sysdeps/gnu/errlist.awk: Do not generate space at end of
20784         otherwise empty TRANS lines.
20785         * sysdeps/gnu/errlist.c: Regenerated.
20787         * catgets/gencat.c (error_print): Use (void) in function
20788         definition.
20789         * crypt/crypt_util.c (__init_des): Likewise.
20790         * crypt/speeds.c (Stop): Likewise.
20791         (main): Likewise.
20792         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20793         * inet/ruserpass.c (token): Likewise.
20794         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20795         * intl/localealias.c (extend_alias_table): Likewise.
20796         * intl/plural-exp.c (init_germanic_plural): Likewise.
20797         * libio/fcloseall.c (__fcloseall): Likewise.
20798         * libio/genops.c (_IO_flush_all): Likewise.
20799         (_IO_flush_all_linebuffered): Likewise.
20800         (_IO_cleanup): Likewise.
20801         (_IO_iter_begin): Likewise.
20802         (_IO_iter_end): Likewise.
20803         (_IO_list_lock): Likewise.
20804         (_IO_list_unlock): Likewise.
20805         (_IO_list_resetlock): Likewise.
20806         * libio/getchar.c (getchar): Likewise.
20807         * libio/getchar_u.c (getchar_unlocked): Likewise.
20808         * libio/getwchar.c (getwchar): Likewise.
20809         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20810         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20811         * login/getpt.c (__getpt): Likewise.
20812         * login/tst-utmp.c (main): Likewise.
20813         * malloc/hooks.c (__malloc_check_init): Likewise.
20814         * malloc/malloc.c (__malloc_stats): Likewise.
20815         * malloc/mtrace.c (tr_break): Likewise.
20816         (mtrace): Likewise.
20817         (muntrace): Likewise.
20818         * misc/fstab.c (endfsent): Likewise.
20819         * misc/getclktck.c (__getclktck): Likewise.
20820         * misc/getdtsz.c (__getdtablesize): Likewise.
20821         * misc/gethostid.c (gethostid): Likewise.
20822         * misc/getpagesize.c (__getpagesize): Likewise.
20823         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20824         (__get_nprocs): Likewise.
20825         (__get_phys_pages): Likewise.
20826         (__get_avphys_pages): Likewise.
20827         * misc/getttyent.c (getttyent): Likewise.
20828         (setttyent): Likewise.
20829         (endttyent): Likewise.
20830         * misc/getusershell.c (getusershell): Likewise.
20831         (endusershell): Likewise.
20832         (setusershell): Likewise.
20833         (initshells): Likewise.
20834         * misc/hsearch.c (__hdestroy): Likewise.
20835         * misc/sync.c (sync): Likewise.
20836         * misc/syslog.c (closelog_internal): Likewise.
20837         (closelog): Likewise.
20838         * misc/ttyslot.c (ttyslot): Likewise.
20839         * misc/vhangup.c (vhangup): Likewise.
20840         * posix/fork.c (__fork): Likewise.
20841         * posix/getegid.c (__getegid): Likewise.
20842         * posix/geteuid.c (__geteuid): Likewise.
20843         * posix/getgid.c (__getgid): Likewise.
20844         * posix/getpid.c (__getpid): Likewise.
20845         * posix/getppid.c (__getppid): Likewise.
20846         * posix/getuid.c (__getuid): Likewise.
20847         * posix/pause.c (pause): Likewise.
20848         * posix/setpgrp.c (setpgrp): Likewise.
20849         * posix/setsid.c (__setsid): Likewise.
20850         * posix/test-vfork.c (noop): Likewise.
20851         * resolv/gethnamaddr.c (_endhtent): Likewise.
20852         (_gethtent): Likewise.
20853         (ht_endhostent): Likewise.
20854         (gethostent): Likewise.
20855         (dns_service): Likewise.
20856         * stdlib/drand48.c (drand48): Likewise.
20857         * stdlib/lrand48.c (lrand48): Likewise.
20858         * stdlib/mrand48.c (mrand48): Likewise.
20859         * stdlib/rand.c (rand): Likewise.
20860         * stdlib/random.c (__random): Likewise.
20861         * stdlib/setenv.c (clearenv): Likewise.
20862         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20863         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20864         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20865         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20866         (__get_nprocs): Likewise.
20867         (__get_phys_pages): Likewise.
20868         (__get_avphys_pages): Likewise.
20869         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20870         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20871         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20872         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20873         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20874         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20875         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20876         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20877         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20878         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20879         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20880         * sysdeps/mach/hurd/sync.c (sync): Likewise.
20881         * sysdeps/posix/clock.c (clock): Likewise.
20882         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20883         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20884         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20885         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20886         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20887         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20888         (__get_nprocs_conf): Likewise.
20889         (__get_phys_pages): Likewise.
20890         (__get_avphys_pages): Likewise.
20891         * time/clock.c (clock): Likewise.
20892         * time/tzset.c (__tzname_max): Likewise.
20894 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
20896         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20897         (__bswap_32): Do not use "register".
20898         * crypt/crypt.c (_ufc_doit_r): Likewise.
20899         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20900         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20901         * gmon/gmon.c (__monstartup): Likewise.
20902         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20903         * hurd/hurdmalloc.c (more_memory): Likewise.
20904         (malloc): Likewise.
20905         (free): Likewise.
20906         (realloc): Likewise.
20907         (malloc_fork_prepare): Likewise.
20908         (malloc_fork_parent): Likewise.
20909         (malloc_fork_child): Likewise.
20910         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20911         (_svcauth_des): Likewise.
20912         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20913         * inet/inet_net.c (inet_network): Likewise.
20914         * inet/inet_netof.c (inet_netof): Likewise.
20915         * inet/rcmd.c (__validuser2_sa): Likewise.
20916         * io/fts.c (fts_open): Likewise.
20917         (fts_load): Likewise.
20918         (fts_close): Likewise.
20919         (fts_read): Likewise.
20920         (fts_children): Likewise.
20921         (fts_build): Likewise.
20922         (fts_stat): Likewise.
20923         (fts_sort): Likewise.
20924         (fts_alloc): Likewise.
20925         (fts_lfree): Likewise.
20926         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20927         (_IO_file_xsgetn): Likewise.
20928         (_IO_file_xsgetn_mmap): Likewise.
20929         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20930         (_IO_cookie_write): Likewise.
20931         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20932         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20933         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20934         * malloc/obstack.c (_obstack_begin): Likewise.
20935         (_obstack_begin_1): Likewise.
20936         (_obstack_newchunk): Likewise.
20937         (_obstack_allocated_p): Likewise.
20938         (obstack_free): Likewise.
20939         (_obstack_memory_used): Likewise.
20940         * misc/getttyent.c (getttynam): Likewise.
20941         (getttyent): Likewise.
20942         (skip): Likewise.
20943         (value): Likewise.
20944         * misc/getusershell.c (initshells): Likewise.
20945         * misc/syslog.c (__vsyslog_chk): Likewise.
20946         * misc/ttyslot.c (ttyslot): Likewise.
20947         * nis/nis_hash.c (__nis_hash): Likewise.
20948         * posix/fnmatch_loop.c (FCT): Likewise.
20949         * posix/getconf.c (print_all): Likewise.
20950         (main): Likewise.
20951         * posix/getopt.c (exchange): Likewise.
20952         * posix/glob.c (globfree): Likewise.
20953         (prefix_array): Likewise.
20954         (__glob_pattern_type): Likewise.
20955         * resolv/arpa/nameser.h (NS_GET16): Likewise.
20956         (NS_GET32): Likewise.
20957         (NS_PUT16): Likewise.
20958         (NS_PUT32): Likewise.
20959         * resolv/gethnamaddr.c (getanswer): Likewise.
20960         (gethostbyname2): Likewise.
20961         (gethostbyaddr): Likewise.
20962         (_gethtent): Likewise.
20963         (_gethtbyname2): Likewise.
20964         (_gethtbyaddr): Likewise.
20965         * resolv/ns_print.c (dst_s_get_int16): Likewise.
20966         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20967         * resolv/res_init.c (__res_vinit): Likewise.
20968         (net_mask): Likewise.
20969         * resolv/res_mkquery.c (outchar): Likewise.
20970         (PRINT): Likewise.
20971         * stdio-common/printf_fp.c (outchar): Likewise.
20972         (PRINT): Likewise.
20973         * stdio-common/printf_fphex.c (outchar): Likewise.
20974         (PRINT): Likewise.
20975         * stdio-common/printf_size.c (outchar): Likewise.
20976         (PRINT): Likewise.
20977         * stdio-common/test_rdwr.c (main): Likewise.
20978         * stdio-common/tfformat.c (matches): Likewise.
20979         * stdio-common/vfprintf.c (outchar): Likewise.
20980         (printf_unknown): Likewise.
20981         (buffered_vfprintf): Likewise.
20982         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20983         * stdio-common/xbug.c (AppendToBuffer): Likewise.
20984         (ReadFile): Likewise.
20985         * stdlib/qsort.c (SWAP): Likewise.
20986         (_quicksort): Likewise.
20987         * stdlib/setenv.c (__add_to_environ): Likewise.
20988         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20989         * stdlib/strtol_l.c (__strtol_l): Likewise.
20990         * stdlib/tst-strtod.c (main): Likewise.
20991         * stdlib/tst-strtol.c (main): Likewise.
20992         * stdlib/tst-strtoll.c (main): Likewise.
20993         * string/bits/string2.h (__strcmp_cc): Likewise.
20994         (__strcmp_cg): Likewise.
20995         (__strcspn_c1): Likewise.
20996         (__strcspn_c2): Likewise.
20997         (__strcspn_c3): Likewise.
20998         (__strspn_c1): Likewise.
20999         (__strspn_c2): Likewise.
21000         (__strspn_c3): Likewise.
21001         (__strsep_1c): Likewise.
21002         (__strsep_2c): Likewise.
21003         (__strsep_3c): Likewise.
21004         * string/memccpy.c (__memccpy): Likewise.
21005         * string/stpcpy.c (__stpcpy): Likewise.
21006         * string/strcmp.c (strcmp): Likewise.
21007         * string/strrchr.c (strrchr): Likewise.
21008         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21009         Likewise.
21010         * sysdeps/mach/hurd/getcwd.c
21011         (_hurd_canonicalize_directory_name_internal): Likewise.
21012         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21013         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21014         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21015         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21016         Likewise, in both definitions.
21017         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21018         definitions.
21019         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21020         64] (__bswap_64): Likewise.
21021         * time/test_time.c (main): Likewise.
21022         * time/tzfile.c (__tzfile_read): Likewise.
21023         (__tzfile_compute): Likewise.
21024         * time/tzset.c (__tzset_parse_tz): Likewise.
21025         (tzset_internal): Likewise.
21026         (compute_change): Likewise.
21027         * wcsmbs/wcscat.c (__wcscat): Likewise.
21028         * wcsmbs/wcschr.c (wcschr): Likewise.
21029         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21030         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21031         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21032         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21033         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21034         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21035         * wcsmbs/wmemchr.c (wmemchr): Likewise.
21036         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21037         * wcsmbs/wmemset.c (wmemset): Likewise.
21039 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
21041         * scripts/config.guess: Update to version 2013-05-16.
21042         * scripts/config.sub: Update to version 2013-04-24.
21043         * scripts/install-sh: Update to version 2011-11-20.07.
21044         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21045         * scripts/move-if-change: Update to version 2012-01-06 07:23.
21047 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
21049         * debug/fgetws_u_chk.c: Fix leading whitespaces.
21050         * elf/sln.c: Likewise.
21051         * hurd/hurd/ioctl.h: Likewise.
21052         * hurd/hurdmalloc.c: Likewise.
21053         * hurd/xattr.c: Likewise.
21054         * include/shlib-compat.h: Likewise.
21055         * inet/ruserpass.c: Likewise.
21056         * libio/iofgets_u.c: Likewise.
21057         * libio/iofgetws_u.c: Likewise.
21058         * locale/programs/ld-identification.c: Likewise.
21059         * locale/programs/ld-time.c: Likewise.
21060         * mach/msg-destroy.c: Likewise.
21061         * nss/nss_files/files-netgrp.c: Likewise.
21062         * resolv/res_data.c: Likewise.
21063         * soft-fp/op-1.h: Likewise.
21064         * soft-fp/op-2.h: Likewise.
21065         * soft-fp/op-4.h: Likewise.
21066         * soft-fp/op-common.h: Likewise.
21067         * stdio-common/printf_fphex.c: Likewise.
21068         * stdlib/strtod_l.c: Likewise.
21069         * sunrpc/rpc/clnt.h: Likewise.
21070         * sysdeps/generic/framestate.c: Likewise.
21071         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21072         * sysdeps/i386/bsd-setjmp.S: Likewise.
21073         * sysdeps/i386/__longjmp.S: Likewise.
21074         * sysdeps/i386/setjmp.S: Likewise.
21075         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21076         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21077         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21078         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21079         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21080         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21081         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21082         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21083         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21084         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21085         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21086         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21087         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21088         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21089         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21090         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21091         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21092         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21093         * sysdeps/ieee754/support.c: Likewise.
21094         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21095         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21096         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21097         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21098         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21099         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21100         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21101         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21102         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21103         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21104         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21105         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21106         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21107         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21108         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21109         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21110         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21113 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21115         * posix/transbug.c: Remove executable mode.
21117 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21119         * crypt/speeds.c: Remove trailing whitespace.
21120         * dlfcn/default.c: Likewise.
21121         * elf/ifuncdep2.c: Likewise.
21122         * elf/ifuncmain1.c: Likewise.
21123         * elf/ifuncmain1vis.c: Likewise.
21124         * elf/testobj.h: Likewise.
21125         * elf/tst-stackguard1.c: Likewise.
21126         * gmon/sys/gmon.h: Likewise.
21127         * hurd/hurdmsg.c: Likewise.
21128         * hurd/new-fd.c: Likewise.
21129         * hurd/ports-get.c: Likewise.
21130         * iconvdata/ibm1008_420.c: Likewise.
21131         * inet/tst-getni1.c: Likewise.
21132         * inet/tst-getni2.c: Likewise.
21133         * libio/ioungetc.c: Likewise.
21134         * libio/wfiledoalloc.c: Likewise.
21135         * manual/libm-err-tab.pl: Likewise.
21136         * math/w_dremf.c: Likewise.
21137         * misc/ftruncate.c: Likewise.
21138         * posix/bug-glob2.c: Likewise.
21139         * posix/tst-pcre.c: Likewise.
21140         * posix/wait4.c: Likewise.
21141         * resolv/README: Likewise.
21142         * resolv/res_debug.h: Likewise.
21143         * resolv/tst-inet_ntop.c: Likewise.
21144         * setjmp/bug269-setjmp.c: Likewise.
21145         * soft-fp/extended.h: Likewise.
21146         * soft-fp/op-1.h: Likewise.
21147         * soft-fp/op-2.h: Likewise.
21148         * soft-fp/op-4.h: Likewise.
21149         * soft-fp/op-8.h: Likewise.
21150         * soft-fp/testit.c: Likewise.
21151         * stdio-common/bug16.c: Likewise.
21152         * stdlib/random.c: Likewise.
21153         * sunrpc/rpcsvc/rquota.x: Likewise.
21154         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21155         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21156         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21157         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21158         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21159         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21160         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21161         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21162         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21163         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21164         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21165         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21166         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21167         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21168         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21169         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21170         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21171         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21172         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21173         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21174         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21175         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21176         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21177         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21178         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21179         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21180         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21181         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21182         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21183         * sysdeps/ieee754/s_lib_version.c: Likewise.
21184         * sysdeps/mach/hurd/check_fds.c: Likewise.
21185         * sysdeps/mach/hurd/getsockname.c: Likewise.
21186         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21187         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21188         * sysdeps/powerpc/bits/link.h: Likewise.
21189         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21190         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21191         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21192         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21193         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21194         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21195         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21196         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21197         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21198         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21199         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21200         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21201         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21202         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21203         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21204         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21205         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21206         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21207         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21208         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21209         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21210         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21211         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21212         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21213         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21214         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21215         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21216         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21217         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21218         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21219         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21220         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21221         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21222         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21223         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21224         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21225         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21226         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21227         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21228         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21229         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21230         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21231         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21232         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21233         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21234         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21235         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21236         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21237         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21238         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21239         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21240         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21241         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21242         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21243         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21244         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21245         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21246         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21247         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21248         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21249         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21250         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21251         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21252         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21253         * sysdeps/powerpc/sysdep.h: Likewise.
21254         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21255         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21256         * sysdeps/sh/dl-trampoline.S: Likewise.
21257         * sysdeps/sh/memset.S: Likewise.
21258         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21259         * sysdeps/sh/strlen.S: Likewise.
21260         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21261         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21262         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21263         * sysdeps/sparc/sparc32/rem.S: Likewise.
21264         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21265         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21266         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21267         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21268         * sysdeps/sparc/sparc32/urem.S: Likewise.
21269         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21270         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21271         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21272         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21273         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21274         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21275         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21276         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21277         * sysdeps/unix/bsd/times.c: Likewise.
21278         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21279         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21283         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21284         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21285         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21286         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21287         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21288         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21289         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21290         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21291         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21292         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21293         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21294         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21295         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21296         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21297         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21298         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21299         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21300         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21301         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21302         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21303         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21304         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21305         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21306         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21307         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21308         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21309         * sysdeps/x86_64/strcspn.S: Likewise.
21311 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21313         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21314         generated file.  Regenerate properly from gen-translit.pl.
21315         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21316         locale/C-translit.h.
21318 2013-06-05  Andreas Schwab  <schwab@suse.de>
21320         [BZ #15100]
21321         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21322         week as 6 instead of -1.
21323         * time/tst-strptime.c (day_tests): Add test case.
21325 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21327         * sysdeps/generic/math_private.h
21328         (libc_feholdexcept_setround_53bit): Replace with
21329         libc_feholdsetround_53bit.
21330         (libc_feupdateenv_53bit): Replace with
21331         libc_feresetround_53bit.
21332         (SET_RESTORE_ROUND_53BIT): Adjust.
21334 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21336         * string/test-strchrnul.c: Add copyright header.
21338         * posix/tst-getaddrinfo4.c: Increase test timeout.
21340 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
21342         [BZ #15536]
21343         * math/libm-test.inc (MAX_EXP): Remove
21344         (MIN_EXP): Define.
21345         (ulp): Use MIN_EXP - MANT_DIG.
21346         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21348 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
21350         * po/be.po: Revert last change.
21351         * po/zh_CN.po: Likewise.
21352         * po/header.pot: Likewise.
21354 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
21356         * Makefile ($(common-objpfx)linkobj/libc.so): Define
21357         link-libc-deps to empty as target-specific variable.
21358         * Makerules (link-libc-args): New variable.
21359         (libc-for-link): Likewise.
21360         (link-libc-deps): Likewise.
21361         (lib%.so): Depend on $(link-libc-deps).  Link with
21362         $(link-libc-args).
21363         (build-module): Link with $(link-libc-args).
21364         (build-module-asneeded): Likewise.
21365         (build-module-helper-objlist): Filter out $(link-libc-deps) from
21366         list of objects.
21367         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21368         target-specific variable.
21369         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21370         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21371         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21372         libc.
21373         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21374         libc and ld.so.
21375         ($(objpfx)libpcprofile.so): Likewise.
21376         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21377         libc_nonshared.a.
21378         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21379         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21380         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21381         $(link-libc-deps).
21382         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21383         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21384         * login/Makefile ($(objpfx)libutil.so): Likewise.
21385         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21386         * math/Makefile ($(objpfx)libm.so): Likewise.
21387         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21388         $(objpfx)libnsl.so): Define libc-for-link as target-specific
21389         variable instead of depending directly on libc.
21390         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21391         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21392         $(link-libc-deps).
21393         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21394         libc.
21395         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21396         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21397         ($(objpfx)libanl.so): Likewise.
21398         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21399         ld.so.
21400         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21401         $(link-libc-deps).
21402         * sysdeps/i386/fpu/Makefile: Remove file.
21403         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21404         ($(objpfx)libm.so): Remove dependency on ld.so.
21406 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
21408         [BZ # 15553]
21409         * nis/yp_xdr.c (XDRMAXNAME): Define.
21410         (XDRMAXRECORD): Define.
21411         (xdr_domainname): Use XDRMAXNAME.
21412         (xdr_mapname): Likewise.
21413         (xdr_peername): Likewise.
21414         (xdr_keydat): Use XDRMAXRECORD.
21415         (xdr_valdat): Likewise.
21417 2013-05-30  Jeff Law  <law@redhat.com>
21419         [BZ #14256]
21420         * manual/errno.texi (ESTALE): Update to account for more than
21421         just NFS file systems.
21422         * sysdeps/gnu/errlist.c: Regenerated.
21424 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21426         [BZ #15465]
21427         * elf/Makefile (tests): Add tst-null-argv.
21428         (modules-names):  Add tst-null-argv-lib.
21429         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21430         (tst-null-argv-ENV): Set environment for tst-null-argv.
21431         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21432         (RTLD_PROGNAME): New macro.
21433         * elf/tst-null-argv.c: New test case.
21434         * elf/tst-null-argv-lib.c: Library for test case.
21435         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21436         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21437         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21438         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21439         * elf/dl-init.c (call_init): Likewise.
21440         (_dl_init): Likewise.
21441         * elf/dl-load.c (print_search_path): Likewise.
21442         (_dl_map_object): Likewise.
21443         * elf/dl-lookup.c (do_lookup_x): Likewise.
21444         (add_dependency): Likewise.
21445         (_dl_lookup_symbol_x): Likewise.
21446         (_dl_debug_bindings): Likewise.
21447         * elf/dl-open.c (_dl_show_scope): Likewise.
21448         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21449         * elf/dl-version.c (match_symbol): Likewise.
21450         (_dl_check_map_versions): Likewise.
21451         * elf/rtld.c (dl_main): Likewise.
21452         (print_unresolved): Use RTLD_PROGNAME.
21453         (print_missing_version): Likewise.
21454         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21455         (elf_machine_rela): Likewise.
21456         * sysdeps/powerpc/powerpc32/dl-machine.c
21457         (__process_machine_rela): Likewise.
21458         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21459         Likewise.
21460         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21461         Likewise.
21462         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21463         Likewise.
21464         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21465         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21466         Likewise.
21467         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21468         Likewise.
21469         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21471 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
21473         * po/be.po: Add descriptive title.
21474         * po/zh_CN.po: Likewise.
21475         * po/header.pot: Likewise.
21477 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
21479         * locale/programs/locarchive.c (create_archive): Inlucde fname in
21480         error message.
21481         (enlarge_archive): Likewise.
21483 2013-05-28  Ben North  <ben@redfrontdoor.org>
21485         * manual/arith.texi (frexp): It is the magnitude of the return
21486         value which lies in [0.5, 1), not the return value itself.
21488 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21492 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
21494         * stdio-common/bug26.c (main): Correct fscanf template.
21496         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21497         declare _dl_skip_args.
21499         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21500         Don't declare.
21502         * manual/platform.texi: Add missing @end deftypefun.
21504 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21506         [BZ #15529]
21507         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21508         bit of mantissa of 2^16382.
21509         * math/libm-test.inc (hypot_test_data): Add more tests.
21511         * math/libm-test.inc: Add drem and pow10 to list of tested
21512         functions.
21513         (pow10_test): New function.
21514         (drem_test): Likewise.
21515         (drem_test_tonearest): Likewise.
21516         (drem_test_towardzero): Likewise.
21517         (drem_test_downward): Likewise.
21518         (drem_test_upward): Likewise.
21519         (main): Call the new functions.
21521         * math/libm-test.inc (finite_test_data): Remove.
21522         (finite_test): Run tests from isfinite_test_data.
21523         (gamma_test_data): Remove.
21524         (gamma_test): Run tests from lgamma_test_data.
21525         * sysdeps/i386/fpu/libm-test-ulps: Update.
21526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21528 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21530         * manual/platform.texi: Add PowerPC PPR function set documentation.
21531         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21532         implementation.
21534 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
21536         * math/libm-test.inc (MAX_EXP): Define.
21537         (ULPDIFF): Define.
21538         (ulp): New function.
21539         (check_float_internal): Use ULPDIFF.
21540         (cpow_test): Disable failing test.
21541         (check_ulp): Test ulp() implemetnation.
21542         (main): Call check_ulp before starting tests.
21544 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21546         * math/gen-libm-test.pl (generate_testfile): Do not handle
21547         START_DATA and END_DATA.
21548         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21549         END_DATA.
21550         (acos_tonearest_test_data): Likewise.
21551         (acos_towardzero_test_data): Likewise.
21552         (acos_downward_test_data): Likewise.
21553         (acos_upward_test_data): Likewise.
21554         (acosh_test_data): Likewise.
21555         (asin_test_data): Likewise.
21556         (asin_tonearest_test_data): Likewise.
21557         (asin_towardzero_test_data): Likewise.
21558         (asin_downward_test_data): Likewise.
21559         (asin_upward_test_data): Likewise.
21560         (asinh_test_data): Likewise.
21561         (atan_test_data): Likewise.
21562         (atanh_test_data): Likewise.
21563         (atan2_test_data): Likewise.
21564         (cabs_test_data): Likewise.
21565         (cacos_test_data): Likewise.
21566         (cacosh_test_data): Likewise.
21567         (carg_test_data): Likewise.
21568         (casin_test_data): Likewise.
21569         (casinh_test_data): Likewise.
21570         (catan_test_data): Likewise.
21571         (catanh_test_data): Likewise.
21572         (cbrt_test_data): Likewise.
21573         (ccos_test_data): Likewise.
21574         (ccosh_test_data): Likewise.
21575         (ceil_test_data): Likewise.
21576         (cexp_test_data): Likewise.
21577         (cimag_test_data): Likewise.
21578         (clog_test_data): Likewise.
21579         (clog10_test_data): Likewise.
21580         (conj_test_data): Likewise.
21581         (copysign_test_data): Likewise.
21582         (cos_test_data): Likewise.
21583         (cos_tonearest_test_data): Likewise.
21584         (cos_towardzero_test_data): Likewise.
21585         (cos_downward_test_data): Likewise.
21586         (cos_upward_test_data): Likewise.
21587         (cosh_test_data): Likewise.
21588         (cosh_tonearest_test_data): Likewise.
21589         (cosh_towardzero_test_data): Likewise.
21590         (cosh_downward_test_data): Likewise.
21591         (cosh_upward_test_data): Likewise.
21592         (cpow_test_data): Likewise.
21593         (cproj_test_data): Likewise.
21594         (creal_test_data): Likewise.
21595         (csin_test_data): Likewise.
21596         (csinh_test_data): Likewise.
21597         (csqrt_test_data): Likewise.
21598         (ctan_test_data): Likewise.
21599         (ctan_tonearest_test_data): Likewise.
21600         (ctan_towardzero_test_data): Likewise.
21601         (ctan_downward_test_data): Likewise.
21602         (ctan_upward_test_data): Likewise.
21603         (ctanh_test_data): Likewise.
21604         (ctanh_tonearest_test_data): Likewise.
21605         (ctanh_towardzero_test_data): Likewise.
21606         (ctanh_downward_test_data): Likewise.
21607         (ctanh_upward_test_data): Likewise.
21608         (erf_test_data): Likewise.
21609         (erfc_test_data): Likewise.
21610         (exp_test_data): Likewise.
21611         (exp_tonearest_test_data): Likewise.
21612         (exp_towardzero_test_data): Likewise.
21613         (exp_downward_test_data): Likewise.
21614         (exp_upward_test_data): Likewise.
21615         (exp10_test_data): Likewise.
21616         (exp2_test_data): Likewise.
21617         (expm1_test_data): Likewise.
21618         (fabs_test_data): Likewise.
21619         (fdim_test_data): Likewise.
21620         (finite_test_data): Likewise.
21621         (floor_test_data): Likewise.
21622         (fma_test_data): Likewise.
21623         (fma_towardzero_test_data): Likewise.
21624         (fma_downward_test_data): Likewise.
21625         (fma_upward_test_data): Likewise.
21626         (fmax_test_data): Likewise.
21627         (fmin_test_data): Likewise.
21628         (fmod_test_data): Likewise.
21629         (fpclassify_test_data): Likewise.
21630         (frexp_test_data): Likewise.
21631         (gamma_test_data): Likewise.
21632         (hypot_test_data): Likewise.
21633         (ilogb_test_data): Likewise.
21634         (isfinite_test_data): Likewise.
21635         (isgreater_test_data): Likewise.
21636         (isgreaterequal_test_data): Likewise.
21637         (isinf_test_data): Likewise.
21638         (isless_test_data): Likewise.
21639         (islessequal_test_data): Likewise.
21640         (islessgreater_test_data): Likewise.
21641         (isnan_test_data): Likewise.
21642         (isnormal_test_data): Likewise.
21643         (issignaling_test_data): Likewise.
21644         (isunordered_test_data): Likewise.
21645         (j0_test_data): Likewise.
21646         (j1_test_data): Likewise.
21647         (jn_test_data): Likewise.
21648         (ldexp_test_data): Likewise.
21649         (lgamma_test_data): Likewise.
21650         (lrint_test_data): Likewise.
21651         (lrint_tonearest_test_data): Likewise.
21652         (lrint_towardzero_test_data): Likewise.
21653         (lrint_downward_test_data): Likewise.
21654         (lrint_upward_test_data): Likewise.
21655         (llrint_test_data): Likewise.
21656         (llrint_tonearest_test_data): Likewise.
21657         (llrint_towardzero_test_data): Likewise.
21658         (llrint_downward_test_data): Likewise.
21659         (llrint_upward_test_data): Likewise.
21660         (log_test_data): Likewise.
21661         (log10_test_data): Likewise.
21662         (log1p_test_data): Likewise.
21663         (log2_test_data): Likewise.
21664         (logb_test_data): Likewise.
21665         (logb_downward_test_data): Likewise.
21666         (lround_test_data): Likewise.
21667         (llround_test_data): Likewise.
21668         (modf_test_data): Likewise.
21669         (nearbyint_test_data): Likewise.
21670         (nextafter_test_data): Likewise.
21671         (nexttoward_test_data): Likewise.
21672         (pow_test_data): Likewise.
21673         (pow_tonearest_test_data): Likewise.
21674         (pow_towardzero_test_data): Likewise.
21675         (pow_downward_test_data): Likewise.
21676         (pow_upward_test_data): Likewise.
21677         (remainder_test_data): Likewise.
21678         (remainder_tonearest_test_data): Likewise.
21679         (remainder_towardzero_test_data): Likewise.
21680         (remainder_downward_test_data): Likewise.
21681         (remainder_upward_test_data): Likewise.
21682         (remquo_test_data): Likewise.
21683         (rint_test_data): Likewise.
21684         (rint_tonearest_test_data): Likewise.
21685         (rint_towardzero_test_data): Likewise.
21686         (rint_downward_test_data): Likewise.
21687         (rint_upward_test_data): Likewise.
21688         (round_test_data): Likewise.
21689         (scalb_test_data): Likewise.
21690         (scalbn_test_data): Likewise.
21691         (scalbln_test_data): Likewise.
21692         (signbit_test_data): Likewise.
21693         (sin_test_data): Likewise.
21694         (sin_tonearest_test_data): Likewise.
21695         (sin_towardzero_test_data): Likewise.
21696         (sin_downward_test_data): Likewise.
21697         (sin_upward_test_data): Likewise.
21698         (sincos_test_data): Likewise.
21699         (sinh_test_data): Likewise.
21700         (sinh_tonearest_test_data): Likewise.
21701         (sinh_towardzero_test_data): Likewise.
21702         (sinh_downward_test_data): Likewise.
21703         (sinh_upward_test_data): Likewise.
21704         (sqrt_test_data): Likewise.
21705         (tan_test_data): Likewise.
21706         (tan_tonearest_test_data): Likewise.
21707         (tan_towardzero_test_data): Likewise.
21708         (tan_downward_test_data): Likewise.
21709         (tan_upward_test_data): Likewise.
21710         (tanh_test_data): Likewise.
21711         (tgamma_test_data): Likewise.
21712         (trunc_test_data): Likewise.
21713         (y0_test_data): Likewise.
21714         (y1_test_data): Likewise.
21715         (yn_test_data): Likewise.
21716         (significand_test_data): Likewise.
21718         * math/gen-libm-test.pl (@functions): Remove variable.
21719         (generate_testfile): Don't handle START and END lines.
21720         * math/libm-test.inc (START): New macro.
21721         (END): Likewise.
21722         (END_COMPLEX): Likewise.
21723         (acos_test): Use END macro without arguments.
21724         (acos_test_tonearest): Likewise.
21725         (acos_test_towardzero): Likewise.
21726         (acos_test_downward): Likewise.
21727         (acos_test_upward): Likewise.
21728         (acosh_test): Likewise.
21729         (asin_test): Likewise.
21730         (asin_test_tonearest): Likewise.
21731         (asin_test_towardzero): Likewise.
21732         (asin_test_downward): Likewise.
21733         (asin_test_upward): Likewise.
21734         (asinh_test): Likewise.
21735         (atan_test): Likewise.
21736         (atanh_test): Likewise.
21737         (atan2_test): Likewise.
21738         (cabs_test): Likewise.
21739         (cacos_test): Use END_COMPLEX macro without arguments.
21740         (cacosh_test): Likewise.
21741         (carg_test): Use END macro without arguments.
21742         (casin_test): Use END_COMPLEX macro without arguments.
21743         (casinh_test): Likewise.
21744         (catan_test): Likewise.
21745         (catanh_test): Likewise.
21746         (cbrt_test): Use END macro without arguments.
21747         (ccos_test): Use END_COMPLEX macro without arguments.
21748         (ccosh_test): Likewise.
21749         (ceil_test): Use END macro without arguments.
21750         (cexp_test): Use END_COMPLEX macro without arguments.
21751         (cimag_test): Use END macro without arguments.
21752         (clog_test): Use END_COMPLEX macro without arguments.
21753         (clog10_test): Likewise.
21754         (conj_test): Likewise.
21755         (copysign_test): Use END macro without arguments.
21756         (cos_test): Likewise.
21757         (cos_test_tonearest): Likewise.
21758         (cos_test_towardzero): Likewise.
21759         (cos_test_downward): Likewise.
21760         (cos_test_upward): Likewise.
21761         (cosh_test): Likewise.
21762         (cosh_test_tonearest): Likewise.
21763         (cosh_test_towardzero): Likewise.
21764         (cosh_test_downward): Likewise.
21765         (cosh_test_upward): Likewise.
21766         (cpow_test): Use END_COMPLEX macro without arguments.
21767         (cproj_test): Likewise.
21768         (creal_test): Use END macro without arguments.
21769         (csin_test): Use END_COMPLEX macro without arguments.
21770         (csinh_test): Likewise.
21771         (csqrt_test): Likewise.
21772         (ctan_test): Likewise.
21773         (ctan_test_tonearest): Likewise.
21774         (ctan_test_towardzero): Likewise.
21775         (ctan_test_downward): Likewise.
21776         (ctan_test_upward): Likewise.
21777         (ctanh_test): Likewise.
21778         (ctanh_test_tonearest): Likewise.
21779         (ctanh_test_towardzero): Likewise.
21780         (ctanh_test_downward): Likewise.
21781         (ctanh_test_upward): Likewise.
21782         (erf_test): Use END macro without arguments.
21783         (erfc_test): Likewise.
21784         (exp_test): Likewise.
21785         (exp_test_tonearest): Likewise.
21786         (exp_test_towardzero): Likewise.
21787         (exp_test_downward): Likewise.
21788         (exp_test_upward): Likewise.
21789         (exp10_test): Likewise.
21790         (exp2_test): Likewise.
21791         (expm1_test): Likewise.
21792         (fabs_test): Likewise.
21793         (fdim_test): Likewise.
21794         (finite_test): Likewise.
21795         (floor_test): Likewise.
21796         (fma_test): Likewise.
21797         (fma_test_towardzero): Likewise.
21798         (fma_test_downward): Likewise.
21799         (fma_test_upward): Likewise.
21800         (fmax_test): Likewise.
21801         (fmin_test): Likewise.
21802         (fmod_test): Likewise.
21803         (fpclassify_test): Likewise.
21804         (frexp_test): Likewise.
21805         (gamma_test): Likewise.
21806         (hypot_test): Likewise.
21807         (ilogb_test): Likewise.
21808         (isfinite_test): Likewise.
21809         (isgreater_test): Likewise.
21810         (isgreaterequal_test): Likewise.
21811         (isinf_test): Likewise.
21812         (isless_test): Likewise.
21813         (islessequal_test): Likewise.
21814         (islessgreater_test): Likewise.
21815         (isnan_test): Likewise.
21816         (isnormal_test): Likewise.
21817         (issignaling_test): Likewise.
21818         (isunordered_test): Likewise.
21819         (j0_test): Likewise.
21820         (j1_test): Likewise.
21821         (jn_test): Likewise.
21822         (ldexp_test): Likewise.
21823         (lgamma_test): Likewise.
21824         (lrint_test): Likewise.
21825         (lrint_test_tonearest): Likewise.
21826         (lrint_test_towardzero): Likewise.
21827         (lrint_test_downward): Likewise.
21828         (lrint_test_upward): Likewise.
21829         (llrint_test): Likewise.
21830         (llrint_test_tonearest): Likewise.
21831         (llrint_test_towardzero): Likewise.
21832         (llrint_test_downward): Likewise.
21833         (llrint_test_upward): Likewise.
21834         (log_test): Likewise.
21835         (log10_test): Likewise.
21836         (log1p_test): Likewise.
21837         (log2_test): Likewise.
21838         (logb_test): Likewise.
21839         (logb_test_downward): Likewise.
21840         (lround_test): Likewise.
21841         (llround_test): Likewise.
21842         (modf_test): Likewise.
21843         (nearbyint_test): Likewise.
21844         (nextafter_test): Likewise.
21845         (nexttoward_test): Likewise.
21846         (pow_test): Likewise.
21847         (pow_test_tonearest): Likewise.
21848         (pow_test_towardzero): Likewise.
21849         (pow_test_downward): Likewise.
21850         (pow_test_upward): Likewise.
21851         (remainder_test): Likewise.
21852         (remainder_test_tonearest): Likewise.
21853         (remainder_test_towardzero): Likewise.
21854         (remainder_test_downward): Likewise.
21855         (remainder_test_upward): Likewise.
21856         (remquo_test): Likewise.
21857         (rint_test): Likewise.
21858         (rint_test_tonearest): Likewise.
21859         (rint_test_towardzero): Likewise.
21860         (rint_test_downward): Likewise.
21861         (rint_test_upward): Likewise.
21862         (round_test): Likewise.
21863         (scalb_test): Likewise.
21864         (scalbn_test): Likewise.
21865         (scalbln_test): Likewise.
21866         (signbit_test): Likewise.
21867         (sin_test): Likewise.
21868         (sin_test_tonearest): Likewise.
21869         (sin_test_towardzero): Likewise.
21870         (sin_test_downward): Likewise.
21871         (sin_test_upward): Likewise.
21872         (sincos_test): Likewise.
21873         (sinh_test): Likewise.
21874         (sinh_test_tonearest): Likewise.
21875         (sinh_test_towardzero): Likewise.
21876         (sinh_test_downward): Likewise.
21877         (sinh_test_upward): Likewise.
21878         (sqrt_test): Likewise.
21879         (tan_test): Likewise.
21880         (tan_test_tonearest): Likewise.
21881         (tan_test_towardzero): Likewise.
21882         (tan_test_downward): Likewise.
21883         (tan_test_upward): Likewise.
21884         (tanh_test): Likewise.
21885         (tgamma_test): Likewise.
21886         (trunc_test): Likewise.
21887         (y0_test): Likewise.
21888         (y1_test): Likewise.
21889         (yn_test): Likewise.
21890         (significand_test): Likewise.
21892 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
21894         [BZ #15381]
21895         * libio/genops.c (_IO_no_init): Initialize wide struct info.
21897 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21899         [BZ #14894]
21900         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21901         __ppc_mdoio and __ppc_mdoom.
21902         * manual/platform.texi: Document new functions __ppc_yield,
21903         __ppc_mdoio and __ppc_mdoom.
21905 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
21907         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21908         (main): Mention "tls" pseudo-hwcap is legacy.
21909         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21911 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21913         * math/gen-libm-test.pl (parse_args): Output only string of
21914         arguments as text for test name, not full call or descriptions of
21915         tests for extra outputs.
21916         (generate_testfile): Do not pass function name to parse_args.
21917         Generate this_func variable from START.
21918         * math/libm-test.inc (struct test_f_f_data): Rename test_name
21919         field to arg_str.
21920         (struct test_ff_f_data): Likewise.
21921         (test_ff_f_data_nexttoward): Likewise.
21922         (struct test_fi_f_data): Likewise.
21923         (struct test_fl_f_data): Likewise.
21924         (struct test_if_f_data): Likewise.
21925         (struct test_fff_f_data): Likewise.
21926         (struct test_c_f_data): Likewise.
21927         (struct test_f_f1_data): Likewise.  Remove field extra_name.
21928         (struct test_fF_f1_data): Likewise.
21929         (struct test_ffI_f1_data): Likewise.
21930         (struct test_c_c_data): Rename test_name field to arg_str.
21931         (struct test_cc_c_data): Likewise.
21932         (struct test_f_i_data): Likewise.
21933         (struct test_ff_i_data): Likewise.
21934         (struct test_f_l_data): Likewise.
21935         (struct test_f_L_data): Likewise.
21936         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
21937         and extra2_name.
21938         (COMMON_TEST_SETUP): New macro.
21939         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21940         (COMMON_TEST_CLEANUP): Likewise.
21941         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21942         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
21943         macros.
21944         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21945         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
21946         macros.
21947         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21948         (RUN_TEST_fff_f): Take argument string.  Call new setup and
21949         cleanup macros.
21950         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21951         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
21952         macros.
21953         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21954         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
21955         macros.
21956         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21957         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
21958         cleanup macros.
21959         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21960         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
21961         cleanup macros.
21962         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21963         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
21964         cleanup macros.
21965         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21966         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
21967         macros.
21968         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21969         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
21970         macros.
21971         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21972         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
21973         macros.
21974         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21975         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
21976         cleanup macros.
21977         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21978         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
21979         cleanup macros.
21980         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21981         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
21982         macros.
21983         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21984         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
21985         cleanup macros.
21986         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21987         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
21988         macros.
21989         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21990         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
21991         macros.
21992         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21993         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
21994         cleanup macros.
21995         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21997 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
21999         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22000         to _sifields.sigfault.
22001         (si_addr_lsb): Define new macro.
22002         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22003         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22004         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22006 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
22008         [BZ #15441]
22009         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22010         returns -1.
22011         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22012         null return -1.
22013         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22014         loading the domain.
22016 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
22018         * math/gen-libm-test.pl (parse_args): Do not include expected
22019         result in test name.
22020         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22021         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22022         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22023         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22024         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22027 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22029         * benchtests/Makefile: Sort function entries.
22031         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22032         tanh, asinh, acosh, atanh.
22033         * benchtests/acos-inputs: New file.
22034         * benchtests/acosh-inputs: New file.
22035         * benchtests/asin-inputs: New file.
22036         * benchtests/asinh-inputs: New file.
22037         * benchtests/atanh-inputs: New file.
22038         * benchtests/cosh-inputs: New file.
22039         * benchtests/log-inputs: New file.
22040         * benchtests/sinh-inputs: New file.
22041         * benchtests/tanh-inputs: New file.
22043 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
22045         [BZ #15339]
22046         * posix/tst-getaddrinfo4.c: New test.
22047         * posix/Makefile (tests): Add it.
22049 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22051         [BZ #15339]
22052         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22053         when no services were used.
22054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22055         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22057 2013-05-21  Andreas Schwab  <schwab@suse.de>
22059         [BZ #15014]
22060         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22061         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22062         successful.
22063         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22064         redundant variable declarations and reallocation of buffer when
22065         parsing as IPv6 address.  Always set NSS status when called from
22066         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
22067         buffer too small.  Correct computation of needed size.
22068         * nss/Makefile (tests): Add test-digits-dots.
22069         * nss/test-digits-dots.c: New test.
22071 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22073         * benchtests/Makefile: Remove instructions for adding
22074         benchmark tests.
22075         * benchtests/README: New file to explain how to execute and
22076         enhance the benchmark tests.
22078 2013-05-21  Andreas Schwab  <schwab@suse.de>
22080         [BZ #15493]
22081         * setjmp/Makefile (tests): Add tst-sigsetjmp.
22082         * setjmp/tst-sigsetjmp.c: New test.
22084 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22086         * sysdeps/x86_64/memset.S (memset): New implementation.
22087         (__bzero): Likewise.
22088         (__memset_tail): New function.
22090 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
22092         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22093         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22094         __memcpy_sse2_unaligned ifunc selection.
22095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22096         Add memcpy-sse2-unaligned.S.
22097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22098         Add: __memcpy_sse2_unaligned.
22100 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
22102         [BZ #15490]
22103         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22104         math_force_eval before restoring floating-point envrionment.
22105         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22106         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22107         Likewise.
22108         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22109         <math_private.h>.
22110         (__nearbyintl): Use math_force_eval before restoring
22111         floating-point environment.
22112         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22114         * math/gen-libm-test.pl (special_functions): Remove.
22115         (parse_args): Don't handle TEST_extra.  Handle functions with no
22116         return value.
22117         * math/libm-test.inc (struct test_sincos_data): Replace with
22118         struct test_fFF_11_data.
22119         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22120         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22121         (sincos_test_data): Change element type to struct
22122         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22123         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22124         RUN_TEST_LOOP_sincos.
22125         * math/README.libm-test: Don't mention special handling of
22126         individual functions.
22127         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22128         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22129         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22130         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22131         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22134         * math/gen-libm-test.pl (get_variable): Remove function.
22135         (parse_args): Don't show pointer parameters to call in test
22136         names.  Use "extra output N" in test names for extra outputs
22137         rather than naming variables.
22139 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22141         [BZ #15488]
22142         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22143         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22144         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22145         double tests.
22146         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22147         disable.
22148         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22149         check_long_double.
22151         * math/gen-libm-test.pl (@tests): Remove variable.
22152         ($count): Likewise.
22153         (new_test): Remove function.
22154         (show_exceptions): New function.
22155         (special_functions): Use show_exceptions instead of new_test.
22156         (parse_args): Likewise.
22157         (generate_testfile): Pass only function name in generated call to
22158         print_max_error or print_complex_max_error.
22159         (get_ulps): Do not handle complex tests specially.
22160         (output_test): Rename to ...
22161         (get_all_ulps_for_test): ... this.  Return a string rather than
22162         printing to a file.  Require ulps to be present.
22163         (output_ulps): Generate arrays rather than #defines.
22164         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22165         (struct ulp_data): New type.
22166         (BUILD_COMPLEX_ULP): Remove macro.
22167         (compare_ulp_data): New function.
22168         (find_ulps): Likewise.
22169         (find_test_ulps): Likewise.
22170         (find_function_ulps): Likewise.
22171         (find_complex_function_ulps): Likewise.
22172         (print_max_error): Determine allowed ulps using
22173         find_function_ulps.
22174         (print_complex_max_error): Determine allowed ulps using
22175         find_complex_function_ulps.
22176         (check_float_internal): Determine max ulps using find_test_ulps.
22177         (check_float): Do not take max_ulp parameter.  Update call to
22178         check_float_internal.
22179         (check_complex): Likewise.
22180         (check_int): Do not take max_ulp parameter.
22181         (check_long): Likewise.
22182         (check_bool): Likewise.
22183         (check_longlong): Likewise.
22184         (struct test_f_f_data): Remove max_ulp field.
22185         (struct test_ff_f_data): Likewise.
22186         (struct test_ff_f_data_nexttoward): Likewise.
22187         (struct test_fi_f_data): Likewise.
22188         (struct test_fl_f_data): Likewise.
22189         (struct test_if_f_data): Likewise.
22190         (struct test_fff_f_data): Likewise.
22191         (struct test_c_f_data): Likewise.
22192         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22193         (struct test_fF_f1_data): Likewise.
22194         (struct test_ffI_f1_data): Likewise.
22195         (struct test_c_c_data): Remove max_ulp field.
22196         (struct test_cc_c_data): Likewise.
22197         (struct test_f_i_data): Likewise.
22198         (struct test_ff_i_data): Likewise.
22199         (struct test_f_l_data): Likewise.
22200         (struct test_f_L_data): Likewise.
22201         (struct test_sincos_data): Likewise.
22202         (RUN_TEST_f_f): Do not handle ulps.
22203         (RUN_TEST_LOOP_f_f): Likewise.
22204         (RUN_TEST_2_f): Likewise.
22205         (RUN_TEST_LOOP_2_f): Likewise.
22206         (RUN_TEST_fff_f): Likewise.
22207         (RUN_TEST_LOOP_fff_f): Likewise.
22208         (RUN_TEST_c_f): Likewise.
22209         (RUN_TEST_LOOP_c_f): Likewise.
22210         (RUN_TEST_f_f1): Likewise.
22211         (RUN_TEST_LOOP_f_f1): Likewise.
22212         (RUN_TEST_fF_f1): Likewise.
22213         (RUN_TEST_LOOP_fF_f1): Likewise.
22214         (RUN_TEST_fI_f1): Likewise.
22215         (RUN_TEST_LOOP_fI_f1): Likewise.
22216         (RUN_TEST_ffI_f1): Likewise.
22217         (RUN_TEST_LOOP_ffI_f1): Likewise.
22218         (RUN_TEST_c_c): Likewise.
22219         (RUN_TEST_LOOP_c_c): Likewise.
22220         (RUN_TEST_cc_c): Likewise.
22221         (RUN_TEST_LOOP_cc_c): Likewise.
22222         (RUN_TEST_f_i): Likewise.
22223         (RUN_TEST_LOOP_f_i): Likewise.
22224         (RUN_TEST_f_i_tg): Likewise.
22225         (RUN_TEST_LOOP_f_i_tg): Likewise.
22226         (RUN_TEST_ff_i_tg): Likewise.
22227         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22228         (RUN_TEST_f_b): Likewise.
22229         (RUN_TEST_LOOP_f_b): Likewise.
22230         (RUN_TEST_f_b_tg): Likewise.
22231         (RUN_TEST_LOOP_f_b_tg): Likewise.
22232         (RUN_TEST_f_l): Likewise.
22233         (RUN_TEST_LOOP_f_l): Likewise.
22234         (RUN_TEST_f_L): Likewise.
22235         (RUN_TEST_LOOP_f_L): Likewise.
22236         (RUN_TEST_sincos): Likewise.
22237         (RUN_TEST_LOOP_sincos): Likewise.
22239 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22241         [BZ #15480]
22242         [BZ #15485]
22243         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22244         main case of finite arguments, set rounding mode to FE_TONEAREST
22245         and discard exceptions.
22246         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22247         exceptions.
22248         (remainder_tonearest_test_data): New variable.
22249         (remainder_test_tonearest): New function.
22250         (remainder_towardzero_test_data): New variable.
22251         (remainder_test_towardzero): New function.
22252         (remainder_downward_test_data): New variable.
22253         (remainder_test_downward): New function.
22254         (remainder_upward_test_data): New variable.
22255         (remainder_test_upward): New function.
22256         (main): Call the new test functions.
22258         * math/libm-test.inc (struct test_f_f1_data): Remove field
22259         extra_init.
22260         (struct test_fF_f1_data): Likewise.
22261         (struct test_ffI_f1_data): Likewise.
22262         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22263         based on value of EXTRA_EXPECTED.
22264         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22265         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22266         EXTRA_VAR based on value of EXTRA_EXPECTED.
22267         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22268         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22269         EXTRA_VAR based on value of EXTRA_EXPECTED.
22270         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22271         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22272         EXTRA_VAR based on value of EXTRA_EXPECTED.
22273         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22274         * math/gen-libm-test.pl (parse_args): Don't output initializers
22275         for extra output values.
22277         * math/libm-test.inc (check_int): Expect result to be exactly
22278         equal to expected value and do not handle ulps.
22279         (check_long): Likewise.
22280         (check_longlong): Likewise.
22282         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22283         exceptions.
22284         (cimag_test_data): Likewise.
22285         (conj_test_data): Likewise.
22286         (copysign_test_data): Likewise.
22287         (cproj_test_data): Likewise.
22288         (creal_test_data): Likewise.
22289         (fabs_test_data): Likewise.
22290         (fdim_test_data): Likewise.
22291         (finite_test_data): Likewise.
22292         (floor_test_data): Likewise.
22293         (fmax_test_data): Likewise.
22294         (fmin_test_data): Likewise.
22295         (fmod_test_data): Likewise.
22296         (fpclassify_test_data): Likewise.
22297         (frexp_test_data): Likewise.
22298         (ilogb_test_data): Likewise.
22299         (isfinite_test_data): Likewise.
22300         (isgreater_test_data): Likewise.
22301         (isgreaterequal_test_data): Likewise.
22302         (isinf_test_data): Likewise.
22303         (isless_test_data): Likewise.
22304         (islessequal_test_data): Likewise.
22305         (islessgreater_test_data): Likewise.
22306         (isnan_test_data): Likewise.
22307         (isnormal_test_data): Likewise.
22308         (issignaling_test_data): Likewise.
22309         (isunordered_test_data): Likewise.
22310         (ldexp_test_data): Likewise.
22311         (lrint_test_data): Likewise.
22312         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22313         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22314         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22315         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22316         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22317         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22318         test input.
22319         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22320         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22321         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22322         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22323         that test input.
22324         (lrint_downward_test_data): Test for "inexact" exceptions.
22325         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22326         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22327         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22328         test input.
22329         (lrint_upward_test_data): Test for "inexact" exceptions.
22330         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22331         test input.
22332         (llrint_test_data): Test for "inexact" exceptions.
22333         (llrint_test_data) [TEST_FLOAT]: Disable one test.
22334         (llrint_tonearest_test_data): Test for "inexact" exceptions.
22335         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22336         (llrint_towardzero_test_data): Test for "inexact" exceptions.
22337         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22338         (llrint_downward_test_data): Test for "inexact" exceptions.
22339         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22340         (llrint_upward_test_data): Test for "inexact" exceptions.
22341         (logb_test_data): Likewise.
22342         (logb_downward_test_data): Likewise.
22343         (nextafter_test_data): Likewise.
22344         (nexttoward_test_data): Likewise.
22345         (remainder_test_data): Likewise.
22346         (remquo_test_data): Likewise.
22347         (scalbn_test_data): Likewise.
22348         (scalbln_test_data): Likewise.
22349         (signbit_test_data): Likewise.
22350         (sqrt_test_data): Likewise.
22351         (significand_test_data): Likewise.
22353 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22355         [BZ #15424]
22356         * benchtests/bench-modf.c (struct args): Mark arg0 as
22357         volatile.
22358         * scripts/bench.pl: Mark members of struct args as volatile.
22360 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22362         [BZ # 15497]
22363         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22364         negative infinity on POWER6 or lower.
22365         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22367 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22369         [BZ #15442]
22370         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22371         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22372         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22373         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22374         (_FP_SETQNAN): New macro.
22375         (_FP_SETQNAN_SEMIRAW): Likewise.
22376         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22377         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22378         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22379         (FP_EXTEND): Use _FP_FRAC_SNANP.
22380         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22381         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22382         into account.
22383         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22384         New macro.
22385         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22386         Likewise.
22388 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22390         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22391         with DIVIDE_BY_ZERO_EXCEPTION.
22392         (gamma_test_data): Likewise.
22393         (lgamma_test_data): Likewise.
22394         (log_test_data): Likewise.
22395         (log10_test_data): Likewise.
22396         (log2_test_data): Likewise.
22397         (tgamma_test_data): Likewise.
22399         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22400         (acos_test_tonearest): Likewise.
22401         (acos_test_towardzero): Likewise.
22402         (acos_test_downward): Likewise.
22403         (acos_test_upward): Likewise.
22404         (acosh_test): Likewise.
22405         (asin_test): Likewise.
22406         (asin_test_tonearest): Likewise.
22407         (asin_test_towardzero): Likewise.
22408         (asin_test_downward): Likewise.
22409         (asin_test_upward): Likewise.
22410         (asinh_test): Likewise.
22411         (atan_test): Likewise.
22412         (atanh_test): Likewise.
22413         (atan2_test): Likewise.
22414         (cabs_test): Likewise.
22415         (cacos_test): Likewise.
22416         (cacosh_test): Likewise.
22417         (casin_test): Likewise.
22418         (casinh_test): Likewise.
22419         (catan_test): Likewise.
22420         (catanh_test): Likewise.
22421         (cbrt_test): Likewise.
22422         (ccos_test): Likewise.
22423         (ccosh_test): Likewise.
22424         (cexp_test): Likewise.
22425         (clog_test): Likewise.
22426         (clog10_test): Likewise.
22427         (cos_test): Likewise.
22428         (cos_test_tonearest): Likewise.
22429         (cos_test_towardzero): Likewise.
22430         (cos_test_downward): Likewise.
22431         (cos_test_upward): Likewise.
22432         (cosh_test): Likewise.
22433         (cosh_test_tonearest): Likewise.
22434         (cosh_test_towardzero): Likewise.
22435         (cosh_test_downward): Likewise.
22436         (cosh_test_upward): Likewise.
22437         (cpow_test): Likewise.
22438         (csin_test): Likewise.
22439         (csinh_test): Likewise.
22440         (csqrt_test): Likewise.
22441         (ctan_test): Likewise.
22442         (ctan_test_tonearest): Likewise.
22443         (ctan_test_towardzero): Likewise.
22444         (ctan_test_downward): Likewise.
22445         (ctan_test_upward): Likewise.
22446         (ctanh_test): Likewise.
22447         (ctanh_test_tonearest): Likewise.
22448         (ctanh_test_towardzero): Likewise.
22449         (ctanh_test_downward): Likewise.
22450         (ctanh_test_upward): Likewise.
22451         (erf_test): Likewise.
22452         (erfc_test): Likewise.
22453         (exp_test): Likewise.
22454         (exp_test_tonearest): Likewise.
22455         (exp_test_towardzero): Likewise.
22456         (exp_test_downward): Likewise.
22457         (exp_test_upward): Likewise.
22458         (exp10_test): Likewise.
22459         (exp2_test): Likewise.
22460         (expm1_test): Likewise.
22461         (fmod_test): Likewise.
22462         (gamma_test): Likewise.
22463         (hypot_test): Likewise.
22464         (j0_test): Likewise.
22465         (j1_test): Likewise.
22466         (jn_test): Likewise.
22467         (lgamma_test): Likewise.
22468         (log_test): Likewise.
22469         (log10_test): Likewise.
22470         (log1p_test): Likewise.
22471         (log2_test): Likewise.
22472         (logb_test_downward): Likewise.
22473         (pow_test): Likewise.
22474         (pow_test_tonearest): Likewise.
22475         (pow_test_towardzero): Likewise.
22476         (pow_test_downward): Likewise.
22477         (pow_test_upward): Likewise.
22478         (remainder_test): Likewise.
22479         (remquo_test): Likewise.
22480         (sin_test): Likewise.
22481         (sin_test_tonearest): Likewise.
22482         (sin_test_towardzero): Likewise.
22483         (sin_test_downward): Likewise.
22484         (sin_test_upward): Likewise.
22485         (sincos_test): Likewise.
22486         (sinh_test): Likewise.
22487         (sinh_test_tonearest): Likewise.
22488         (sinh_test_towardzero): Likewise.
22489         (sinh_test_downward): Likewise.
22490         (sinh_test_upward): Likewise.
22491         (sqrt_test): Likewise.
22492         (tan_test): Likewise.
22493         (tan_test_tonearest): Likewise.
22494         (tan_test_towardzero): Likewise.
22495         (tan_test_downward): Likewise.
22496         (tan_test_upward): Likewise.
22497         (tanh_test): Likewise.
22498         (tgamma_test): Likewise.
22499         (y0_test): Likewise.
22500         (y1_test): Likewise.
22501         (yn_test): Likewise.
22503         * math/gen-libm-test.pl (adjust_arg): Remove function.
22504         (special_function): Remove argument $in_func.  Only handle
22505         generating output for tables of tests, not inside functions.
22506         (parse_args): Likewise.
22507         (generate_testfile): Remove variable $in_func.  Update call to
22508         parse_args.
22509         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22510         (MINUS_ZERO_INIT): Rename macro to minus_zero.
22511         (PLUS_INFTY_INIT): Rename macro to plus_infty.
22512         (MINUS_INFTY_INIT): Rename macro to minus_infty.
22513         (QNAN_VALUE_INIT): Rename macro to qnan_value.
22514         (MAX_VALUE_INIT): Rename macro to max_value.
22515         (MIN_VALUE_INIT): Rename macro to min_value.
22516         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22517         (plus_zero): Remove variable.
22518         (minus_zero): Likewise.
22519         (plus_infty): Likewise.
22520         (minus_infty): Likewise.
22521         (qnan_value): Likewise.
22522         (max_value): Likewise.
22523         (min_value): Likewise.
22524         (min_subnorm_value): Likewise.
22526 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22528         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22529         uint64_t or uint32_t usage.
22530         * crypt/sha256-block.c: Likewise.
22531         * crypt/sha256-crypt.c: Likewise.
22532         * crypt/sha256.c: Likewise.
22533         * crypt/sha512-block.c: Likewise.
22534         * crypt/sha512-crypt.c: Likewise.
22535         * crypt/sha512.c: Likewise.
22536         * debug/backtrace-tst.c: Likewise.
22537         * debug/pcprofiledump.c: Likewise.
22538         * elf/cache.c: Likewise.
22539         * elf/dl-cache.c: Likewise.
22540         * elf/dl-misc.c: Likewise.
22541         * elf/dl-profile.c: Likewise.
22542         * elf/dl-support.c: Likewise.
22543         * elf/ldconfig.c: Likewise.
22544         * elf/sprof.c: Likewise.
22545         * iconv/dummy-repertoire.c: Likewise.
22546         * iconv/iconv_charmap.c: Likewise.
22547         * iconv/skeleton.c: Likewise.
22548         * iconvdata/8bit-generic.c: Likewise.
22549         * iconvdata/cp737.h: Likewise.
22550         * iconvdata/cp775.h: Likewise.
22551         * iconvdata/ibm1008.h: Likewise.
22552         * iconvdata/ibm1025.h: Likewise.
22553         * iconvdata/ibm1046.h: Likewise.
22554         * iconvdata/ibm1097.h: Likewise.
22555         * iconvdata/ibm1112.h: Likewise.
22556         * iconvdata/ibm1122.h: Likewise.
22557         * iconvdata/ibm1123.h: Likewise.
22558         * iconvdata/ibm1124.h: Likewise.
22559         * iconvdata/ibm1129.h: Likewise.
22560         * iconvdata/ibm1130.h: Likewise.
22561         * iconvdata/ibm1132.h: Likewise.
22562         * iconvdata/ibm1133.h: Likewise.
22563         * iconvdata/ibm1137.h: Likewise.
22564         * iconvdata/ibm1140.h: Likewise.
22565         * iconvdata/ibm1141.h: Likewise.
22566         * iconvdata/ibm1142.h: Likewise.
22567         * iconvdata/ibm1143.h: Likewise.
22568         * iconvdata/ibm1144.h: Likewise.
22569         * iconvdata/ibm1145.h: Likewise.
22570         * iconvdata/ibm1146.h: Likewise.
22571         * iconvdata/ibm1147.h: Likewise.
22572         * iconvdata/ibm1148.h: Likewise.
22573         * iconvdata/ibm1149.h: Likewise.
22574         * iconvdata/ibm1153.h: Likewise.
22575         * iconvdata/ibm1154.h: Likewise.
22576         * iconvdata/ibm1155.h: Likewise.
22577         * iconvdata/ibm1156.h: Likewise.
22578         * iconvdata/ibm1157.h: Likewise.
22579         * iconvdata/ibm1158.h: Likewise.
22580         * iconvdata/ibm1160.h: Likewise.
22581         * iconvdata/ibm1161.h: Likewise.
22582         * iconvdata/ibm1162.h: Likewise.
22583         * iconvdata/ibm1163.h: Likewise.
22584         * iconvdata/ibm1164.h: Likewise.
22585         * iconvdata/ibm1166.h: Likewise.
22586         * iconvdata/ibm1167.h: Likewise.
22587         * iconvdata/ibm12712.h: Likewise.
22588         * iconvdata/ibm1390.h: Likewise.
22589         * iconvdata/ibm1399.h: Likewise.
22590         * iconvdata/ibm16804.h: Likewise.
22591         * iconvdata/ibm4517.h: Likewise.
22592         * iconvdata/ibm4899.h: Likewise.
22593         * iconvdata/ibm4909.h: Likewise.
22594         * iconvdata/ibm4971.h: Likewise.
22595         * iconvdata/ibm5347.h: Likewise.
22596         * iconvdata/ibm803.h: Likewise.
22597         * iconvdata/ibm856.h: Likewise.
22598         * iconvdata/ibm901.h: Likewise.
22599         * iconvdata/ibm902.h: Likewise.
22600         * iconvdata/ibm9030.h: Likewise.
22601         * iconvdata/ibm9066.h: Likewise.
22602         * iconvdata/ibm921.h: Likewise.
22603         * iconvdata/ibm922.h: Likewise.
22604         * iconvdata/ibm9448.h: Likewise.
22605         * iconvdata/isiri-3342.h: Likewise.
22606         * iconvdata/jis0201.h: Likewise.
22607         * include/link.h: Likewise.
22608         * include/netdb.h: Likewise.
22609         * inet/check_native.c: Likewise.
22610         * inet/check_pf.c: Likewise.
22611         * inet/getipv4sourcefilter.c: Likewise.
22612         * inet/getnameinfo.c: Likewise.
22613         * inet/getsourcefilter.c: Likewise.
22614         * inet/htonl.c: Likewise.
22615         * inet/setipv4sourcefilter.c: Likewise.
22616         * inet/setsourcefilter.c: Likewise.
22617         * inet/test-inet6_opt.c: Likewise.
22618         * inet/tst-network.c: Likewise.
22619         * locale/C-collate.c: Likewise.
22620         * locale/C-ctype.c: Likewise.
22621         * locale/C-time.c: Likewise.
22622         * locale/C-translit.h: Likewise.
22623         * locale/loadarchive.c: Likewise.
22624         * locale/programs/3level.h: Likewise.
22625         * locale/programs/charmap.c: Likewise.
22626         * locale/programs/charmap.h: Likewise.
22627         * locale/programs/ld-address.c: Likewise.
22628         * locale/programs/ld-collate.c: Likewise.
22629         * locale/programs/ld-ctype.c: Likewise.
22630         * locale/programs/ld-identification.c: Likewise.
22631         * locale/programs/ld-measurement.c: Likewise.
22632         * locale/programs/ld-messages.c: Likewise.
22633         * locale/programs/ld-monetary.c: Likewise.
22634         * locale/programs/ld-name.c: Likewise.
22635         * locale/programs/ld-numeric.c: Likewise.
22636         * locale/programs/ld-paper.c: Likewise.
22637         * locale/programs/ld-telephone.c: Likewise.
22638         * locale/programs/ld-time.c: Likewise.
22639         * locale/programs/linereader.c: Likewise.
22640         * locale/programs/locale.c: Likewise.
22641         * locale/programs/locarchive.c: Likewise.
22642         * locale/programs/locfile.h: Likewise.
22643         * locale/programs/repertoire.c: Likewise.
22644         * locale/programs/simple-hash.c: Likewise.
22645         * locale/programs/simple-hash.h: Likewise.
22646         * malloc/memusage.c: Likewise.
22647         * malloc/memusagestat.c: Likewise.
22648         * nis/nis_defaults.c: Likewise.
22649         * nis/nis_hash.c: Likewise.
22650         * nis/nis_print.c: Likewise.
22651         * nis/nis_xdr.c: Likewise.
22652         * nscd/connections.c: Likewise.
22653         * nscd/hstcache.c: Likewise.
22654         * nscd/nscd_gethst_r.c: Likewise.
22655         * nscd/nscd_getserv_r.c: Likewise.
22656         * nscd/nscd_helper.c: Likewise.
22657         * nscd/servicescache.c: Likewise.
22658         * nss/makedb.c: Likewise.
22659         * nss/nss_db/db-XXX.c: Likewise.
22660         * nss/nss_db/db-initgroups.c: Likewise.
22661         * nss/nss_db/db-netgrp.c: Likewise.
22662         * nss/nss_files/files-network.c: Likewise.
22663         * nss/nss_files/files-parse.c: Likewise.
22664         * posix/bug-regex5.c: Likewise.
22665         * posix/fnmatch_loop.c: Likewise.
22666         * posix/regcomp.c: Likewise.
22667         * posix/regexec.c: Likewise.
22668         * posix/tst-rfc3484-2.c: Likewise.
22669         * posix/tst-rfc3484-3.c: Likewise.
22670         * posix/tst-rfc3484.c: Likewise.
22671         * resolv/nss_dns/dns-canon.c: Likewise.
22672         * resolv/nss_dns/dns-network.c: Likewise.
22673         * resolv/res_init.c: Likewise.
22674         * resolv/res_mkquery.c: Likewise.
22675         * resolv/tst-aton.c: Likewise.
22676         * stdlib/cxa_atexit.c: Likewise.
22677         * stdlib/cxa_finalize.c: Likewise.
22678         * stdlib/gen-fpioconst.c: Likewise.
22679         * stdlib/strtol_l.c: Likewise.
22680         * string/tst-endian.c: Likewise.
22681         * sunrpc/auth_des.c: Likewise.
22682         * sunrpc/clnt_udp.c: Likewise.
22683         * sunrpc/rtime.c: Likewise.
22684         * sunrpc/svcauth_des.c: Likewise.
22685         * sunrpc/xdr.c: Likewise.
22686         * sunrpc/xdr_intXX_t.c: Likewise.
22687         * sunrpc/xdr_rec.c: Likewise.
22688         * sysdeps/generic/ldconfig.h: Likewise.
22689         * sysdeps/generic/ldsodefs.h: Likewise.
22690         * sysdeps/generic/memusage.h: Likewise.
22691         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22692         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22693         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22694         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22695         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22696         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22697         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22698         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22699         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22700         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22701         * sysdeps/posix/getaddrinfo.c: Likewise.
22702         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22703         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22704         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22705         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22706         * sysdeps/powerpc/test-gettimebase.c: Likewise.
22707         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22708         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22709         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22710         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22711         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22712         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22713         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22714         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22715         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22716         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22717         * sysdeps/x86_64/dl-tls.h: Likewise.
22718         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22719         * time/alt_digit.c: Likewise.
22720         * time/era.c: Likewise.
22721         * wcsmbs/tst-c16c32-1.c: Likewise.
22723 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22725         * math/libm-test.inc (struct test_sincos_data): New type.
22726         (RUN_TEST_LOOP_sincos): New macro.
22727         (sincos_test_data): New variable.
22728         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22730 2013-05-16  Richard Henderson  <rth@redhat.com>
22732         * math/atest-exp2.c (LIMB64): New macro.
22733         (CONSTSZ): New macro.
22734         (mp_exp1, mp_exp_m1, mp_log2): New variables.
22735         (hexdig): Move ...
22736         (print_mpn_fp): ... to function scope.
22737         (read_mpn_hex): Remove.
22738         (get_log2): Remove.
22739         (exp2_mpn): Use mp_log2.
22740         (main): Use mp_exp1.
22742 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22744         * math/libm-test.inc: Remove comment about not testing "inexact"
22745         exceptions.
22746         (INEXACT_EXCEPTION): New macro.
22747         (NO_INEXACT_EXCEPTION): Likewise.
22748         (INVALID_EXCEPTION_OK): Update value.
22749         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22750         (OVERFLOW_EXCEPTION_OK): Likewise.
22751         (UNDERFLOW_EXCEPTION_OK): Likewise.
22752         (IGNORE_ZERO_INF_SIGN): Likewise.
22753         (ERRNO_UNCHANGED): Likewise.
22754         (ERRNO_EDOM): Likewise.
22755         (ERRNO_ERANGE): Likewise.
22756         (test_exceptions): Handle testing "inexact" exceptions.
22757         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22758         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22759         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22760         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22761         INEXACT_EXCEPTION.
22762         (rint_towardzero_test_data): Likewise.
22763         (rint_downward_test_data): Likewise.
22764         (rint_upward_test_data): Likewise.
22766         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22767         with OVERFLOW_EXCEPTION.
22768         (exp10_test_data): Likewise.
22769         (exp2_test_data): Likewise.
22770         (expm1_test_data): Likewise.
22771         (lgamma_test_data): Likewise.
22772         (pow_test_data): Likewise.
22773         (tgamma_test_data): Likewise.
22774         (yn_test_data): Remove duplicate test of overflow.
22776         * math/libm-test.inc (struct test_cc_c_data): New type.
22777         (RUN_TEST_LOOP_cc_c): New macro.
22778         (cpow_test_data): New variable.
22779         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22781         * math/libm-test.inc (struct test_f_L_data): New type.
22782         (RUN_TEST_LOOP_f_L): New macro.
22783         (llrint_test_data): New variable.
22784         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22785         (llrint_tonearest_test_data): New variable.
22786         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22787         (llrint_towardzero_test_data): New variable.
22788         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22789         (llrint_downward_test_data): New variable.
22790         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22791         (llrint_upward_test_data): New variable.
22792         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22793         (llround_test_data): New variable.
22794         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22796 2013-05-13  Peter Collingbourne  <pcc@google.com>
22798         * math/atest-exp2.c (get_log2): Remove const attribute.
22800 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22802         * math/libm-test.inc (struct test_f_l_data): New type.
22803         (RUN_TEST_LOOP_f_l): New macro.
22804         (lrint_test_data): New variable.
22805         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22806         (lrint_tonearest_test_data): New variable.
22807         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22808         (lrint_towardzero_test_data): New variable.
22809         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22810         (lrint_downward_test_data): New variable.
22811         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22812         (lrint_upward_test_data): New variable.
22813         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22814         (lround_test_data): New variable.
22815         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22817 2013-05-15  Peter Collingbourne  <pcc@google.com>
22819         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22820         (EXTRACT_WORDS64) Use where appropriate.
22821         (INSERT_WORDS64) Likewise.
22823         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22824         constraints with x constraints.
22825         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22827         * malloc/obstack.c (_obstack_compat): Add initializer.
22829 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22831         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22832         si_trapno and add si_addr_lsb to _sifields.sigfault.
22833         (si_trapno): Remove macro.
22834         (si_addr_lsb): Define new macro.
22835         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22837 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22839         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22840         instead of TEST_f_l.
22841         (llrint_test_tonearest): Likewise.
22842         (llrint_test_towardzero): Likewise.
22843         (llrint_test_downward): Likewise.
22844         (llrint_test_upward): Likewise.
22845         (llround_test): Likewise.
22847         * math/libm-test.inc (struct test_f_i_data): Add comment.
22848         (RUN_TEST_LOOP_f_b): New macro.
22849         (RUN_TEST_LOOP_f_b_tg): Likewise.
22850         (finite_test_data): New variable.
22851         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22852         (isfinite_test_data): New variable.
22853         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22854         (isinf_test_data): New variable.
22855         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22856         (isnan_test_data): New variable.
22857         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22858         (isnormal_test_data): New variable.
22859         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22860         (issignaling_test_data): New variable.
22861         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22862         (signbit_test_data): New variable.
22863         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22865         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22866         with INVALID_EXCEPTION.
22867         (acosh_test_data): Likewise.
22868         (asin_test_data): Likewise.
22869         (atanh_test_data): Likewise.
22870         (fmod_test_data): Likewise.
22871         (log_test_data): Likewise.
22872         (log10_test_data): Likewise.
22873         (log2_test_data): Likewise.
22874         (pow_test_data): Likewise.
22875         (sqrt_test_data): Likewise.
22876         (y0_test_data): Likewise.
22877         (y1_test_data): Likewise.
22878         (yn_test_data): Likewise.
22880         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22881         function contents.
22883         * math/libm-test.inc (struct test_ff_i_data): New type.
22884         (RUN_TEST_LOOP_ff_i_tg): New macro.
22885         (isgreater_test_data): New variable.
22886         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22887         (isgreaterequal_test_data): New variable.
22888         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22889         (isless_test_data): New variable.
22890         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22891         (islessequal_test_data): New variable.
22892         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22893         (islessgreater_test_data): New variable.
22894         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22895         (isunordered_test_data): New variable.
22896         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22898 2013-05-14  David S. Miller  <davem@davemloft.net>
22900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22902 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
22904         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22906         * math/libm-test.inc (struct test_fF_f1_data): Change type of
22907         extra_test to int.
22908         (struct test_f_i_data): Change type of max_ulp to int.
22910         * math/libm-test.inc (test_ffI_f1_data): New type.
22911         (RUN_TEST_LOOP_ffI_f1): New macro.
22912         (remquo_test_data): New variable.
22913         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22915         * setjmp/tst-setjmp-fp.c: New file.
22916         * setjmp/Makefile (tests): Add tst-setjmp-fp.
22917         (link-libm): New variable.
22918         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22920         * math/libm-test.inc (struct test_f_i_data): New type.
22921         (RUN_TEST_LOOP_f_i): New macro.
22922         (RUN_TEST_LOOP_f_i_tg): Likewise.
22923         (fpclassify_test_data): New variable.
22924         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22925         (ilogb_test_data): New variable.
22926         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22928         * math/libm-test.inc (scalbln_test): Correct function name in END
22929         call.
22931         * math/libm-test.inc (struct test_f_f1_data): Add comment.
22932         (RUN_TEST_LOOP_fI_f1): New macro.
22933         (frexp_test_data): New variable.
22934         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22936         * math/libm-test.inc (struct test_fF_f1_data): New type.
22937         (RUN_TEST_LOOP_fF_f1): New macro.
22938         (modf_test_data): New variable.
22939         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22941         * math/libm-test.inc (struct test_f_f1_data): New type.
22942         (RUN_TEST_LOOP_f_f1): New macro.
22943         (gamma_test_data): New variable.
22944         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22945         (lgamma_test_data): New variable.
22946         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22948 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
22950         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22951         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22952         (main): Comment "tls" pseudo-hwcap.
22954 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
22956         * math/libm-test.inc (struct test_fl_f_data): New type.
22957         (RUN_TEST_LOOP_fl_f): New variable.
22958         (scalbln_test_data): New variable.
22959         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22961         * math/libm-test.inc (struct test_fi_f_data): New type.
22962         (RUN_TEST_LOOP_fi_f): New macro.
22963         (ldexp_test_data): New variable.
22964         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22965         (scalbn_test_data): New variable.
22966         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22968         * math/libm-test.inc (struct test_c_f_data): New type.
22969         (RUN_TEST_LOOP_c_f): New macro.
22970         (cabs_test_data): New variable.
22971         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22972         (carg_test_data): New variable.
22973         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22974         (cimag_test_data): New variable.
22975         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22976         (creal_test_data): New variable.
22977         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22979         * math/libm-test.inc (struct test_if_f_data): New type.
22980         (RUN_TEST_LOOP_if_f): New macro.
22981         (jn_test_data): New variable.
22982         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22983         (yn_test_data): New variable.
22984         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22986         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22988 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22990         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22991         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22993 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22995         * benchtests/Makefile (CPPFLAGS-nonlib): Add
22996         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22997         (bench-deps): Add bench-timing.h.
22998         * benchtests-bench-skeleton.c: Include bench-timing.h.
22999         (main): Use TIMING_* macros instead of clock_gettime.
23000         * benchtests/bench-timing.h: New file.
23002         [BZ #14582]
23003         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23004         Renamed from _LIB_VERSION.
23005         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23007 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
23009         * math/libm-test.inc (struct test_fff_f_data): New type.
23010         (RUN_TEST_LOOP_fff_f): New macro.
23011         (fma_test_data): New variable.
23012         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23013         (fma_towardzero_test_data): New variable.
23014         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23015         (fma_downward_test_data): New variable.
23016         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23017         (fma_upward_test_data): New variable.
23018         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23020         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23021         (struct test_c_c_data): New type.
23022         (RUN_TEST_LOOP_c_c): New macro.
23023         (cacos_test_data): New variable.
23024         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23025         (cacosh_test_data): New variable.
23026         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23027         (casin_test_data): New variable.
23028         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23029         (casinh_test_data): New variable.
23030         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23031         (catan_test_data): New variable.
23032         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23033         (catanh_test_data): New variable.
23034         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23035         (ccos_test_data): New variable.
23036         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23037         (ccosh_test_data): New variable.
23038         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23039         (cexp_test_data): New variable.
23040         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23041         (clog_test_data): New variable.
23042         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23043         (clog10_test_data): New variable.
23044         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23045         (conj_test_data): New variable.
23046         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23047         (cproj_test_data): New variable.
23048         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23049         (csin_test_data): New variable.
23050         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23051         (csinh_test_data): New variable.
23052         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23053         (csqrt_test_data): New variable.
23054         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23055         (ctan_test_data): New variable.
23056         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23057         (ctan_tonearest_test_data): New variable.
23058         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23059         (ctan_towardzero_test_data): New variable.
23060         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23061         (ctan_downward_test_data): New variable.
23062         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23063         (ctan_upward_test_data): New variable.
23064         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23065         (ctanh_test_data): New variable.
23066         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23067         (ctanh_tonearest_test_data): New variable.
23068         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23069         (ctanh_towardzero_test_data): New variable.
23070         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23071         (ctanh_downward_test_data): New variable.
23072         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23073         (ctanh_upward_test_data): New variable.
23074         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23075         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23076         of BUILD_COMPLEX.
23078         * math/libm-test.inc (struct test_ff_f_data): New type.
23079         (struct test_ff_f_data_nexttoward): Likewise.
23080         (RUN_TEST_LOOP_2_f): New macro.
23081         (RUN_TEST_LOOP_ff_f): Likewise.
23082         (atan2_test_data): New variable.
23083         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23084         (copysign_test_data): New variable.
23085         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23086         (fdim_test_data): New variable.
23087         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23088         (fmax_test_data): New variable.
23089         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23090         (fmin_test_data): New variable.
23091         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23092         (fmod_test_data): New variable.
23093         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23094         (hypot_test_data): New variable.
23095         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23096         (nextafter_test_data): New variable.
23097         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23098         (nexttoward_test_data): New variable.
23099         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23100         (pow_test_data): New variable.
23101         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23102         (pow_tonearest_test_data): New variable.
23103         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23104         (pow_towardzero_test_data): New variable.
23105         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23106         (pow_downward_test_data): New variable.
23107         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23108         (pow_upward_test_data): New variable.
23109         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23110         (remainder_test_data): New variable.
23111         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23112         (scalb_test_data): New variable.
23113         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23114         * sysdeps/i386/fpu/libm-test-ulps: Update.
23116 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23118         * math/libm-test.inc (fma_test): Use max_value instead of local
23119         variable fltmax.
23120         (nextafter_test): Likewise.
23122         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23123         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23124         (acos_downward_test_data): New variable.
23125         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23126         (acos_upward_test_data): New variable.
23127         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23128         (acosh_test_data): New variable.
23129         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23130         (asin_test_data): New variable.
23131         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23132         (asin_tonearest_test_data): New variable.
23133         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23134         (asin_towardzero_test_data): New variable.
23135         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23136         (asin_downward_test_data): New variable.
23137         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23138         (asin_upward_test_data): New variable.
23139         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23140         (asinh_test_data): New variable.
23141         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23142         (atan_test_data): New variable.
23143         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23144         (atanh_test_data): New variable.
23145         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23146         (cbrt_test_data): New variable.
23147         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23148         (ceil_test_data): New variable.
23149         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23150         (cos_test_data): New variable.
23151         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23152         (cos_tonearest_test_data): New variable.
23153         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23154         (cos_towardzero_test_data): New variable.
23155         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23156         (cos_downward_test_data): New variable.
23157         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23158         (cos_upward_test_data): New variable.
23159         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23160         (cosh_test_data): New variable.
23161         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23162         (cosh_tonearest_test_data): New variable.
23163         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23164         (cosh_towardzero_test_data): New variable.
23165         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23166         (cosh_downward_test_data): New variable.
23167         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23168         (cosh_upward_test_data): New variable.
23169         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23170         (erf_test_data): New variable.
23171         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23172         (erfc_test_data): New variable.
23173         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23174         (exp_test_data): New variable.
23175         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23176         (exp_tonearest_test_data): New variable.
23177         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23178         (exp_towardzero_test_data): New variable.
23179         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23180         (exp_downward_test_data): New variable.
23181         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23182         (exp_upward_test_data): New variable.
23183         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23184         (exp10_test_data): New variable.
23185         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23186         (exp2_test_data): New variable.
23187         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23188         (expm1_test_data): New variable.
23189         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23190         (fabs_test_data): New variable.
23191         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23192         (floor_test_data): New variable.
23193         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23194         (j0_test_data): New variable.
23195         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23196         (j1_test_data): New variable.
23197         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23198         (log_test_data): New variable.
23199         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23200         (log10_test_data): New variable.
23201         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23202         (log1p_test_data): New variable.
23203         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23204         (log2_test_data): New variable.
23205         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23206         (logb_test_data): New variable.
23207         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23208         (logb_downward_test_data): New variable.
23209         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23210         (nearbyint_test_data): New variable.
23211         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23212         (rint_test_data): New variable.
23213         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23214         (rint_tonearest_test_data): New variable.
23215         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23216         (rint_towardzero_test_data): New variable.
23217         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23218         (rint_downward_test_data): New variable.
23219         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23220         (rint_upward_test_data): New variable.
23221         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23222         (round_test_data): New variable.
23223         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23224         (sin_test_data): New variable.
23225         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23226         (sin_tonearest_test_data): New variable.
23227         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23228         (sin_towardzero_test_data): New variable.
23229         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23230         (sin_downward_test_data): New variable.
23231         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23232         (sin_upward_test_data): New variable.
23233         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23234         (sinh_test_data): New variable.
23235         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23236         (sinh_tonearest_test_data): New variable.
23237         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23238         (sinh_towardzero_test_data): New variable.
23239         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23240         (sinh_downward_test_data): New variable.
23241         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23242         (sinh_upward_test_data): New variable.
23243         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23244         (sqrt_test_data): New variable.
23245         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23246         (tan_test_data): New variable.
23247         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23248         (tan_tonearest_test_data): New variable.
23249         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23250         (tan_towardzero_test_data): New variable.
23251         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23252         (tan_downward_test_data): New variable.
23253         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23254         (tan_upward_test_data): New variable.
23255         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23256         (tanh_test_data): New variable.
23257         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23258         (tgamma_test_data): New variable.
23259         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23260         (trunc_test_data): New variable.
23261         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23262         (y0_test_data): New variable.
23263         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23264         (y1_test_data): New variable.
23265         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23266         (significand_test_data): New variable.
23267         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23269 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23271         [BZ #12387]
23272         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23274 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23276         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23278 2013-05-10  Andreas Jaeger  <aj@suse.de>
23280         [BZ #15448]
23281         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23282         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23284 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23286         * math/gen-libm-test.pl (adjust_arg): New function.
23287         (special_functions): Handle generating output in both functions
23288         and arrays.
23289         (parse_args): Likewise.
23290         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23291         $in_func argument to parse_args.
23292         * math/libm-test.inc (struct test_f_f_data): New type.
23293         (IF_ROUND_INIT_): New macro.
23294         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23295         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23296         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23297         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23298         (ROUND_RESTORE_): Likewise.
23299         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23300         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23301         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23302         (ROUND_RESTORE_FE_UPWARD): Likewise.
23303         (RUN_TEST_LOOP_f_f): New macro.
23304         (acos_test_data): New variable.
23305         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23306         (acos_tonearest_test_data): New variable.
23307         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23309 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23311         * benchtests/bench-skeleton.c (startup): Fix coding style.
23313 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23315         [BZ #6809]
23316         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23317         negative infinity argument.
23318         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23319         negative infinity argument.
23320         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23321         negative infinity argument.
23322         * math/libm-test.inc (tgamma_test): Expect errno to be set for
23323         domain errors.
23325 2013-05-10  Florian Weimer  <fweimer@redhat.com>
23327         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23328         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23329         * iconv/iconv_prog.c (main): Likewise.
23330         * locale/programs/charmap-dir.c (charmap_readdir)
23331         (fopen_uncompressed): Likewise.
23332         * locale/programs/locfile.c (siblings_uncached)
23333         (write_locale_data): Use lstat64 instead of lstat.
23334         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23335         stat.
23337 2013-05-10  Andreas Jaeger  <aj@suse.de>
23339         [BZ #15395]
23340         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23341         localization.
23342         Include <locale.h>.
23344 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
23346         * elf/dl-close.c (_dl_close_worker): Add comments.
23348 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
23350         [BZ #15359]
23351         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23352         high part of pi/2.
23353         (__ieee754_rem_pio2l): Update comments.
23355         [BZ #15429]
23356         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23357         high part of pi/2.
23358         (__ieee754_rem_pio2l): Update comments.
23360         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23361         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23363         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23364         M_PI_4l.
23366         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23367         (M_PI_34_LOG10El): Likewise.
23368         (M_PI2_LOG10El): Likewise.
23369         (M_PI4_LOG10El): Likewise.
23370         (M_PI_LOG10El): Likewise.
23372 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23376 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
23378         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23379         (MINUS_ZERO_INIT): Likewise.
23380         (PLUS_INFTY_INIT): Likewise.
23381         (MINUS_INFTY_INIT): Likewise.
23382         (QNAN_VALUE_INIT): Likewise.
23383         (MAX_VALUE_INIT): Likewise.
23384         (MIN_VALUE_INIT): Likewise.
23385         (MIN_SUBNORM_VALUE_INIT): Likewise.
23386         (plus_zero): Initialize with PLUS_ZERO_INIT.
23387         (minus_zero): Initialize with MINUS_ZERO_INIT.
23388         (plus_infty): Initialize with PLUS_INFTY_INIT.
23389         (minus_infty): Initialize with MINUS_INFTY_INIT.
23390         (qnan_value): Initialize with QNAN_VALUE_INIT.
23391         (max_value): Initialize with MAX_VALUE_INIT.
23392         (min_value): Initialize with MIN_VALUE_INIT.
23393         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23395         * math/libm-test.inc (RUN_TEST_if_f): New macro.
23396         (jn_test): Use TEST_if_f instead of TEST_ff_f.
23397         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23398         (yn_test): Use TEST_if_f instead of TEST_ff_f.
23400         * math/libm-test.inc (RUN_TEST_f_f): New macro.
23401         (RUN_TEST_2_f): Likewise.
23402         (RUN_TEST_ff_f): Likewise.
23403         (RUN_TEST_fi_f): Likewise.
23404         (RUN_TEST_fl_f): Likewise.
23405         (RUN_TEST_fff_f): Likewise.
23406         (RUN_TEST_c_f): Likewise.
23407         (RUN_TEST_f_f1): Likewise.
23408         (RUN_TEST_fF_f1): Likewise.
23409         (RUN_TEST_fI_f1): Likewise.
23410         (RUN_TEST_ffI_f1): Likewise.
23411         (RUN_TEST_c_c): Likewise.
23412         (RUN_TEST_cc_c): Likewise.
23413         (RUN_TEST_f_i): Likewise.
23414         (RUN_TEST_f_i_tg): Likewise.
23415         (RUN_TEST_ff_i_tg): Likewise.
23416         (RUN_TEST_f_b): Likewise.
23417         (RUN_TEST_f_b_tg): Likewise.
23418         (RUN_TEST_f_l): Likewise.
23419         (RUN_TEST_f_L): Likewise.
23420         (RUN_TEST_sincos): Likewise.
23421         * math/gen-libm-test.pl (new_test): Take new argument to indicate
23422         whether to show exceptions.  Do not include ");\n" in return
23423         value.
23424         (special_functions): Output call to RUN_TEST_sincos instead of
23425         check_float calls.  Update calls to new_test.
23426         (parse_args): Output call to single RUN_TEST_* macro instead of
23427         check_* calls and other assignments.  Update calls to new_test.
23429         [BZ #2546]
23430         [BZ #2560]
23431         [BZ #5159]
23432         [BZ #15426]
23433         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23434         input to result for tgamma overflow.
23435         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23436         (gamma_coeff): New variable.
23437         (NCOEFF): New macro.
23438         (gamma_positive): New function.
23439         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23440         underflow here.  Use gamma_positive instead of exp (lgamma) for
23441         other arguments.
23442         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23443         (gamma_coeff): New variable.
23444         (NCOEFF): New macro.
23445         (gammaf_positive): New function.
23446         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23447         underflow here.  Use gamma_positive instead of exp (lgamma) for
23448         other arguments.
23449         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23450         (gamma_coeff): New variable.
23451         (NCOEFF): New macro.
23452         (gammal_positive): New function.
23453         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23454         underflow here.  Use gamma_positive instead of exp (lgamma) for
23455         other arguments.
23456         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23457         (gamma_coeff): New variable.
23458         (NCOEFF): New macro.
23459         (gammal_positive): New function.
23460         (__ieee754_gammal_r): Handle positive infinity, overflow and
23461         underflow here.  Handle NaN the same as positive infinity.  Remove
23462         check x < 0xffffffff for negative integers.  Use gamma_positive
23463         instead of exp (lgamma) for other arguments.
23464         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23465         (gamma_coeff): New variable.
23466         (NCOEFF): New macro.
23467         (gammal_positive): New function.
23468         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23469         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23470         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23471         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23472         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23473         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23474         * sysdeps/generic/math_private.h (__gamma_productf): New
23475         prototype.
23476         (__gamma_product): Likewise.
23477         (__gamma_productl): Likewise.
23478         * math/Makefile (libm-calls): Add gamma_product.
23479         * math/libm-test.inc (tgamma_test): Add more tests.
23480         * sysdeps/i386/fpu/libm-test-ulps: Update.
23481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23483 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
23485         * benchtests/bench-skeleton.c (main): Preheat CPU.
23487 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
23489         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23491 2013-05-07  Roland McGrath  <roland@hack.frob.com>
23493         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23494         and _dl_skip_args_internal.
23496 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
23498         * manual/message.texi (Message Translation): Talk about users.
23499         Message to key mapping impacts design.
23501 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23503         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23505         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23507         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23508         * sysdeps/wordsize-64/glob64.c: ... here.
23510         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23511         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23512         New macros.
23514         * debug/getlogin_r_chk.c: Moved to ...
23515         * login/getlogin_r_chk.c: ... here.
23516         * debug/Makefile (routines): Move getlogin_r_chk to ...
23517         * login/Makefile (routines): ... here.
23518         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23519         * login/Versions (libc: GLIBC_2.4): ... here.
23521         * io/poll.c (__poll): Renamed from poll.
23522         Add libc_hidden_def.
23523         (poll): Define as weak alias.
23525         * debug/ptsname_r_chk.c: Moved to ...
23526         * login/ptsname_r_chk.c: ... here.
23527         * debug/Makefile (routines): Move ptsname_r_chk to ...
23528         * login/Makefile (routines): ... here.
23529         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23530         * login/Versions (libc: GLIBC_2.4): ... here.
23532         * posix/getlogin.c: Moved to ...
23533         * login/getlogin.c: ... here.
23534         * posix/getlogin_r.c: Moved to ...
23535         * login/getlogin_r.c: ... here.
23536         * posix/getlogin_r.c: Moved to ...
23537         * login/getlogin_r.c: ... here.
23538         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23539         * login/Makefile (routines): ... here.
23540         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23541         * login/Versions (libc: GLIBC_2.0): ... here.
23543         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23544         (setrlimit): Define as weak alias.
23546         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23547         Call __ names for open, ftruncate, and close.
23548         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23549         (truncate): Define as weak alias.
23551 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
23553         * math/gen-libm-test.pl (parse_args): Initialize x before each
23554         test of frexp, modf and remquo.
23556         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23557         test signgam value.
23559 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23561         [BZ #15418]
23562         [BZ #15419]
23563         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23564         internal tests.
23565         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23567 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23569         * elf/dl-writev.h: New file.
23570         * elf/dl-misc.c: Include it.
23571         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23572         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23574 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
23576         * math/libm-test.inc (noXFails): Remove variable.
23577         (noXPasses): Likewise.
23578         (BUILD_COMPLEX_INT): Remove macro.
23579         (print_screen): Remove xfail argument.
23580         (print_screen_max_error): Likewise.
23581         (update_stats): Likewise.
23582         (print_max_error): Likewise.  Update calls to other affected
23583         functions.
23584         (print_complex_max_error): Likewise.
23585         (test_single_exception): Update calls to print_screen.
23586         (test_single_errno): Likewise.
23587         (check_float_internal): Remove xfail argument.  Update calls to
23588         other affected functions.
23589         (check_float): Likewise.
23590         (check_complex): Likewise.
23591         (check_int): Likewise.
23592         (check_long): Likewise.
23593         (check_bool): Likewise.
23594         (check_longlong): Likewise.
23595         (main): Don't print noXFails and noXPasses.
23596         * math/gen-libm-test.pl (top level): Don't mention expected
23597         failure handling in comment.
23598         (new_test): Don't handle expected failures.
23599         (parse_args): Don't mention expected failure handling in comment.
23600         (generate_testfile): Don't handle expected failures.
23601         (parse_ulps): Likewise.
23602         (print_ulps_file): Likewise.
23603         (get_failure): Remove function.
23604         (output_test): Don't handle expected failures.
23605         * make/README.libm-test: Don't mention expected failure handling.
23607         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
23608         (minus_zero): Likewise.
23609         (plus_infty): Likewise.
23610         (minus_infty): Likewise.
23611         (qnan_value): Likewise.
23612         (max_value): Likewise.
23613         (min_value): Likewise.
23614         (min_subnorm_value): Likewise.
23615         (initialize): Do not initialize those variables dynamically.
23617 2013-05-03  Roland McGrath  <roland@hack.frob.com>
23619         * io/open.c (__open_2): Moved to ...
23620         * io/open_2.c: ... this new file.
23621         * io/open64.c (__open64_2): Moved to ...
23622         * io/open64_2.c: ... this new file.
23623         * io/openat.c (__openat_2): Moved to ...
23624         * io/openat_2.c: ... this new file.
23625         * io/openat64.c (__openat64_2): Moved to ...
23626         * io/openat64_2.c: ... this new file.
23627         * io/Makefile (routines): Add them.
23628         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23629         * sysdeps/unix/sysv/linux/open_2.c: File removed.
23630         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23631         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23632         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23633         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23634         (__openat64): Add hidden_ver.
23635         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23636         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23638         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23639         Separately conditionalize setting of GLRO(dl_sysinfo) so
23640         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23641         as well, but the actual setting is only under [NEED_DL_SYSINFO].
23643 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23645         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23646         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23647         definition.
23648         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23649         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23650         (_libc_vdso_platform_setup): Add __vdso_time initialization.
23651         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23652         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23654 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
23656         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23657         test signgam value.
23659         * math/libm-test.inc (hypot_test): Do not use
23660         IGNORE_ZERO_INF_SIGN.
23662 2013-05-03  Andreas Jaeger  <aj@suse.de>
23664         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23665         Linux 3.9.
23666         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23667         (PF_MAX): Adjust for VSOCK change.
23669 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23673 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
23675         [BZ #15264]
23676         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23677         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23678         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23680 2013-05-02  David S. Miller  <davem@davemloft.net>
23682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23684 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
23686         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23688 2013-05-01  Roland McGrath  <roland@hack.frob.com>
23690         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23692 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
23694         [BZ #14952]
23695         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23696         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23697         Use __attribute__ ((__gnu_inline__)).
23698         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23699         Don't use __attribute__ ((__gnu_inline__)).
23701 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
23703         [BZ #15423]
23704         * math/s_catan.c (__catan): Handle small real or imaginary part of
23705         input specially to avoid spurious underflow.
23706         * math/s_catanf.c (__catanf): Likewise.
23707         * math/s_catanh.c (__catanh): Likewise.
23708         * math/s_catanhf.c (__catanhf): Likewise.
23709         * math/s_catanhl.c (__catanhl): Likewise.
23710         * math/s_catanl.c (__catanl): Likewise.
23711         * math/libm-test.inc (catan_test): Add more tests.
23712         (catanh_test): Likewise.
23713         * sysdeps/i386/fpu/libm-test-ulps: Update.
23714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23716 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23720 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
23722         [BZ #15416]
23723         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23724         accurately for denominator in atan2.
23725         * math/s_catanf.c (__catanf): Likewise.
23726         * math/s_catanh.c (__catanh): Likewise.
23727         * math/s_catanhf.c (__catanhf): Likewise.
23728         * math/s_catanhl.c (__catanhl): Likewise.
23729         * math/s_catanl.c (__catanl): Likewise.
23730         * math/libm-test.inc (catan_test): Add more tests.
23731         (catanh_test): Likewise.
23732         * sysdeps/i386/fpu/libm-test-ulps: Update.
23733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23735 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23737         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23739         * benchtests/Makefile (bench): Remove slow benchmarks.
23740         * benchtests/atan-inputs: Add slow benchmark inputs.
23741         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23742         (BENCH_FUNC): Accept variant offset.
23743         (VARIANT): Define.
23744         * benchtests/bench-skeleton.c (main): Run benchmark for each
23745         variant.
23746         * benchtests/cos-inputs: Add slow benchmark inputs.
23747         * benchtests/exp-inputs: Likewise.
23748         * benchtests/pow-inputs: Likewise.
23749         * benchtests/sin-inputs: Likewise.
23750         * benchtests/slowatan-inputs: Remove.
23751         * benchtests/slowatan.c: Remove.
23752         * benchtests/slowcos-inputs: Remove.
23753         * benchtests/slowcos.c: Remove.
23754         * benchtests/slowexp-inputs: Remove.
23755         * benchtests/slowexp.c: Remove.
23756         * benchtests/slowpow-inputs: Remove.
23757         * benchtests/slowpow.c: Remove.
23758         * benchtests/slowsin-inputs: Remove.
23759         * benchtests/slowsin.c: Remove.
23760         * benchtests/slowtan-inputs: Remove.
23761         * benchtests/slowtan.c: Remove.
23762         * benchtests/tan-inputs: Add slow benchmark inputs.
23763         * scripts/bench.pl: Parse comments and directives.
23765         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
23766         in CPPFLAGS.
23767         ($(objpfx)bench-%.c): Remove *-ITER.
23768         * benchtests/bench-modf.c: Remove definition of ITER.
23769         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23770         (main): Loop for DURATION seconds instead of fixed number of
23771         iterations.
23772         * scripts/bench.pl: Don't expect iterations in parameters.
23774 2013-04-29  Roland McGrath  <roland@hack.frob.com>
23776         * io/fchdir.c (__fchdir): Renamed from fchdir.
23777         (fchdir): Define as weak alias.
23779 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23781         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23782         (ERRNO_EDOM): Likewise.
23783         (ERRNO_ERANGE): Likewise.
23784         (noErrnoTests): New variable.
23785         (init_max_error): Set errno to 0.
23786         (test_single_errno): New function.
23787         (test_errno): Likewise.
23788         (check_float_internal): Call test_errno.  Set errno to 0.
23789         (check_complex): Refer to errno tests in comment.
23790         (check_int): Call test_errno.  Set errno to 0.
23791         (check_long): Likewise.
23792         (check_bool): Likewise.
23793         (check_longlong): Likewise.
23794         (cos_test): Use ERRNO_* flags for errno tests instead of
23795         check_int.
23796         (expm1_test): Likewise.
23797         (fmod_test): Likewise.
23798         (ilogb_test): Likewise.
23799         (lgamma_test): Likewise.
23800         (pow_test): Likewise.
23801         (remainder_test): Likewise.
23802         (sin_test): Likewise.
23803         (tan_test): Likewise.
23804         (yn_test): Likewise.
23805         (initialize): Set errno to 0.
23806         (main): Print number of errno tests.
23807         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23809 2013-04-29  Andreas Jaeger  <aj@suse.de>
23811         [BZ #15084]
23812         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23813         and RES_USEVC.
23815         [BZ #15085]
23816         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23817         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23818         unimplemented.
23820         [BZ #15380]
23821         * stdlib/random.c (__initstate): Return NULL if
23822         __initstate fails.
23824         [BZ #15086]
23825         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23826         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23827         RES_SNGLKUPREOP.
23829 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23833 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23835         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23836         of individual tests.
23837         (casin_test): Likewise.
23838         (casinh_test): Likewise.
23840 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
23842         [BZ #15409]
23843         * math/s_catan.c (__catan): Handle arguments with large real or
23844         imaginary part separately without squaring.
23845         * math/s_catanf.c (__catanf): Likewise.
23846         * math/s_catanh.c (__catanh): Likewise.
23847         * math/s_catanhf.c (__catanhf): Likewise.
23848         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23849         and redefine.
23850         (__catanhl): Handle arguments with large real or imaginary part
23851         separately without squaring.
23852         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23853         and redefine.
23854         (__catanl): Handle arguments with large real or imaginary part
23855         separately without squaring.
23856         * math/libm-test.inc (catan_test): Add more tests.
23857         (catanh_test): Likewise.
23858         * sysdeps/i386/fpu/libm-test-ulps: Update.
23859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23861 2013-04-27  Andreas Jaeger  <aj@suse.de>
23863         [BZ #15007]
23864         * stdlib/stdlib.h: Update guards for qecvt.
23865         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23866         <stdlib.h>.
23868 2013-04-27  Allan McRae  <allan@archlinux.org>
23870         * sysdeps/i386/fpu/libm-test-ulps: Update.
23872 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
23874         [BZ #15406]
23875         * math/s_catan.c: Include <float.h>.
23876         (__catan): Ensure underflow exception occurs for underflowed
23877         result.
23878         * math/s_catanf.c: Include <float.h>.
23879         (__catanf): Ensure underflow exception occurs for underflowed
23880         result.
23881         * math/s_catanh.c: Include <float.h>.
23882         (__catanh): Ensure underflow exception occurs for underflowed
23883         result.
23884         * math/s_catanhf.c: Include <float.h>.
23885         (__catanhf): Ensure underflow exception occurs for underflowed
23886         result.
23887         * math/s_catanhl.c: Include <float.h>.
23888         (__catanhl): Ensure underflow exception occurs for underflowed
23889         result.
23890         * math/s_catanl.c: Include <float.h>.
23891         (__catanl): Ensure underflow exception occurs for underflowed
23892         result.
23893         * math/libm-test.inc (catan_test): Add more tests.
23894         (catanh_test): Likewise.
23896         [BZ #15405]
23897         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23898         underflowed result.
23899         * math/s_ccoshf.c (__ccoshf): Likewise.
23900         * math/s_ccoshl.c (__ccoshl): Likewise.
23901         * math/s_csin.c (__csin): Likewise.
23902         * math/s_csinf.c (__csinf): Likewise.
23903         * math/s_csinh.c (__csinh): Likewise.
23904         * math/s_csinhf.c (__csinhf): Likewise.
23905         * math/s_csinhl.c (__csinhl): Likewise.
23906         * math/s_csinl.c (__csinl): Likewise.
23907         * math/libm-test.inc (ccos_test): Add more tests.
23908         (ccosh_test): Likewise.
23909         (csin_test): Likewise.
23910         (csinh_test): Likewise.
23912 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23914         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23915         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23916         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23917         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23918         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23919         powerpc/power5+/fpu folders.
23920         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23923 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23927 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
23929         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23930         additions to variable.
23931         [$(config-machine) = x86_64] (modules-names): Likewise.
23932         ($(objpfx)tst-audit3): Remove dependency.
23933         ($(objpfx)tst-audit3.out): Likewise.
23934         ($(objpfx)tst-audit4): Likewise.
23935         ($(objpfx)tst-audit4.out): Likewise.
23936         ($(objpfx)tst-audit5): Likewise.
23937         ($(objpfx)tst-audit5.out): Likewise.
23938         ($(objpfx)tst-audit6): Likewise.
23939         ($(objpfx)tst-audit6.out): Likewise.
23940         ($(objpfx)tst-audit7): Likewise.
23941         ($(objpfx)tst-audit7.out): Likewise.
23942         (tst-audit3-ENV): Remove variable.
23943         (tst-audit4-ENV): Likewise.
23944         (tst-audit5-ENV): Likewise.
23945         (tst-audit6-ENV): Likewise.
23946         (tst-audit7-ENV): Likewise.
23947         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23948         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23949         addition to variable.
23950         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23951         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23952         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23953         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23954         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23955         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23956         tst-audit3, tst-audit4 and tst-audit5.
23957         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23958         tst-audit6 and tst-audit7.
23959         [$(subdir) = elf] (modules-names): Add audit modules for those
23960         tests.
23961         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23962         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23963         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23964         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23965         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23966         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23967         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23968         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23969         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23970         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23971         [$(subdir) = elf] (tst-audit3-ENV): New variable.
23972         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23973         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23974         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23975         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23976         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23977         Likewise.
23978         [$(subdir) = elf && $(config-cflags-avx) = yes]
23979         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23980         [$(subdir) = elf && $(config-cflags-avx) = yes]
23981         (CFLAGS-tst-auditmod4a.c): Likewise.
23982         [$(subdir) = elf && $(config-cflags-avx) = yes]
23983         (CFLAGS-tst-auditmod4b.c): Likewise.
23984         [$(subdir) = elf && $(config-cflags-avx) = yes]
23985         (CFLAGS-tst-auditmod6b.c): Likewise.
23986         [$(subdir) = elf && $(config-cflags-avx) = yes]
23987         (CFLAGS-tst-auditmod6c.c): Likewise.
23988         [$(subdir) = elf && $(config-cflags-avx) = yes]
23989         (CFLAGS-tst-auditmod7b.c): Likewise.
23990         * elf/tst-audit3.c: Move to ...
23991         * sysdeps/x86_64/tst-audit3.c: ... here.
23992         * elf/tst-audit4.c: Move to ...
23993         * sysdeps/x86_64/tst-audit4.c: ... here.
23994         * elf/tst-audit5.c: Move to ...
23995         * sysdeps/x86_64/tst-audit5.c: ... here.
23996         * elf/tst-audit6.c: Move to ...
23997         * sysdeps/x86_64/tst-audit6.c: ... here.
23998         * elf/tst-audit7.c: Move to ...
23999         * sysdeps/x86_64/tst-audit7.c: ... here.
24000         * elf/tst-auditmod3a.c: Move to ...
24001         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24002         * elf/tst-auditmod3b.c: Move to ...
24003         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24004         * elf/tst-auditmod4a.c: Move to ...
24005         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24006         * elf/tst-auditmod4b.c: Move to ...
24007         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24008         * elf/tst-auditmod5a.c: Move to ...
24009         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24010         * elf/tst-auditmod5b.c: Move to ...
24011         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24012         * elf/tst-auditmod6a.c: Move to ...
24013         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24014         * elf/tst-auditmod6b.c: Move to ...
24015         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24016         * elf/tst-auditmod6c.c: Move to ...
24017         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24018         * elf/tst-auditmod7a.c: Move to ...
24019         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24020         * elf/tst-auditmod7b.c: Move to ...
24021         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24023 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
24025         [BZ #15366]
24026         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24027         define unconditionally.
24028         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24029         define unconditionally.
24030         (INT8_C, INT16_C, etc.): Likewise.
24032 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
24034         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24035         __ehdr_start with hidden visibility.
24037         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24039 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
24041         * math/libm-test.inc (cos_test): Use accurate hex constants.
24042         (sincost_test): Likewise.
24044 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
24046         * math/libm-test.inc (catan_test): Add more tests.
24047         (catanh_test): Likewise.
24049         * math/s_catanf.c (__catanf): Use suffixed floating-point
24050         constants.
24051         * math/s_catanhf.c (__catanhf): Likewise.
24052         * math/s_catanhl.c (__catanhl): Likewise.
24053         * math/s_catanl.c (__catanl): Likewise.
24055         [BZ #15394]
24056         * math/s_catan.c (__catan): Calculate imaginary part of result
24057         with log1p not log unless computing log of number close to 0.
24058         * math/s_catanf.c (__catanf): Likewise.
24059         * math/s_catanl.c (__catanl): Likewise.
24060         * math/s_catanh.c (__catanh): Calculate real part of result with
24061         log1p not log unless computing log of number close to 0.
24062         * math/s_catanhf.c (__catanhf): Likewise.
24063         * math/s_catanhl.c (__catanhl): Likewise.
24064         * math/libm-test.inc (catan_test): Add more tests.
24065         (catanh_test): Likewise.
24066         * sysdeps/i386/fpu/libm-test-ulps: Update.
24067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24069 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24071         * benchtests/Makefile: Mention files in which fast and slow
24072         paths of math functions are implemented.
24074 2013-04-23  Roland McGrath  <roland@hack.frob.com>
24076         * sysdeps/posix/timespec_get.c: New file.
24078 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24080         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24081         POWER.
24082         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24083         for POWER.
24084         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24085         powerpc/power5/fpu folders.
24086         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24087         * benchtests/Makefile: Add modf testcase.
24088         * benchtests/bench-modf.c: New file: Benchmark test for mo
24090 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24092         [BZ #14888]
24093         * time/Makefile (tests): Add tst-strptime-whitespace.
24094         * time/strptime_l.c (get_number): Use ISSPACE.
24095         (__strptime_internal): Likewise.
24096         * time/tst-strptime-whitespace.c: New test case.
24098 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
24100         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24101         member.
24102         (_nss_files_init): Set it here.
24104 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
24106         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24107         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24108         unsigned.
24110 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24112         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24114 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24116         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24117         size just once.
24119 2013-04-21  David S. Miller  <davem@davemloft.net>
24121         * po/ru.po: Update Russion translation from translation project.
24123 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24125         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24126         and setfsgid.
24128 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24130         * configure.in: Remove i386 configure warning. Remove i386 case.
24131         * configure: Regenerate.
24132         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24133         Add example to error message.
24134         * sysdeps/i386/configure: Regenerate.
24136 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24138         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24139         slowtan.
24140         * benchtests/cos-inputs: New file.
24141         * benchtests/slowcos-inputs: New file.
24142         * benchtests/slowcos.c: New file.
24143         * benchtests/slowtan-inputs: New file.
24144         * benchtests/slowtan.c: New file.
24145         * benchtests/tan-inputs: New file.
24147 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24149         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24150         considered kosher.
24152 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24154         * benchtests/Makefile: Include cppflags-iterator.mk to add
24155         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24157         * Makefile.in (bench-clean): New target.
24158         * benchtests/Makefile (bench-clean): Likewise.
24160 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24162         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24164 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24166         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24168 2013-04-15  Andreas Schwab  <schwab@suse.de>
24170         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24171         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24172         * nscd/pwdcache.c (cache_addpw): Likewise.
24173         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24174         more than recsize.
24176 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24178         * benchtests/Makefile (bench): Write all output to
24179         bench-out.tmp together.
24181 2013-04-15  Andreas Schwab  <schwab@suse.de>
24183         * nscd/nscd.c (main): Don't fork again after closing files.
24185 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24187         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24189         * benchtests/Rules (bench-deps): Collect dependencies into a
24190         single variable.  Add Makefile to dependencies.
24191         ($(objpfx)bench-%.c): Depend on bench-deps.
24193 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24194             Xavier Roche  <roche+kml2@exalead.com>
24196         [BZ #15361]
24197         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24198         just that it's a file descriptor.
24199         * manual/llio.texi (Synchronizing AIO Operations): Update description
24200         for EBADF error from aio_fsync.
24202 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24204         * Rules (bench): Move target definition...
24205         * benchtests/Makefile: ... here.
24207 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24209         * math/libm-test.inc (cos_test): Fix PI/2 test.
24210         (sincos_test): Likewise.
24211         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24212         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24214 2013-04-11  Andreas Schwab  <schwab@suse.de>
24216         [BZ #13988]
24217         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24218         accept exponent character only when digits were seen.
24219         * stdio-common/Makefile (tests): Add bug26.
24220         * stdio-common/bug26.c: New file.
24222         [BZ #14293]
24223         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24224         non-freeable.
24226 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24228         * Makeconfig (rtld-prefix): Define built linker prefix.
24229         * Rules (run-bench): Use it.
24230         * math/Makefile (run-regen-ulps): Likewise.
24232         * Rules (bench): Remove eval.
24234 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24235             Roland McGrath  <roland@hack.frob.com>
24236             Ondrej Bilka  <neleai@seznam.cz>
24238         [BZ #15346]
24239         * time/getdate.c: Include ctype.h and alloca.h.
24240         (__getdate_r): Trim leading and trailing spaces of input.
24241         * time/tst-getdate.c (tests): Add tests with leading and
24242         trailing spaces.
24244 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24246         [BZ #14280]
24247         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24248         when computing value.
24250 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24252         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24253         Use testrun.sh to run libm tests.
24255         [BZ #15309]
24256         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24258 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24260         [BZ #15264]
24261         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24263 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24265         * Makefile.in (regen-ulps): New target.
24266         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24267         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24268         [ifneq (no,$(PERL)] (regen-ulps): New target.
24269         [ifeq (no,$(PERL)] (regen-ulps): New target.
24270         * math/libm-test.inc (ulps_file_name): Define.
24271         (output_dir): New variable.
24272         (options): Add "output-dir" option.
24273         (parse_opt): Handle 'o' case.
24274         (main): If output_dir is non-NULL use it as a prefix
24275         otherwise use "".
24276         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24278 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24280         [BZ #10060, #10062]
24281         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24282         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24283         fail configure if __sync_val_compare_and_swap is not inlined.
24284         * sysdeps/i386/configure: Regenerate.
24285         * configure.in: Build for i686 when configured for i386.
24286         * configure: Regenerate.
24287         * README: Remove i386 reference.
24289 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24291         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24292         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24294 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24296         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24297         (lmsnanval): New variables.
24298         (F): Add conversion tests.
24299         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24300         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24302         * stdio-common/tstdiomisc.c (F): Properly collect individual
24303         tests' results.
24305         [BZ #14686, #15336]
24306         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24307         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24308         Instead, use input NaN values or generate a qNaN by arithmetic
24309         operation.  Also fix bugs to comply with the standard.
24310         * math/libm-test.inc (remainder_test): Add more tests.
24312         [BZ #15335, #15342]
24313         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24314         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24315         input NaN values or generate a qNaN by arithmetic operation.
24317         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24318         unreachable code.
24320         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24321         definitions.
24323 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
24325         [BZ #14478]
24326         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24327         underflowed result.
24328         * math/s_cexpf.c (__cexpf): Likewise.
24329         * math/s_cexpl.c (__cexpl): Likewise.
24330         * math/libm-test.inc (cexp_test): Add more tests.
24332 2013-04-03  Andreas Schwab  <schwab@suse.de>
24334         [BZ #15330]
24335         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24336         order arrays from heap if bigger than alloca cutoff.
24338 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
24340         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24341         (SNAN_TESTS_double): Refer to GCC PR56831.
24342         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24343         GCC PR56828.
24345 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24347         * Rules (bench): Move bench.out after the run is complete.
24349         * Rules (bench): Echo currently running benchmark.
24351         * benchtests/Makefile (bench): Add atan and slowatan.
24352         * benchtests/atan-inputs: New file.
24353         * benchtests/slowatan-inputs: New file.
24354         * benchtests/slowatan.c: New file.
24356         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24357         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24358         its value.
24360         [BZ #15305]
24361         * sysdeps/unix/sysv/linux/kernel-features.h
24362         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24363         __ASSUME_XFS_RESTRICTED_CHOWN.
24364         * sysdeps/unix/sysv/linux/pathconf.c
24365         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24366         Save and restore errno.
24368 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
24370         [BZ #15327]
24371         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24372         arguments using __kernel_casinh.
24373         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24374         arguments using __kernel_casinhf.
24375         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24376         arguments using __kernel_casinhl.
24377         * math/libm-test.inc (cacosh_test): Add more tests.
24378         * sysdeps/i386/fpu/libm-test-ulps: Update.
24379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24381 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24383         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24386         * bench/Makefile (bench): Add sin and slowsin.
24387         * benchtests/sin-inputs: New file.
24388         * benchtests/slowsin-inputs: New file.
24389         * benchtests/slowsin.c: New file.
24391         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24392         (bench): Add slowexp and slowpow.
24393         (exp-ITER): Increase iterations.
24394         (pow-ITER): Likewise.
24395         * benchtests/exp-inputs: Change input.
24396         * benchtests/pow-inputs: Likewise.
24397         * benchtests/slowexp-inputs: New file.
24398         * benchtests/slowexp.c: New file.
24399         * benchtests/slowpow-inputs: New file.
24400         * benchtests/slowpow.c: New file.
24402 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24404         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24405         instructions.
24406         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24407         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24408         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24409         * benchtests/Makefile: Add rint benchtest.
24410         * benchtests/rint-inputs: Input for rint benchtest.
24412 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24414         * Versions.def (libm): Add GLIBC_2.18.
24415         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24416         hidden libm prototypes.
24417         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24418         * math/Makefile (libm-calls): Add s_issignaling.
24419         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24420         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
24421         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24422         declaration.
24423         * math/math.h [__USE_GNU] (issignaling): New macro.
24424         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24425         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24426         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24427         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24428         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24429         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24430         * manual/arith.texi (issignaling): New section.
24431         * manual/libm-err-tab.pl (@all_functions): Update comment.
24432         * math/gen-libm-test.pl (parse_args): Apply special handling for
24433         issignaling.
24434         * math/libm-test.inc (print_float, issignaling_test): New
24435         functions.
24436         (check_float_internal): Add issignaling checks.
24437         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24438         default definition.
24439         * sysdeps/powerpc/math-tests.h: New file.
24440         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24441         tests.
24442         * math/test-snan.c (TEST_FUNC): Likewise.
24444 2013-03-30  David S. Miller  <davem@davemloft.net>
24446         * po/de.po: Update from translation team.
24448 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
24450         [BZ #10357]
24451         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24452         imaginary part less than 1.0 and real part less than 0.5
24453         specially.
24454         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24455         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24456         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24457         (cacos_test): Add more tests.
24458         (casin_test): Likewise.
24459         (casinh_test): Likewise.
24460         * sysdeps/i386/fpu/libm-test-ulps: Update.
24461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24463 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24465         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24466         ONE with its value.
24468         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24469         (__pow_mp): Replace ONE and MONE with their values.
24470         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24471         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24472         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24473         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24474         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24475         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24477         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24479         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24480         (__pow_mp): Replace ZERO and MZERO with their values.
24481         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24482         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24483         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24484         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24485         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24486         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24487         (__sqr): Likewise.
24489         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24491         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24493 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24495         * include/stdlib.h [!SHARED] (__call_tls_dtors):
24496         Declare with __attribute__ ((weak)).
24497         * stdlib/exit.c (__libc_atexit) [!SHARED]:
24498         Call __call_tls_dtors only if it's not NULL.
24500 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24502         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24503         didn't do it already, then set _dl_phdr and _dl_phnum based on the
24504         magic __ehdr_start linker symbol if it's defined.
24505         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24506         them up here if it was already done.
24508         * elf/dl-support.c (_dl_phdr): Make pointer to const.
24509         (_dl_aux_init): Use const in cast when setting it.
24510         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24511         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24512         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24514         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24515         Declare them here.
24516         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24517         * csu/libc-tls.c: Nor here.
24518         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24520         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24521         (__libc_message): Never call vsyslog.
24523 2013-03-28  Alan Modra  <amodra@gmail.com>
24525         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24526         Define as empty.
24527         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24528         Likewise.
24530 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24532         [BZ #15214]
24533         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24534         underflow.
24535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24537 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24539         [BZ #15304]
24540         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24541         Don't add gid passed as argument.
24543         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24545 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
24547         [BZ #15307]
24548         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24549         imaginary part between 1.0 and 1.5 and real part less than 0.5
24550         specially.
24551         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24552         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24553         * math/libm-test.inc (cacos_test): Add more tests.
24554         (casin_test): Likewise.
24555         (casinh_test): Likewise.
24556         * sysdeps/i386/fpu/libm-test-ulps: Update.
24557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24559 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24561         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24562         constants.
24563         (norm): Likewise.
24564         (denorm): Likewise.
24565         (__dbl_mp): Likewise.
24566         (add_magnitudes): Likewise.
24567         (sub_magnitudes): Likewise.
24568         (__add): Likewise.
24569         (__sub): Likewise.
24570         (__mul): Likewise.
24571         (__sqr): Likewise.
24572         (__inv): Likewise.
24573         (__dvd): Likewise.
24575         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24576         commented code.
24577         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24578         (__dubcos): Likewise.
24579         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24580         (__ieee754_acos): Likewise.
24581         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24582         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24583         (__exp1): Likewise.
24584         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24586         (log1): Likewise.
24587         (my_log2): Likewise.
24588         (checkint): Likewise.
24589         * sysdeps/ieee754/dbl-64/e_remainder.c
24590         (__ieee754_remainder): Likewise.
24591         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24592         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24593         (bsloww): Likewise.
24594         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24596         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24597         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24598         MANTISSA_STORE_T to store computations on mantissa.  Use
24599         macros for rounding and division.
24600         (denorm): Likewise.
24601         (__dbl_mp): Likewise.
24602         (add_magnitudes): Likewise.
24603         (sub_magnitudes): Likewise.
24604         (__mul): Likewise.
24605         (__sqr): Likewise.
24606         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24607         powers of two in terms of TWOPOW macro.
24608         (mp_no): Make type of mantissa as MANTISSA_T.
24609         [!RADIXI]: Define RADIXI.
24610         [!TWO52]: Define TWO52.
24611         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24613 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24615         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24616         llroundl symbol when building for PPC32.
24618 2013-03-24  Mark H Weaver  <mhw@netris.org>
24620         * manual/arith.texi (Normalization Functions): Fix prototypes for
24621         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24623 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24625         [BZ #13889]
24626         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24627         high value to check if expl overflow.
24628         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24629         to check for underflow and overflow.
24630         * math/libm-test.inc: Add exp test.
24632 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
24634         [BZ #11120]
24635         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24636         with NOT_IN_libc.
24638 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24640         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24641         symbol.
24643 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24645         * math/gen-libm-test.pl (parse_args, special_functions): Properly
24646         wrap blocks consisting of several statements.
24648         * sysdeps/generic/math-tests.h: New file.
24649         * sysdeps/i386/fpu/math-tests.h: Likewise.
24650         * math/test-snan.c: Include it.
24651         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24653 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24655         [BZ #15285]
24656         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24657         (__ieee754_j0l): Do not improve calculations using cos of twice
24658         input for inputs above LDBL_MAX / 2.0L.
24659         (__ieee754_y0l): Likewise.
24660         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24661         (__ieee754_j1l): Do not improve calculations using cos of twice
24662         input for inputs above LDBL_MAX / 2.0L.
24663         (__ieee754_y1l): Likewise.
24664         * math/libm-test.inc (j0_test): Add another test.
24665         (j1_test): Likewise.
24666         (y0_test): Likewise.
24667         (y1_test): Likewise.
24668         * sysdeps/i386/fpu/libm-test-ulps: Update.
24670 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24672         * Rules ($(objpfx)bench-%.c): Include code from a C source
24673         file.
24675 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24677         [BZ #15287]
24678         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24679         imaginary part 1.0 and real part less than 0.5 specially.
24680         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24681         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24682         * math/libm-test.inc (cacos_test): Add more tests.
24683         (casin_test): Likewise.
24684         (casinh_test): Likewise.
24685         * sysdeps/i386/fpu/libm-test-ulps: Update.
24686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24688 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24690         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24691         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24693 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
24695         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24696         * config.make.in (config-cflags-sse4): Remove variable.
24697         (config-cflags-avx): Likewise.
24698         (config-cflags-sse2avx): Likewise.
24699         (config-cflags-novzeroupper): Likewise.
24700         (config-asflags-i686): Likewise.
24701         (have-mfma4): Likewise.
24702         (have-as-vis3): Likewise.
24703         (MIG): Likewise.
24704         * configure.in (MIG): Do not AC_SUBST.
24705         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24706         (libc_cv_cc_sse4): Do not AC_SUBST.
24707         (libc_cv_cc_avx): Likewise.
24708         (libc_cv_cc_sse2avx): Likewise.
24709         (libc_cv_cc_novzeroupper): Likewise.
24710         (libc_cv_cc_fma4): Likewise.
24711         (libc_cv_as_i686): Likewise.
24712         (libc_cv_sparc_as_vis3): Likewise.
24713         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24714         LIBC_CONFIG_VAR.
24715         (config-asflags-i686): Likewise.
24716         (config-cflags-avx): Likewise.
24717         (config-cflags-sse2avx): Likewise.
24718         (have-mfma4): Likewise.
24719         (config-cflags-novzeroupper): Likewise.
24720         * sysdeps/mach/configure.in (MIG): Likewise.
24721         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24722         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24723         LIBC_CONFIG_VAR.
24724         (config-cflags-avx): Likewise.
24725         (config-cflags-sse2avx): Likewise.
24726         (have-mfma4): Likewise.
24727         (config-cflags-novzeroupper): Likewise.
24728         * configure: Regenerated.
24729         * sysdeps/i386/configure: Likewise.
24730         * sysdeps/mach/configure: Likewise.
24731         * sysdeps/sparc/configure: Likewise.
24732         * sysdeps/x86_64/configure: Likewise.
24734 2013-03-20  Roland McGrath  <roland@hack.frob.com>
24736         [BZ #14812]
24737         * locale/programs/localedef.c (options): Put N_ translation marker
24738         on argument names, not just descriptions.
24740 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24742         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24744 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
24746         [BZ #14176]
24747         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24749 2013-03-19  Roland McGrath  <roland@hack.frob.com>
24751         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24752         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24753         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24754         [!BEFORE_ABORT] (before_abort): New function.
24755         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24756         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24757         (writev_for_fatal): New function.
24758         (WRITEV_FOR_FATAL): New macro; call that.
24759         (backtrace_and_maps): New function.
24760         (BEFORE_ABORT): New macro; call that.
24761         (struct str_list): Type removed.
24762         (__libc_message, __libc_fatal): Functions removed.
24763         Include <sysdeps/posix/libc_fatal.c> instead.
24765 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
24767         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24768         constants.
24769         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24770         double constants.
24772 2013-03-19  Andreas Schwab  <schwab@suse.de>
24774         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24775         * sysdeps/gnu/configure: Regenerate.
24777         * configure.in: Substitute libc_cv_rtlddir.
24778         * configure: Regenerate.
24779         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24780         * Makeconfig (rtlddir, inst_rtlddir): New variables.
24781         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24782         * elf/Makefile (install-others, CFLAGS-interp.c)
24783         (ldso_install, common-ldd-rewrite): Likewise.
24784         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24785         $(inst_slibdir)/$(rtld-installed-name).
24786         * scripts/rellns-sh: Add -p option.
24787         * Makerules (make-shlib-link): Use rellns-sh to get relative name
24788         for source.
24790 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24792         * manual/nptl.texi: Renamed to ...
24793         * manual/threads.texi: ... this.
24794         * manual/Makefile (chapters): Update.
24796 2013-03-18  Roland McGrath  <roland@hack.frob.com>
24798         [BZ #14812]
24799         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24800         on argument names, not just descriptions.
24801         * malloc/memusagestat.c (options): Likewise.
24802         * nss/getent.c (options): Likewise.
24804 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
24806         [BZ #14812]
24807         * iconv/iconv_prog.c (options): Put N_ translation marker
24808         on argument names, not just descriptions.
24809         * iconv/iconvconfig.c (options): Likewise.
24811 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
24813         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24814         implementation which is faster on all x86_64 architectures.
24815         Tested on AMD, Intel Nehalem, SNB, IVB.
24816         * sysdeps/x86_64/strnlen.S: Likewise.
24818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24819         Remove all multiarch strlen and strnlen versions.
24820         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24821         Remove strlen and strnlen related parts.
24823         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24824         Inline strlen part.
24825         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24827         * sysdeps/x86_64/multiarch/strlen.S: Remove.
24828         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24829         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24830         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24831         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24832         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24834 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
24836         * manual/memory.texi (Malloc Tunable Parameters):
24837         Sort parameters alphabetically. Add comments for missing entries.
24839 2013-03-17  David S. Miller  <davem@davemloft.net>
24841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24843 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
24845         [BZ #15283]
24846         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24847         for arguments at most half maximum finite value.
24848         * math/libm-test.inc (j0_test): Add more tests.
24849         (j1_test): Likewise.
24850         (y0_test): Likewise.
24851         (y1_test): Likewise.
24852         * sysdeps/i386/fpu/libm-test-ulps: Update.
24853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24855         [BZ #14155]
24856         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24857         1 / x and functions P and Q for arguments above 0x1p256L.
24858         (__ieee754_y0l): Likewise.
24859         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24860         (__ieee754_y1l): Likewise.
24861         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24862         (j1_test): Likewise.
24863         (y0_test): Likewise.
24864         (y1_test): Likewise.
24866 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
24868         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24869         variable.
24871 2013-03-15  Roland McGrath  <roland@hack.frob.com>
24873         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24874         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24875         zero since it's initialized to EXEC_PAGESIZE.
24877         * sysdeps/unix/sysv/linux/ldsodefs.h
24878         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24879         * sysdeps/generic/ldsodefs.h: ... here.
24881 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
24883         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24885         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24886         math/test-snan.c.
24887         * math/test-snan.c: Renamed from
24888         sysdeps/powerpc/fpu/test-powerpc-snan.c.
24889         * math/Makefile (tests): Add test-snan.
24890         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24891         test-powerpc-snan.
24893         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24894         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
24895         functions.
24896         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
24897         __builtin_nan family of functions.
24898         * math/libm-test.inc (initialize): Initialize qnan_value with
24899         __builtin_nan family of functions.
24900         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24901         Remove variables.
24902         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24903         Remove functions.
24904         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
24905         storage class.  Initialize qNaN_var and sNaN_var with
24906         __builtin_nan and __builtin_nans families of functions,
24907         respectively.
24909         * math/libm-test.inc (acosh_test): Also test with qNaN input.
24910         (sqrt_test): Remove duplicate test with qNaN input.
24911         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24912         (round_test, signbit_test, significand_test): Note missing +/-Inf
24913         as well as qNaN tests.
24915         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24916         qNaN_var.  Fix a few strings, too.
24917         * math/libm-test.inc (nan_value): Rename to qnan_value.
24918         * math/gen-libm-test.pl (%beautify): Adjust to that.
24919         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24920         * math/test-misc.c (main): Likewise.
24921         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24922         to __qnan_bytes, and __qnan_union, respectively.
24923         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24924         Likewise.
24925         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24926         and lqnanval, respectively.
24927         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24928         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24929         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24930         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24932         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24933         * math/test-misc.c (main) [__x86_64__]: Enable test for long
24934         doubles.
24936         * math/test-misc.c (main): Fix copy'n'pastos.
24937         * misc/tst-efgcvt.c (special): Likewise.
24939         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24940         Remove declarations.
24942 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24944         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24945         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24946         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24947         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24949 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24951         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24952         macro to return vdso values correctly in IFUNC implementations.
24953         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24954         Optimization by using IFUNC.
24956 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24957             Richard Henderson  <rth@redhat.com>
24958             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24960         * Makefile.in (bench): New target.
24961         * NEWS: Mention the benchmark framework.
24962         * Rules (bench): Likewise.
24963         (binaries-bench): Generate binaries for functions to
24964         benchmark.
24965         * benchtests/Makefile: New makefile for benchmark tests.
24966         * benchtests/bench-skeleton.c: New skeleton file for benchmark
24967         programs.
24968         * benchtests/exp-inputs: New input file for EXP function.
24969         * benchtests/pow-inputs: New input file for POW function.
24970         * scripts/bench.pl: New script to generate source files for
24971         benchmark programs.
24973 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24975         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24976         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24977         computations on mantissa.  Use macros for rounding and
24978         division.
24979         (denorm): Likewise.
24980         (__dbl_mp): Likewise.
24981         (add_magnitudes): Likewise.
24982         (sub_magnitudes): Likewise.
24983         (__mul): Likewise.
24984         (__sqr): Likewise.
24985         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24986         powers of two in terms of TWOPOW macro.
24987         (mp_no): Make type of mantissa as MANTISSA_T.
24988         [!RADIXI]: Define RADIXI.
24989         [!TWO52]: Define TWO52.
24990         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24992         * manual/nptl.texi (cindex): Modify threads to pthreads.
24994 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
24996         * sysdeps/x86_64/preconfigure: Regenerated.
24998 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
25000         [BZ #14155]
25001         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25002         0x1p28 and above.
25003         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25004         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25005         0x1p28 and above.
25006         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25007         * math/libm-test.inc (j0_test): Do not allow one spurious
25008         underflow exception.
25009         (y1_test): Likewise.
25011 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25013         * manual/Makefile (chapters): Add nptl.
25014         * manual/debug.texi (Debugging Support): Add link to Threads
25015         chapter.
25016         * manual/nptl.texi: New file.
25018         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25020 2013-03-14  Petr Baudis  <pasky@ucw.cz>
25022         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25023         for non-NULL pointer before the memory validity test. Pointed
25024         out by Holger Brunck <holger.brunck@keymile.com>.
25026 2013-03-13  Andreas Schwab  <schwab@suse.de>
25028         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25029         instead of .os.
25031 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
25033         * timezone/zic.c: Update from tzcode 2013b.
25035 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
25037         * manual/install.texi (Configuring and compiling):
25038         Mention i686 and i586.
25039         * INSTALL: Regenerate.
25041 2013-03-12  Roland McGrath  <roland@hack.frob.com>
25043         * sysdeps/init_array/elf-init.c: New file.
25044         * csu/elf-init.c
25045         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25046         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25048         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25049         __gmon_start__ as global, but as static with a .preinit_array pointer.
25050         * sysdeps/init_array/gmon-start.c: New file.  Use that.
25051         * sysdeps/init_array/crti.S: New file, empty except for comments.
25052         * sysdeps/init_array/crtn.S: Likewise.
25054 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
25056         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25057         definining bcopy.
25058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25059         Remove Prefer_SSE_for_memop.
25060         * sysdeps/x86_64/multiarch/init-arch.h: Remove
25061         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25062         HAS_PREFER_SSE_FOR_MEMOP.
25063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25064         memset-x86-64.
25065         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25066         Remove bzero, memset ifunc support.
25067         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25068         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25069         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25070         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25072 2013-03-11  Andreas Schwab  <schwab@suse.de>
25074         [BZ #15234]
25075         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25076         by SHLIB_COMPAT.
25077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25078         (GLIBC_2.16): Remove pthread_atfork.
25080 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25082         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25083         (ptestcases.h): Likewise.
25085 2013-03-08  Roland McGrath  <roland@hack.frob.com>
25087         * Makeconfig ($(common-objpfx)config.status): Depend on
25088         sysdeps/*/preconfigure{,.in} too.
25090 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
25092         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25093         (__free_hook): Use void * instead of __malloc_ptr_t.
25094         (__malloc_hook): Likewise.
25095         (__realloc_hook): Likewise.
25096         (__memalign_hook): Likewise.
25097         (__after_morecore_hook): Likewise.
25098         * malloc/arena.c (save_malloc_hook): Likewise.
25099         (save_free_hook): Likewise.
25100         * malloc/hooks.c (malloc_hook_ini): Likewise.
25101         (realloc_hook_ini): Likewise.
25102         (memalign_hook_ini): Likewise.
25103         * malloc/malloc.c (malloc_hook_ini): Likewise.
25104         (realloc_hook_ini): Likewise.
25105         (memalign_hook_ini): Likewise.
25106         (__free_hook): Likewise.
25107         (__malloc_hook): Likewise.
25108         (__realloc_hook): Likewise.
25109         (__memalign_hook): Likewise.
25110         (__libc_malloc): Likewise.
25111         (__libc_free): Likewise.
25112         (__libc_realloc): Likewise.
25113         (__libc_memalign): Likewise.
25114         (__libc_valloc): Likewise.
25115         (__libc_pvalloc): Likewise.
25116         (__libc_calloc): Likewise.
25117         (__posix_memalign): Likewise.
25118         * malloc/morecore.c (__sbrk): Likewise.
25119         (__default_morecore): Likewise.
25121         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25123         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25124         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25125         __malloc_ptrdiff_t.
25127         * malloc/malloc.h (__malloc_size_t): Remove macro.
25128         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25129         __malloc_size_t.
25130         (old_memalign_hook): Likewise.
25131         (old_realloc_hook): Likewise.
25132         (struct hdr): Likewise.
25133         (flood): Likewise.
25134         (mallochook): Likewise.
25135         (memalignhook): Likewise.
25136         (reallochook): Likewise.
25137         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25138         (tr_old_realloc_hook): Likewise.
25139         (tr_old_memalign_hook): Likewise.
25140         (tr_mallochook): Likewise.
25141         (tr_reallochook): Likewise.
25142         (tr_memalignhook): Likewise.
25144 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25146         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25147         default_ldbl_pack and using as default implementation.
25148         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25149         implementation.
25150         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25151         redundant definition.
25152         (ldbl_insert_mantissa): Likewise.
25153         (ldbl_canonicalize): Likewise.
25154         (ldbl_nearbyint): Likewise.
25155         (ldbl_pack): Rename to ldbl_pack_ppc.
25156         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25157         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25158         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25160 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25163         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25164         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25165         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25167         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25168         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25169         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25171 2013-03-07  Andreas Jaeger  <aj@suse.de>
25173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25174         bits/mman-linux.h.
25176 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25178         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25179         Include mpa.h and declare __MPEXP.
25180         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25181         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25182         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25183         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25184         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25185         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25186         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25188         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25189         (__slowpow): Use long double EXPL and LOGL functions to
25190         compute POW.
25191         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25192         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25193         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25194         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25195         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25196         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25199         intermediate variable to calculate exponent.
25200         (__sqr): Likewise.
25201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25202         Likewise.
25203         (__sqr): Likewise.
25205         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25206         [!NO__SQR]: Define __sqr.
25207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25208         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25209         sysdeps/ieee754/dbl-64/mpa.c.
25210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25212         [BZ #12723]
25213         * posix/Makefile (tests): Add tst-pathconf.
25214         * posix/tst-pathconf.c: New test case.
25215         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25216         _PC_PIPE_BUF.
25217         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25219 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25221         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25223 2013-03-06  Andreas Jaeger  <aj@suse.de>
25225         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25226         definition via __MAP_ANONYMOUS.
25228         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25229         it's not part of Linux headers.
25231         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25232         (MAP_HUGE_MASK): Define.
25234         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25235         Define.
25236         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25237         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25238         Define.
25239         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25240         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25241         Define.
25242         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25243         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25244         Define.
25245         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25247         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25248         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25249         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25250         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25251         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25252         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25254         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25255         Handle f2fs.
25257         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25258         Handle f2fs and efivarfs.
25260         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25261         f2fs.
25263         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25264         (EFIVARFS_MAGIC): Add.
25265         (F2FS_LINK_MAX): Add.
25267 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25269         * stdio-common/vfprintf.c: Replace __builtin_expect with
25270         __glibc_unlikely.
25272 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25274         [BZ #13550]
25275         * sysdeps/generic/bp-sym.h: Remove file.
25276         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25277         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25278         <bp-sym.h> and <bp-asm.h>.
25279         (__longjmp): Don't use BP_SYM.
25280         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25281         and <bp-asm.h>.
25282         (memcpy): Don't use BP_SYM.
25283         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25284         <bp-sym.h> and <bp-asm.h>.
25285         (memcpy): Don't use BP_SYM.
25286         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25287         <bp-asm.h>.
25288         (memcpy): Don't use BP_SYM.
25289         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25290         <bp-asm.h>.
25291         (memset): Don't use BP_SYM.
25292         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25293         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25294         (__bzero): Don't use BP_SYM.
25295         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25296         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25297         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25298         <bp-sym.h> and <bp-asm.h>.
25299         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25300         pointers.
25301         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25302         <bp-sym.h> and <bp-asm.h>.
25303         (memcpy): Don't use BP_SYM.
25304         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25305         <bp-sym.h> and <bp-asm.h>.
25306         (memset): Don't use BP_SYM.
25307         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25308         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25309         (__bzero): Don't use BP_SYM.
25310         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25311         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25312         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25313         <bp-sym.h> and <bp-asm.h>.
25314         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25315         pointers.
25316         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25317         <bp-sym.h> and <bp-asm.h>.
25318         (memcpy): Don't use BP_SYM.
25319         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25320         <bp-sym.h> and <bp-asm.h>.
25321         (memset): Don't use BP_SYM.
25322         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25323         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25324         (__bzero): Don't use BP_SYM.
25325         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25326         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25327         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25328         <bp-sym.h> and <bp-asm.h>.
25329         (__memchr): Don't use BP_SYM.
25330         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25331         <bp-sym.h> and <bp-asm.h>.
25332         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25333         pointers.
25334         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25335         <bp-sym.h> and <bp-asm.h>.
25336         (memcpy): Don't use BP_SYM.
25337         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25338         <bp-sym.h> and <bp-asm.h>.
25339         (__mempcpy): Don't use BP_SYM.
25340         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25341         <bp-sym.h> and <bp-asm.h>.
25342         (__memrchr): Don't use BP_SYM.
25343         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25344         <bp-sym.h> and <bp-asm.h>.
25345         (memset): Don't use BP_SYM.
25346         (__bzero): Likewise.
25347         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25348         <bp-sym.h> and <bp-asm.h>.
25349         (__rawmemchr): Don't use BP_SYM.
25350         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25351         <bp-sym.h> and <bp-asm.h>.
25352         (__STRCMP): Don't use BP_SYM.
25353         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25354         <bp-sym.h> and <bp-asm.h>.
25355         (strchr): Don't use BP_SYM.
25356         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25357         <bp-sym.h> and <bp-asm.h>.
25358         (__strchrnul): Don't use BP_SYM.
25359         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25360         <bp-sym.h> and <bp-asm.h>.
25361         (strlen): Don't use BP_SYM.
25362         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25363         <bp-sym.h> and <bp-asm.h>.
25364         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25365         pointers.
25366         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25367         <bp-sym.h> and <bp-asm.h>.
25368         (__strnlen): Don't use BP_SYM.
25369         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25370         <bp-sym.h> and <bp-asm.h>.
25371         (__GI__setjmp): Don't use BP_SYM.
25372         (_setjmp): Likewise.
25373         (__sigsetjmp): Likewise.
25374         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25375         (L(start_addresses)): Don't use BP_SYM.
25376         (_start): Likewise.
25377         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25378         <bp-asm.h>.
25379         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25380         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25381         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25382         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25383         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25384         <bp-asm.h>.
25385         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25386         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
25387         about bounded pointers.
25388         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25389         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25390         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25391         <bp-asm.h>.
25392         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25393         about bounded pointers.  Remove GKM FIXME comments.
25394         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25395         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25396         <bp-asm.h>.
25397         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25398         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
25399         Remove GKM FIXME comments.
25400         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25401         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25402         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25403         <bp-asm.h>.
25404         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25405         about bounded pointers.  Remove GKM FIXME comment.
25406         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25407         and <bp-asm.h>.
25408         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25409         pointers.
25410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25411         <bp-sym.h> and <bp-asm.h>.
25412         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25414         <bp-sym.h> and <bp-asm.h>.
25415         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25416         comment.
25418 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25420         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25421         call free(NULL).
25423 2013-03-05  David S. Miller  <davem@davemloft.net>
25425         * po/es.po: Update from translation team.
25427 2013-03-05  Andreas Jaeger  <aj@suse.de>
25429         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25430         <bits/mman-linux.h>.
25431         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25432         is fine.
25433         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25434         <bits/mman-linux.h> to end of file.
25435         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25436         is fine.
25437         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25438         <bits/mman-linux.h> to end of file.
25439         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25440         is fine.
25441         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25442         <bits/mman-linux.h> to end of file.
25444         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25445         (MCL_CURRENT, MCL_FUTURE): Define here.
25447 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25449         [BZ #15232]
25450         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25451         attribute_hidden.
25452         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25454 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25456         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25457         fourth parameter needed for rt_sigprocmask syscall.
25458         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25459         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25460         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25461         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25462         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25463         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25465 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
25467         [BZ #13550]
25468         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25469         comment about bounded pointers.
25470         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25471         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25473 2013-03-04  Andreas Jaeger  <aj@suse.de>
25475         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25476         common definitions.
25478         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25479         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25480         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25481         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25482         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25483         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25485 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25487         [BZ #15055]
25488         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25489         __ieee754_sqrl instead of __sqrl.
25491 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
25493         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25494         * sysdeps/powerpc/fpu_control.h: ... here.
25495         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25496         * sysdeps/powerpc/bits/fenvinline.h: ... here.
25497         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25498         * sysdeps/powerpc/bits/mathinline.h: ... here.
25500 2013-03-01  Roland McGrath  <roland@hack.frob.com>
25502         * elf/dl-hwcaps.c (_dl_important_hwcaps):
25503         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25504         to just [NEED_DL_SYSINFO_DSO].
25505         * elf/dl-support.c: Likewise.
25506         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25507         * elf/rtld.c (dl_main): Likewise.
25508         * elf/setup-vdso.h (setup_vdso): Likewise.
25509         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25510         * sysdeps/unix/sysv/linux/dl-sysdep.c
25511         (_dl_discover_osversion): Likewise.
25513 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
25515         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25516         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25518 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25520         * NEWS: Mention libm performance improvements and non-x86 PI
25521         futex support.
25523         * csu/libc-start.c (__pthread_initialize_minimal): Change
25524         function arguments.
25525         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25527 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
25529         [BZ #13550]
25530         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25531         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25532         <bp-sym.h> and <bp-asm.h>.
25533         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25534         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25535         and <bp-asm.h>.
25536         (memcpy): Don't use BP_SYM.
25537         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25538         <bp-asm.h>.
25539         (__mpn_add_n): Don't use BP_SYM.
25540         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25541         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25542         and <bp-asm.h>.
25543         (__mpn_addmul_1): Don't use BP_SYM.
25544         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25545         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25546         <bp-sym.h>.
25547         (_setjmp): Don't use BP_SYM.
25548         (__novmx_setjmp): Likewise.
25549         (__GI__setjmp): Likewise.
25550         (__vmx_setjmp): Likewise.
25551         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25552         <bp-sym.h>.
25553         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25554         (__bzero): Don't use BP_SYM.
25555         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25556         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25557         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25558         <bp-sym.h> and <bp-asm.h>.
25559         (memcpy): Don't use BP_SYM.
25560         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25561         <bp-sym.h> and <bp-asm.h>.
25562         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25563         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25564         <bp-sym.h> and <bp-asm.h>.
25565         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25566         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25567         <bp-asm.h>.
25568         (__mpn_lshift): Don't use BP_SYM.
25569         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25570         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25571         <bp-asm.h>.
25572         (memset): Don't use BP_SYM.
25573         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25574         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25575         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25576         <bp-asm.h>.
25577         (__mpn_mul_1): Don't use BP_SYM.
25578         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25579         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25580         <bp-sym.h> and <bp-asm.h>.
25581         (memcmp): Don't use BP_SYM.
25582         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25583         <bp-sym.h> and <bp-asm.h>.
25584         (memcpy): Don't use BP_SYM.
25585         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25586         <bp-sym.h> and <bp-asm.h>.
25587         (memset): Don't use BP_SYM.
25588         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25589         <bp-sym.h> and <bp-asm.h>.
25590         (strncmp): Don't use BP_SYM.
25591         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25592         <bp-sym.h> and <bp-asm.h>.
25593         (memcpy): Don't use BP_SYM.
25594         * sysdeps/powerpc/powerpc32/power6/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/memchr.S: Don't include
25598         <bp-sym.h> and <bp-asm.h>.
25599         (__memchr): Don't use BP_SYM.
25600         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25601         <bp-sym.h> and <bp-asm.h>.
25602         (memcmp): Don't use BP_SYM.
25603         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25604         <bp-sym.h> and <bp-asm.h>.
25605         (memcpy): Don't use BP_SYM.
25606         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25607         <bp-sym.h> and <bp-asm.h>.
25608         (__mempcpy): Don't use BP_SYM.
25609         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25610         <bp-sym.h> and <bp-asm.h>.
25611         (__memrchr): Don't use BP_SYM.
25612         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25613         <bp-sym.h> and <bp-asm.h>.
25614         (memset): Don't use BP_SYM.
25615         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25616         <bp-sym.h> and <bp-asm.h>.
25617         (__rawmemchr): Don't use BP_SYM.
25618         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25619         <bp-sym.h> and <bp-asm.h>.
25620         (__STRCMP): Don't use BP_SYM.
25621         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25622         <bp-sym.h> and <bp-asm.h>.
25623         (strchr): Don't use BP_SYM.
25624         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25625         <bp-sym.h> and <bp-asm.h>.
25626         (__strchrnul): Don't use BP_SYM.
25627         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25628         <bp-sym.h> and <bp-asm.h>.
25629         (strlen): Don't use BP_SYM.
25630         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25631         <bp-sym.h> and <bp-asm.h>.
25632         (strncmp): Don't use BP_SYM.
25633         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25634         <bp-sym.h> and <bp-asm.h>.
25635         (__strnlen): Don't use BP_SYM.
25636         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25637         <bp-asm.h>.
25638         (__mpn_rshift): Don't use BP_SYM.
25639         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25640         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25641         <bp-sym.h> and <bp-asm.h>.
25642         (__sigsetjmp): Don't use BP_SYM.
25643         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25644         (L(start_addresses)): Don't use BP_SYM.
25645         (_start): Likewise.
25646         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25647         <bp-asm.h>.
25648         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25649         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25650         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25651         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25652         <bp-asm.h>.
25653         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25654         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25655         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25656         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25657         <bp-asm.h>.
25658         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25659         comments.
25660         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25661         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25662         <bp-asm.h>.
25663         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
25664         FIXME comments.
25665         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25666         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25667         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25668         <bp-asm.h>.
25669         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25670         comment.
25671         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25672         and <bp-asm.h>.
25673         (strncmp): Don't use BP_SYM,
25674         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25675         <bp-asm.h>.
25676         (__mpn_sub_n): Don't use BP_SYM.
25677         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25678         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25679         and <bp-asm.h>.
25680         (__mpn_submul_1): Don't use BP_SYM.
25681         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25683         <bp-sym.h> and <bp-asm.h>.
25684         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25686         <bp-sym.h> and <bp-asm.h>.
25687         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25688         comment.
25690 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25693         Use ZK to minimize writes to Z.
25694         (sub_magnitudes): Simplify code a bit.
25695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25696         Use ZK to minimize writes to Z.
25697         (sub_magnitudes): Simplify code a bit.
25699 2013-02-27  Roland McGrath  <roland@hack.frob.com>
25701         * csu/gmon-start.c: Add special exception to license text.
25703 2013-02-27  Richard Henderson  <rth@redhat.com>
25705         * scripts/config.guess: Update from config.git.
25706         * scripts/config.sub: Likewise.
25708 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25710         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25712         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25714         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25716         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25718         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25720 2013-02-26  Roland McGrath  <roland@hack.frob.com>
25722         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25723         [$(build-shared = yes].
25725 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25727         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25728         (__mul): Reduce iterations for calculating mantissa.
25730         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25731         MPTWO.
25732         (__mpranred): Likewise.
25734         [BZ #15160]
25735         * malloc/memusagestat.c (main): Draw graphs for heap and stack
25736         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25738 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
25740         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25741         Define __attribute__.
25743 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25745         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25746         unused.
25747         * posix/regex_internal.h (__attribute): Remove.
25748         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25749         (re_string_context_at): Likewise.
25750         (bitset_not): Use __attribute__ and mark function as possibly
25751         unused.
25752         (bitset_merge): Likewise.
25753         (bitset_mask): Likewise.
25754         (re_string_char_size_at): Likewise.
25755         (re_string_wchar_at): Likewise.
25756         (re_string_elem_size_at): Likewise.
25758 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25760         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25761         code.
25762         (cc32): Likewise.
25764         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25765         (__acr): Likewise.
25766         (__cpy): Likewise.
25767         (norm): Likewise.
25768         (denorm): Likewise.
25769         (__dbl_mp): Likewise.
25770         (add_magnitudes): Likewise.
25771         (sub_magnitudes): Likewise.
25772         (__mul): Likewise.
25773         (__inv): Likewise.
25775         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25776         style.
25778         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25779         style.
25781         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25782         code.
25784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25785         up changes with default code.
25786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25787         Likewise.
25789 2013-02-24  Allan McRae  <allan@archlinux.org>
25791         * manual/socket.texi (The Internet Namespace): Order menu items
25792         to match that in the file.
25794         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25795         node listing of the info page menu.
25797 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
25799         [BZ #13550]
25800         * sysdeps/i386/bp-asm.h: Remove file.
25801         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25802         (PARMS): Do not use macros from bp-asm.h.
25803         (S1): Likewise.
25804         (S2): Likewise.
25805         (SIZE): Likewise.
25806         (__mpn_add_n): Do not use BP_SYM
25807         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25808         "bp-asm.h".
25809         (PARMS): Do not use macros from bp-asm.h.
25810         (S1): Likewise.
25811         (SIZE): Likewise.
25812         (__mpn_addmul_1): Do not use BP_SYM
25813         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25814         "bp-asm.h".
25815         (PARMS): Do not use macros from bp-asm.h.
25816         (SIGMSK): Likewise.
25817         (_setjmp): Likewise.  Do not use BP_SYM.
25818         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25819         "bp-asm.h".
25820         (PARMS): Do not use macros from bp-asm.h.
25821         (SIGMSK): Likewise.
25822         (setjmp): Likewise.  Do not use BP_SYM.
25823         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25824         "bp-asm.h".
25825         (PARMS): Do not use macros from bp-asm.h.
25826         (__frexp): Do not use BP_SYM.
25827         (frexp): Likewise.
25828         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25829         "bp-asm.h".
25830         (PARMS): Do not use macros from bp-asm.h.
25831         (__frexpf): Do not use BP_SYM.
25832         (frexpf): Likewise.
25833         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25834         "bp-asm.h".
25835         (PARMS): Do not use macros from bp-asm.h.
25836         (__frexpl): Do not use BP_SYM.
25837         (frexpl): Likewise.
25838         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25839         "bp-asm.h".
25840         (PARMS): Do not use macros from bp-asm.h.
25841         (__remquo): Do not use BP_SYM.
25842         (remquo): Likewise.
25843         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25844         "bp-asm.h".
25845         (PARMS): Do not use macros from bp-asm.h.
25846         (__remquof): Do not use BP_SYM.
25847         (remquof): Likewise.
25848         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25849         "bp-asm.h".
25850         (PARMS): Do not use macros from bp-asm.h.
25851         (__remquol): Do not use BP_SYM.
25852         (remquol): Likewise.
25853         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25854         "bp-asm.h".
25855         (PARMS): Do not use macros from bp-asm.h.
25856         (DEST): Likewise.
25857         (SRC): Likewise.
25858         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
25859         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25860         "bp-asm.h".
25861         (PARMS): Do not use macros from bp-asm.h.
25862         (strlen): Do not use BP_SYM.
25863         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25864         "bp-asm.h".
25865         (PARMS): Do not use macros from bp-asm.h.
25866         (S1): Likewise.
25867         (S2): Likewise.
25868         (SIZE): Likewise.
25869         (__mpn_add_n): Do not use BP_SYM.
25870         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25871         "bp-asm.h".
25872         (PARMS): Do not use macros from bp-asm.h.
25873         (S1): Likewise.
25874         (SIZE): Likewise.
25875         (__mpn_addmul_1): Do not use BP_SYM.
25876         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25877         weak_alias.
25878         (bzero): Likewise.
25879         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25880         "bp-asm.h".
25881         (PARMS): Do not use macros from bp-asm.h.
25882         (S): Likewise.
25883         (SIZE): Likewise.
25884         (__mpn_lshift): Do not use BP_SYM.
25885         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25886         "bp-asm.h".
25887         (PARMS): Do not use macros from bp-asm.h.
25888         (DEST): Likewise.
25889         (SRC): Likewise.
25890         (LEN): Likewise.
25891         (memcpy): Likewise.  Do not use BP_SYM.
25892         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25893         libc_hidden_def and weak_alias.
25894         (mempcpy): Do not use BP_SYM in weak_alias.
25895         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25896         "bp-asm.h".
25897         (PARMS): Do not use macros from bp-asm.h.
25898         (DEST): Likewise.
25899         (LEN): Likewise.
25900         [!BZERO_P] (CHR): Likewise.
25901         (memset): Likewise.  Do not use BP_SYM.
25902         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25903         "bp-asm.h".
25904         (PARMS): Do not use macros from bp-asm.h.
25905         (S1): Likewise.
25906         (SIZE): Likewise.
25907         (__mpn_mul_1): Do not use BP_SYM.
25908         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25909         "bp-asm.h".
25910         (PARMS): Do not use macros from bp-asm.h.
25911         (S): Likewise.
25912         (SIZE): Likewise.
25913         (__mpn_rshift): Do not use BP_SYM.
25914         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25915         "bp-asm.h".
25916         (PARMS): Do not use macros from bp-asm.h.
25917         (STR): Likewise.
25918         (CHR): Likewise.
25919         (strchr): Likewise.  Do not use BP_SYM.
25920         (index): Do not use BP_SYM in weak_alias.
25921         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25922         "bp-asm.h".
25923         (PARMS): Do not use macros from bp-asm.h.
25924         (DEST): Likewise.
25925         (SRC): Likewise.
25926         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
25927         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25928         "bp-asm.h".
25929         (PARMS): Do not use macros from bp-asm.h.
25930         (strlen): Do not use BP_SYM.
25931         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25932         "bp-asm.h".
25933         (PARMS): Do not use macros from bp-asm.h.
25934         (S1): Likewise.
25935         (S2): Likewise.
25936         (SIZE): Likewise.
25937         (__mpn_sub_n): Do not use BP_SYM.
25938         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25939         "bp-asm.h".
25940         (PARMS): Do not use macros from bp-asm.h.
25941         (S1): Likewise.
25942         (SIZE): Likewise.
25943         (__mpn_submul_1): Do not use BP_SYM.
25944         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25945         "bp-asm.h".
25946         (PARMS): Do not use macros from bp-asm.h.
25947         (S1): Likewise.
25948         (S2): Likewise.
25949         (SIZE): Likewise.
25950         (__mpn_add_n): Do not use BP_SYM.
25951         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25952         weak_alias.
25953         (bzero): Likewise.
25954         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25955         "bp-asm.h".
25956         (PARMS): Do not use macros from bp-asm.h.
25957         (BLK2): Likewise.
25958         (LEN): Likewise.
25959         (memcmp): Do not use BP_SYM.
25960         (bcmp): Do not use BP_SYM in weak_alias.
25961         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25962         "bp-asm.h".
25963         (PARMS): Do not use macros from bp-asm.h.
25964         (DEST): Likewise.
25965         (SRC): Likewise.
25966         (LEN): Likewise.
25967         (memcpy): Likewise.  Do not use BP_SYM.
25968         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25969         "bp-asm.h".
25970         (PARMS): Do not use macros from bp-asm.h.
25971         (DEST): Likewise.
25972         (SRC): Likewise.
25973         (LEN): Likewise.
25974         (memmove): Likewise.  Do not use BP_SYM.
25975         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25976         "bp-asm.h".
25977         (PARMS): Do not use macros from bp-asm.h.
25978         (DEST): Likewise.
25979         (SRC): Likewise.
25980         (LEN): Likewise.
25981         (__mempcpy): Likewise.  Do not use BP_SYM.
25982         (mempcpy): Do not use BP_SYM in weak_alias.
25983         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25984         "bp-asm.h".
25985         (PARMS): Do not use macros from bp-asm.h.
25986         (DEST): Likewise.
25987         (LEN): Likewise.
25988         [!BZERO_P] (CHR): Likewise.
25989         (memset): Likewise.  Do not use BP_SYM.
25990         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25991         "bp-asm.h".
25992         (PARMS): Do not use macros from bp-asm.h.
25993         (STR2): Likewise.
25994         (strcmp): Do not use BP_SYM.
25995         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25996         "bp-asm.h".
25997         (PARMS): Do not use macros from bp-asm.h.
25998         (STR): Likewise.
25999         (DELIM): Likewise.
26000         [USE_AS_STRTOK_R] (SAVE): Likewise.
26001         (FUNCTION): Likewise.  Do not use BP_SYM.
26002         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26003         aliases.
26004         (strtok_r): Likewise.
26005         (__GI___strtok_r): Likewise.
26006         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26007         (PARMS): Do not use macros from bp-asm.h.
26008         (S): Likewise.
26009         (SIZE): Likewise.
26010         (__mpn_lshift): Do not use BP_SYM.
26011         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26012         (PARMS): Do not use macros from bp-asm.h.
26013         (STR): Likewise.
26014         (CHR): Likewise.
26015         (__memchr): Do not use BP_SYM.
26016         (memchr): Do not use BP_SYM in weak_alias.
26017         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26018         (PARMS): Do not use macros from bp-asm.h.
26019         (BLK2): Likewise.
26020         (LEN): Likewise.
26021         (memcmp): Do not use BP_SYM.
26022         (bcmp): Do not use BP_SYM in weak_alias.
26023         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26024         (PARMS): Do not use macros from bp-asm.h.
26025         (S1): Likewise.
26026         (SIZE): Likewise.
26027         (__mpn_mul_1): Do not use BP_SYM.
26028         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26029         "bp-asm.h".
26030         (PARMS): Do not use macros from bp-asm.h.
26031         (STR): Likewise.
26032         (CHR): Likewise.
26033         (__rawmemchr): Do not use BP_SYM.
26034         (rawmemchr): Do not use BP_SYM in weak_alias.
26035         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26036         (PARMS): Do not use macros from bp-asm.h.
26037         (S): Likewise.
26038         (SIZE): Likewise.
26039         (__mpn_rshift): Do not use BP_SYM.
26040         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26041         (PARMS): Do not use macros from bp-asm.h.
26042         (SIGMSK): Likewise.
26043         (__sigsetjmp): Likewise.  Do not use BP_SYM.
26044         * sysdeps/i386/start.S: Do not include "bp-sym.h".
26045         (_start): Do not use BP_SYM.
26046         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26047         (PARMS): Do not use macros from bp-asm.h.
26048         (DEST): Likewise.
26049         (SRC): Likewise.
26050         (__stpcpy): Likewise.  Do not use BP_SYM.
26051         (stpcpy): Do not use BP_SYM in weak_alias.
26052         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26053         "bp-asm.h".
26054         (PARMS): Do not use macros from bp-asm.h.
26055         (DEST): Likewise.
26056         (SRC): Likewise.
26057         (LEN): Likewise.
26058         (__stpncpy): Likewise.  Do not use BP_SYM.
26059         (stpncpy): Do not use BP_SYM in weak_alias.
26060         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26061         (PARMS): Do not use macros from bp-asm.h.
26062         (STR): Likewise.
26063         (CHR): Likewise.
26064         (strchr): Likewise.  Do not use BP_SYM.
26065         * sysdeps/i386/strchrnul.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         (__strchrnul): Likewise.  Do not use BP_SYM.
26071         (strchrnul): Do not use BP_SYM in weak_alias.
26072         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26073         "bp-asm.h".
26074         (PARMS): Do not use macros from bp-asm.h.
26075         (STOP): Likewise.
26076         (strcspn): Do not use BP_SYM.
26077         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26078         "bp-asm.h".
26079         (PARMS): Do not use macros from bp-asm.h.
26080         (STR): Likewise.
26081         (STOP): Likewise.
26082         (strpbrk): Likewise.  Do not use BP_SYM.
26083         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26084         "bp-asm.h".
26085         (PARMS): Do not use macros from bp-asm.h.
26086         (STR): Likewise.
26087         (CHR): Likewise.
26088         (strrchr): Likewise.  Do not use BP_SYM.
26089         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26090         (PARMS): Do not use macros from bp-asm.h.
26091         (SKIP): Likewise.
26092         (strspn): Do not use BP_SYM.
26093         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26094         (PARMS): Do not use macros from bp-asm.h.
26095         (STR): Likewise.
26096         (DELIM): Likewise.
26097         (SAVE): Likewise.
26098         (FUNCTION): Likewise.  Do not use BP_SYM.
26099         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26100         aliases.
26101         (strtok_r): Likewise.
26102         (__GI___strtok_r): Likewise.
26103         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26104         (PARMS): Do not use macros from bp-asm.h.
26105         (S1): Likewise.
26106         (S2): Likewise.
26107         (SIZE): Likewise.
26108         (__mpn_sub_n): Do not use BP_SYM.
26109         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26110         "bp-asm.h".
26111         (PARMS): Do not use macros from bp-asm.h.
26112         (S1): Likewise.
26113         (SIZE): Likewise.
26114         (__mpn_submul_1): Do not use BP_SYM.
26115         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26116         <bp-sym.h>.
26117         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26118         and <bp-asm.h>.
26119         (PARMS): Do not use macros from bp-asm.h.
26120         (FLAGS): Likewise.
26121         (PTID): Likewise.
26122         (TLS): Likewise.
26123         (CTID): Likewise.
26124         (__clone): Do not use BP_SYM.
26125         (clone): Do not use BP_SYM in weak_alias.
26126         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26127         and <bp-asm.h>.
26128         (PARMS): Do not use macros from bp-asm.h.
26129         (LEN): Likewise.
26130         (__mmap64): Do not use BP_SYM.
26131         (mmap64): Do not use BP_SYM in weak_alias.
26132         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26133         <bp-sym.h> and <bp-asm.h>.
26134         (PARMS): Do not use macros from bp-asm.h.
26135         (__posix_fadvise64_l64): Do not use BP_SYM.
26136         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26137         (PARMS): Do not use macros from bp-asm.h.
26138         (NSOPS): Likewise.
26139         (semtimedop): Do not use BP_SYM.
26140         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26141         and <bp-asm.h>.
26143 2013-02-21  Allan McRae  <allan@archlinux.org>
26145         * manual/message.texi (Charset conversion in gettext):
26146         Move @end statement to beginning of line.
26148 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26151         static.
26152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26153         Likewise.
26155         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26156         (denorm): Likewise.
26157         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26160 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26162         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26163         tail-call to the resolved function if pltexit isn't needed.
26165 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26168         or Y being zero as being unlikely.
26169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26170         Likewise.
26172 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26174         * manual/nss.texi (System Databases and Name Service Switch):
26175         Remove frobnicate @pxref.
26177 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26179         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26180         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26182 2013-02-20  Petr Machata  <pmachata@redhat.com>
26184         * elf/elf.h (R_ARM_TARGET1): New macro.
26185         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26186         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26187         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26188         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26189         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26190         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26191         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26192         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26193         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26194         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26195         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26196         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26197         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26198         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26199         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26200         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26201         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26202         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26203         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26204         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26205         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26206         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26207         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26208         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26209         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26210         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26211         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26212         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26213         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26214         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26215         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26216         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26217         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26218         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26219         (R_ARM_THM_GOT_BREL12): Likewise.
26220         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26221         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26222         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26223         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26224         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26225         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26226         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26227         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26228         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26230 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26232         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26233         __attribute_used__ to __attribute__ ((unused)).
26235 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26237         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26238         powerpc mpa.c.
26239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26240         comment formatting.
26241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26243 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26245         [BZ #13550]
26246         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26247         Remove macro.
26248         (ENTER): Remove both macro definitions.
26249         (LEAVE): Likewise.
26250         (CHECK_BOUNDS_LOW): Likewise.
26251         (CHECK_BOUNDS_HIGH): Likewise.
26252         (CHECK_BOUNDS_BOTH): Likewise.
26253         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26254         (RETURN_BOUNDED_POINTER): Likewise.
26255         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26256         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26257         (POP_ERRNO_LOCATION_RETURN): Likewise.
26258         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26259         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26260         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26261         macros.
26262         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26263         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26264         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26265         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26266         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26267         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26268         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26269         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26270         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26271         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26272         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26273         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26274         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26275         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26276         removed macros.
26277         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26278         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26279         macros.
26280         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26281         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26282         * sysdeps/i386/i586/memset.S (memset): Likewise.
26283         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26284         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26285         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26286         macros.
26287         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26288         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26289         Change uses of L(2) to L(out).
26290         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26291         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26292         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26293         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26294         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26295         removed macros.
26296         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26297         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26298         macros.
26299         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26300         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26301         (RETURN): Do not use macro LEAVE.
26302         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26303         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26304         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26305         * sysdeps/i386/i686/memset.S (memset): Likewise.
26306         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26307         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26308         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26309         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26310         Likewise.
26311         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26312         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26313         L(1_2) and L(1_3) into L(1).
26314         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26315         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26316         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26317         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26318         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26319         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26320         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26321         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26322         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26323         macros.
26324         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26325         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26326         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26327         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26328         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26329         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26330         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26331         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26332         * sysdeps/i386/strcspn.S (strcspn): Likewise.
26333         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26334         * sysdeps/i386/strrchr.S (strrchr): Likewise.
26335         * sysdeps/i386/strspn.S (strspn): Likewise.
26336         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26337         conditional code.
26338         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26339         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26340         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26341         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
26342         L(1_3) into L(1_1).
26343         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26344         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26345         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26346         macros.
26347         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26349 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
26351         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26352         macro.
26354 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26356         * math/atest-exp.c (exp_mpn): Remove ROUND.
26357         * math/atest-exp2.c (exp_mpn): Likewise.
26358         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26360         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26361         * stdlib/tst-tls-atexit-lib.c: Likewise.
26362         * stdlib/tst-tls-atexit.c: Likewise.
26364 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26366         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26367         and __attribute_alloc_size__.
26369 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26371         * include/programs/xmalloc.h: Change __attribute_alloc_size to
26372         __attribute_alloc_size__.
26373         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26374         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26376 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26378         * include/programs/xmalloc.h: New file.
26379         * catgets/gencat.c: Include it.
26380         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26381         * elf/pldd.c: Likewise.
26382         * iconv/iconv_charmap.c: Likewise.
26383         * iconv/iconvconfig.c: Likewise.
26384         * iconv/strtab.c: Likewise.
26385         * locale/programs/locale.c: Likewise.
26386         * locale/programs/localedef.h: Likewise.
26387         * locale/programs/simple-hash.c: Likewise.
26388         * nscd/nscd.h: Likewise.
26389         * nss/makedb.c: Likewise.
26390         * sysdeps/generic/ldconfig.h: Likewise.
26392 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26394         * Versions.def: Add GLIBC_2.18.
26395         * include/link.h (struct link_map): New member l_tls_dtor_count.
26396         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26397         (__call_tls_dtors): Likewise.
26398         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26399         __cxa_thread_atexit_impl.
26400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26401         Likewise.
26402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26403         Likewise.
26404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26405         Likewise.
26406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26407         Likewise.
26408         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26410         Likewise.
26411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26412         Likewise.
26413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26415         Likewise.
26416         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26417         (tests): Add test case tst-tls-atexit.
26418         (modules-names): Add shared library for tst-tls-atexit.
26419         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26420         (GLIBC_PRIVATE): Add __call_tls_dtors.
26421         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26422         for libstdc++.
26423         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26424         * stdlib/tst-tls-atexit.c: New test case.
26425         * stdlib/tst-tls-atexit-lib.c: New test case.
26427         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26429         * elf/Versions (ld): Add _dl_find_dso_for_object.
26430         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26431         * elf/dl-open.c (_dl_find_dso_for_object): New function.
26432         (dl_open_worker): Use _dl_find_dso_for_object.
26433         * elf/dl-sym.c (do_sym): Likewise.
26434         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26436 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26438         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26439         Syntactic changes only.
26440         (_dl_runtime_profile): Do a tail-call to the resolved function.
26442 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
26444         [BZ #13550]
26445         * sysdeps/x86_64/bp-asm.h: Remove file.
26446         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26447         <bp-sym.h> and <bp-asm.h>.
26448         (__clone): Do not use BP_SYM.
26449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26450         <bp-sym.h> and <bp-asm.h>.
26451         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26452         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26453         "bp-asm.h".
26454         (_setjmp): Do not use BP_SYM.
26455         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26456         "bp-asm.h".
26457         (setjmp): Do not use BP_SYM.
26458         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26459         libc_hidden_def.
26460         (mempcpy): Do not use BP_SYM in weak_alias.
26461         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26462         "bp-asm.h".
26463         (strchr): Do not use BP_SYM.
26464         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26465         "bp-asm.h".
26466         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26467         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26468         (_start): Do not use BP_SYM.
26469         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26470         "bp-asm.h".
26471         (strcat): Do not use BP_SYM.
26472         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26473         "bp-asm.h".
26474         (STRCMP): Do not use BP_SYM.
26475         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26476         "bp-asm.h".
26477         (STRCPY): Do not use BP_SYM.
26478         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26479         "bp-asm.h".
26480         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26481         "bp-asm.h".
26482         (FUNCTION): Do not use BP_SYM.
26483         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26484         weak_alias.
26485         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26487 2013-02-17  Andreas Jaeger  <aj@suse.de>
26489         * time/Versions: Sort entries.
26490         * string/Versions: Likewise.
26491         * resolv/Versions: Likewise.
26492         * posix/Versions: Likewise.
26493         * iconv/Versions: Likewise.
26494         * elf/Versions: Likewise.
26495         * wcsmbs/Versions: Likewise.
26497 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26499         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26500         loop termination condition.
26502         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26503         variable to calculate EZ.
26504         (__sqr): Likewise.
26506         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26507         the lower precision input.
26509 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
26511         [BZ #13550]
26512         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26513         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26514         (run-via-rtld-prefix): Do not handle %-bp tests.
26515         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26516         (all-object-suffixes): Remove .ob.
26517         (bppfx): Remove variable.
26518         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26519         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26520         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26521         [$(build-bounded) = yes] (libtype.ob): Likewise.
26522         * Makerules (elide-routines.ob): Remove variable.
26523         (do-tests-clean): Do not handle *-bp.out.
26524         (common-mostlyclean): Do not handle *-bp and *-bp.out.
26525         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26526         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26527         (tests): Do not include $(tests-bp.out).
26528         (xtests): Do not include $(xtests-bp.out).
26529         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26530         [$(build-bounded) = yes] ($(addprefix
26531         $(objpfx),$(binaries-bounded))): Remove rule.
26532         ($(objpfx)%-bp.out): Remove rule.
26533         * config.make.in (build-bounded): Remove variable.
26534         * crypt/Makefile [$(build-bounded) = yes]
26535         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26536         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26537         append to variable.
26538         [$(build-bounded) = yes] (install-lib): Likewise.
26539         [$(build-bounded) = yes] (generated): Likewise.
26540         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26541         Remove rule.
26542         * intl/Makefile [$(build-bounded) = yes]
26543         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26544         * math/Makefile [$(build-bounded) = yes]
26545         ($(tests:%=$(objpfx)%-bp): Likewise.
26546         * misc/Makefile [$(build-bounded) = yes]
26547         ($(objpfx)tst-tsearch-bp): Likewise.
26548         * nptl/Makeconfig (bounded-thread-library): Remove variable.
26549         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26550         Remove dependency.
26551         * string/Makefile (o-objects.ob): Remove variable.
26552         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26553         (CFLAGS-.ob): Remove variable.
26554         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26555         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26556         both definitions of variable.
26557         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26558         (ASFLAGS-.ob): Remove variable.
26560 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
26562         [BZ #13550]
26563         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26564         Remove __BOUNDED_POINTERS__ from condition.
26565         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26566         * string/bits/string2.h [!__NO_STRING_INLINES &&
26567         !__BOUNDED_POINTERS__]: Likewise.
26568         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26569         Likewise.
26570         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26571         Remove conditional code.
26572         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26573         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26574         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26575         condition.
26577         [BZ #13550]
26578         * csu/libc-start.c: Do not include <bp-sym.h>.
26579         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26580         * elf/dl-open.c: Do not include <bp-sym.h>.
26581         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26582         * math/fegetenv.c: Do not include <bp-sym.h>.
26583         (fegetenv): Do not use BP_SYM in versioned symbols.
26584         * nptl/sysdeps/pthread/bits/libc-lockP.h
26585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26586         <bp-sym.h>.
26587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26588         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26590         (__pthread_mutex_destroy): Likewise.
26591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26592         (__pthread_mutex_lock): Likewise.
26593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26594         (__pthread_mutex_trylock): Likewise.
26595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26596         (__pthread_mutex_unlock): Likewise.
26597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26598         (__pthread_mutexattr_init): Likewise.
26599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26600         (__pthread_mutexattr_destroy): Likewise.
26601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26602         (__pthread_mutexattr_settype): Likewise.
26603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26604         (__pthread_rwlock_init): Likewise.
26605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26606         (__pthread_rwlock_destroy): Likewise.
26607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26608         (__pthread_rwlock_rdlock): Likewise.
26609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26610         (__pthread_rwlock_tryrdlock): Likewise.
26611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26612         (__pthread_rwlock_wrlock): Likewise.
26613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26614         (__pthread_rwlock_trywrlock): Likewise.
26615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26616         (__pthread_rwlock_unlock): Likewise.
26617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26618         (__pthread_key_create): Likewise.
26619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26620         (__pthread_setspecific): Likewise.
26621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26622         (__pthread_getspecific): Likewise.
26623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26624         Likewise.
26625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26626         (_pthread_cleanup_push_defer): Likewise.
26627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26628         (_pthread_cleanup_pop_restore): Likewise.
26629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26630         (pthread_setcancelstate): Likewise.
26631         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26632         <bp-sym.h>.
26633         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26634         (memchr): Do not use BP_SYM in weak_alias.
26635         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26636         (fegetenv): Do not use BP_SYM in versioned symbols.
26637         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26638         (fesetenv): Do not use BP_SYM in versioned symbols.
26639         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26640         (feupdateenv): Do not use BP_SYM in versioned symbols.
26641         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26642         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26643         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26644         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26645         (open64): Do not use BP_SYM in weak_alias.
26646         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26647         (fegetenv): Do not use BP_SYM in versioned symbols.
26648         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26649         (fesetenv): Do not use BP_SYM in versioned symbols.
26650         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26651         (feupdateenv): Do not use BP_SYM in versioned symbols.
26652         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26653         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26654         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26655         (feraiseexcept): Do not use BP_SYM in versioned symbols.
26656         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26657         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26658         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26659         <bp-sym.h>.
26660         (__libc_start_main): Do not use BP_SYM.
26662 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26665         redundant return line.
26666         (norm): Likewise.
26667         (denorm): Likewise.
26668         (dbl_mp): Likewise.
26669         (sub_magnitudes): Likewise.
26670         (__add): Likewise.
26671         (__sub): Likewise.
26672         (__mul): Likewise.
26673         (__inv): Likewise.
26674         (__dvd): Likewise.
26675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26676         (norm): Likewise.
26677         (denorm): Likewise.
26678         (dbl_mp): Likewise.
26679         (sub_magnitudes): Likewise.
26680         (__add): Likewise.
26681         (__sub): Likewise.
26682         (__mul): Likewise.
26683         (__inv): Likewise.
26684         (__dvd): Likewise.
26686         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26687         instead of __mul.
26688         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26689         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26690         (cc32): Likewise.
26692         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26693         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26694         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26695         of __mul for squares.
26696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26697         function
26698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26699         Likewise.
26700         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26701         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26703 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
26705         [BZ #13550]
26706         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26707         code.
26708         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26709         prototype or function definition.  Rename ubp_* variables and
26710         parameters.  Remove argv definitions conditional on
26711         [__BOUNDED_POINTERS__].
26712         * debug/backtrace.c (__backtrace): Do not use __unbounded.
26713         * elf/dl-runtime.c (_dl_fixup): Likewise.
26714         * include/set-hooks.h (RUN_HOOK): Likewise.
26715         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26716         definition.
26717         * string/strcpy.c (strcpy): Do not use __unbounded.
26718         * sysdeps/generic/frame.h (struct layout): Likewise.
26719         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26720         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26721         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26722         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26723         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26724         (__backtrace): Likewise.
26725         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26726         use __ptrvalue.
26727         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26728         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26729         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26730         Likewise.
26731         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26732         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26733         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26734         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26735         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26736         Do not use __unbounded.
26737         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26738         Rename __unboundedrlimits parameter to rlimits in prototype.
26739         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26740         Do not use __unbounded.
26741         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26742         not use __ptrvalue.
26743         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26744         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26745         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26746         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26747         __ptrvalue or __unbounded.
26748         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26749         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26750         use __unbounded.
26751         (__new_msgctl): Do not use __ptrvalue.
26752         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26753         __unbounded.
26754         (__libc_msgrcv): Do not use __ptrvalue.
26755         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26756         startup_info): Do not use __unbounded.
26757         (__libc_start_main): Likewise.  Rename ubp_* variables and
26758         parameters.  Remove argv definitions conditional on
26759         [__BOUNDED_POINTERS__].
26760         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26761         __ptrvalue.
26762         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26763         use __unbounded.
26764         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26765         or __ptrvalue.
26766         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26767         use __unbounded.
26768         (__new_shmctl): Do not use __ptrvalue.
26769         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26770         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26771         Likewise.
26772         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26773         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26774         (__libc_sigaction): Likewise.
26775         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26776         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26777         Likewise.
26778         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26780 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
26782         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26784         * string/mempcpy.c: Implement by calling memcpy.
26786 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26788         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26791         evaluation.
26793         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26794         values in the mantissa.
26796         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26797         minimize writes to Z.
26798         (sub_magnitudes): Simplify code a bit.
26800 2013-02-12  Roland McGrath  <roland@hack.frob.com>
26802         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26803         from the message.  The linker prefixes all warnings with that already.
26805 2013-02-12  Andreas Schwab  <schwab@suse.de>
26807         [BZ #15078]
26808         * posix/regexec.c (extend_buffers): Add parameter min_len.
26809         (check_matching): Pass minimum needed length.
26810         (clean_state_log_if_needed): Likewise.
26811         (get_subexp): Likewise.
26812         * posix/Makefile (tests): Add bug-regex34.
26813         (bug-regex34-ENV): Define.
26814         * posix/bug-regex34.c: New file.
26816         [BZ #11561]
26817         * posix/regcomp.c (parse_bracket_exp): When looking up collating
26818         elements compare against the byte sequence of it, not its name.
26819         * posix/Makefile (tests): Add bug-regex35.
26820         (bug-regex35-ENV): Define.
26821         * posix/bug-regex35.c: New file.
26823 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26825         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
26826         comment.
26827         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26828         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26829         (CHECK_EOL): Add undef.
26831 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
26833         * bits/stdlib-bsearch.h: New file.
26834         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26835         * stdlib/stdlib.h: Likewise.
26837 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26839         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26840         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26841         declaration.
26842         * manual/search.texi (Array Search Function): Add missing const in
26843         lfind prototype.
26844         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26845         declaration to use rlim_t.
26846         (Basic Scheduling Functions): Remove erroneous const from
26847         sched_getparam prototype.  Remove erroneous * from
26848         sched_get_priority_max and sched_get_priority_min prototypes.
26849         (Resource Usage): Fix summary @comment on vtimes to refer to
26850         sys/vtimes.h rather than vtimes.h.
26851         Add missing *s in vtimes prototype.
26852         (Limits on Resources): Fix ulimit prototype to return long int.
26853         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26854         prototypes to use long int rather than double.
26855         (BSD Random): Fix initstate and setstate to use char *, not void *.
26856         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26857         prototype to make second argument 'struct aiocb64 *const[]'.
26858         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26859         (Status of AIO Operations): Remove erroneous const in aio_return and
26860         aio_return64 prototypes.
26861         (Synchronizing I/O): Fix sync prototype to return void.
26862         * manual/startup.texi (Suboptions): Remove an erroneous const in
26863         getsubopt prototype.
26864         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26865         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26866         use size_t rather than int.
26867         (Scanning All Users): Likewise for getpwent_r.
26868         (Setting Groups): Add missing const to setgroups prototype.
26869         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26870         * manual/socket.texi (Host Names): Fix gethostbyaddr and
26871         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26872         'const void *' rather than 'const char *'.
26873         (Host Address Functions): Likewise for inet_ntop.
26874         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26875         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26876         ssize_t for return value.
26877         (Sending Data): Likewise for send, sendto, sendmsg.
26878         (Socket Option Functions): Add a missing const in setsockopt prototype.
26879         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26880         use wchar_t for the argument.
26881         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26882         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26883         take no arguments.
26884         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26885         double/float/long double for second argument.
26886         Fix return types of significand, significandf, significandl.
26887         * manual/filesys.texi (Setting Permissions): Use mode_t for second
26888         argument in fchmod prototype.
26889         (File Owner): Use uid_t and gid_t in fchown prototype.
26890         (File Times): Add const to utimes, futimes, and lutimes prototypes.
26891         (Making Special Files): Use mode_t and dev_t in mknod prototype.
26892         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26893         use 'const struct dirent **' as argument types to CMP function pointer
26894         argument.
26895         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26896         (File Times): Fix summary magic @comment for struct utimbuf and utime
26897         to refer to utime.h, not time.h.
26898         * manual/string.texi (Argz Functions): Add missing const in
26899         argz_extract and argz_next prototypes.
26900         (Finding Tokens in a String): Likewise for basename.
26901         (String/Array Comparison): Fix typo in wcscasecmp prototype.
26902         (Copying and Concatenation): Fix typo in wmemmove prototype.
26903         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26904         (Signal Stack): Remove erroneous const in sigstack prototype.
26905         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26906         prototype.
26907         (Simple Calendar Time): Likewise for stime.
26908         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26909         prototype.
26910         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26911         say sys/sysctl.h instead.
26912         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26913         and vsyslog prototypes.
26915 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26917         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26918         Remove.
26920 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26922         * misc/sys/mman.h: Fix typo in mremap comment.
26924 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26926         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26927         the '\0' terminator.
26929 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26931         [BZ #13550]
26932         * debug/segfault.c: Don't include <bp-checks.h>.
26933         * sysdeps/generic/bp-checks.h: Remove file.
26934         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26935         (__GETDENTS): Don't use CHECK_N.
26936         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26937         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26938         (__getgroups): Don't use CHECK_N.
26939         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26940         (setgroups): Don't use CHECK_N.
26941         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26942         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26943         (__libc_msgrcv): Don't use CHECK_N.
26944         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26945         (__libc_msgsnd): Don't use CHECK_N.
26946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26947         <bp-checks.h>.
26948         (__libc_pread): Don't use CHECK_N.
26949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26950         include <bp-checks.h>.
26951         (__libc_pread64): Don't use CHECK_N.
26952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26953         include <bp-checks.h>.
26954         (__libc_pwrite): Don't use CHECK_N.
26955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26956         include <bp-checks.h>.
26957         (__libc_pwrite64): Don't use CHECK_N.
26958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26959         <bp-checks.h>.
26960         (__libc_pread): Don't use CHECK_N.
26961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26962         include <bp-checks.h>.
26963         (__libc_pread64): Don't use CHECK_N.
26964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26965         include <bp-checks.h>.
26966         (__libc_pwrite): Don't use CHECK_N.
26967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26968         include <bp-checks.h>.
26969         (__libc_pwrite64): Don't use CHECK_N.
26970         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26971         (do_pread): Don't use CHECK_N.
26972         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26973         (do_pread64): Don't use CHECK_N.
26974         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26975         (do_pwrite): Don't use CHECK_N.
26976         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26977         (do_pwrite64): Don't use CHECK_N.
26978         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26979         (__libc_readv): Don't use CHECK_N.
26980         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26981         (semop): Don't use CHECK_N.
26982         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26983         <bp-checks.h>.
26984         (semtimedop): Don't use CHECK_N.
26985         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26986         (__libc_pread): Don't use CHECK_N.
26987         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26988         <bp-checks.h>.
26989         (__libc_pread64): Don't use CHECK_N.
26990         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26991         <bp-checks.h>.
26992         (__libc_pwrite): Don't use CHECK_N.
26993         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26994         <bp-checks.h>.
26995         (__libc_pwrite64): Don't use CHECK_N.
26996         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26997         <bp-checks.h>.
26998         (__libc_msgrcv): Don't use CHECK_N.
26999         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27000         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
27001         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27002         (__libc_writev): Don't use CHECK_N.
27004 2013-02-08  Roland McGrath  <roland@hack.frob.com>
27006         * string/strcpy.c: Removed unused variable.
27008         * Makeconfig (+sysdep-includes): Define with := rather than =.
27009         Use an existing include/ subdir of each sysdeps dir before it.
27011 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27013         * nscd/connection.c (register_traced_file): Comment function.
27014         [HAVE_INOTIFY] (union __inev): Define.
27015         [HAVE_INOTIFY] (inotify_check_files): New function.
27016         [HAVE_INOTIFY] (clear_db_cache): Likewise.
27017         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27018         clear_db_cache.
27019         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27021 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27023         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27024         loaded if not already and that a failure is permanent.
27026 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
27028         [BZ #15006]
27029         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27030         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27032 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
27034         [BZ #13550]
27035         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27036         (CHECK_1_NULL_OK): Likewise.
27037         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27038         (__fxstat): Do not use CHECK_1.
27039         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27040         <bp-checks.h>.
27041         (___fxstat64): Do not use CHECK_1.
27042         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27043         <bp-checks.h>.
27044         (__fxstatat): Do not use CHECK_1.
27045         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27046         <bp-checks.h>.
27047         (__fxstatat64): Do not use CHECK_1.
27048         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27049         <bp-checks.h>.
27050         (__fxstat): Do not use CHECK_1.
27051         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27052         <bp-checks.h>.
27053         (__fxstatat): Do not use CHECK_1.
27054         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27055         <bp-checks.h>.
27056         (__getresgid): Do not use CHECK_1.
27057         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27058         <bp-checks.h>.
27059         (__getresuid): Do not use CHECK_1.
27060         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27061         <bp-checks.h>.
27062         (__lxstat): Do not use CHECK_1.
27063         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27064         <bp-checks.h>.
27065         (__old_msgctl): Do not use CHECK_1.
27066         (__new_msgctl): Likewise.
27067         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27068         <bp-checks.h>.
27069         (__new_setrlimit): Do not use CHECK_1.
27070         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27071         <bp-checks.h>.
27072         (__old_shmctl): Do not use CHECK_1.
27073         (__new_shmctl): Likewise.
27074         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27075         <bp-checks.h>.
27076         (__xstat): Do not use CHECK_1.
27077         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27078         (__lxstat): Do not use CHECK_1.
27079         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27080         <bp-checks.h>.
27081         (___lxstat64): Do not use CHECK_1.
27082         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27083         (__old_msgctl): Do not use CHECK_1.
27084         (__new_msgctl): Likewise.
27085         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27086         <bp-checks.h>.
27087         (__gettimeofday): Do not use CHECK_1.
27088         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27089         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27090         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27091         <bp-checks.h>.
27092         (__gettimeofday): Do not use CHECK_1.
27093         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27094         (__old_shmctl): Do not use CHECK_1_NULL_OK.
27095         (__new_shmctl): Do not use CHECK_1.
27096         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27097         <bp-checks.h>.
27098         (do_sigtimedwait): Do not use CHECK_1.
27099         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27100         <bp-checks.h>.
27101         (do_sigwaitinfo): Do not use CHECK_1.
27102         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27103         <bp-checks.h>.
27104         (msgctl): Do not use CHECK_1.
27105         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27106         <bp-checks.h>.
27107         (shmctl): Do not use CHECK_1.
27108         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27109         (ustat): Do not use CHECK_1.
27110         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27111         <bp-checks.h>.
27112         (__fxstat): Do not use CHECK_1.
27113         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27114         <bp-checks.h>.
27115         (__fxstatat): Do not use CHECK_1.
27116         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27117         <bp-checks.h>.
27118         (__lxstat): Do not use CHECK_1.
27119         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27120         <bp-checks.h>.
27121         (__xstat): Do not use CHECK_1.
27122         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27123         (__xstat): Do not use CHECK_1.
27124         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27125         (___xstat64): Do not use CHECK_1.
27127         [BZ #13550]
27128         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27129         definitions.
27130         (CHECK_BOUNDS_HIGH): Likewise.
27131         * string/strcpy.c: Do not include <bp-checks.h>.
27132         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27134 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27136         * nscd/nscd-client.h (__nscd_drop_map_ref):
27137         Add __attribute__ ((unused)).
27138         * nis/nss-nisplus.h (niserr2nss): Likewise.
27140         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27141         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27143         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27144         Remove inline keyword.
27145         * include/rounding-mode.h (round_away): Likewise.
27146         * libio/wfileops.c (adjust_wide_data): Likewise.
27147         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27148         (__m128i_strloadu_tolower): Likewise.
27149         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27150         (__m128i_strloadu_tolower): Likewise.
27151         * time/mktime.c (ydhms_diff): Likewise.
27152         * locale/elem-hash.h (elem_hash): Likewise.
27153         * locale/setlocale.c (setdata): Likewise.
27154         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27155         (re_string_wchar_at): Likewise.
27156         (bitset_not, bitset_merge, bitset_mask): Likewise.
27157         [!(__GNUC__ > 3)] (inline): Remove macro.
27158         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27159         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27160         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27161         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27162         * string/memcmp.c (memcmp_bytes): Likewise.
27163         * locale/programs/locarchive.c (compute_hashval): Likewise.
27164         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27165         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27166         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27167         * nss/getent.c (print_rpc, print_protocols): Likewise.
27168         (print_passwd, print_group, print_aliases): Likewise.
27169         * nis/nss-nisplus.h (niserr2nss): Likewise.
27170         * nscd/connections.c (restart_p): Likewise.
27171         Change return type to bool.
27173 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27175         * Makeconfig (all-Depend-files): Add existing
27176         $(sorted-subdirs:=/Depend) files.
27177         (all-subdirs): Remove nss.
27178         * sysdeps/unix/inet/Subdirs: Add it here instead.
27179         * hesiod/Depend: New file.
27181         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27182         instead of calling alloca.
27184         * io/lseek.c (__lseek): Rename to __libc_lseek.
27185         Define __lseek as an alias.
27187         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27189 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27191         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27192         else clause and remove check for non-standard endianness.
27194 2013-02-04  David S. Miller  <davem@davemloft.net>
27196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27198 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27200         [BZ #13550]
27201         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27202         (__ubp_memchr): Remove prototype.
27203         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27204         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27205         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27206         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27207         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27208         Remove alias.
27209         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27210         (__ubp_memchr): Likewise.
27211         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27212         (__ubp_memchr): Likewise.
27213         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27214         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27215         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27216         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27217         CHECK_STRING.
27218         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27219         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27220         (__getcwd): Do not use CHECK_STRING.
27221         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27222         <bp-checks.h>.
27223         (__real_chown): Do not use CHECK_STRING.
27224         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27225         <bp-checks.h>.
27226         (fchownat): Do not use CHECK_STRING.
27227         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27228         CHECK_STRING.
27229         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27230         <bp-checks.h>.
27231         (__lchown): Do not use CHECK_STRING.
27232         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27233         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27234         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27235         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27237         include <bp-checks.h>.
27238         (truncate64): Do not use CHECK_STRING.
27239         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27240         <bp-checks.h>.
27241         (__real_chown): Do not use CHECK_STRING.
27242         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27243         <bp-checks.h>.
27244         (__lchown): Do not use CHECK_STRING.
27245         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27246         <bp-checks.h>.
27247         (__chown): Do not use CHECK_STRING.
27248         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27249         <bp-checks.h>.
27250         (truncate64): Do not use CHECK_STRING.
27251         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27252         Likewise.
27253         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27254         (__xmknod): Do not use CHECK_STRING.
27255         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27256         <bp-checks.h>.
27257         (__xmknodat): Do not use CHECK_STRING.
27258         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27259         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27261 2013-02-04  Andreas Schwab  <schwab@suse.de>
27263         [BZ #14142]
27264         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27265         * include/netdb.h: Likewise for h_errno.
27266         * elf/tst-stackguard1.c: Include <tls.h>.
27268 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27270         * elf/link.h (struct link_map): Extend the l_addr comment.
27271         * include/link.h (struct link_map): Likewise.
27273 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27275         [BZ #13550]
27276         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27277         (BOUNDED_1): Remove macro.
27278         * debug/backtrace.c: Don't include <bp-checks.h>.
27279         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27280         (__backtrace): Likewise.
27281         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27282         <bp-checks.h>.
27283         (__backtrace): Don't use BOUNDED_1.
27284         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27285         <bp-checks.h>.
27286         (__backtrace): Don't use BOUNDED_1.
27287         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27288         (__backtrace): Don't use BOUNDED_1.
27289         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27290         (shmat): Don't use BOUNDED_N.
27292 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27294         [BZ #13550]
27295         * sysdeps/generic/bp-start.h: Remove file.
27296         * csu/libc-start.c: Don't include <bp-start.h>.
27297         (LIBC_START_MAIN): Set up __environ directly instead of using
27298         INIT_ARGV_and_ENVIRON.
27299         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27300         <bp-start.h>.
27302         [BZ #13550]
27303         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27304         definitions.
27305         (CHECK_FCNTL): Likewise.
27306         (CHECK_N_PAGES): Likewise.
27308         [BZ #13550]
27309         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27310         definitions.
27311         (CHECK_SIGSET_NULL_OK): Likewise.
27312         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27313         <bp-checks.h>.
27314         (sigpending): Don't use CHECK_SIGSET.
27315         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27316         <bp-checks.h>.
27317         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27318         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27319         <bp-checks.h>.
27320         (do_sigsuspend): Don't use CHECK_SIGSET.
27321         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27322         use CHECK_SIGSET.
27323         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27324         (do_sigwait): Don't use CHECK_SIGSET.
27325         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27326         use CHECK_SIGSET.
27327         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27328         include <bp-checks.h>.
27329         (sigpending): Don't use CHECK_SIGSET.
27330         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27331         include <bp-checks.h>.
27332         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27333         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27334         <bp-checks.h>.
27335         (sigpending): Don't use CHECK_SIGSET.
27336         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27337         <bp-checks.h>.
27338         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27340         [BZ #13550]
27341         * sysdeps/generic/bp-semctl.h: Remove file.
27342         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27343         <bp-checks.h> and <bp-semctl.h>.
27344         (__old_semctl): Don't use CHECK_SEMCTL.
27345         (__new_semctl): Likewise.
27346         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27347         and <bp-semctl.h>.
27348         (__old_semctl): Don't use CHECK_SEMCTL.
27349         (__new_semctl): Likewise.
27350         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27351         <bp-checks.h> and <bp-semctl.h>.
27352         (__old_semctl): Don't use CHECK_SEMCTL.
27353         (__new_semctl): Likewise.
27354         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27355         <bp-checks.h> and <bp-semctl.h>.
27356         (semctl): Don't use CHECK_SEMCTL.
27358         [BZ #13550]
27359         * Makerules (elide-bp-thunks): Remove variable.
27360         (elide-routines.oS): Don't use $(elide-bp-thunks).
27361         (elide-routines.os): Likewise.
27362         (elide-routines.o): Likewise.
27363         (elide-routines.op): Likewise.
27364         (elide-routines.og): Likewise.
27365         (objects): Don't use $(bp-thunks).
27366         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27367         include.
27368         (common-generated): Do not add s-proto-bp.d.
27369         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27370         (int): Likewise.
27371         (typ): Likewise.
27372         Do not generate makefile rules for bounded-pointer thunks.
27373         * sysdeps/generic/bp-thunks.h: Remove file.
27374         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27375         * sysdeps/unix/s-proto-bp.S: Likewise.
27377         [BZ #15062]
27378         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27379         parts of result separately when argument is not close to line from
27380         -i to i and one part of argument is small.
27381         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27382         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27383         * math/libm-test.inc (cacos_test): Add more tests.
27384         (casin_test): Likewise.
27385         (casinh_test): Likewise.
27386         * sysdeps/i386/fpu/libm-test-ulps: Update.
27387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27389 2013-01-31  David S. Miller  <davem@davemloft.net>
27391         * po/de.po: Update from translation team.
27393 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
27395         * time/tzfile.c: Include stdint.h for SIZE_MAX.
27397 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
27399         * configure.in (_AC_PROG_CC_C89): New definition.
27400         * configure: Regenerate.
27402         * configure.in (AC_PROG_CPP): New definition.
27403         * configure: Regenerate.
27405 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27407         * debug/tst-backtrace.h: New file.
27408         * debug/tst-backtrace2.c: Include tst-backtrace.h.
27409         (ret): Remove variable.
27410         (x): Likewise.
27411         (FAIL): Remove macro.
27412         (NO_INLINE): Likewise.
27413         (fn1): Use match function instead of strstr.
27414         * debug/tst-backtrace3.c: Include tst-backtrace.h.
27415         (ret): Remove variable.
27416         (x): Likewise.
27417         (FAIL): Remove macro.
27418         (NO_INLINE): Likewise.
27419         (fn): Use match function instead of strstr.
27420         * debug/tst-backtrace4.c: Include tst-backtrace.h.
27421         (ret): Remove variable.
27422         (x): Likewise.
27423         (FAIL): Remove macro.
27424         (NO_INLINE): Likewise.
27425         (handle_signal): Use match function instead of strstr.
27426         * debug/tst-backtrace5.c: Include tst-backtrace.h.
27427         (ret): Remove variable.
27428         (x): Likewise.
27429         (FAIL): Remove macro.
27430         (NO_INLINE): Likewise.
27431         (handle_signal): Use match function instead of strstr.
27433 2013-01-23  Roland McGrath  <roland@hack.frob.com>
27435         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27437 2013-01-23  David S. Miller  <davem@davemloft.net>
27439         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27440         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27441         argument of CAS if possible.
27442         * sysdeps/sparc/sparc64/bits/atomic.h
27443         (__arch_compare_and_exchange_val_32_acq): Likewise.
27444         (__arch_compare_and_exchange_val_64_acq): Likewise.
27446 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
27448         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27449         * sysdeps/posix/ulimit.c: ... this.
27450         Include <limits.h>.
27451         * sysdeps/unix/bsd/ulimit.c: Remove file.
27453 2013-01-23  Adam Conrad  <adconrad@0c3.net>
27455         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27456         (LDFLAGS-tst-array5): Likewise.
27458 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27460         [BZ #15036]
27461         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27462         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27463         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27464         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27466 2013-01-21  David S. Miller  <davem@davemloft.net>
27468         * sysdeps/sparc/backtrace.c: New file.
27469         * sysdeps/sparc/sparc32/backtrace.h: New file.
27470         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27471         * sysdeps/sparc/sparc64/backtrace.h: New file.
27472         * sysdeps/sparc/sparc64/backtrace.c: Delete.
27473         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27474         -funwind-tables.
27476 2013-01-21  Andreas Schwab  <schwab@suse.de>
27478         [BZ #15020]
27479         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27480         closed its stdout.
27482 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
27484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27485         "mpa2.h".
27486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27488 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
27489             Mark Mitchell  <mark@codesourcery.com>
27490             Tom de Vries  <tom@codesourcery.com>
27491             Paul Pluzhnikov  <ppluzhnikov@google.com>
27493         * debug/tst-backtrace2.c: New file.
27494         * debug/tst-backtrace3.c: Likewise.
27495         * debug/tst-backtrace4.c: Likewise.
27496         * debug/tst-backtrace5.c: Likewise.
27497         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27498         (CFLAGS-tst-backtrace3.c): Likewise.
27499         (CFLAGS-tst-backtrace4.c): Likewise.
27500         (CFLAGS-tst-backtrace5.c): Likewise.
27501         (LDFLAGS-tst-backtrace2): Likewise.
27502         (LDFLAGS-tst-backtrace3): Likewise.
27503         (LDFLAGS-tst-backtrace4): Likewise.
27504         (LDFLAGS-tst-backtrace5): Likewise.
27505         (tests): Add new tests tst-backtrace2, tst-backtrace3,
27506         tst-backtrace4 and tst-backtrace5.
27508 2013-01-18  Anton Blanchard  <anton@samba.org>
27509             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27511         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27512         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27513         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27514         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27516         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27517         "+r" and remove output regs list as redundant.  Add explicit inline
27518         asm to specify register of return val to work around compiler codegen
27519         bug.  Remove (int) cast on return value.  Add return type parameter to
27520         use in macro so that this macro does not truncate return value for
27521         64-bit values.
27522         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27523         pass to INTERNAL_VSYSCALL_NCS.
27524         (INLINE_VSYSCALL): Add 'long int' as return type to
27525         INTERNAL_VSYSCALL_NCS macro invocation.
27526         (INTERNAL_VSYSCALL): Add 'long int' as return type to
27527         INTERNAL_VSYSCALL_NCS macro invocation.
27528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27530 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27532         [BZ #14496]
27533         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27534         Fix application of SIMD FP exception mask.
27536         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27537         mp_no from a power of two.
27538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27539         __mpexp_twomm1.  Use __pow_mp.
27541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27542         multiplication.
27544 2013-01-17  David S. Miller  <davem@davemloft.net>
27546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27548 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27550         [BZ #15023]
27551         * include/complex.h: Condition contents on [!_COMPLEX_H].
27552         (__kernel_casinhf): New prototype.
27553         (__kernel_casinh): Likewise.
27554         (__kernel_casinhl): Likewise.
27555         * math/Makefile (libm_calls): Add k_casinh.
27556         * math/k_casinh.c: New file.
27557         * math/k_casinhf.c: Likewise.
27558         * math/k_casinhl.c: Likewise.
27559         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27560         finite nonzero arguments.
27561         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27562         finite nonzero arguments.
27563         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27564         finite nonzero arguments.
27565         * math/s_casinh.c: Do not include <float.h>.
27566         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27567         * math/s_casinhf.c: Do not include <float.h>.
27568         (__casinhf): Move code for finite nonzero arguments to
27569         k_casinhf.c.
27570         * math/s_casinhl.c: Do not include <float.h>.
27571         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27572         redefine.
27573         (__casinhl): Move code for finite nonzero arguments to
27574         k_casinhl.c.
27575         * math/libm-test.inc (cacos_test): Add more tests.
27576         * sysdeps/i386/fpu/libm-test-ulps: Update.
27577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27579 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
27581         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27582         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27583         [!HAVE_MREMAP]: Remove [defined linux] case.
27584         * malloc/arena.c: Do not include <malloc-sysdep.h>.
27586 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27588         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27590 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
27592         * elf/elf.h (R_386_SIZE32): New relocation.
27593         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27594         R_386_SIZE32.
27595         (elf_machine_rela): Likewise.
27596         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27597         R_X86_64_SIZE64 and R_X86_64_SIZE32.
27599 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27601         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27602         (FP_FAST_FMA): Do not define.
27603         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27604         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27605         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27606         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27607         !_SOFT_FLOAT]: Likewise.
27608         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27609         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27610         value.
27611         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27612         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27613         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27614         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27615         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27616         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27617         file.
27619 2013-01-16  Andreas Schwab  <schwab@suse.de>
27621         [BZ #14327]
27622         * include/stdlib.h (__mktemp): Add declaration.
27623         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27624         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27626 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27628         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27629         definitions.
27630         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27631         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27632         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27633         definitions here.
27634         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27635         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27636         definitions.
27637         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27638         and ONE.
27639         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27640         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27641         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27642         definitions.
27643         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27644         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27645         definitions.
27646         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27648         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27650 2013-01-15  David S. Miller  <davem@davemloft.net>
27652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27653         trunc{,f} to libm-sysdep_routes.
27654         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27656         file.
27657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27659         file.
27660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27661         file.
27662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27664         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27665         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27666         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27667         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27668         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27669         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27672         nearbyint{,f} to libm-sysdep_routes.
27673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27675         New file.
27676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27677         file.
27678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27679         New file.
27680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27681         file.
27682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27684         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27685         file.
27686         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27687         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27688         file.
27689         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27690         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27691         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27693         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27694         libc_feholdexcept and libc_fesetenv.
27696 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
27698         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27700 2013-01-14  David S. Miller  <davem@davemloft.net>
27702         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27703         (SPARC_ASM_VIS2_IFUNC): Likewise.
27704         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27706         use of 'siam' instruction.
27707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27708         Likewise.
27709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27710         Likewise.
27711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27712         Likewise.
27713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27714         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27715         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27716         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27718         file.
27719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27720         file.
27721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27722         file.
27723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27724         file.
27725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27726         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27730         new VIS2 routines.
27731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27734         Likewise.
27735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27737         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27740         routines to libm-sysdep_routines.
27741         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27744         fdim/fdimf to libm-sysdep_routines.
27745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27746         file.
27747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27749         file.
27750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27753         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27754         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27755         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27756         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27758 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27760         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27761         to optimize copies.
27763         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27768         local variable MPTWO.
27769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27770         Likewise.
27772 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27774         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27775         GLOB_NOESCAPE.
27777 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27779         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27781 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27783         * manual/pattern.texi (glob_t): Document gl_flags.
27784         (glob64_t): Likewise.
27786 2013-01-11  David S. Miller  <davem@davemloft.net>
27788         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27789         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27790         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
27791         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27792         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27793         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27794         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27795         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27796         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27797         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27798         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27799         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27800         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27802         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27803         sparc V9 rather than using V8 code.
27804         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27805         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27807         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27808         Move to...
27809         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27810         Here.
27812 2013-01-11  Roland McGrath  <roland@hack.frob.com>
27814         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27815         not in the main loop.
27816         * configure: Regenerated.
27818 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
27820         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27821         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27822         to just #else.
27823         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
27824         [!__GLIBC_HAVE_LONG_LONG] case.
27825         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27826         condition to just #else.
27827         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27828         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27829         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27830         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27831         unconditional.
27832         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27833         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27834         #elif condition to just #else.
27835         * sysdeps/unix/sysv/linux/sys/sysmacros.h
27836         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27837         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27838         #elif condition to just #else.
27840 2013-01-11  Steve Ellcey  <sellcey@mips.com>
27842         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27843         (EF_MIPS_ARCH_64): Fix value.
27844         (EF_MIPS_ARCH_32R2): New.
27845         (EF_MIPS_ARCH_64R2): New.
27847 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
27849         * Makeconfig (+link-pie-before-libc): New.
27850         (+link-pie-after-libc): Likewise.
27851         (+link-pie-tests): Likewise.
27852         (+link-pie): Rewritten.
27853         (link-before-libc): Remove $(config-LDFLAGS).
27854         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27855         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27856         (config-LDFLAGS): Renamed to ...
27857         (rtld-LDFLAGS): This.
27858         (rtld-tests-LDFLAGS): New macro.
27859         (link-libc-rpath-link): Likewise.
27860         (link-libc-tests-rpath-link): Likewise.
27861         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27862         (link-libc): Prepand $(link-libc-rpath-link).
27863         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27864         (test-program-prefix): New macro.
27865         (test-via-rtld-prefix): Likewise.
27866         (test-program-cmd): Likewise.
27867         (host-test-program-cmd): Likewise.
27868         * Makefile ($(common-objpfx)testrun.sh): Replace
27869         $(run-program-prefix) with $(test-program-prefix).
27870         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27871         $(rtld-LDFLAGS).
27872         ($(common-objpfx)shlib.lds): Likewise.
27873         (build-module-helper): Likewise.
27874         ($(common-objpfx)format.lds): Likewise.
27875         * Rules (binaries-pie-tests): New.
27876         (binaries-pie-notests): Likewise.
27877         (binaries-pie): Rewritten.
27878         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27879         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27880         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27881         (make-test-out): Replace $(host-built-program-cmd) with
27882         $(host-test-program-cmd).
27883         * config.make.in (build-hardcoded-path-in-tests): New variable.
27884         * configure.in (--enable-hardcoded-path-in-tests): New configure
27885         option.
27886         (hardcoded_path_in_tests): New AC_SUBST.
27887         * configure: Regenerated.
27888         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27889         $(built-program-cmd) with $(test-program-cmd).
27890         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27891         (test_program_cmd): This.
27892         * elf/Makefile ($(objpfx)order.out): Run test with
27893         $(test-program-prefix).
27894         ($(objpfx)order2.out): Likewise.
27895         ($(objpfx)tst-initorder.out): Likewise.
27896         ($(objpfx)tst-initorder2.out): Likewise.
27897         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27898         $(test-program-cmd).
27899         ($(objpfx)tst-array1-static.out): Likewise.
27900         ($(objpfx)tst-array2.out): Likewise.
27901         ($(objpfx)tst-array3.out): Likewise.
27902         ($(objpfx)tst-array4.out): Likewise.
27903         ($(objpfx)tst-array5.out): Likewise.
27904         ($(objpfx)tst-array5-static.out): Likewise.
27905         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27906         $(test-program-cmd).
27907         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27908         $(run-program-prefix) with $(test-program-prefix).
27909         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27910         (test_program_prefix): This.
27911         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27912         $(run-program-prefix) with $(test-program-prefix).
27913         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27914         (test_program_prefix): This.
27915         * iconvdata/tst-tables.sh: Likewise.
27916         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27917         $(run-program-prefix) with $(test-program-prefix).
27918         ($(objpfx)tst-translit.out): Likewise.
27919         ($(objpfx)tst-gettext2.out): Likewise.
27920         ($(objpfx)tst-gettext4.out): Likewise.
27921         ($(objpfx)tst-gettext6.out): Likewise.
27922         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27923         (test_program_prefix): This.
27924         * intl/tst-gettext2.sh: Likewise.
27925         * intl/tst-gettext4.sh  Likewise.
27926         * intl/tst-gettext6.sh: Likewise.
27927         * intl/tst-translit.sh: Likewise.
27928         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27929         with $(test-program-cmd).
27930         * libio/Makefile ($(objpfx)test-freopen.out): Replace
27931         $(run-program-prefix) with $(test-program-prefix).
27932         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27933         (test_program_prefix): This.
27934         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27935         $(run-program-prefix) with $(test-program-prefix).
27936         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27937         (test_program_prefix): This.
27938         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27939         * posix/Makefile ($(objpfx)globtest.out): Replace
27940         $(run-via-rtld-prefix) and $(test-wrapper) with
27941         $(test-program-prefix) and $(test-via-rtld-prefix).
27942         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27943         $(test-program-prefix).
27944         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27945         $(host-test-program-cmd).
27946         (tst-spawn-ARGS): Likewise.
27947         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27948         $(test-program-prefix).
27949         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27950         (test_via_rtld_prefix): This.
27951         (test_wrapper): Renamed to ...
27952         (test_program_prefix): This.
27953         (run_program_prefix): Replaced by test_program_prefix.
27954         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27955         (test_program_prefix): This.
27956         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27957         with $(host-test-program-cmd).
27958         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27959         $(run-program-prefix) with $(test-program-prefix).
27960         ($(objpfx)tst-printf.out): Likewise.
27961         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27962         $(test-program-cmd).
27963         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27964         (test_program_prefix): This.
27965         * stdio-common/tst-unbputc.sh: Likewise.
27966         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27967         $(run-program-prefix) with $(test-program-prefix).
27968         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27969         (test_program_prefix): This.
27970         * string/Makefile ($(objpfx)tst-svc.out):  Replace
27971         $(built-program-cmd) with $(test-program-cmd).
27973 2013-01-11  Andreas Jaeger  <aj@suse.de>
27975         [BZ #15003]
27976         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27977         value. Sync with Linux 3.7.
27979 2013-01-10  David S. Miller  <davem@davemloft.net>
27981         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27982         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27983         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27985 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27987         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27988         never set.
27989         * configure: Regenerated.
27991 2013-01-10  David S. Miller  <davem@davemloft.net>
27993         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27994         sparc V9 rather than using V8 code.
27995         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27996         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27998 2013-01-10  Roland McGrath  <roland@hack.frob.com>
28000         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28001         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28002         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28003         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28004         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28005         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28006         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28007         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28008         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28009         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28010         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28011         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28012         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28013         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28014         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28015         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28016         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28017         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28018         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28019         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28020         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28021         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28022         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28023         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28024         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28025         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28026         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28028 2013-01-10  David S. Miller  <davem@davemloft.net>
28030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28032 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28034         * posix/Makefile (tests-static): New variable.
28035         (tests): Add $(tests-static).
28036         (tst-exec-static-ARGS): New variable.
28037         (tst-spawn-static-ARGS): Likewise.
28038         * posix/tst-exec-static.c: New file.
28039         * posix/tst-spawn-static.c: Likewise.
28040         * posix/tst-exec.c: Support run directly.
28041         * posix/tst-spawn.c: Likewise.
28043 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
28045         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28046         long.
28047         * math/bits/mathcalls.h (llrint): Likewise.
28048         (llround): Likewise.
28049         * stdlib/stdlib.h (struct drand48_data): Likewise.
28050         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28051         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28052         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28053         Likewise.
28054         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28055         Likewise.
28056         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28057         (elf_greg_t): Likewise.
28058         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28059         (__jmp_buf): Likewise.
28060         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28061         definitions.
28062         (llrint): Likewise, for all definitions.
28063         (llrintl): Likewise.
28065         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28066         Remove [__GNUC__] condition.
28067         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28068         condition to just [__USE_ISOC99].
28069         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28071 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
28073         [BZ #14200]
28074         * sysdeps/unix/sysv/linux/x86/bits/environments.h
28075         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28076         defined.
28077         (_POSIX_V6_ILP32_OFF32): Likewise.
28078         (_XBS5_ILP32_OFF32): Likewise.
28079         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28080         (__ILP32_OFFBIG_LDFLAGS): Likewise.
28082 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28084         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28087         doubles __mpexp_twomm1.  Adjust usage.
28088         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28089         Remove.
28091 2013-01-10  Andreas Schwab  <schwab@suse.de>
28093         [BZ #14964]
28094         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28095         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28097 2013-01-09  David S. Miller  <davem@davemloft.net>
28099         [BZ #15003]
28100         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28101         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28102         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28103         (TCP_FASTOPEN): Define.
28104         (tcp_repair_opt): New structure.
28105         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28106         enum values.
28107         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28108         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28109         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28110         (tcp_cookie_transactions): New structure.
28112 2013-01-09  Anton Blanchard  <anton@samba.org>
28114         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28115         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28116         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28117         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28119 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28121         * include/features.h (__USE_ANSI): Remove.
28123 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28125         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28127         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28129 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28131         * sysdeps/s390/fpu/libm-test-ulps: Update.
28133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28135         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28136         (__acr): Likewise.
28137         (__cpy): Likewise.
28138         (norm): Likewise.
28139         (denorm): Likewise.
28140         (__mp_dbl): Likewise.
28141         (__dbl_mp): Likewise.
28142         (add_magnitudes): Likewise.
28143         (sub_magnitudes): Likewise.
28144         (__add): Likewise.
28145         (__sub): Likewise.
28146         (__mul): Likewise.
28147         (__inv): Likewise.
28148         (__dvd): Likewise.
28149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28150         (__acr): Likewise.
28151         (__cpy): Likewise.
28152         (norm): Likewise.
28153         (denorm): Likewise.
28154         (__mp_dbl): Likewise.
28155         (__dbl_mp): Likewise.
28156         (add_magnitudes): Likewise.
28157         (sub_magnitudes): Likewise.
28158         (__add): Likewise.
28159         (__sub): Likewise.
28160         (__mul): Likewise.
28161         (__inv): Likewise.
28162         (__dvd): Likewise.
28163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28164         (__acr): Likewise.
28165         (__cpy): Likewise.
28166         (norm): Likewise.
28167         (denorm): Likewise.
28168         (__mp_dbl): Likewise.
28169         (__dbl_mp): Likewise.
28170         (add_magnitudes): Likewise.
28171         (sub_magnitudes): Likewise.
28172         (__add): Likewise.
28173         (__sub): Likewise.
28174         (__mul): Likewise.
28175         (__inv): Likewise.
28176         (__dvd): Likewise.
28178 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28180         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28181         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28182         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28183         2 && __USE_EXTERN_INLINES]: Likewise.
28185 2013-01-08  Andreas Jaeger  <aj@suse.de>
28187         [BZ# 14985]
28188         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28189         Remove.
28190         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28191         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28193 2013-01-07  Anton Blanchard  <anton@samba.org>
28195         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28196         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28197         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28198         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28199         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28200         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28201         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28202         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28204         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28205         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28206         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28207         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28208         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28209         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28210         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28211         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28212         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28213         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28214         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28215         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28216         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28217         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28218         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28219         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28220         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28221         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28222         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28223         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28224         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28225         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28227         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28228         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28229         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28230         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28231         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28232         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28233         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28234         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28235         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28236         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28237         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28239 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28241         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28242         (__MALLOC_PMT): Likewise.
28243         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28244         [__GNUC__], only on [_LIBC].
28245         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28246         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28247         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28248         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28249         forward declaration.
28250         (realloc_hook_ini): Likewise.
28251         (memalign_hook_ini): Likewise.
28252         (__libc_memalign): Do not use __MALLOC_PMT in variable
28253         declaration.
28254         (__libc_valloc): Likewise.
28255         (__libc_pvalloc): Likewise.
28256         (__libc_calloc): Likewise.
28257         (__posix_memalign): Likewise.
28259         [BZ #14996]
28260         * math/s_casinh.c: Include <float.h>.
28261         (__casinh): Do not do computation with squaring and square root
28262         for large arguments.
28263         * math/s_casinhf.c: Include <float.h>.
28264         (__casinhf): Do not do computation with squaring and square root
28265         for large arguments.
28266         * math/s_casinhl.c: Include <float.h>.
28267         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28268         (__casinhl): Do not do computation with squaring and square root
28269         for large arguments.
28270         * math/libm-test.inc (casin_test): Add more tests.
28271         (casinh_test): Likewise.
28272         * sysdeps/i386/fpu/libm-test-ulps: Update.
28273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28275 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28277         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28278         (__x86_64_raw_data_cache_size): Likewise.
28279         (__x86_64_data_cache_size_half): Likewise.
28280         (__x86_64_raw_data_cache_size_half): Likewise.
28281         (__x86_64_shared_cache_size): Likewise.
28282         (__x86_64_raw_shared_cache_size): Likewise.
28283         (__x86_64_shared_cache_size_half): Likewise.
28284         (__x86_64_raw_shared_cache_size_half): Likewise.
28285         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28286         to ...
28287         (__x86_data_cache_size): This.
28288         (__x86_64_raw_data_cache_size): Renamed to ...
28289         (__x86_raw_data_cache_size): This.
28290         (__x86_64_data_cache_size_half): Renamed to ...
28291         (__x86_data_cache_size_half): This.
28292         (__x86_64_raw_data_cache_size_half): Renamed to ...
28293         (__x86_raw_data_cache_size_half): This.
28294         (__x86_64_shared_cache_size): Renamed to ...
28295         (__x86_shared_cache_size): This.
28296         (__x86_64_raw_shared_cache_size): Renamed to ...
28297         (__x86_raw_shared_cache_size): This.
28298         (__x86_64_shared_cache_size_half): Renamed to ...
28299         (__x86_shared_cache_size_half): This.
28300         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28301         (__x86_raw_shared_cache_size_half): This.
28302         * sysdeps/x86_64/memcpy.S: Updated.
28303         * sysdeps/x86_64/memset.S: Likewise.
28304         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28305         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28306         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28308 2013-01-04  David S. Miller  <davem@davemloft.net>
28310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28312 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28314         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28315         1 to avoid redefinition warning.
28316         (__USE_GNU): Don't define.
28317         (init_signaling_nan): Protoize.
28319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28321 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28323         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28325         (__cpymn): Likewise.
28326         (norm): Remove commented code.
28327         (denorm): Likewise.
28328         (__mp_dbl): Likewise.
28329         (__inv): Likewise.
28330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28331         (__cpymn): Likewise.
28332         (norm): Remove commented code.
28333         (denorm): Likewise.
28334         (__mp_dbl): Likewise.
28335         (__inv): Likewise.
28337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28338         mp_no value for 1.0 and 2.0.
28339         (norm): Use RADIXI instead of radixi.d.
28340         (denorm): Likewise.
28341         (__mul): Use 0.0 instead of zero.d.
28342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28343         mp_no value for 1.0 and 2.0.
28344         (norm): Use RADIXI instead of radixi.d.
28345         (denorm): Likewise.
28346         (__mul): Use 0.0 instead of zero.d.
28348 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
28350         [BZ #14994]
28351         * math/s_casinh.c (__casinh): Reduce finite argument to first
28352         quadrant then set signs of results at the end.
28353         * math/s_casinhf.c (__casinhf): Likewise.
28354         * math/s_casinhl.c (__casinhl): Likewise.
28355         * math/libm-test.inc (casin_test): Add more tests.
28356         (casinh_test): Likewise.
28357         * sysdeps/i386/fpu/libm-test-ulps: Update.
28358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28360 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28362         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28364         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28366         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28367         declarations.
28368         (denorm): Likewise.
28369         (__mp_dbl): Likewise.
28370         (__inv): Likewise.
28372         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28373         and adjust the header comment.
28375         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28376         variable name from declaration.
28378 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
28380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28381         Initialize COMMON_CPUID_INDEX_7 element.
28382         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28383         (CPUID_RTM): Likewise.
28384         (HAS_RTM): Likewise.
28385         (COMMON_CPUID_INDEX_7): New enum.
28387 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
28389         [BZ #14981]
28390         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28391         size is zero, record memory as freed.
28393 2013-01-03  Andreas Jaeger  <aj@suse.de>
28395         * po/ia.po: Add new Interlingua translation.
28397 2012-01-03  Allan McRae  <allan@archlinux.org>
28399         * locale/programs/localedef.c: Fix description of '--posix' flag.
28401 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
28403         * NEWS: Update dates in second copyright notice.
28404         * README: Update copyright dates in example.
28405         * manual/libc.texinfo: Update copyright dates.
28406         * scripts/test-installation.pl: Update copyright date in --version
28407         output.
28409         * hurd/ctty-input.c: Fix copyright notice formatting.
28410         * hurd/ctty-output.c: Likewise.
28411         * hurd/dtable.c: Likewise.
28412         * hurd/hurd-raise.c: Likewise.
28413         * hurd/hurdprio.c: Likewise.
28414         * hurd/msgportdemux.c: Likewise.
28415         * misc/sys/file.h: Likewise.
28416         * misc/sys/ioctl.h: Likewise.
28417         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28418         * sysdeps/mach/hurd/chdir.c: Likewise.
28419         * sysdeps/mach/hurd/fchdir.c: Likewise.
28420         * sysdeps/mach/hurd/rename.c: Likewise.
28421         * sysdeps/mach/hurd/rmdir.c: Likewise.
28422         * sysdeps/mach/hurd/seekdir.c: Likewise.
28423         * sysdeps/mach/hurd/setsid.c: Likewise.
28424         * sysdeps/posix/wait3.c: Likewise.
28426         * All files with FSF copyright notices: Update copyright dates
28427         using scripts/update-copyrights.
28428         * intl/plural.c: Regenerated.
28429         * locale/programs/charmap-kw.h: Likewise.
28430         * locale/programs/locfile-kw.h: Likewise.
28432 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28434         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28435         four values.
28437         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28438         calculation loop and add branch prediction.
28440         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28441         check access beyond bounds of m1np.
28443         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28444         MPTWO.
28445         (__inv): Remove local variable MPTWO to use the global
28446         constant.
28447         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28448         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28449         variable MPTWO.
28450         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28451         MP3HALFS static const.
28453 2013-01-01  David S. Miller  <davem@davemloft.net>
28455         * po/ca.po: Update from translation team.
28457 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
28459         * scripts/update-copyrights: New file.
28460         * Makeconfig: Reformat copyright notice.
28461         * ctype/ctype.h: Likewise.
28462         * debug/swprintf_chk.c: Likewise.
28463         * elf/dl-cache.c: Likewise.
28464         * elf/dl-debug.c: Likewise.
28465         * elf/dl-object.c: Likewise.
28466         * grp/initgroups.c: Likewise.
28467         * hurd/Makefile: Likewise.
28468         * hurd/hurd/signal.h: Likewise.
28469         * hurd/hurdfault.c: Likewise.
28470         * hurd/hurdioctl.c: Likewise.
28471         * hurd/hurdlookup.c: Likewise.
28472         * hurd/intr-msg.c: Likewise.
28473         * iconv/gconv_open.c: Likewise.
28474         * libio/swprintf.c: Likewise.
28475         * locale/lc-ctype.c: Likewise.
28476         * locale/nl_langinfo.c: Likewise.
28477         * mach/Machrules: Likewise.
28478         * mach/Makefile: Likewise.
28479         * malloc/obstack.h: Likewise.
28480         * manual/Makefile: Likewise.
28481         * manual/tsort.awk: Likewise.
28482         * misc/bits/stab.def: Likewise.
28483         * nis/nis_print_group_entry.c: Likewise.
28484         * nis/nis_table.c: Likewise.
28485         * nis/nss_compat/compat-pwd.c: Likewise.
28486         * nis/nss_compat/compat-spwd.c: Likewise.
28487         * po/Makefile: Likewise.
28488         * posix/fnmatch.c: Likewise.
28489         * posix/regex.h: Likewise.
28490         * resolv/Makefile: Likewise.
28491         * resolv/nss_dns/dns-network.c: Likewise.
28492         * resolv/res_hconf.c: Likewise.
28493         * scripts/gen-sorted.awk: Likewise.
28494         * soft-fp/soft-fp.h: Likewise.
28495         * stdio-common/printf.h: Likewise.
28496         * stdlib/monetary.h: Likewise.
28497         * stdlib/random.c: Likewise.
28498         * stdlib/random_r.c: Likewise.
28499         * sysdeps/generic/Makefile: Likewise.
28500         * sysdeps/gnu/Makefile: Likewise.
28501         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28503         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28504         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28505         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28508         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28509         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28510         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28511         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28512         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28513         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28514         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28515         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28516         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28517         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28519         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28520         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28521         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28522         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28523         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28524         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28525         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28526         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28527         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28528         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28529         * sysdeps/mach/hurd/errnos.awk: Likewise.
28530         * sysdeps/mach/hurd/fork.c: Likewise.
28531         * sysdeps/mach/hurd/getcwd.c: Likewise.
28532         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28533         * sysdeps/mach/hurd/mmap.c: Likewise.
28534         * sysdeps/mach/hurd/utimes.c: Likewise.
28535         * sysdeps/mach/hurd/xmknod.c: Likewise.
28536         * sysdeps/posix/profil.c: Likewise.
28537         * sysdeps/posix/readdir_r.c: Likewise.
28538         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28539         * sysdeps/powerpc/bits/setjmp.h: Likewise.
28540         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28541         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28543         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28544         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28545         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28547         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28548         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28549         * sysdeps/pthread/lio_listio.c: Likewise.
28550         * sysdeps/sparc/dl-procinfo.h: Likewise.
28551         * sysdeps/unix/i386/sysdep.S: Likewise.
28552         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28553         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28554         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28555         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28557         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28558         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28559         * sysdeps/unix/sysv/linux/speed.c: Likewise.
28560         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28561         * sysdeps/wordsize-32/divdi3.c: Likewise.
28562         * time/sys/time.h: Likewise.
28563         * wcsmbs/Makefile: Likewise.
28565 2013-01-01  David S. Miller  <davem@davemloft.net>
28567         * po/fr.po: Update from translation team.
28569         * catgets/gencat.c: Update copyright year.
28570         * csu/version.c: Likewise.
28571         * debug/catchsegv.sh: Likewise.
28572         * debug/pcprofiledump.c: Likewise.
28573         * debug/xtrace.sh: Likewise.
28574         * elf/ldconfig.c: Likewise.
28575         * elf/ldd.bash.in: Likewise.
28576         * elf/pldd.c: Likewise.
28577         * elf/sotruss.ksh: Likewise.
28578         * elf/sprof.c: Likewise.
28579         * iconv/iconv_prog.c: Likewise.
28580         * iconv/iconvconfig.c: Likewise.
28581         * locale/programs/locale.c: Likewise.
28582         * locale/programs/localedef.c: Likewise.
28583         * login/programs/pt_chown.c: Likewise.
28584         * malloc/memusage.sh: Likewise.
28585         * malloc/memusagestat.c: Likewise.
28586         * malloc/mtrace.pl: Likewise.
28587         * nscd/nscd.c: Likewise.
28588         * nss/getent.c: Likewise.
28589         * nss/makedb.c: Likewise.
28590         * posix/getconf.c: Likewise.
28592 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28594         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28595         numbers.
28597 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
28599         * math/bits/mathcalls.h (modf): Use __nonnull.
28601 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28603         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28604         (split): Use macro CN instead of the bare value.
28605         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28606         could be used.
28607         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28608         instead of the bare value.
28609         (power1): Likewise.
28611 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28613         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28614         __ATAN_TWOM.
28615         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28617         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28618         their values.
28619         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28620         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28621         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28622         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28624 2012-12-28  Andreas Jaeger  <aj@suse.de>
28626         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
28627         values are from Linux 3.7.
28629         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28630         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
28632 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28634         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28635         TRUE case.
28637         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28638         (norm): Likewise.
28639         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28640         variables with preprocessor constants.
28641         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28642         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28643         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28645 2012-12-27  Bruno Haible  <bruno@clisp.org>
28647         [BZ #14317]
28648         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28649         only if needed.
28651 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28653         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28654         and use variable directly.
28655         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28657         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28658         MPONE.
28659         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28660         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28661         variable MPONE.
28662         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28664         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28665         include directive.  Remove local variable MPONE.
28666         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28667         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28668         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28670 2012-12-25  David S. Miller  <davem@davemloft.net>
28672         * version.h (RELEASE): Set to "development".
28673         (VERSION): Set to "2.17.90".
28674         * NEWS: Add 2.18 section.
28676 2012-12-21  David S. Miller  <davem@davemloft.net>
28678         * po/hr.po: Update from translation team.
28680 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28682         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28684 2012-12-19  Steve Ellcey  <sellcey@mips.com>
28686         * NEWS:  Mention new memcpy for MIPS.
28688 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28690         * manual/contrib.texi (Contributors): Spelling correction.
28692 2012-12-15  David S. Miller  <davem@davemloft.net>
28694         * po/ru.po: Update from translation team.
28696 2012-12-13  David S. Miller  <davem@davemloft.net>
28698         * NEWS: Mention IFUNC testsuite enhancements.
28700         * po/pl.po: Update from translation team.
28701         * po/bg.po: Likewise.
28703         * manual/contrib.texi (Contributors): Update entries for Hongjiu
28704         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
28706 2012-12-11  David S. Miller  <davem@davemloft.net>
28708         * po/sv.po: Update from translation team.
28710         * po/vi.po: Update from translation team.
28712         * po/cs.po: Update from translation team.
28714         * po/de.po: Update from translation team.
28715         * po/eo.po: Likewise.
28716         * po/nl.po: Likewise.
28718 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28720         [BZ #14246]
28721         * manual/argp.texi (Argp Helper Functions): Move node to follow
28722         Argp Parsing State.
28724         [BZ #14872]
28725         * manual/conf.texi (Limits on File System Capacity): Mention if
28726         terminating null is included in the max size.
28728 2012-12-10  Andreas Jaeger  <aj@suse.de>
28730         * po/cs.po: Update from translation team.
28732 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28734         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28735         void pointer and cast to uintptr_t.
28736         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28737         path.
28738         * sysdeps/s390/s390-64/memcpy.S: Likewise.
28739         * sysdeps/s390/s390-64/memset.S: Likewise.
28741 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
28743         [BZ #14833]
28744         * menual/message.texi (Message Translation): Fix typos.
28745         (Helper programs for gettext): Likewise.
28747 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
28749         [BZ #14898]
28750         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28751         Change to -1.
28753 2012-12-07  David S. Miller  <davem@davemloft.net>
28755         * po/libc.pot: Update.
28757 2012-12-07  Richard Henderson  <rth@redhat.com>
28759         [BZ #10114]
28760         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28761         normal/normal case to before the switch.
28762         (_FP_DIV): Likewise.
28764 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
28765             Mike Frysinger  <vapier@gentoo.org>
28767         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28768         check for __NR_fadvise64_64.
28770 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
28772         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28773         0, not just to plain "0" as a statement.
28774         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28775         with cw.
28777 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
28779         * NEWS: Use sourceware.org in Bugzilla URL.
28781 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28784         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28786         * stdio-common/tst-put-error.c (do_test): Add newline to the
28787         padded test to ensure flush.
28789 2012-12-05  Jeff Law  <law@redhat.com>
28791         * sunrpc/etc.rpc (fedfs_admin): Add entry.
28793 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
28795         * README: Don't refer to ports add-on as distributed separately.
28796         Mention AArch64 in list of systems supported in the ports add-on.
28798         * LICENSES: Add more non-FSF copyright and license notices.
28800         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28801         ((unused)).
28803         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28805         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28806         10000 as width of padded output.
28808 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28810         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28812         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28813         variable LX with __attribute__ ((unused)).
28814         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28815         Likewise.
28816         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28817         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28818         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28819         with __attribute__ ((unused)).
28821 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
28823         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28825 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28827         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28828         (CFLAGS-nldbl-acos.c): New variable.
28829         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28830         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28831         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28832         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28833         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28834         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28835         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28836         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28837         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28838         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28839         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28840         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28841         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28842         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28843         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28844         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28845         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28846         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28847         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28848         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28849         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28850         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28851         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28852         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28853         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28854         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28855         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28856         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28857         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28858         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28859         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28860         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28861         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28862         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28863         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28864         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28865         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28866         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28867         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28868         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28869         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28870         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28871         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28872         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28873         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28874         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28875         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28876         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28877         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28878         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28879         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28880         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28881         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28882         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28883         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28884         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28885         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28886         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28887         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28888         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28889         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28890         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28891         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28892         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28893         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28894         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28895         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28896         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28897         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28898         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28899         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28900         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28901         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28902         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28903         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28904         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28905         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28906         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28907         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28908         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28909         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28910         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28911         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28912         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28913         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28914         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28915         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28916         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28917         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28918         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28919         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28920         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28921         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28922         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28923         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28924         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28925         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28928         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28930         [BZ #14914]
28931         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28932         whole low double instead of just low 47 bits when splitting values
28933         into two parts.
28935 2012-12-03  Allan McRae  <allan@archlinux.org>
28937         * manual/stdio.texi (Predefined Printf Handlers): Remove
28938         @hsep and @vsep usage.
28940 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
28942         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28943         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28945 2012-12-03  Jeff Law  <law@redhat.com>
28947         * time/sys/time.h (settimeofday): Do not mark TV argument
28948         as __nonnull.
28950 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
28952         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28953         when currently writing and seek to current position when not.
28954         * libio/Makefile (tests): Remove bug-fclose1.
28955         * libio/bug-fclose1.c: Delete.
28957 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
28959         * manual/arith.texi (feenableexcept): Fix typo.
28960         (fedisableexcept): Likewise.
28962 2012-11-30  Roland McGrath  <roland@hack.frob.com>
28964         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28965         second, differently-typed declaration, rather than a cast.
28967 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28969         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28970         * include/rpc/svc.h: ... here.
28972 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
28974         [BZ #13013]
28975         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28976         depending n and resplen2 to catch cases where answer
28977         equals answerp2.
28979 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
28981         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28982         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28984 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
28986         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28988 2012-11-29  Roland McGrath  <roland@hack.frob.com>
28990         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28992 2012-11-28  Jeff Law  <law@redhat.com>
28994         [BZ #13761]
28995         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28996         dataset_temporary.  Track alloca usage into alloca_used.
28997         If dataset is large allocate and release it via malloc/free.
28999 2012-06-04  Florian Weimer  <fweimer@redhat.com>
29001         [BZ #14197]
29002         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29004 2012-11-28  David S. Miller  <davem@davemloft.net>
29006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29008 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29010         [BZ #14803]
29011         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29012         of pi/2 rounded to nearest to 64 bits.
29013         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29014         nearest to 64 bits.
29015         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29016         bits.
29018 2012-11-28  Jeff Law <law@redhat.com>
29019             Martin Osvald <mosvald@redhat.com>
29021         [BZ #14889]
29022         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29023         * sunrpc/svc.c: Include time.h.
29024         (__svc_accept_failed): New function.
29025         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29026         any reason other than EINTR, call __svc_accept_failed.
29027         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29028         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29030 2012-11-28  Andreas Schwab  <schwab@suse.de>
29032         * scripts/abilist.awk: Also handle indirect functions in .opd
29033         section.
29035 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
29037         [BZ #13881]
29038         * sysdeps/x86/fpu/powl_helper.c: New file.
29039         * sysdeps/x86/fpu/Makefile: Likewise.
29040         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29041         (p3): New object.
29042         (__ieee754_powl): Use __powl_helper for finite arguments except
29043         integer exponents below 8.
29044         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29045         (p3): New object.
29046         (__ieee754_powl): Use __powl_helper for finite arguments except
29047         integer exponents below 8.
29048         * math/libm-test.inc (pow_test): Add more tests and enable some
29049         previously disabled tests.
29050         * sysdeps/i386/fpu/libm-test-ulps: Update.
29051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29053 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29054             Carlos O'Donell  <carlos_odonell@mentor.com>
29056         * nss/makedb.c (is_prime): Assert that input is odd and greater
29057         than 4.  Note that fact in a comment too.
29058         (next_prime): Add 4 to input.
29060 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29062         [BZ #11741]
29063         * libio/Makefile (tests): Add test case tst-fwrite-error.
29064         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29065         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29066         * libio/tst-fwrite-error.c: New test case.
29068 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
29070         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29071         before casting to void *.
29072         * include/libc-internal.h (__pointer_type): New macro.
29073         (__integer_if_pointer_type_sub): Likewise.
29074         (__integer_if_pointer_type): Likewise.
29075         (cast_to_integer): Likewise.
29076         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29077         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29078         before casting to atomic64_t.
29079         (atomic_exchange_acq): Likewise.
29080         (__arch_exchange_and_add_body): Likewise.
29081         (__arch_add_body): Likewise.
29082         (atomic_add_negative): Likewise.
29083         (atomic_add_zero): Likewise.
29085 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
29087         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29088         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29089         (add_fdes): Likewise.
29090         (linear_search_fdes): Likewise.
29091         (binary_search_unencoded_fdes): Likewise.
29093 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
29095         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29097 2012-11-24  Adam Conrad  <adconrad@0c3.net>
29099         * configure.in: Autodetect C++ header directories.
29100         * configure: Regenerated.
29102 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
29104         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29106 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
29108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29110 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29112         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29113         LDBL_MANT_DIG == 106]: Disable some tests.
29114         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29115         Likewise.
29116         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29117         Likewise.
29119         [BZ #14871]
29120         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29121         input for small inputs.  Return +/- pi/2 for large inputs.
29122         * math/libm-test.inc (atan_test): Add more tests.
29124         * sysdeps/generic/unwind-dw2-fde-glibc.c
29125         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29126         __attribute__ ((unused)).
29128         [BZ #14645]
29129         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29130         x * y if x and y are nonzero and z is zero.
29132         [BZ #14811]
29133         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29134         nonzero exponents with absolute value below 0x1p-117 to +/-
29135         0x1p-117.
29137         [BZ #14869]
29138         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29139         up arguments below 2**-450, not just those below 2**-500.
29140         * math/libm-test.inc (hypot_test): Add another test.
29142         [BZ #14868]
29143         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29144         Return a+b for ratio over 2**120, not 2**60.
29145         * math/libm-test.inc (hypot_test): Add another test.
29147         * math/libm-test.inc (clog_test): Use
29148         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29149         (clog10_test): Likewise.
29151         [BZ #6778]
29152         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29154 2012-11-22  Andreas Schwab  <schwab@suse.de>
29156         * sysdeps/i386/fpu/libm-test-ulps: Update.
29158 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29160         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29161         printf output with newline.
29163 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29165         [BZ #14865]
29166         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29167         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29168         -z nodlopen, -z initfirst and -z execstack support.
29169         * configure: Regenerated.
29171         * elf/elf.h (DF_1_NODIRECT): New macro.
29172         (DF_1_IGNMULDEF): Likewise.
29173         (DF_1_NOKSYMS): Likewise.
29174         (DF_1_NOHDR): Likewise.
29175         (DF_1_EDITED): Likewise.
29176         (DF_1_NORELOC): Likewise.
29177         (DF_1_SYMINTPOSE): Likewise.
29178         (DF_1_GLOBAUDIT): Likewise.
29179         (DF_1_SINGLETON): Likewise.
29180         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29181         DT_1_SUPPORTED_MASK bits.
29182         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29184 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29186         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29188 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29190         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29191         macro.
29193         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29194         (sendmmsg): Move declarations...
29195         * socket/sys/socket.h: ... here.
29196         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29197         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29198         include it from...
29199         * socket/recvmmsg.c: ... this new file.
29200         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29201         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29202         definition of __sendmmsg hidden.
29203         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29204         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29205         Move ENOSYS stub into and include it from...
29206         * socket/sendmmsg.c: ... this new file.
29207         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29208         (sysdep_routines): Move recvmmsg and sendmmsg...
29209         * socket/Makefile (routines): ... here.
29210         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29211         (GLIBC_PRIVATE): Add __sendmmsg.
29212         * include/sys/socket.h (__sendmmsg): Add declarations.
29213         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29214         sendmmsg.
29216 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29218         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29219         variable I1 with __attribute__ ((unused)).
29220         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29222 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29224         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29225         DUMMY variables with __attribute__ ((unused)).
29227         * bits/byteswap.h: Include <bits/types.h>.
29228         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29230 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29232         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29233         string_t.  Do not manually set errno.
29234         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29235         length with __strnlen.  Make sure to both set errno and return it on
29236         failure.
29238 2012-11-19  David S. Miller  <davem@davemloft.net>
29240         With help from Joseph Myers.
29241         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29242         very large arguments properly.
29243         * math/libm-test.inc (atan_test): New tests.
29244         (atan2_test): New tests.
29245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29248 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29250         [BZ #14856]
29251         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29252         Define to 3.
29254         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29255         [POSIX] (EADDRNOTAVAIL): Likewise.
29256         [POSIX] (EAFNOSUPPORT): Likewise.
29257         [POSIX] (EALREADY): Likewise.
29258         [POSIX] (ECONNABORTED): Likewise.
29259         [POSIX] (ECONNREFUSED): Likewise.
29260         [POSIX] (ECONNRESET): Likewise.
29261         [POSIX] (EDESTADDRREQ): Likewise.
29262         [POSIX] (EDQUOT): Likewise.
29263         [POSIX] (EHOSTUNREACH): Likewise.
29264         [POSIX] (EIDRM): Likewise.
29265         [POSIX] (EISCONN): Likewise.
29266         [POSIX] (ELOOP): Likewise.
29267         [POSIX] (EMULTIHOP): Likewise.
29268         [POSIX] (ENETDOWN): Likewise.
29269         [POSIX] (ENETUNREACH): Likewise.
29270         [POSIX] (ENOBUFS): Likewise.
29271         [POSIX] (ENODATA): Likewise.
29272         [POSIX] (ENOLINK): Likewise.
29273         [POSIX] (ENOMSG): Likewise.
29274         [POSIX] (ENOPROTOOPT): Likewise.
29275         [POSIX] (ENOSR): Likewise.
29276         [POSIX] (ENOSTR): Likewise.
29277         [POSIX] (ENOTCONN): Likewise.
29278         [POSIX] (ENOTSOCK): Likewise.
29279         [POSIX] (EOPNOTSUPP): Likewise.
29280         [POSIX] (EOVERFLOW): Likewise.
29281         [POSIX] (EPROTO): Likewise.
29282         [POSIX] (EPROTONOSUPPORT): Likewise.
29283         [POSIX] (EPROTOTYPE): Likewise.
29284         [POSIX] (ESTALE): Likewise.
29285         [POSIX] (ETIME): Likewise.
29286         [POSIX] (ETXTBSY): Likewise.
29287         [POSIX] (EWOULDBLOCK): Likewise.
29288         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29289         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29290         [POSIX] (SEEK_CUR): Likewise.
29291         [POSIX] (SEEK_END): Likewise.
29292         [POSIX || UNIX98] (mode_t): Do not require.
29293         [POSIX] (off_t): Likewise.
29294         [POSIX] (pid_t): Likewise.
29295         [POSIX] (sys/stat.h): Do not allow header.
29296         [POSIX] (unistd.h): Likewise.
29297         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29298         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29299         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29300         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29301         require.
29302         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29303         sigevent): Specify elements.
29304         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29305         entry.
29306         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29307         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29309         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29310         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29311         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29312         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29313         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29314         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29315         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29316         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29317         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29318         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29319         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29320         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29321         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29322         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29323         Likewise.
29324         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29325         Likewise.
29326         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29327         Likewise.
29328         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29329         Likewise.
29330         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29331         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29332         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29333         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29334         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29335         Specify lower bound on value.
29336         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29337         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29338         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29339         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29340         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29341         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29342         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29343         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29344         value.
29345         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29346         as optional.
29347         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29348         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29349         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29350         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29351         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29352         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29353         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29354         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29355         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29356         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29357         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29358         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29359         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29360         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29361         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29362         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29363         entry.
29364         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29365         optional.
29366         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29367         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29368         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29369         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29370         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29371         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29372         Likewise.
29373         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29374         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29375         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29376         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29377         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
29378         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29379         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29380         as optional.
29381         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29382         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29383         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29384         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29385         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29386         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29387         specify as optional.
29388         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29389         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29390         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29391         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29392         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29393         [XPG3] (NL_LANGMAX): Likewise.
29394         [POSIX || XPG3] (NL_MSGMAX): Likewise.
29395         [POSIX || XPG3] (NL_NMAX): Likewise.
29396         [POSIX || XPG3] (NL_SETMAX): Likewise.
29397         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29398         [XPG3] (NZERO): Likewise.
29399         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29400         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29401         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29402         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29403         (REG_ERANGE): Expect.
29404         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29405         optional-constant.
29406         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29407         Use (void) in prototype.
29408         [POSIX] (*_t): Allow.
29409         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29410         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29411         (WRDE_BADVAL): Expect.
29413         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29414         expect.
29415         [XPG3 || XPG4] (O_RSYNC): Likewise.
29416         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29417         Likewise.
29418         [XPG3 || XPG4] (pthread_sigmask): Likewise.
29419         [XPG3 || XPG4] (sigqueue): Likewise.
29420         [XPG3 || XPG4] (sigtimedwait): Likewise.
29421         [XPG3 || XPG4] (sigwaitinfo): Likewise.
29422         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29423         [XPG3 || XPG4] (vsnprintf): Likewise.
29424         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29425         Likewise.
29426         [XPG3 || XPG4] (blksize_t): Likewise.
29427         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29428         Likewise.
29429         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29430         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29431         [XPG3 || XPG4] (struct itimerspec): Likewise.
29432         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29433         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29434         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29435         [XPG3 || XPG4] (clockid_t): Likewise.
29436         [XPG3 || XPG4] (timer_t): Likewise.
29437         [XPG3 || XPG4] (clock_getres): Likewise.
29438         [XPG3 || XPG4] (clock_gettime): Likewise.
29439         [XPG3 || XPG4] (clock_settime): Likewise.
29440         [XPG3 || XPG4] (nanosleep): Likewise.
29441         [XPG3 || XPG4] (timer_create): Likewise.
29442         [XPG3 || XPG4] (timer_delete): Likewise.
29443         [XPG3 || XPG4] (timer_gettime): Likewise.
29444         [XPG3 || XPG4] (timer_getoverrun): Likewise.
29445         [XPG3 || XPG4] (timer_settime): Likewise.
29446         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29447         [XPG3 || XPG4] (getlogin_r): Likewise.
29448         [XPG3 || XPG4] (pread): Likewise.
29449         [XPG3 || XPG4] (pthread_atfork): Likewise.
29450         [XPG3 || XPG4] (pwrite): Likewise.
29452         [BZ #14835]
29453         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29454         <bits/siginfo.h>.
29456 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29458         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29459         finalizing MALLSTREAM.
29461         * sysdeps/mach/hurd/syncfs.c: New file.
29463 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29465         [BZ #14719]
29466         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29467         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29468         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29469         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29470         (_nss_dns_gethostbyname4_r): Likewise.
29471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29472         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29474 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
29476         [BZ #13763]
29477         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29479 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
29481         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29482         * elf/cache.c (print_entry): Print ",AArch64" for
29483         FLAG_AARCH64_LIB64
29485         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29486         * elf/cache.c (print_entry): Print ",hard-float" for
29487         FLAG_ARM_LIBHF.
29489 2012-11-18  David S. Miller  <davem@davemloft.net>
29491         With help from Joseph Myers.
29492         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29493         cutoff to 2**-13.
29494         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29495         cutoff to 2**-25.
29496         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29497         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29498         small.
29499         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29500         * math/libm-test.inc (y0_test): New tests.
29501         (y1_test): New tests.
29502         * sysdeps/i386/fpu/libm-test-ulps: Update.
29503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29506 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
29508         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29509         64-bit targets.
29510         * configure: Regenerated.
29512 2012-11-17  David S. Miller  <davem@davemloft.net>
29514         [BZ #14811]
29515         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29516         nonzero exponents with absolute value below 0x1p-128 to +/-
29517         0x1p-128.
29519 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
29521         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29523         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29525         * posix/getconf-speclist.c: New file.
29526         * posix/posix-envs.def: Likewise.
29527         * posix/confstr.c (START_ENV_GROUP): New macro.
29528         (END_ENV_GROUP): Likewise.
29529         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29530         (KNOWN_PRESENT_ENV_STRING): Likewise.
29531         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29532         (UNKNOWN_ENVIRONMENT): Likewise.
29533         (confstr): Include posix-envs.def instead of handling
29534         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29535         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29536         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29537         (END_ENV_GROUP): Likewise.
29538         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29539         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29540         (UNKNOWN_ENVIRONMENT): Likewise.
29541         (__sysconf): Include posix-envs.def instead of handling associated
29542         cases directly here.
29543         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29544         preprocessing getconf-speclist.c rather than running getconf or
29545         generating empty file.
29547 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
29549         * scripts/check-local-headers.sh: Ignore 'mach' headers.
29551 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
29553         [BZ #14672]
29554         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29556 2012-11-16  David S. Miller  <davem@davemloft.net>
29558         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29559         smaller than LDBL_EPSILON/2.0L, just return xm1.
29561 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
29563         * elf/tst-array1.c (init): Set constructor priority to 1000.
29564         (fini): Set destructor priority to 1000.
29565         * elf/tst-array2dep.c: Likewise.
29567 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29569         [BZ #11741]
29570         * libio/fileops.c (_IO_new_file_write): Correctly return error.
29571         (_IO_new_file_xsputn): Also return EOF if none of the input
29572         data was written when overflow failed.
29573         * libio/iopadn.c (_IO_padn): Likewise.
29574         * libio/iowpadn.c (_IO_wpadn): Likewise.
29575         * stdio-common/tst-put-error.c: Add copyright notice.
29576         (do_test): Add case for printing padded string.
29577         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29578         _IO_padn returned error.
29579         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29580         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29581         return EOF.
29583 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29585         * libio/libioP.h: Add comment note that the references to C++
29586         bits are now obsolete.
29588 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29590         * math/libm-test.inc (check_complex): Use asprintf.
29592 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
29594         * debug/pcprofiledump.c (print_version): Update copyright year.
29595         * malloc/memusagestat.c (print_version): Likewise.
29597 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
29599         [BZ #14831]
29600         * elf/Makefile (tests): Add tst-audit8.
29601         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29602         ($(objpfx)tst-audit8.out): New target.
29603         (tst-audit8-ENV): New variable.
29604         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29605         audit if l_reloc_result is NULL.
29606         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29607         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29608         * elf/tst-audit8.c: New file.
29610 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29612         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29613         * misc/Makefile (CFLAGS-select.c): Define.
29614         * posix/Makefile (CFLAGS-pause.c): Define.
29616 2012-11-13  David S. Miller  <davem@davemloft.net>
29618         * crypt/Makefile: Move test targets after toplevel Rules
29619         inclusion.  Grab any necessary sysdep routines when linking.
29620         * crypt/md5.c (md5_process_block): Remove define, we will always
29621         name it __md5_process_block.
29622         (md5_finish_ctx): Update md5_process_block call.
29623         (md5_stream): Likewise.
29624         (md5_process_bytes): Likewise.
29625         (md5_process_block): Rename to __md5_process_block and move to ...
29626         * crypt/md5-block.c: ... here.
29627         * crypt/sha256.c (sha256_process_block): Move to ...
29628         * crypt/sha256-block.c: ... here.
29629         * crypt/sha512.c (sha512_process_block): Move to ...
29630         * crypt/sha512-block.c: ... here.
29631         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29632         path.
29633         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29634         * sysdeps/sparc/sparc64/multiarch/Makefile
29635         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29636         crypt subdir.
29637         (localedef-aux): Add md5 crypto assembler when in locale subdir.
29638         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29639         multiarch changes.
29640         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29641         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29642         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29643         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29644         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29645         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29646         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29647         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29648         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29649         file.
29650         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29651         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29652         file.
29653         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29655 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
29657         * timezone/tzselect.ksh: Update from tzcode git revision
29658         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29659         * timezone/zdump.c: Likewise.
29660         * timezone/zic.c: Likewise.
29661         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29662         in TZVERSION setting, not $(PKGVERSION).
29663         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
29664         REPORT_BUGS_TO settings.
29666         [BZ #14838]
29667         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29668         macro.
29670 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29672         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29673         detection to immediately after _FP_ROUND().
29674         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29675         bits are 0.
29677 2012-11-11  David S. Miller  <davem@davemloft.net>
29679         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29680         inttypes.h
29681         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29682         __close rather than their public counterparts.
29684 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
29686         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29687         file.
29688         [UNIX98] (sem_timedwait): Do not expect.
29689         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29690         [XPG4 || UNIX98] (sockatmark): Do not expect.
29691         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29692         (clock_getcpuclockid): Do not expect.
29693         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29694         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29695         Do not expect.
29696         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29697         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29698         [UNIX98] (vwscanf): Likewise.
29699         [UNIX98] (vswscanf): Likewise.
29701 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
29703         * timezone/version.h: Remove file.
29704         * timezone/README: Do not refer to version.h.
29705         * timezone/Makefile ($(objpfx)zic.o): New dependency on
29706         $(objpfx)version.h.
29707         ($(objpfx)zdump.o): Likewise.
29708         ($(objpfx)version.h): New target.
29710         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29711         2012i.
29712         * timezone/README: Don't mention modification to tzselect.ksh.
29713         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29714         work on unmodified tzselect.ksh.  Substitute version numbers in
29715         tzselect.ksh.
29717         * Makefile (format-me): Remove.
29718         (INSTALL): Adjust indentation.  Use commands directly instead of
29719         using $(format-me).
29721         * aclocal.m4 (ACX_PKGVERSION): New macro.
29722         (ACX_BUGURL): Likewise.
29723         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29724         (PKGVERSION): New AC_DEFINE_UNQUOTED.
29725         (REPORT_BUGS_TO): Likewise.
29726         * configure: Regenerated.
29727         * config.h.in (PKGVERSION): New macro.
29728         (REPORT_BUGS_TO): Likewise.
29729         * config.make.in (PKGVERSION): New variable.
29730         (PKGVERSION_TEXI): Likewise.
29731         (REPORT_BUGS_TO): Likewise.
29732         (REPORT_BUGS_TEXI): Likewise.
29733         * Makefile (format-me): Use -I$(common-objpfx)manual.
29734         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29735         ($(common-objpfx)manual/%): New target.
29736         (manual/%): Remove target.
29737         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29738         (print_version): Use PKGVERSION.
29739         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29740         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29741         and REPORT_BUGS_TO.
29742         ($(objpfx)xtrace): Likewise.
29743         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29744         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29745         (print_version): Use PKGVERSION.
29746         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29747         (do_version): Use PKGVERSION.
29748         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29749         REPORT_BUGS_TO.
29750         (common-ldd-rewrite): Likewise.
29751         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29752         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29753         (print_version): Use PKGVERSION.
29754         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29755         * elf/pldd.c (argp_program_bug_address): Remove variable.
29756         (more_help): New function.
29757         (argp): Use more_help.
29758         (print_version): Use PKGVERSION.
29759         * elf/sln.c (main): Use PKGVERSION.
29760         (usage): Use REPORT_BUGS_TO.
29761         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29762         (top level): Use PKGVERSION.
29763         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29764         (print_version): Use PKGVERSION.
29765         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29766         (print_version): Use PKGVERSION.
29767         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29768         (print_version): Use PKGVERSION.
29769         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29770         (print_version): Use PKGVERSION.
29771         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29772         (print_version): Use PKGVERSION.
29773         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29774         (print_version): Use PKGVERSION.
29775         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29776         and BUGURL.
29777         ($(objpfx)memusage): Likewise.
29778         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29779         (do_version): Use PKGVERSION.
29780         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29781         (print_version): Use PKGVERSION.
29782         * malloc/mtrace.pl ($PACKAGE): Remove variable.
29783         ($PKGVERSION): New variable.
29784         ($REPORT_BUGS_TO): Likewise.
29785         (usage): Use $REPORT_BUGS_TO.
29786         (top level): Use $PKGVERSION.
29787         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29788         ($(objpfx)pkgvers.texi): New rule.
29789         ($(objpfx)stamp-pkgvers): Likewise.
29790         * manual/install.texi: Include pkgvers.texi.
29791         (--with-pkgversion): Document new configure option.
29792         (--with-bugurl): Likewise.
29793         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29794         than necessarily for this particular distribution.  Use
29795         REPORT_BUGS_TO for where to report bugs.
29796         * INSTALL: Regenerated.
29797         * manual/libc.texinfo: Include pkgvers.texi.
29798         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29799         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29800         (print_version): Use PKGVERSION.
29801         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29802         (print_version): Use PKGVERSION.
29803         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29804         (print_version): Use PKGVERSION.
29805         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29806         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29807         macro.
29808         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29809         (print_version): Use PKGVERSION.
29810         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29811         (print_version): Use PKGVERSION.
29812         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29813         and PKGVERSION.
29815         * timezone/checktab.awk: Update from tzcode 2012i.
29816         * timezone/ialloc.c: Likewise.
29817         * timezone/private.h: Likewise.
29818         * timezone/scheck.c: Likewise.
29819         * timezone/tzfile.h: Likewise.
29820         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29821         (TZVERSION): Hardcode tzcode version number.
29822         * timezone/zdump.c: Update from tzcode 2012i.
29823         * timezone/zic.c: Likewise.
29824         * timezone/version.h: New file.
29825         * timezone/README: Describe version.h.  Update upstream location.
29827         [BZ #14824]
29828         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29829         (mktemp): Enable declaration.
29830         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29831         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29832         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29833         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29834         Likewise.
29835         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29836         Likewise.
29837         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29838         Likewise.
29839         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29840         Likewise.
29841         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29842         Likewise.
29843         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29844         Likewise.
29846         [BZ #14821]
29847         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29848         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
29849         for copies of such integer values.
29850         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29851         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29853 2012-11-09  Andreas Jaeger  <aj@suse.de>
29855         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29856         definitions and declarations that are provided by
29857         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29859 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29861         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29862         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29863         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29864         definition.
29866 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29868         * elf/elf.h: Update comment before AArch64 relocations.
29870 2012-11-07  David S. Miller  <davem@davemloft.net>
29872         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29873         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29874         (__start_context): Declare.
29875         (__makecontext_ret): Delete.
29876         (__makecontext): Hook up __start_context instead of
29877         __makecontext_ret.
29878         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29879         (sysdep_routines): Add __start_context when in stdlib.
29881 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29883         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29884         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29885         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
29886         hardcoded "nm".
29887         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
29888         (READELF): New variable.  Use it instead of hardcoded "readelf".
29890 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29892         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29893         * sysdeps/x86/Makefile: Here.
29894         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29895         * sysdeps/x86/tst-xmmymm.sh: This.
29897 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29899         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29900         expectations.
29901         [UNIX98] (pthread_barrier_t): Do not expect.
29902         [UNIX98] (pthread_barrierattr_t): Likewise.
29903         [UNIX98] (pthread_spinlock_t): Likewise.
29904         [UNIX98] (pthread_barrier_destroy): Likewise.
29905         [UNIX98] (pthread_barrier_init): Likewise.
29906         [UNIX98] (pthread_barrier_wait): Likewise.
29907         [UNIX98] (pthread_barrierattr_destroy): Likewise.
29908         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29909         [UNIX98] (pthread_barrierattr_init): Likewise.
29910         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29911         [UNIX98] (pthread_getcpuclockid): Likewise.
29912         [UNIX98] (pthread_mutex_timedlock): Likewise.
29913         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29914         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29915         [UNIX98] (pthread_sigmask): Likewise.
29916         [UNIX98] (pthread_spin_destroy): Likewise.
29917         [UNIX98] (pthread_spin_init): Likewise.
29918         [UNIX98] (pthread_spin_lock): Likewise.
29919         [UNIX98] (pthread_spin_trylock): Likewise.
29920         [UNIX98] (pthread_spin_unlock): Likewise.
29921         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29922         Do not expect.
29923         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29924         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29925         [XPG3 || XPG4] (pthread_cond_t): Likewise.
29926         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29927         [XPG3 || XPG4] (pthread_key_t): Likewise.
29928         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29929         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29930         [XPG3 || XPG4] (pthread_once_t): Likewise.
29931         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29932         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29933         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29934         [XPG3 || XPG4] (pthread_t): Likewise.
29936         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29937         not expect.
29938         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29940         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29941         Change function return type to int.
29943         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29944         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29945         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29946         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29947         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29948         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29949         [!POSIX] (posix_madvise): Likewise.
29950         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29951         && !UNIX98].
29952         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29953         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29954         (mode_t): Likewise.
29955         (posix_mem_offset): Likewise.
29956         (posix_typed_mem_get_info): Likewise.
29957         (posix_typed_mem_open): Likewise.
29959         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29960         Change condition to [XOPEN2K8].
29962         * conform/conformtest.pl: Preprocess allow-header data with -x c
29963         instead of from stdin.
29964         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29965         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29966         [C99-based standards] (cerfc): Likewise.
29967         [C99-based standards] (cexp2): Likewise.
29968         [C99-based standards] (cexpm1): Likewise.
29969         [C99-based standards] (clog10): Likewise.
29970         [C99-based standards] (clog1p): Likewise.
29971         [C99-based standards] (clog2): Likewise.
29972         [C99-based standards] (clgamma): Likewise.
29973         [C99-based standards] (ctgamma): Likewise.
29974         [C99-based standards] (cerff): Likewise.
29975         [C99-based standards] (cerfcf): Likewise.
29976         [C99-based standards] (cexp2f): Likewise.
29977         [C99-based standards] (cexpm1f): Likewise.
29978         [C99-based standards] (clog10f): Likewise.
29979         [C99-based standards] (clog1pf): Likewise.
29980         [C99-based standards] (clog2f): Likewise.
29981         [C99-based standards] (clgammaf): Likewise.
29982         [C99-based standards] (ctgammaf): Likewise.
29983         [C99-based standards] (cerfl): Likewise.
29984         [C99-based standards] (cerfcl): Likewise.
29985         [C99-based standards] (cexp2l): Likewise.
29986         [C99-based standards] (cexpm1l): Likewise.
29987         [C99-based standards] (clog10l): Likewise.
29988         [C99-based standards] (clog1pl): Likewise.
29989         [C99-based standards] (clog2l): Likewise.
29990         [C99-based standards] (clgammal): Likewise.
29991         [C99-based standards] (ctgammal): Likewise.
29992         * conform/data/inttypes.h-data [C99-based standards]: Include
29993         stdint.h-data.  Remove all expectations for stdint.h contents.
29994         [C99-based standards] (PRI*): Do not allow.
29995         [C99-based standards] (SCN*): Likewise.
29996         [C99-based standards] (*_t): Likewise.
29997         [C99-based-standards] (PRId8): Expect macro.
29998         [C99-based-standards] (PRIi8): Likewise.
29999         [C99-based-standards] (PRIo8): Likewise.
30000         [C99-based-standards] (PRIu8): Likewise.
30001         [C99-based-standards] (PRIx8): Likewise.
30002         [C99-based-standards] (PRIX8): Likewise.
30003         [C99-based-standards] (SCNd8): Likewise.
30004         [C99-based-standards] (SCNi8): Likewise.
30005         [C99-based-standards] (SCNo8): Likewise.
30006         [C99-based-standards] (SCNu8): Likewise.
30007         [C99-based-standards] (SCNx8): Likewise.
30008         [C99-based-standards] (PRIdLEAST8): Likewise.
30009         [C99-based-standards] (PRIiLEAST8): Likewise.
30010         [C99-based-standards] (PRIoLEAST8): Likewise.
30011         [C99-based-standards] (PRIuLEAST8): Likewise.
30012         [C99-based-standards] (PRIxLEAST8): Likewise.
30013         [C99-based-standards] (PRIXLEAST8): Likewise.
30014         [C99-based-standards] (SCNdLEAST8): Likewise.
30015         [C99-based-standards] (SCNiLEAST8): Likewise.
30016         [C99-based-standards] (SCNoLEAST8): Likewise.
30017         [C99-based-standards] (SCNuLEAST8): Likewise.
30018         [C99-based-standards] (SCNxLEAST8): Likewise.
30019         [C99-based-standards] (PRIdFAST8): Likewise.
30020         [C99-based-standards] (PRIiFAST8): Likewise.
30021         [C99-based-standards] (PRIoFAST8): Likewise.
30022         [C99-based-standards] (PRIuFAST8): Likewise.
30023         [C99-based-standards] (PRIxFAST8): Likewise.
30024         [C99-based-standards] (PRIXFAST8): Likewise.
30025         [C99-based-standards] (SCNdFAST8): Likewise.
30026         [C99-based-standards] (SCNiFAST8): Likewise.
30027         [C99-based-standards] (SCNoFAST8): Likewise.
30028         [C99-based-standards] (SCNuFAST8): Likewise.
30029         [C99-based-standards] (SCNxFAST8): Likewise.
30030         [C99-based-standards] (PRId16): Likewise.
30031         [C99-based-standards] (PRIi16): Likewise.
30032         [C99-based-standards] (PRIo16): Likewise.
30033         [C99-based-standards] (PRIu16): Likewise.
30034         [C99-based-standards] (PRIx16): Likewise.
30035         [C99-based-standards] (PRIX16): Likewise.
30036         [C99-based-standards] (SCNd16): Likewise.
30037         [C99-based-standards] (SCNi16): Likewise.
30038         [C99-based-standards] (SCNo16): Likewise.
30039         [C99-based-standards] (SCNu16): Likewise.
30040         [C99-based-standards] (SCNx16): Likewise.
30041         [C99-based-standards] (PRIdLEAST16): Likewise.
30042         [C99-based-standards] (PRIiLEAST16): Likewise.
30043         [C99-based-standards] (PRIoLEAST16): Likewise.
30044         [C99-based-standards] (PRIuLEAST16): Likewise.
30045         [C99-based-standards] (PRIxLEAST16): Likewise.
30046         [C99-based-standards] (PRIXLEAST16): Likewise.
30047         [C99-based-standards] (SCNdLEAST16): Likewise.
30048         [C99-based-standards] (SCNiLEAST16): Likewise.
30049         [C99-based-standards] (SCNoLEAST16): Likewise.
30050         [C99-based-standards] (SCNuLEAST16): Likewise.
30051         [C99-based-standards] (SCNxLEAST16): Likewise.
30052         [C99-based-standards] (PRIdFAST16): Likewise.
30053         [C99-based-standards] (PRIiFAST16): Likewise.
30054         [C99-based-standards] (PRIoFAST16): Likewise.
30055         [C99-based-standards] (PRIuFAST16): Likewise.
30056         [C99-based-standards] (PRIxFAST16): Likewise.
30057         [C99-based-standards] (PRIXFAST16): Likewise.
30058         [C99-based-standards] (SCNdFAST16): Likewise.
30059         [C99-based-standards] (SCNiFAST16): Likewise.
30060         [C99-based-standards] (SCNoFAST16): Likewise.
30061         [C99-based-standards] (SCNuFAST16): Likewise.
30062         [C99-based-standards] (SCNxFAST16): Likewise.
30063         [C99-based-standards] (PRId32): Likewise.
30064         [C99-based-standards] (PRIi32): Likewise.
30065         [C99-based-standards] (PRIo32): Likewise.
30066         [C99-based-standards] (PRIu32): Likewise.
30067         [C99-based-standards] (PRIx32): Likewise.
30068         [C99-based-standards] (PRIX32): Likewise.
30069         [C99-based-standards] (SCNd32): Likewise.
30070         [C99-based-standards] (SCNi32): Likewise.
30071         [C99-based-standards] (SCNo32): Likewise.
30072         [C99-based-standards] (SCNu32): Likewise.
30073         [C99-based-standards] (SCNx32): Likewise.
30074         [C99-based-standards] (PRIdLEAST32): Likewise.
30075         [C99-based-standards] (PRIiLEAST32): Likewise.
30076         [C99-based-standards] (PRIoLEAST32): Likewise.
30077         [C99-based-standards] (PRIuLEAST32): Likewise.
30078         [C99-based-standards] (PRIxLEAST32): Likewise.
30079         [C99-based-standards] (PRIXLEAST32): Likewise.
30080         [C99-based-standards] (SCNdLEAST32): Likewise.
30081         [C99-based-standards] (SCNiLEAST32): Likewise.
30082         [C99-based-standards] (SCNoLEAST32): Likewise.
30083         [C99-based-standards] (SCNuLEAST32): Likewise.
30084         [C99-based-standards] (SCNxLEAST32): Likewise.
30085         [C99-based-standards] (PRIdFAST32): Likewise.
30086         [C99-based-standards] (PRIiFAST32): Likewise.
30087         [C99-based-standards] (PRIoFAST32): Likewise.
30088         [C99-based-standards] (PRIuFAST32): Likewise.
30089         [C99-based-standards] (PRIxFAST32): Likewise.
30090         [C99-based-standards] (PRIXFAST32): Likewise.
30091         [C99-based-standards] (SCNdFAST32): Likewise.
30092         [C99-based-standards] (SCNiFAST32): Likewise.
30093         [C99-based-standards] (SCNoFAST32): Likewise.
30094         [C99-based-standards] (SCNuFAST32): Likewise.
30095         [C99-based-standards] (SCNxFAST32): Likewise.
30096         [C99-based-standards] (PRId64): Likewise.
30097         [C99-based-standards] (PRIi64): Likewise.
30098         [C99-based-standards] (PRIo64): Likewise.
30099         [C99-based-standards] (PRIu64): Likewise.
30100         [C99-based-standards] (PRIx64): Likewise.
30101         [C99-based-standards] (PRIX64): Likewise.
30102         [C99-based-standards] (SCNd64): Likewise.
30103         [C99-based-standards] (SCNi64): Likewise.
30104         [C99-based-standards] (SCNo64): Likewise.
30105         [C99-based-standards] (SCNu64): Likewise.
30106         [C99-based-standards] (SCNx64): Likewise.
30107         [C99-based-standards] (PRIdLEAST64): Likewise.
30108         [C99-based-standards] (PRIiLEAST64): Likewise.
30109         [C99-based-standards] (PRIoLEAST64): Likewise.
30110         [C99-based-standards] (PRIuLEAST64): Likewise.
30111         [C99-based-standards] (PRIxLEAST64): Likewise.
30112         [C99-based-standards] (PRIXLEAST64): Likewise.
30113         [C99-based-standards] (SCNdLEAST64): Likewise.
30114         [C99-based-standards] (SCNiLEAST64): Likewise.
30115         [C99-based-standards] (SCNoLEAST64): Likewise.
30116         [C99-based-standards] (SCNuLEAST64): Likewise.
30117         [C99-based-standards] (SCNxLEAST64): Likewise.
30118         [C99-based-standards] (PRIdFAST64): Likewise.
30119         [C99-based-standards] (PRIiFAST64): Likewise.
30120         [C99-based-standards] (PRIoFAST64): Likewise.
30121         [C99-based-standards] (PRIuFAST64): Likewise.
30122         [C99-based-standards] (PRIxFAST64): Likewise.
30123         [C99-based-standards] (PRIXFAST64): Likewise.
30124         [C99-based-standards] (SCNdFAST64): Likewise.
30125         [C99-based-standards] (SCNiFAST64): Likewise.
30126         [C99-based-standards] (SCNoFAST64): Likewise.
30127         [C99-based-standards] (SCNuFAST64): Likewise.
30128         [C99-based-standards] (SCNxFAST64): Likewise.
30129         [C99-based-standards] (PRIdMAX): Likewise.
30130         [C99-based-standards] (PRIiMAX): Likewise.
30131         [C99-based-standards] (PRIoMAX): Likewise.
30132         [C99-based-standards] (PRIuMAX): Likewise.
30133         [C99-based-standards] (PRIxMAX): Likewise.
30134         [C99-based-standards] (PRIXMAX): Likewise.
30135         [C99-based-standards] (SCNdMAX): Likewise.
30136         [C99-based-standards] (SCNiMAX): Likewise.
30137         [C99-based-standards] (SCNoMAX): Likewise.
30138         [C99-based-standards] (SCNuMAX): Likewise.
30139         [C99-based-standards] (SCNxMAX): Likewise.
30140         [C99-based-standards] (PRIdPTR): Likewise.
30141         [C99-based-standards] (PRIiPTR): Likewise.
30142         [C99-based-standards] (PRIoPTR): Likewise.
30143         [C99-based-standards] (PRIuPTR): Likewise.
30144         [C99-based-standards] (PRIxPTR): Likewise.
30145         [C99-based-standards] (PRIXPTR): Likewise.
30146         [C99-based-standards] (SCNdPTR): Likewise.
30147         [C99-based-standards] (SCNiPTR): Likewise.
30148         [C99-based-standards] (SCNoPTR): Likewise.
30149         [C99-based-standards] (SCNuPTR): Likewise.
30150         [C99-based-standards] (SCNxPTR): Likewise.
30151         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30152         allow.
30153         * conform/data/stdint.h-data: Update comments to clarify
30154         requirements.
30155         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30156         type.
30157         [C99-based standards] (INT8_MAX): Likewise.
30158         [C99-based standards] (INT16_MIN): Likewise.
30159         [C99-based standards] (INT16_MAX): Likewise.
30160         [C99-based standards] (INT32_MIN): Likewise.
30161         [C99-based standards] (INT32_MAX): Likewise.
30162         [C99-based standards] (INT64_MIN): Likewise.
30163         [C99-based standards] (INT64_MAX): Likewise.
30164         [C99-based standards] (UINT8_MAX): Likewise.
30165         [C99-based standards] (UINT16_MAX): Likewise.
30166         [C99-based standards] (UINT32_MAX): Likewise.
30167         [C99-based standards] (UINT64_MAX): Likewise.
30168         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30169         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30170         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30171         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30172         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30173         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30174         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30175         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30176         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30177         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30178         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30179         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30180         [C99-based standards] (INT_FAST8_MIN): Likewise.
30181         [C99-based standards] (INT_FAST8_MAX): Likewise.
30182         [C99-based standards] (INT_FAST16_MIN): Likewise.
30183         [C99-based standards] (INT_FAST16_MAX): Likewise.
30184         [C99-based standards] (INT_FAST32_MIN): Likewise.
30185         [C99-based standards] (INT_FAST32_MAX): Likewise.
30186         [C99-based standards] (INT_FAST64_MIN): Likewise.
30187         [C99-based standards] (INT_FAST64_MAX): Likewise.
30188         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30189         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30190         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30191         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30192         [C99-based standards] (INTPTR_MIN): Likewise.
30193         [C99-based standards] (INTPTR_MAX): Likewise.
30194         [C99-based standards] (UINTPTR_MAX): Likewise.
30195         [C99-based standards] (INTMAX_MIN): Likewise.
30196         [C99-based standards] (INTMAX_MAX): Likewise.
30197         [C99-based standards] (UINTMAX_MAX): Likewise.
30198         [C99-based standards] (PTRDIFF_MIN): Likewise.
30199         [C99-based standards] (PTRDIFF_MAX): Likewise.
30200         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30201         [C99-based standards] (SIZE_MAX): Likewise.
30202         [C99-based standards] (WCHAR_MAX): Likewise.
30203         [C99-based standards] (WINT_MAX): Likewise.
30204         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30205         constraint on value.
30206         [C99-based standards] (WCHAR_MIN): Likewise.
30207         [C99-based standards] (WINT_MIN): Likewise.
30208         [C99-based standards] (*_t): Allow.
30209         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30210         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30211         Include math.h-data and complex.h-data.  Remove all expectations
30212         of math.h and complex.h contents.
30213         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30214         at end of line.
30215         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30216         (struct tm): Expect tag.
30217         [C99-based-standards] (wcstof): Expect function.
30218         [C99-based-standards] (wcstold): Likewise.
30219         [C99-based-standards] (wcstoll): Likewise.
30220         [C99-based-standards] (wcstoull): Likewise.
30221         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30222         macro-int-constant.  Specify type.
30223         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30224         constraint on value.
30225         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30226         Specify type.
30227         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30228         Specify value.
30229         [ISO C standards]: Do not allow headers.
30230         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30231         wcs[abcdefghijklmnopqrstuvwxyz]*.
30232         [ISO C standards] (*_t): Do not allow.
30233         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30234         Expect function.
30235         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30236         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30237         Specify type.
30238         [ISO C standards]: Do not allow headers.
30239         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30240         is[abcdefghijklmnopqrstuvwxyz]*.
30241         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30242         to[abcdefghijklmnopqrstuvwxyz]*.
30243         [ISO C standards] (*_t): Do not allow.
30244         * conform/data/stdalign.h-data: New file.
30245         * conform/data/stdbool.h-data: Likewise.
30246         * conform/data/stdnoreturn.h-data: Likewise.
30248 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30250         [BZ #14815]
30251         * manual/filesys.texi (Directory Entries): Typo fix.
30252         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30254 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30256         * elf/elf.h (EM_AARCH64): New macro.
30257         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30258         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30259         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30260         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30261         (R_AARCH64_TLSDESC): Likewise.
30262         (NT_ARM_TLS): Likewise.
30263         (NT_ARM_HW_BREAK): Likewise.
30264         (NT_ARM_HW_WATCH): Likewise.
30266 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30268         [BZ #14811]
30269         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30270         (__ieee754_powl): Saturate nonzero exponents with absolute value
30271         below 0x1p-79 to +/- 0x1p-79.
30272         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30273         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30274         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30275         nonzero exponents with absolute value below 0x1p-32 to +/-
30276         0x1p-32.
30277         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30278         (__ieee754_powl): Saturate nonzero exponents with absolute value
30279         below 0x1p-79 to +/- 0x1p-79.
30280         * math/libm-test.inc (pow_test): Add more tests.
30282 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30284         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30285         _dl_s390_cap_flags with kernel. Increase string length.
30286         (_dl_s390_platforms): Add z196 and zEC12.
30288 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30290         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30291         Change XOPEN21K to XOPEN2K.
30293 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30295         * string/memmove.c: Use memcpy when possible.
30297 2012-11-06  Andreas Jaeger  <aj@suse.de>
30299         * po/eo.po: Update from translation team.
30301 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30303         [BZ #14793]
30304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30305         exponent and small x and y exponents, scale x or y up.  Increase
30306         by 2 the exponent used in scaling up.
30307         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30308         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30309         * math/libm-test.inc (fma_test): Add more tests.
30310         (fma_test_towardzero): Likewise.
30311         (fma_test_downward): Likewise.
30312         (fma_test_upward): Likewise.
30314 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30316         [BZ #14805]
30317         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30318         fenv_t *.
30320         [BZ #14801]
30321         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30322         namespace for names of struct fields.
30323         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30324         fenv_t fields.
30325         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30326         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30328 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30330         [BZ #3665]
30331         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30333 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30335         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30336         PTR_DEMANGLE.
30338         [BZ #5246]
30339         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30340         PTR_DEMANGLE.
30342 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
30344         [BZ #14797]
30345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30346         definitely overflow as x * y not x * y + z.
30347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30349         * math/libm-test.inc (fma_test): Add more tests.
30350         (fma_test_towardzero): Likewise.
30351         (fma_test_downward): Likewise.
30352         (fma_test_upward): Likewise.
30354 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30356         [BZ #157]
30358         * include/stub-tag.h: Remove file.
30359         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30360         '#include' of it.
30361         * manual/maint.texi (Porting): Don't reference it.
30362         * Makerules ($(objpfx)stubs): Likewise.
30363         * dirent/closedir.c: Don't include <stub-tag.h>.
30364         * dirent/dirfd.c: Likewise.
30365         * dirent/fdopendir.c: Likewise.
30366         * dirent/getdents.c: Likewise.
30367         * dirent/getdents64.c: Likewise.
30368         * dirent/opendir.c: Likewise.
30369         * dirent/readdir.c: Likewise.
30370         * dirent/readdir64.c: Likewise.
30371         * dirent/readdir64_r.c: Likewise.
30372         * dirent/readdir_r.c: Likewise.
30373         * dirent/rewinddir.c: Likewise.
30374         * dirent/seekdir.c: Likewise.
30375         * dirent/telldir.c: Likewise.
30376         * gmon/profil.c: Likewise.
30377         * grp/setgroups.c: Likewise.
30378         * inet/if_index.c: Likewise.
30379         * io/access.c: Likewise.
30380         * io/chdir.c: Likewise.
30381         * io/chmod.c: Likewise.
30382         * io/chown.c: Likewise.
30383         * io/close.c: Likewise.
30384         * io/dup.c: Likewise.
30385         * io/dup2.c: Likewise.
30386         * io/dup3.c: Likewise.
30387         * io/euidaccess.c: Likewise.
30388         * io/faccessat.c: Likewise.
30389         * io/fchdir.c: Likewise.
30390         * io/fchmod.c: Likewise.
30391         * io/fchmodat.c: Likewise.
30392         * io/fchown.c: Likewise.
30393         * io/fchownat.c: Likewise.
30394         * io/fcntl.c: Likewise.
30395         * io/flock.c: Likewise.
30396         * io/fstatfs.c: Likewise.
30397         * io/fstatfs64.c: Likewise.
30398         * io/fstatvfs.c: Likewise.
30399         * io/fstatvfs64.c: Likewise.
30400         * io/futimens.c: Likewise.
30401         * io/fxstat.c: Likewise.
30402         * io/fxstat64.c: Likewise.
30403         * io/fxstatat.c: Likewise.
30404         * io/fxstatat64.c: Likewise.
30405         * io/getcwd.c: Likewise.
30406         * io/isatty.c: Likewise.
30407         * io/lchmod.c: Likewise.
30408         * io/lchown.c: Likewise.
30409         * io/link.c: Likewise.
30410         * io/linkat.c: Likewise.
30411         * io/lseek.c: Likewise.
30412         * io/lseek64.c: Likewise.
30413         * io/lxstat64.c: Likewise.
30414         * io/mkdir.c: Likewise.
30415         * io/mkdirat.c: Likewise.
30416         * io/mkfifo.c: Likewise.
30417         * io/mkfifoat.c: Likewise.
30418         * io/open.c: Likewise.
30419         * io/open64.c: Likewise.
30420         * io/openat.c: Likewise.
30421         * io/openat64.c: Likewise.
30422         * io/pipe.c: Likewise.
30423         * io/pipe2.c: Likewise.
30424         * io/poll.c: Likewise.
30425         * io/posix_fadvise.c: Likewise.
30426         * io/posix_fadvise64.c: Likewise.
30427         * io/posix_fallocate.c: Likewise.
30428         * io/posix_fallocate64.c: Likewise.
30429         * io/read.c: Likewise.
30430         * io/readlink.c: Likewise.
30431         * io/readlinkat.c: Likewise.
30432         * io/rmdir.c: Likewise.
30433         * io/sendfile.c: Likewise.
30434         * io/sendfile64.c: Likewise.
30435         * io/statfs.c: Likewise.
30436         * io/statfs64.c: Likewise.
30437         * io/statvfs.c: Likewise.
30438         * io/statvfs64.c: Likewise.
30439         * io/symlink.c: Likewise.
30440         * io/symlinkat.c: Likewise.
30441         * io/ttyname.c: Likewise.
30442         * io/ttyname_r.c: Likewise.
30443         * io/umask.c: Likewise.
30444         * io/unlink.c: Likewise.
30445         * io/unlinkat.c: Likewise.
30446         * io/utime.c: Likewise.
30447         * io/utimensat.c: Likewise.
30448         * io/write.c: Likewise.
30449         * io/xmknod.c: Likewise.
30450         * io/xmknodat.c: Likewise.
30451         * io/xstat.c: Likewise.
30452         * io/xstat64.c: Likewise.
30453         * login/getpt.c: Likewise.
30454         * login/grantpt.c: Likewise.
30455         * login/unlockpt.c: Likewise.
30456         * math/e_acoshl.c: Likewise.
30457         * math/e_acosl.c: Likewise.
30458         * math/e_asinl.c: Likewise.
30459         * math/e_atan2l.c: Likewise.
30460         * math/e_atanhl.c: Likewise.
30461         * math/e_coshl.c: Likewise.
30462         * math/e_expl.c: Likewise.
30463         * math/e_fmodl.c: Likewise.
30464         * math/e_gammal_r.c: Likewise.
30465         * math/e_hypotl.c: Likewise.
30466         * math/e_j0l.c: Likewise.
30467         * math/e_j1l.c: Likewise.
30468         * math/e_jnl.c: Likewise.
30469         * math/e_lgammal_r.c: Likewise.
30470         * math/e_log10l.c: Likewise.
30471         * math/e_log2l.c: Likewise.
30472         * math/e_logl.c: Likewise.
30473         * math/e_powl.c: Likewise.
30474         * math/e_rem_pio2l.c: Likewise.
30475         * math/e_sinhl.c: Likewise.
30476         * math/e_sqrtl.c: Likewise.
30477         * math/fclrexcpt.c: Likewise.
30478         * math/fedisblxcpt.c: Likewise.
30479         * math/feenablxcpt.c: Likewise.
30480         * math/fegetenv.c: Likewise.
30481         * math/fegetexcept.c: Likewise.
30482         * math/fegetround.c: Likewise.
30483         * math/feholdexcpt.c: Likewise.
30484         * math/fesetenv.c: Likewise.
30485         * math/fesetround.c: Likewise.
30486         * math/feupdateenv.c: Likewise.
30487         * math/fgetexcptflg.c: Likewise.
30488         * math/fraiseexcpt.c: Likewise.
30489         * math/fsetexcptflg.c: Likewise.
30490         * math/ftestexcept.c: Likewise.
30491         * math/k_cosl.c: Likewise.
30492         * math/k_rem_pio2l.c: Likewise.
30493         * math/k_sinl.c: Likewise.
30494         * math/k_tanl.c: Likewise.
30495         * math/s_asinhl.c: Likewise.
30496         * math/s_atanl.c: Likewise.
30497         * math/s_cbrtl.c: Likewise.
30498         * math/s_erfl.c: Likewise.
30499         * math/s_expm1l.c: Likewise.
30500         * math/s_log1pl.c: Likewise.
30501         * math/s_tanhl.c: Likewise.
30502         * misc/acct.c: Likewise.
30503         * misc/brk.c: Likewise.
30504         * misc/chflags.c: Likewise.
30505         * misc/chroot.c: Likewise.
30506         * misc/fchflags.c: Likewise.
30507         * misc/fgetxattr.c: Likewise.
30508         * misc/flistxattr.c: Likewise.
30509         * misc/fremovexattr.c: Likewise.
30510         * misc/fsetxattr.c: Likewise.
30511         * misc/fsync.c: Likewise.
30512         * misc/ftruncate.c: Likewise.
30513         * misc/futimes.c: Likewise.
30514         * misc/futimesat.c: Likewise.
30515         * misc/getdomain.c: Likewise.
30516         * misc/getdtsz.c: Likewise.
30517         * misc/gethostid.c: Likewise.
30518         * misc/gethostname.c: Likewise.
30519         * misc/getloadavg.c: Likewise.
30520         * misc/getpagesize.c: Likewise.
30521         * misc/getsysstats.c: Likewise.
30522         * misc/getxattr.c: Likewise.
30523         * misc/gtty.c: Likewise.
30524         * misc/ioctl.c: Likewise.
30525         * misc/lgetxattr.c: Likewise.
30526         * misc/listxattr.c: Likewise.
30527         * misc/llistxattr.c: Likewise.
30528         * misc/lremovexattr.c: Likewise.
30529         * misc/lsetxattr.c: Likewise.
30530         * misc/lutimes.c: Likewise.
30531         * misc/madvise.c: Likewise.
30532         * misc/mincore.c: Likewise.
30533         * misc/mlock.c: Likewise.
30534         * misc/mlockall.c: Likewise.
30535         * misc/mmap.c: Likewise.
30536         * misc/mprotect.c: Likewise.
30537         * misc/msync.c: Likewise.
30538         * misc/munlock.c: Likewise.
30539         * misc/munlockall.c: Likewise.
30540         * misc/munmap.c: Likewise.
30541         * misc/preadv.c: Likewise.
30542         * misc/preadv64.c: Likewise.
30543         * misc/ptrace.c: Likewise.
30544         * misc/pwritev.c: Likewise.
30545         * misc/pwritev64.c: Likewise.
30546         * misc/readv.c: Likewise.
30547         * misc/reboot.c: Likewise.
30548         * misc/remap_file_pages.c: Likewise.
30549         * misc/removexattr.c: Likewise.
30550         * misc/revoke.c: Likewise.
30551         * misc/select.c: Likewise.
30552         * misc/setdomain.c: Likewise.
30553         * misc/setegid.c: Likewise.
30554         * misc/seteuid.c: Likewise.
30555         * misc/sethostid.c: Likewise.
30556         * misc/sethostname.c: Likewise.
30557         * misc/setregid.c: Likewise.
30558         * misc/setreuid.c: Likewise.
30559         * misc/setxattr.c: Likewise.
30560         * misc/sstk.c: Likewise.
30561         * misc/stty.c: Likewise.
30562         * misc/swapoff.c: Likewise.
30563         * misc/swapon.c: Likewise.
30564         * misc/sync.c: Likewise.
30565         * misc/syncfs.c: Likewise.
30566         * misc/syscall.c: Likewise.
30567         * misc/truncate.c: Likewise.
30568         * misc/ualarm.c: Likewise.
30569         * misc/usleep.c: Likewise.
30570         * misc/ustat.c: Likewise.
30571         * misc/utimes.c: Likewise.
30572         * misc/vhangup.c: Likewise.
30573         * misc/writev.c: Likewise.
30574         * posix/_exit.c: Likewise.
30575         * posix/alarm.c: Likewise.
30576         * posix/execve.c: Likewise.
30577         * posix/fexecve.c: Likewise.
30578         * posix/fork.c: Likewise.
30579         * posix/fpathconf.c: Likewise.
30580         * posix/getaddrinfo.c: Likewise.
30581         * posix/getegid.c: Likewise.
30582         * posix/geteuid.c: Likewise.
30583         * posix/getgid.c: Likewise.
30584         * posix/getgroups.c: Likewise.
30585         * posix/getlogin.c: Likewise.
30586         * posix/getlogin_r.c: Likewise.
30587         * posix/getpgid.c: Likewise.
30588         * posix/getpid.c: Likewise.
30589         * posix/getppid.c: Likewise.
30590         * posix/getresgid.c: Likewise.
30591         * posix/getresuid.c: Likewise.
30592         * posix/getsid.c: Likewise.
30593         * posix/getuid.c: Likewise.
30594         * posix/glob64.c: Likewise.
30595         * posix/nanosleep.c: Likewise.
30596         * posix/pathconf.c: Likewise.
30597         * posix/pause.c: Likewise.
30598         * posix/posix_madvise.c: Likewise.
30599         * posix/pread.c: Likewise.
30600         * posix/pread64.c: Likewise.
30601         * posix/pwrite.c: Likewise.
30602         * posix/pwrite64.c: Likewise.
30603         * posix/sched_getaffinity.c: Likewise.
30604         * posix/sched_getp.c: Likewise.
30605         * posix/sched_gets.c: Likewise.
30606         * posix/sched_primax.c: Likewise.
30607         * posix/sched_primin.c: Likewise.
30608         * posix/sched_rr_gi.c: Likewise.
30609         * posix/sched_setaffinity.c: Likewise.
30610         * posix/sched_setp.c: Likewise.
30611         * posix/sched_sets.c: Likewise.
30612         * posix/sched_yield.c: Likewise.
30613         * posix/setgid.c: Likewise.
30614         * posix/setlogin.c: Likewise.
30615         * posix/setpgid.c: Likewise.
30616         * posix/setresgid.c: Likewise.
30617         * posix/setresuid.c: Likewise.
30618         * posix/setsid.c: Likewise.
30619         * posix/setuid.c: Likewise.
30620         * posix/sleep.c: Likewise.
30621         * posix/spawni.c: Likewise.
30622         * posix/sysconf.c: Likewise.
30623         * posix/times.c: Likewise.
30624         * posix/wait.c: Likewise.
30625         * posix/wait3.c: Likewise.
30626         * posix/wait4.c: Likewise.
30627         * posix/waitpid.c: Likewise.
30628         * resolv/gai_sigqueue.c: Likewise.
30629         * resource/getpriority.c: Likewise.
30630         * resource/getrlimit.c: Likewise.
30631         * resource/getrusage.c: Likewise.
30632         * resource/nice.c: Likewise.
30633         * resource/setpriority.c: Likewise.
30634         * resource/setrlimit.c: Likewise.
30635         * resource/ulimit.c: Likewise.
30636         * rt/aio_cancel.c: Likewise.
30637         * rt/aio_fsync.c: Likewise.
30638         * rt/aio_read.c: Likewise.
30639         * rt/aio_sigqueue.c: Likewise.
30640         * rt/aio_suspend.c: Likewise.
30641         * rt/aio_write.c: Likewise.
30642         * rt/clock_getres.c: Likewise.
30643         * rt/clock_gettime.c: Likewise.
30644         * rt/clock_nanosleep.c: Likewise.
30645         * rt/clock_settime.c: Likewise.
30646         * rt/lio_listio.c: Likewise.
30647         * rt/mq_close.c: Likewise.
30648         * rt/mq_getattr.c: Likewise.
30649         * rt/mq_notify.c: Likewise.
30650         * rt/mq_open.c: Likewise.
30651         * rt/mq_receive.c: Likewise.
30652         * rt/mq_send.c: Likewise.
30653         * rt/mq_setattr.c: Likewise.
30654         * rt/mq_timedreceive.c: Likewise.
30655         * rt/mq_timedsend.c: Likewise.
30656         * rt/mq_unlink.c: Likewise.
30657         * rt/shm_open.c: Likewise.
30658         * rt/shm_unlink.c: Likewise.
30659         * rt/timer_create.c: Likewise.
30660         * rt/timer_delete.c: Likewise.
30661         * rt/timer_getoverr.c: Likewise.
30662         * rt/timer_gettime.c: Likewise.
30663         * rt/timer_settime.c: Likewise.
30664         * setjmp/__longjmp.c: Likewise.
30665         * setjmp/setjmp.c: Likewise.
30666         * signal/kill.c: Likewise.
30667         * signal/killpg.c: Likewise.
30668         * signal/raise.c: Likewise.
30669         * signal/sigaction.c: Likewise.
30670         * signal/sigaltstack.c: Likewise.
30671         * signal/sigblock.c: Likewise.
30672         * signal/sigignore.c: Likewise.
30673         * signal/sigintr.c: Likewise.
30674         * signal/signal.c: Likewise.
30675         * signal/sigpause.c: Likewise.
30676         * signal/sigpending.c: Likewise.
30677         * signal/sigqueue.c: Likewise.
30678         * signal/sigreturn.c: Likewise.
30679         * signal/sigset.c: Likewise.
30680         * signal/sigsetmask.c: Likewise.
30681         * signal/sigstack.c: Likewise.
30682         * signal/sigsuspend.c: Likewise.
30683         * signal/sigtimedwait.c: Likewise.
30684         * signal/sigvec.c: Likewise.
30685         * signal/sigwait.c: Likewise.
30686         * signal/sigwaitinfo.c: Likewise.
30687         * signal/sysv_signal.c: Likewise.
30688         * socket/accept.c: Likewise.
30689         * socket/accept4.c: Likewise.
30690         * socket/bind.c: Likewise.
30691         * socket/connect.c: Likewise.
30692         * socket/getpeername.c: Likewise.
30693         * socket/getsockname.c: Likewise.
30694         * socket/getsockopt.c: Likewise.
30695         * socket/isfdtype.c: Likewise.
30696         * socket/listen.c: Likewise.
30697         * socket/recv.c: Likewise.
30698         * socket/recvfrom.c: Likewise.
30699         * socket/recvmsg.c: Likewise.
30700         * socket/send.c: Likewise.
30701         * socket/sendmsg.c: Likewise.
30702         * socket/sendto.c: Likewise.
30703         * socket/setsockopt.c: Likewise.
30704         * socket/shutdown.c: Likewise.
30705         * socket/sockatmark.c: Likewise.
30706         * socket/socket.c: Likewise.
30707         * socket/socketpair.c: Likewise.
30708         * stdio-common/ctermid.c: Likewise.
30709         * stdio-common/cuserid.c: Likewise.
30710         * stdio-common/remove.c: Likewise.
30711         * stdio-common/rename.c: Likewise.
30712         * stdio-common/renameat.c: Likewise.
30713         * stdio-common/tempname.c: Likewise.
30714         * stdlib/getcontext.c: Likewise.
30715         * stdlib/makecontext.c: Likewise.
30716         * stdlib/setcontext.c: Likewise.
30717         * stdlib/swapcontext.c: Likewise.
30718         * stdlib/system.c: Likewise.
30719         * streams/fattach.c: Likewise.
30720         * streams/fdetach.c: Likewise.
30721         * streams/getmsg.c: Likewise.
30722         * streams/getpmsg.c: Likewise.
30723         * streams/putmsg.c: Likewise.
30724         * streams/putpmsg.c: Likewise.
30725         * sysdeps/unix/bsd/getpt.c: Likewise.
30726         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30727         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30728         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30730         Likewise.
30731         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30732         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30733         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30734         * sysvipc/msgctl.c: Likewise.
30735         * sysvipc/msgget.c: Likewise.
30736         * sysvipc/msgrcv.c: Likewise.
30737         * sysvipc/msgsnd.c: Likewise.
30738         * sysvipc/semctl.c: Likewise.
30739         * sysvipc/semget.c: Likewise.
30740         * sysvipc/semop.c: Likewise.
30741         * sysvipc/semtimedop.c: Likewise.
30742         * sysvipc/shmat.c: Likewise.
30743         * sysvipc/shmctl.c: Likewise.
30744         * sysvipc/shmdt.c: Likewise.
30745         * sysvipc/shmget.c: Likewise.
30746         * termios/tcdrain.c: Likewise.
30747         * termios/tcflow.c: Likewise.
30748         * termios/tcflush.c: Likewise.
30749         * termios/tcgetattr.c: Likewise.
30750         * termios/tcgetpgrp.c: Likewise.
30751         * termios/tcsendbrk.c: Likewise.
30752         * termios/tcsetattr.c: Likewise.
30753         * termios/tcsetpgrp.c: Likewise.
30754         * time/adjtime.c: Likewise.
30755         * time/clock.c: Likewise.
30756         * time/getitimer.c: Likewise.
30757         * time/gettimeofday.c: Likewise.
30758         * time/setitimer.c: Likewise.
30759         * time/settimeofday.c: Likewise.
30760         * time/stime.c: Likewise.
30761         * time/time.c: Likewise.
30763 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
30765         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30766         /usr/old/bin.
30768         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30769         instead of spaces.
30770         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30772 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
30774         [BZ #14796]
30775         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30776         FE_TONEAREST before applying Dekker multiplication and Knuth
30777         addition.  Clear inexact exceptions and check for exact zero
30778         results afterwards.
30779         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30780         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30781         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30782         * math/libm-test.inc (fma_test): Add more tests.
30783         (fma_test_towardzero): Likewise.
30784         (fma_test_downward): Likewise.
30785         (fma_test_upward): Likewise.
30786         * sysdeps/generic/math_private.h (default_libc_fesetround): New
30787         function.
30788         (libc_fesetround): New macro.
30789         (libc_fesetroundf): Likewise.
30790         (libc_fesetroundl): Likewise.
30791         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30792         function.
30793         (libc_fesetround_387): Likewise.
30794         (libc_fesetroundf): New macro.
30795         (libc_fesetround): Likewise.
30796         (libc_fesetroundl): Likewise.
30797         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30798         function.
30799         (libc_fesetroundf): New macro.
30800         (libc_fesetround): Likewise.
30801         (libc_fesetroundl): Likewise.
30802         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30803         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30804         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30805         libm_hidden_ver.
30806         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30807         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30808         libm_hidden_def.
30809         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30810         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30811         libm_hidden_ver.
30812         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30813         libm_hidden_def.
30815         [BZ #3439]
30816         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30817         integer constant usable in #if and use that to give value to enum
30818         constant.
30819         (FE_DIVBYZERO): Likewise.
30820         (FE_UNDERFLOW): Likewise.
30821         (FE_OVERFLOW): Likewise.
30822         (FE_INVALID): Likewise.
30823         (FE_INVALID_SNAN): Likewise.
30824         (FE_INVALID_ISI): Likewise.
30825         (FE_INVALID_IDI): Likewise.
30826         (FE_INVALID_ZDZ): Likewise.
30827         (FE_INVALID_IMZ): Likewise.
30828         (FE_INVALID_COMPARE): Likewise.
30829         (FE_INVALID_SOFTWARE): Likewise.
30830         (FE_INVALID_SQRT): Likewise.
30831         (FE_INVALID_INTEGER_CONVERSION): Likewise.
30832         (FE_TONEAREST): Likewise.
30833         (FE_TOWARDZERO): Likewise.
30834         (FE_UPWARD): Likewise.
30835         (FE_DOWNWARD): Likewise.
30836         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30837         (FE_DIVBYZERO): Likewise.
30838         (FE_OVERFLOW): Likewise.
30839         (FE_UNDERFLOW): Likewise.
30840         (FE_INEXACT): Likewise.
30841         (FE_TONEAREST): Likewise.
30842         (FE_DOWNWARD): Likewise.
30843         (FE_UPWARD): Likewise.
30844         (FE_TOWARDZERO): Likewise.
30845         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30846         (FE_UNDERFLOW): Likewise.
30847         (FE_OVERFLOW): Likewise.
30848         (FE_DIVBYZERO): Likewise.
30849         (FE_INVALID): Likewise.
30850         (FE_TONEAREST): Likewise.
30851         (FE_TOWARDZERO): Likewise.
30852         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30853         (FE_OVERFLOW): Likewise.
30854         (FE_UNDERFLOW): Likewise.
30855         (FE_DIVBYZERO): Likewise.
30856         (FE_INEXACT): Likewise.
30857         (FE_TONEAREST): Likewise.
30858         (FE_TOWARDZERO): Likewise.
30859         (FE_UPWARD): Likewise.
30860         (FE_DOWNWARD): Likewise.
30861         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30862         (FE_DIVBYZERO): Likewise.
30863         (FE_OVERFLOW): Likewise.
30864         (FE_UNDERFLOW): Likewise.
30865         (FE_INEXACT): Likewise.
30866         (FE_TONEAREST): Likewise.
30867         (FE_DOWNWARD): Likewise.
30868         (FE_UPWARD): Likewise.
30869         (FE_TOWARDZERO): Likewise.
30871 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
30873         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30875 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
30877         * scripts/cross-test-ssh.sh (command): Use newlines to separate
30878         commands.  Quote $PWD.
30879         (blacklist_exports): Don't use remove_newlines.  Replace "declare
30880         -x" by "export".
30881         (remove_newlines): Remove.
30883 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
30885         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30886         * stdlib/stdlib.h (atof): Moved to ...
30887         * include/bits/stdlib-float.h: Here.  New file.
30888         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30889         * stdlib/bits/stdlib-float.h: New file.
30890         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30891         -mno-sse -mno-mmx.
30892         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30893         <xmmintrin.h>.
30895 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30897         * conform/conformtest.pl (@headers): Add fenv.h.
30898         * conform/data/fenv.h-data: New file.
30899         * include/fenv.h [_ISOMAC]: Disable all contents of file except
30900         include of <math/fenv.h>.
30902         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30903         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30904         && !UNIX98].  Enables tests for XOPEN2K8.
30905         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30906         POSIX2008]: Likewise.
30908         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30909         (struct rusage): Do not expect type or its members.
30911         [BZ #3439]
30912         * math/math.h (FP_NAN): Define macro to integer constant usable in
30913         #if and use that to give value to enum constant.
30914         (FP_INFINITE): Likewise.
30915         (FP_ZERO): Likewise.
30916         (FP_SUBNORMAL): Likewise.
30917         (FP_NORMAL): Likewise.
30919 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
30921         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30922         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30923         arguments.
30925 2012-11-02  Roland McGrath  <roland@hack.frob.com>
30927         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30928         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30929         autoconf-time if not.
30930         * configure.in: Remove AC_PREREQ.
30932 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30934         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30935         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30936         of the internal implementation.
30938 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30940         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30941         except include of <misc/sys/syslog.h>.
30943 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30946         function returns with a NULL context exit with zero.
30948 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30950         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30952 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
30954         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30955         (run_program_cmd): This.
30956         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30957         (tst_langinfo): New variable.  Use it.
30959 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
30961         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30962         floating point opcodes.
30964 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30966         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30967         variable.
30969         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30971         * sysdeps/mach/hurd/powerpc: Remove directory.
30972         * sysdeps/mach/powerpc: Likewise.
30974 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30976         * scripts/check-local-headers.sh: Ignore c++ headers.
30978 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30980         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30981         __libc_cleanup_region_start argument.
30983 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
30985         [BZ #14784]
30986         [BZ #14785]
30987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30988         x * y using scaling, not as x * y + z.
30989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30990         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30991         * math/libm-test.inc (fma_test): Add more tests.
30992         (fma_test_towardzero): Likewise.
30993         (fma_test_downward): Likewise.
30994         (fma_test_upward): Likewise.
30996 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30998         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31000 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31002         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31003         New variable.
31005 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
31007         * rt/tst-shm.c (worker): Correct checking for mmap failure.
31009 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31012         Fix sort order.
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31014         Likewise.
31016 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31019         Fix the order of the list for glibc 2.17.
31020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31021         Likewise.
31023 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
31025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31027 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
31029         [BZ #14610]
31030         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31031         for low part of x being zero before using __atanl (y).
31032         * math/libm-test.inc (atan2_test): Add another test.
31034         * manual/install.texi (Configuring and compiling): Document
31035         general use of test-wrapper and test-wrapper-env.
31036         * INSTALL: Regenerated.
31038         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31039         (__fma): Do not extract and scale down low bits on after-rounding
31040         systems when result rounded to normal precision would have normal
31041         exponent.
31042         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31043         (__fmal): Do not extract and scale down low bits on after-rounding
31044         systems when result rounded to normal precision would have normal
31045         exponent.
31046         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31047         (__fmal): Do not extract and scale down low bits on after-rounding
31048         systems when result rounded to normal precision would have normal
31049         exponent.
31050         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31051         macro.
31052         (fma_test): Add more tests.
31053         (fma_test_towardzero): Likewise.
31054         (fma_test_downward): Likewise.
31055         (fma_test_upward): Likewise.
31057 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
31059         * sysdeps/i386/tininess.h: Renamed to ...
31060         * sysdeps/x86/tininess.h: This.
31061         * sysdeps/x86_64/tininess.h: Removed.
31063 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31065         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31066         input.  Use $(build-program-cmd).
31067         ($(objpfx)tst-array1-static.out): Likewise.
31068         ($(objpfx)tst-array2.out): Likewise.
31069         ($(objpfx)tst-array3.out): Likewise.
31070         ($(objpfx)tst-array4.out): Likewise.
31071         ($(objpfx)tst-array5.out): Likewise.
31072         ($(objpfx)tst-array5-static.out): Likewise.
31074 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
31076         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31077         if defined.
31079         * nss/nsswitch.h (nss_interface_function): Provide new
31080         macro for use with NSS functions.
31081         * grp/initgroups.c: Use new macro.
31082         * nss/getXXbyYY.c: Likewise.
31083         * nss/getXXbyYY_r.c: Likewise.
31084         * nss/getXXent.c: Likewise.
31085         * nss/getXXent_r.c: Likewise.
31086         * sysdeps/posix/getaddrinfo.c: Likewise.
31088 2012-10-30  Andreas Jaeger  <aj@suse.de>
31090         * po/ru.po: Update Russion translation from translation project.
31092 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
31094         [BZ #14152]
31095         [BZ #14783]
31096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31097         result and shift together with sticky bit instead of replicating
31098         round-to-nearest rounding.
31099         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31100         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31101         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
31102         missing underflow exceptions.
31103         (fma_test_towardzero): Add more tests.
31104         (fma_test_downward): Likewise.
31105         (fma_test_upward): Likewise.
31107         [BZ #14047]
31108         * sysdeps/generic/tininess.h: New file.
31109         * sysdeps/i386/tininess.h: Likewise.
31110         * sysdeps/sh/tininess.h: Likewise.
31111         * sysdeps/x86_64/tininess.h: Likewise.
31112         * stdlib/tst-strtod-underflow.c: Likewise.
31113         * stdlib/tst-tininess.c: Likewise.
31114         * stdlib/strtod_l.c: Include <tininess.h>.
31115         (round_and_return): Do not set errno for exact underflow cases.
31116         Force an underflow exception when setting errno for underflow.
31117         Determine underflow based on rounding to normal precision if
31118         TININESS_AFTER_ROUNDING.
31119         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31120         ERANGE for exact underflow cases.
31121         * stdlib/Makefile (tests): Add tst-tininess and
31122         tst-strtod-underflow.
31123         ($(objpfx)tst-tininess): Use $(link-libm).
31124         ($(objpfx)tst-strtod-underflow): Likewise.
31126 2012-10-30  Andreas Jaeger  <aj@suse.de>
31128         [BZ#14767]
31129         * elf/Makefile (tests): Remove conditional for have-initfini-array
31130         since this is now always required and the variable does not exist
31131         anymore.
31132         (tests-static): Likewise.
31133         (modules-names): Likewise.
31135         * po/eo.po: Add Esperanto translation from translation project.
31137         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31138         merged with constructor/destructor.
31139         (init_array): Likewise.
31140         * elf/tst-array2dep.c (fini_array): Likewise.
31141         (init_array): Likewise.
31143 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31145         * manual/message.texi: Delete @cartouche tags.
31147 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31149         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31150         EOPNOTSUPP.
31151         * sysdeps/mach/hurd/fsync.c: Likewise.
31153         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31154         [_POSIX_REALTIME_SIGNALS]: Change condition to
31155         [_POSIX_REALTIME_SIGNALS > 0].
31157 2012-10-27  Andreas Jaeger  <aj@suse.de>
31159         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31160         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31161         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31162         [__WORDSIZE != 64]: Likewise.
31164 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31166         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31167         *  iconvdata/tst-tables.sh: Likewise.
31169 2012-10-25  David S. Miller  <davem@davemloft.net>
31171         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31172         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31173         of strtoull.
31175         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31176         ifunc-impl-list.c
31177         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31178         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31179         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31180         file.
31182 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31184         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31185         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31186         __getdirentries.
31188 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31189             Jim Blandy  <jimb@codesourcery.com>
31191         * scripts/cross-test-ssh.sh: New file.
31192         * manual/install.texi (Configuring and compiling): Document use of
31193         cross-test-ssh.sh.
31194         * INSTALL: Regenerated.
31196 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31198         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31199         EOPNOTSUPP.
31201 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31203         * Makeconfig (run-program-prefix): Fix comment.
31205 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31206             Jim Blandy  <jimb@codesourcery.com>
31208         * Makeconfig (test-wrapper): New variable,
31209         (test-wrapper-env): Likewise.
31210         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31211         (run-built-tests): Define to yes.
31212         (run-program-prefix): Use $(test-wrapper).
31213         (built-program-cmd): Likewise.
31214         * Rules (make-test-out): Use $(test-wrapper-env) and
31215         $(host-built-program-cmd).
31216         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31217         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31218         tst-pathopt.sh.
31219         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31220         $(test-wrapper-env) to tst-rtld-load-self.sh.
31221         ($(objpfx)order2.out): Use $(test-wrapper).
31222         ($(objpfx)tst-initorder.out): Likewise.
31223         ($(objpfx)tst-initorder2.out): Likewise.
31224         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31225         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31226         (test_wrapper_env): New variable.  Use it to run ld.so.
31227         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31228         Use it to run ld.so.
31229         (test_wrapper_env): Likewise.
31230         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31231         $(test-wrapper) to run-iconv-test.sh.
31232         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31233         (ICONV): Use $test_wrapper.
31234         * posix/Makefile ($(objpfx)globtest.out): Pass
31235         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31236         globtest.sh, not $(run-program-prefix).
31237         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31238         (test_wrapper): Likewise.
31239         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31240         set together with run_via_rtld_prefix.
31241         (run_program_prefix): Define in terms of test_wrapper and
31242         run_via_rtld_prefix.
31244 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31246         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31247         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31248         Targets removed.
31250         [BZ #14743]
31251         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31252         Declare __clock_getres, __clock_gettime, __clock_settime,
31253         __clock_nanosleep, and __clock_getcpuclockid.
31254         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31255         Remove librt_hidden_def (clock_gettime).
31256         * sysdeps/unix/clock_gettime.c: Likewise.
31257         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31258         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31259         * rt/clock_getres.c: Define __clock_getres as an alias.
31260         * sysdeps/posix/clock_getres.c: Likewise.
31261         * rt/clock_settime.c: Define __clock_settime as an alias.
31262         * sysdeps/unix/clock_settime.c: Likewise.
31263         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31264         * sysdeps/unix/clock_nanosleep.c: Likewise.
31265         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31266         * rt/clock-compat.c: New file.
31267         * rt/Makefile (librt-routines): Add clock-compat and move
31268         $(clock-routines) to ...
31269         (routines): ... here, new variable.
31270         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31271         Don't add get_clockfreq here.
31272         * rt/Versions (libc: GLIBC_2.17): New version set.
31273         Add clock_* symbols here.
31274         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31275         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31276         (GLIBC_2.17): Add clock_* symbols.
31277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31279         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31281         Likewise.
31282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31283         Likewise.
31284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31288         * NEWS: Mention the move.
31290         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31291         Use __open, __read, __close rather than their public counterparts.
31292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31293         (__get_clockfreq_via_cpuinfo): Likewise.
31294         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31295         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31297         * config.h.in (HAVE_IFUNC): New #undef.
31298         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31299         was successful.
31300         * configure: Regenerated.
31302 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31304         * configure.in: Move READELF check to start of file.
31305         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31306         libc_cv_asm_gnu_indirect_function in the process.
31307         * configure: Regenerated.
31309 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31311         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31312         send the output to /dev/null.
31313         (libc_cv_cc_with_libunwind): Likewise.
31314         (libc_cv_as_noexecstack): Likewise.
31315         * configure: Regenerate.
31317 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31319         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31321         * posix/globtest.sh (TMPDIR): Do not set.
31322         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31323         (testout): Likewise.
31325 2012-10-24  Andreas Jaeger  <aj@suse.de>
31327         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31328         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31329         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31330         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31331         posix_fadvise64, posix_fallocate64.
31333         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31334         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31335         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31336         Likewise.
31337         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31338         Likewise.
31339         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31341         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31342         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31343         <bits/fcntl-linux.h>.
31344         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31346         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31347         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31348         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31349         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31350         [__WORDSIZE != 64]: Likewise.
31352 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31354         * Makeconfig (run-built-tests): New variable.
31355         * Rules [$(cross-compiling) = yes]: Change condition to
31356         [$(run-built-tests) = no].
31357         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31358         to [$(run-built-tests) = yes].
31359         * elf/Makefile [$(cross-compiling) = no]: Likewise
31360         * grp/Makefile [$(cross-compiling) = no]: Likewise.
31361         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31362         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31363         * intl/Makefile [$(cross-compiling) = no]: Likewise.
31364         * io/Makefile [$(cross-compiling) = no]: Likewise.
31365         * libio/Makefile [$(cross-compiling) = no]: Likewise.
31366         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31367         * misc/Makefile [$(cross-compiling) = no]: Likewise.
31368         * posix/Makefile [$(cross-compiling) = no]: Likewise.
31369         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31370         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31371         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31372         * string/Makefile [$(cross-compiling) = no]: Likewise.
31374         * posix/Makefile ($(objpfx)globtest.out): Pass
31375         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31376         $(rtld-installed-name).
31377         * posix/globtest.sh (elf_objpfx): Remove variable.
31378         (rtld_installed_name): Likewise.
31379         (library_path): Likewise.
31380         (run_program_prefix): New variable.  Use for running globtest
31381         binary.
31383 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
31384             Joseph Myers  <joseph@codesourcery.com>
31386         * Makeconfig (host-built-program-cmd): New variable.
31387         * elf/Makefile (tst-stackguard1-ARGS): Use
31388         $(host-built-program-cmd).
31389         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31390         (tst-spawn-ARGS): Likewise.
31391         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31393 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31394             Jim Blandy  <jimb@codesourcery.com>
31396         * Makeconfig (run-via-rtld-prefix): New variable.
31397         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31398         (built-program-cmd): Likewise.
31400 2012-10-22  Andreas Jaeger  <aj@suse.de>
31402         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31403         __O_RSYNC if it exists, otherwise to O_SYNC.
31405 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
31406             Joseph Myers  <joseph@codesourcery.com>
31408         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31409         /dev/null.
31410         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31411         from /dev/null
31412         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31413         /dev/null.
31415 2012-10-22  Andreas Jaeger  <aj@suse.de>
31417         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31418         Define always.
31419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31421         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31422         bits/fcntl-linux.h.
31424         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31425         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31427         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31428         to __O_LARGEFILE.
31429         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31430         to __O_LARGEFILE.
31432 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
31433             Joseph Myers  <joseph@codesourcery.com>
31435         * config.make.in (NM): New variable.
31437 2012-10-21  Andreas Jaeger  <aj@suse.de>
31439         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31440         definitions and declarations that are provided by
31441         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31443 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31445         [BZ #14683]
31446         * elf/Makefile (tests-static): Add tst-leaks1-static.
31447         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31448         ($(objpfx)tst-leaks1-static): New rule.
31449         ($(objpfx)tst-leaks1-static-mem): Likewise.
31450         (tst-leaks1-static-ENV): New macro.
31451         * elf/dl-open.c (dl_open_worker): Check the main application
31452         only if SHARED is defined.
31453         * elf/tst-leaks1-static.c: New file.
31455 2012-10-20  Andreas Jaeger  <aj@suse.de>
31457         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31458         generic values for Linux.
31459         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31460         and declarations that are provided by <bits/fcntl-linux.h> and
31461         include <bits/fcntl-linux.h>.
31462         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31465 2012-10-20  Roland McGrath  <roland@hack.frob.com>
31467         * io/fcntl.h: Move include of <bits/types.h> to the top and
31468         include it unconditionally.
31470 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31472         * wcsmbs/Makefile (tests-ifunc): New variable.
31473         (tests): Add $(tests-ifunc).
31474         * wcsmbs/test-wcschr-ifunc.c: New file.
31475         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31476         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31477         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31478         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31479         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31481         * string/Makefile (tests-ifunc): New variable.
31482         (tests): Add $(tests-ifunc).
31483         * string/test-memccpy.c (TEST_NAME): New macro.
31484         * string/test-memchr.c (TEST_NAME): Likewise.
31485         * string/test-memcmp.c (TEST_NAME): Likewise.
31486         * string/test-memcpy.c (TEST_NAME): Likewise.
31487         * string/test-memmem.c (TEST_NAME): Likewise.
31488         * string/test-memmove.c (TEST_NAME): Likewise.
31489         * string/test-memset.c (TEST_NAME): Likewise.
31490         * string/test-rawmemchr.c (TEST_NAME): Likewise.
31491         * string/test-stpcpy.c (TEST_NAME): Likewise.
31492         * string/test-stpncpy.c (TEST_NAME): Likewise.
31493         * string/test-strcasecmp.c (TEST_NAME): Likewise.
31494         * string/test-strcasestr.c (TEST_NAME): Likewise.
31495         * string/test-strcat.c (TEST_NAME): Likewise.
31496         * string/test-strchr.c (TEST_NAME): Likewise.
31497         * string/test-strcmp.c(TEST_NAME): Likewise.
31498         * string/test-strcpy.c (TEST_NAME): Likewise.
31499         * string/test-strcspn.c (TEST_NAME): Likewise.
31500         * string/test-strlen.c (TEST_NAME): Likewise.
31501         * string/test-strncasecmp.c (TEST_NAME): Likewise.
31502         * string/test-strncmp.c (TEST_NAME): Likewise.
31503         * string/test-strncpy.c (TEST_NAME): Likewise.
31504         * string/test-strnlen.c (TEST_NAME): Likewise.
31505         * string/test-strpbrk.c (TEST_NAME): Likewise.
31506         * string/test-strrchr.c (TEST_NAME): Likewise.
31507         * string/test-strspn.c (TEST_NAME): Likewise.
31508         * string/test-strstr.c (TEST_NAME): Likewise.
31509         * string/test-bcopy-ifunc.c: New file.
31510         * string/test-bzero-ifunc.c: Likewise.
31511         * string/test-memccpy-ifunc.c: Likewise.
31512         * string/test-memchr-ifunc.c: Likewise.
31513         * string/test-memcmp-ifunc.c: Likewise.
31514         * string/test-memcpy-ifunc.c: Likewise.
31515         * string/test-memmem-ifunc.c: Likewise.
31516         * string/test-memmove-ifunc.c: Likewise.
31517         * string/test-mempcpy-ifunc.c: Likewise.
31518         * string/test-memset-ifunc.c: Likewise.
31519         * string/test-rawmemchr-ifunc.c: Likewise.
31520         * string/test-stpcpy-ifunc.c: Likewise.
31521         * string/test-stpncpy-ifunc.c: Likewise.
31522         * string/test-strcasecmp-ifunc.c: Likewise.
31523         * string/test-strcasestr-ifunc.c: Likewise.
31524         * string/test-strcat-ifunc.c: Likewise.
31525         * string/test-strchr-ifunc.c: Likewise.
31526         * string/test-strchrnul-ifunc.c: Likewise.
31527         * string/test-strcmp-ifunc.c: Likewise.
31528         * string/test-strcpy-ifunc.c: Likewise.
31529         * string/test-strcspn-ifunc.c: Likewise.
31530         * string/test-strlen-ifunc.c: Likewise.
31531         * string/test-strncasecmp-ifunc.c: Likewise.
31532         * string/test-strncat-ifunc.c: Likewise.
31533         * string/test-strncmp-ifunc.c: Likewise.
31534         * string/test-strncpy-ifunc.c: Likewise.
31535         * string/test-strnlen-ifunc.c: Likewise.
31536         * string/test-strpbrk-ifunc.c: Likewise.
31537         * string/test-strrchr-ifunc.c: Likewise.
31538         * string/test-strspn-ifunc.c: Likewise.
31539         * string/test-strstr-ifunc.c: Likewise.
31541         * debug/Makefile (tests-ifunc): New variable.
31542         (tests): Add $(tests-ifunc).
31543         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31544         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31545         * debug/test-stpcpy_chk-ifunc.c: New file.
31546         * debug/test-strcpy_chk-ifunc.c: Likewise.
31548 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31550         [BZ #13601]
31551         * elf/dl-load.c (open_verify): Retry read if the entire ELF
31552         header is not read in.
31554 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
31556         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
31557         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
31558         directly.  Pass built executable to script as
31559         $(built-program-cmd).
31560         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
31561         $testprogram without using LD_LIBRARY_PATH and $ldso.
31563         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31564         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31565         $(rtld-installed-name).
31566         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31567         (rtld_installed_name): Likewise.
31568         (library_path): Likewise.
31569         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
31570         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31571         $(run-program-prefix) to tst-tables.sh.
31572         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
31573         it to run tst-table-from and tst-table-to.
31574         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31575         Pass it to tst-table.sh.
31576         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31577         $(run-program-prefix) to tst-gettext.sh.
31578         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31579         tst-translit.sh.
31580         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31581         tst-gettext2.sh.
31582         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
31583         to run tst-gettext.
31584         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
31585         to run tst-gettext2.
31586         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
31587         to run tst-translit.
31588         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31589         $(run-program-prefix) to tst-mtrace.sh.
31590         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
31591         to run tst-mtrace.
31592         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31593         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31594         $(rtld-installed-name).
31595         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31596         (rtld_installed_name): Likewise.
31597         (run_program_prefix): New variable.  Use it to run wordexp-test.
31599         * Makeconfig (ARCH): Remove all definitions.
31600         (machine): Likewise.
31601         [ARCH]: Remove conditional code.
31602         [!objdir]: Give error.
31603         [!objdir] (objpfx): Remove.
31604         [!objdir] (common-objpfx): Likewise.
31605         [!objdir] (common-objdir): Likewise.
31606         * configure.in (config_makefile): Remove.  Hardcode Makefile in
31607         AC_CONFIG_FILES call.
31608         * configure: Regenerated.
31610         [BZ #13888]
31611         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31612         or TMPDIR.
31613         (testout): Likewise.
31615         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31616         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31617         $(rtld-installed-name).
31618         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31619         (rtld_installed_name): Likwise.
31620         (runit): Remove function.
31621         (run_getconf): New variable,  Use it for running getconf binary.
31623 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
31625         [BZ #14716]
31626         * string/test-memmem.c (check_result): New function.
31627         (do_one_test): Use it.
31628         (check1): New function.
31629         (test_main): Use it.
31631 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
31633         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31635 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
31637         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31638         (_G_LSEEK64): Likewise.
31639         (_G_MMAP64): Likewise.
31640         (_G_FSTAT64): Likewise.
31641         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31642         (_G_LSEEK64): Likewise.
31643         (_G_MMAP64): Likewise.
31644         (_G_FSTAT64): Likewise.
31645         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31646         unconditional.  Call __mmap64 directly.
31647         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31648         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
31649         __lseek64 directly.
31650         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31651         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
31652         __mmap64 directly.
31653         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31654         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31655         __lseek64 directly.
31656         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31657         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31658         __lseek64 directly.
31659         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31660         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
31661         __lseek64 directly.
31662         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31663         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
31664         __fxstat64 directly.
31665         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31666         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31667         unconditional.
31668         (freopen64) [!_G_OPEN64]: Remove conditional code.
31669         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31670         unconditional.
31671         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31672         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31673         unconditional.
31674         (ftello64) [!_G_LSEEK64]: Remove conditional code.
31675         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31676         unconditional.
31677         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31678         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31679         unconditional.
31680         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31681         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31682         unconditional.
31683         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31684         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31685         unconditional.
31686         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31687         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31688         unconditional.
31689         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31691 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31693         [BZ #12140]
31694         * manual/memory.texi (Malloc Tunable Parameters): Add note
31695         about free list pointers overwriting some perturb bytes.
31696         Wording suggested by Roland McGrath.
31698 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
31700         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31701         (lgamma_test): Likewise.
31702         (tgamma_test): Likewise.
31704 2012-10-16  Florian Weimer  <fweimer@redhat.com>
31706         [BZ #14700]
31707         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31708         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31710 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
31712         * NEWS: Mention BZ #14716.
31713         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31714         when removing AVAILABLE1_USES_J macro.
31716 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
31718         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31719         (__bswap_64): __uint64_t for unsigned 64-bit int.
31721 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
31723         * include/string.h (memmem): Declare libc hidden alias.
31724         * string/memmem.c (memmem): Define libc hidden alias.
31725         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31726         __read, __close instead of open, read, close.
31728 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
31730         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31731         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31732         global and hidden.
31733         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31734         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31735         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31736         Likewise.
31737         (__rawmemchr_sse2): Likewise.
31738         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31739         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31740         (__strchr_sse2): Likewise.
31741         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31742         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31743         (__strcasecmp_sse2): Likewise.
31744         (__strncasecmp_sse2): Likewise.
31745         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31746         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31747         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31748         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31749         (__strrchr_sse2): Likewise.
31750         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31751         ifunc-impl-list.c.
31752         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31753         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31754         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31755         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31756         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31757         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31758         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31759         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31760         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31761         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31762         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31763         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31764         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31765         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31766         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31767         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31768         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31769         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31770         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31771         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31772         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31773         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31774         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31775         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31776         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31777         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31778         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31779         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31780         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31781         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31783         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31784         global and hidden.
31785         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31786         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31787         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31788         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31789         Likewise.
31790         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31791         Likewise.
31792         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31793         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31794         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31795         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31796         ifunc-impl-list.c.
31797         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31798         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31799         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31800         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31801         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31802         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31803         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31804         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31805         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31806         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31807         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31808         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31809         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31810         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31811         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31812         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31813         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31814         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31815         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31816         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31817         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31818         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31819         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31820         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31821         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31822         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31823         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31824         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31825         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31826         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31827         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31828         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31829         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31830         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31831         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31832         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31833         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31834         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31835         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31836         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31837         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31839         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31840         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31841         * include/ifunc-impl-list.h: New file.
31842         * misc/ifunc-impl-list.c: Likewise.
31843         * misc/Makefile (routines): Add ifunc-impl-list.
31844         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31845         * string/test-string.h: Include <ifunc-impl-list.h>.
31846         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31847         TEST_NAME]: New variables.
31848         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31849         are defined.
31850         (test_init): Call __libc_ifunc_impl_list to initialize
31851         func_list if TEST_IFUNC and TEST_NAME are defined.
31853         * string/Makefile (strop-tests): Add bcopy and bzero.
31854         * string/test-bcopy.c: New file.
31855         * string/test-bzero.c: Likewise.
31856         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31857         defined.
31858         * string/test-memset.c: Support bzero test if TEST_BZERO is
31859         defined.
31860         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31861         __libc_memmove.
31862         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31863         __libc_memset.
31864         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31865         of memset.
31867 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
31869         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31870         * configure: Regenerated.
31872         * Makeconfig (+link-static-before-libc): Don't include
31873         $(link-static-libc).
31875         * libio/libio.h (_IO_pos_t): Remove.
31877 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31879         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
31880         McGrath.
31882 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31884         * crypt/crypt-entry.c: Include fips-private.h.
31885         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31886         * crypt/md5c-test.c (main): Tolerate disabled MD5.
31887         * sysdeps/unix/sysv/linux/fips-private.h: New file.
31888         * sysdeps/generic/fips-private.h: New file, dummy fallback.
31890 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31892         * crypt/crypt-private.h: Include stdbool.h.
31893         (_ufc_setup_salt_r): Return bool.
31894         * crypt/crypt-entry.c: Include errno.h.
31895         (__crypt_r): Return NULL with EINVAL for bad salt.
31896         * crypt/crypt_util.c (bad_for_salt): New.
31897         (_ufc_setup_salt_r): Check that salt is long enough and within
31898         the specified alphabet.
31899         * crypt/badsalttest.c: New file.
31900         * crypt/Makefile (tests): Add it.
31901         ($(objpfx)badsalttest): New.
31903 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
31905         * NEWS: Add entry for BZ #14602.
31907 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31909         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31910         type-generic.
31911         * math/libm-test.inc: Update comment listing what functions and
31912         macros are tested.
31913         (isgreater_test): New function.
31914         (isgreaterequal_test): Likewise.
31915         (isless_test): Likewise.
31916         (islessequal_test): Likewise.
31917         (islessgreater_test): Likewise.
31918         (isunordered_test): Likewise.
31919         (main): Call the new functions.
31921 2012-10-09  Roland McGrath  <roland@hack.frob.com>
31923         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31924         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31925         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31926         * sysdeps/i386/configure: Regenerated.
31927         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31928         * sysdeps/mach/configure: Regenerated.
31929         * sysdeps/mach/hurd/configure: Regenerated.
31930         * sysdeps/powerpc/configure: Regenerated.
31931         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31932         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31933         * sysdeps/s390/s390-32/configure: Regenerated.
31934         * sysdeps/s390/s390-64/configure: Regenerated.
31935         * sysdeps/sh/configure: Regenerated.
31936         * sysdeps/sparc/configure: Regenerated.
31937         * sysdeps/unix/sysv/linux/configure: Regenerated.
31938         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31939         * sysdeps/x86_64/configure: Regenerated.
31941         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31942         defined.  Don't check if MAP is NULL.
31944 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31946         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31947         (_G_stat64): Likewise.
31948         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31949         (_G_stat64): Likewise.
31950         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31951         instead of struct _G_stat64.
31952         * libio/fileops.c (mmap_remap_check): Likewise.
31953         (decide_maybe_mmap): Likewise.
31954         (_IO_new_file_seekoff): Likewise.
31955         (_IO_file_stat): Likewise.
31956         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31957         _G_off64_t.
31958         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31959         instead of struct _G_stat64.
31960         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31962 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
31964         [BZ #14602]
31965         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31966         Replace with ...
31967         (CHECK_EOL): New macro.
31968         (two_way_short_needle): Check beginning of haystack for EOL.  Use
31969         CHECK_EOL.
31970         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31971         Replace with CHECK_EOL.
31972         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31973         Replace with CHECK_EOL.
31975 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
31977         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31978         type-generic.
31979         * math/libm-test.inc: Update comment listing what functions and
31980         macros are tested.
31981         (finite_test): New function.
31982         (isinf_test): Likewise.
31983         (isnan_test): Likewise.
31984         (fpclassify_test): Test subnormal input.
31985         (isfinite_test): Likewise.
31986         (isnormal_test): Likewise.
31987         (main): Call the new functions.
31989 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
31991         [BZ #14660]
31992         * Makerules (%.dynsym): Force C locale when running
31993         $(OBJDUMP) --dynamic-syms.
31995 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
31997         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31998         <stdint.h>.
32000 2012-10-06  David S. Miller  <davem@davemloft.net>
32002         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32003         upper 32-bits of the length value in %o2 since we use branch-on-register
32004         tests which consider the entire 64-bit register.
32006 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
32008         * string/test-strstr.c (check2): Add a test for page boundary.
32010 2012-10-05  David S. Miller  <davem@davemloft.net>
32012         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32013         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32014         file.
32015         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32016         sysdep_routines.
32017         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32018         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32019         and bzero when HWCAP_SPARC_CRYPTO is present.
32021 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
32023         [BZ #14602]
32024         * string/test-strstr.c (check2): New function.
32025         (test_main): Call check2.
32027         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32028         and bug-strchr1.
32029         * string/bug-strcasestr1.c (do_test): Moved to ...
32030         * string/test-strcasestr.c (check1): Here.  New function.
32031         (do_one_test): Break out result checking code into ...
32032         (check_result): This.  New function.
32033         (do_one_test): Call check_result.
32034         (test_main): Call check1.
32035         * string/bug-strchr1.c (do_test): Moved to ...
32036         * string/test-strchr.c (check1): Here.  New function.
32037         (do_one_test): Break out result checking code into ...
32038         (check_result): This.  New function.
32039         (do_one_test): Call check_result.
32040         (test_main): Call check1.
32041         * string/bug-strstr1.c (main): Moved to ...
32042         * string/test-strstr.c (check1): Here.  New function.
32043         (do_one_test): Break out result checking code into ...
32044         (check_result): This.  New function.
32045         (do_one_test): Call check_result.
32046         (test_main): Call check1.
32047         * string/bug-strcasestr1.c: Removed.
32048         * string/bug-strchr1.c: Likewise.
32049         * string/bug-strstr1.c: Likewise.
32051         * elf/Makefile (dl-routines): Add hwcaps.
32052         * elf/dl-support.c (_dl_important_hwcaps): Removed.
32053         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32054         (_dl_important_hwcaps): Moved to ...
32055         * elf/dl-hwcaps.c: Here.  New file.
32056         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32058         [BZ #14557]
32059         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32060         if IS_IN_rtld isn't defined.
32062         * elf/dl-support.c (_dl_sysinfo_map): New.
32063         Include "get-dynamic-info.h" and "setup-vdso.h".
32064         (_dl_non_dynamic_init): Call setup_vdso.
32065         * elf/dynamic-link.h: Don't include <assert.h>.
32066         (elf_get_dynamic_info): Moved to ...
32067         * elf/get-dynamic-info.h: Here.  New file.
32068         * elf/dynamic-link.h: Include "get-dynamic-info.h".
32069         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32070         * elf/setup-vdso.h: Here.  New file.
32071         * elf/rtld.c: Include "setup-vdso.h".
32072         (dl_main): Call setup_vdso.
32074 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
32076         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32077         creal in comment listing functions tested.  List finite, isinf,
32078         isnan, isless, islessequal, isgreater, isgreaterequal,
32079         islessgreater, isunordered, lgamma_r and pow10 as functions and
32080         macros not tested.  Mention which functions not tested are aliases
32081         for other functions.  Fix typo.  Note that signs of NaNs are not
32082         tested.
32084         * scripts/config.guess: Update from config.git.
32085         * scripts/config.sub: Likewise.
32087 2012-10-04  Roland McGrath  <roland@hack.frob.com>
32089         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32090         * misc/madvise.c (madvise): Renamed to __madvise.
32091         Make madvise a weak alias.
32092         * include/sys/mman.h: Declare __madvise.
32093         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32094         * sysdeps/unix/syscalls.list
32095         (madvise): Make __madvise the strong name, and madvise a weak alias.
32096         * sysdeps/unix/sysv/linux/syscalls.list
32097         (madvise, mmap): Remove redundant entries.
32098         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32099         * malloc/malloc.c (mtrim): Likewise.
32100         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32102 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32104         * sysdeps/mach/hurd/dl-cache.c: File removed.
32105         * config.h.in (USE_LDCONFIG): New #undef.
32106         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32107         * configure: Regenerated.
32108         * elf/Makefile (dl-routines): Add dl-cache only under
32109         [$(use-ldconfig) = yes].
32110         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32111         cache on [USE_LDCONFIG].
32112         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32113         [USE_LDCONFIG].
32114         * elf/rtld.c (dl_main): Likewise.
32116 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32118         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32119         _SC_LEVEL4_CACHE_LINESIZE.
32121 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32123         * sysdeps/unix/bsd/confstr.h: File removed.
32125 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32127         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32128         sys/sdt-config.h.
32130 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32132         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32133         Make 'mapoff' field ElfW(Off) rather than off_t.
32135 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32137         * nscd/Makefile: Remove nscd-cflags and all its users.
32138         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32139         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32141         [BZ #10631]
32142         * malloc.c (malloc_printerr): Clarify error message.
32144 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32146         [BZ #14648]
32147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32148         Set bit_FMA_Usable if FMA is supported.
32149         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32150         macro.
32151         (bit_FMA4_Usable): Updated.
32152         (index_FMA_Usable): New macro.
32153         (CPUID_FMA): Likewise
32154         (HAS_FMA): Defined with bit_FMA_Usable.
32156 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32158         * bits/types.h (__swblk_t): Type removed.
32159         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32160         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32162         (__SWBLK_T_TYPE): Likewise.
32163         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32164         (__SWBLK_T_TYPE): Likewise.
32165         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32166         (__SWBLK_T_TYPE): Likewise.
32167         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32168         (__SWBLK_T_TYPE): Likewise.
32170 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32171             Honza Horak <hhorak@redhat.com>
32173         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32174         (xdr_mapname): Use YPMAXMAP as maxsize.
32175         (xdr_peername): Use YPMAXPEER as maxsize.
32176         (xdr_keydat): Use YPAXRECORD as maxsize.
32177         (xdr_valdat): Use YPMAXRECORD as maxsize.
32179 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32181         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32183         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32184         * csu/init-first.c: ... here.
32185         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32186         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32187         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32188         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32189         * sysdeps/i386/init-first.c: File removed.
32190         * sysdeps/sh/init-first.c: File removed.
32192 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32194         [BZ #14645]
32195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32196         if x * y might underflow to zero and z is zero.
32197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32198         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32199         * math/libm-test.inc (min_subnorm_value): New variable.
32200         (fma_test): Add more tests.
32201         (fma_test_towardzero): Likewise.
32202         (fma_test_downward): Likewise
32203         (fma_test_upward): Likewise.
32204         (initialize): Set min_subnorm_value.
32206 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32208         [BZ #14638]
32209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32210         0 + 0.
32211         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32212         mode for addition resulting in exact zero.
32213         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32214         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32215         exact 0 + 0.
32216         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32218         * math/libm-test.inc (fma_test): Add more tests.
32219         (fma_test_towardzero): New function.
32220         (fma_test_downward): Likewise.
32221         (fma_test_upward): Likewise.
32222         (main): Call the new functions.
32224 2012-09-28  David S. Miller  <davem@davemloft.net>
32226         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32228 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32230         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32231         instead of SIGALRM.
32233         * sysdeps/gnu/_G_config.h: Moved to ...
32234         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32235         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32236         * sysdeps/generic/_G_config.h: ... here.
32238         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32240         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32242         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32243         Conditionalize target on [libnss_test1.so-version].
32245         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32247         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32248         (elfobjdir): Move out of conditionals.
32250         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32251         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32252         (__nss_lookup_function): Conditionalize label remove_from_tree on
32253         [!DO_STATIC_NSS || SHARED], matching its only use.
32255 2012-09-28  David S. Miller  <davem@davemloft.net>
32257         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32258         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32259         file.
32260         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32261         sysdep_routines.
32262         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32263         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32264         when HWCAP_SPARC_CRYPTO is present.
32266 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32268         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32270 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32272         [BZ #6530]
32273         * stdio-common/vfprintf.c (process_string_arg): Revert
32274         2000-07-22 change.
32276 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32278         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32279         for testcase.
32280         * stdio-common/tst-sprintf.c: Include <locale.h>
32281         (main): Test sprintf's handling of incomplete multibyte
32282         characters.
32284 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32286         * elf/dl-runtime.c (VERSYMIDX): Removed.
32287         * elf/dl-version.c (VERSYMIDX): Likewise.
32288         * elf/do-rel.h (VERSYMIDX): Likewise.
32289         (VALIDX): Likewise.
32290         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32291         * elf/rtld.c (VALIDX): Likewise.
32292         (ADDRIDX): Likewise.
32293         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32294         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32295         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32296         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32297         (VALIDX): Likewise.
32298         (ADDRIDX): Likewise.
32300 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32302         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32304 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32306         [BZ #11438]
32307         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32308         to global scope.
32309         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32310         addresses are in the same scope as 192.0.2/24.
32311         * posix/gai.conf: Document new scope table defaults.
32313 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32315         [BZ #5298]
32316         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32317         for ftell.  Compute offsets from write pointers instead.
32318         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32320 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32322         [BZ #14543]
32323         * libio/Makefile (tests): New test case tst-fseek.
32324         * libio/tst-fseek.c: New test case to verify that fseek/ftell
32325         combination works in wide mode.
32326         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32327         state when the external buffer state changes.
32329 2012-09-27  David S. Miller  <davem@davemloft.net>
32331         [BZ #14376]
32332         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32333         pass reloc->r_addend in as the 'high' argument to
32334         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32338 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32340         * rt/tst-aio2.c: Include <pthread.h>.
32341         * rt/tst-aio3.c: Likewise.
32343 2012-09-27  Steve Ellcey  <sellcey@mips.com>
32345         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32347 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
32349         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32350         contents on [SHARED].
32352 2012-09-26  Marek Polacek  <polacek@redhat.com>
32354         [BZ #14530]
32355         [BZ #13741]
32356         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32357         for C++ and GCC <4.3 as well as for non GCC compilers.
32359 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32363 2012-09-25  Roland McGrath  <roland@hack.frob.com>
32365         * Makefile.in (all, install): Declare with .PHONY.
32366         Reported by Michael Hope <michael.hope@linaro.org>.
32368 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32370         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32371         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32372         system header.
32373         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32374         Likewise.
32375         (sydep_routines): Add the new and the internal functions.
32376         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32377         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32379         (GLIBC_2.17): Add the new function.
32380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32381         (GLIBC_2.17): Likewise.
32382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32383         (GLIBC_2.17): Likewise.
32384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32385         (GLIBC_2.17): Likewise.
32386         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32388 2012-09-25  Alan Modra  <amodra@gmail.com>
32390         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32391         Add release barrier before setting once_control to say
32392         initialisation is done.  Add hints on lwarx.  Use macro in
32393         place of isync.
32394         (clear_once_control): Add release barrier.
32396 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32398         [BZ #13629]
32399         * math/s_clog.c (__clog): Handle more values close to |z| = 1
32400         specially.
32401         * math/s_clog10.c (__clog10): Likewise.
32402         * math/s_clog10f.c (__clog10f): Likewise.
32403         * math/s_clog10l.c (__clog10l): Likewise.
32404         * math/s_clogf.c (__clogf): Likewise.
32405         * math/s_clogl.c (__clogl): Likewise.
32406         * math/Makefile (libm-calls): Add x2y2m1.
32407         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32408         (__x2y2m1): Likewise.
32409         (__x2y2m1l): Likewise.
32410         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32411         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32412         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32413         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32414         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32415         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32416         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32417         * sysdeps/i386/fpu/libm-test-ulps: Update.
32418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32420         [BZ #14621]
32421         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32422         int as type of variable DEPTH.
32423         (glob): Use size_t instead of int as type of variables NEWCOUNT
32424         and OLD_PATHC.
32426 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32428         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32429         Add s_sincosf-sse2.
32430         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32431         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32432         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32433         macros for using routine as __sincosf_ia32.
32434         Use macro for function declaration and weak_alias.
32435         * sysdeps/i386/fpu/libm-test-ulps: Update.
32437         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32440         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32441         subnormal argument.
32442         * math/s_cexpf.c (__cexpf): Likewise.
32443         * math/s_csinf.c (__csinf): Likewise.
32444         * math/s_csinhf.c (__csinhf): Likewise.
32445         * math/s_ctanf.c (__ctanf): Likewise.
32446         * math/s_ctanhf.c (__ctanhf): Likewise.
32447         * math/s_ccosh.c (__ccoshf): Likewise.
32448         * math/s_cexp.c (__cexpl): Likewise.
32449         * math/s_csin.c (__csin): Likewise.
32450         * math/s_csinh.c (__csinh): Likewise.
32451         * math/s_ctan.c (__ctan): Likewise.
32452         * math/s_ctanh.c (ctanh): Likewise.
32453         * math/s_ccoshl.c (__ccoshl): Likewise.
32454         * math/s_cexpl.c (__cexpl): Likewise.
32455         * math/s_csinl.c (__csinl): Likewise.
32456         * math/s_csinhl.c (__csinhl): Likewise.
32457         * math/s_ctanl.c (__ctanl): Likewise.
32458         * math/s_ctanhl.c (__ctanhl): Likewise.
32460 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32462         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32463         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32464         (_IO_off_t): Define to __off_t, not _G_off_t.
32465         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32466         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32467         (_IO_wint_t): Define to wint_t, not _G_wint_t.
32468         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32469         type of __dummy and __dummy2 fields.
32470         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32471         (_G_ssize_t): Likewise.
32472         (_G_off_t): Likewise.
32473         (_G_pid_t): Likewise.
32474         (_G_uid_t): Likewise.
32475         (_G_wchar_t): Likewise.
32476         (_G_wint_t): Likewise.
32477         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32478         (_G_ssize_t): Likewise.
32479         (_G_off_t): Likewise.
32480         (_G_pid_t): Likewise.
32481         (_G_uid_t): Likewise.
32482         (_G_wchar_t): Likewise.
32483         (_G_wint_t): Likewise.
32484         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32485         (_G_ssize_t): Likewise.
32486         (_G_off_t): Likewise.
32487         (_G_pid_t): Likewise.
32488         (_G_uid_t): Likewise.
32489         (_G_wchar_t): Likewise.
32490         (_G_wint_t): Likewise.
32492 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32494         * malloc/arena.c: Include malloc-sysdep.h.
32495         (shrink_heap): Use check_may_shrink_heap to decide if madvise
32496         is sufficient to shrink the heap or an unmap is needed.
32497         * sysdeps/generic/malloc-sysdep.h: New file.  Define
32498         new function check_may_shrink_heap.
32499         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
32500         new function check_may_shrink_heap.
32502 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32504         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32505         comments.
32507 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
32509         * catgets/test-gencat.sh: Add "set -e".
32510         * elf/tst-pathopt.sh: Likewise.
32511         * grp/tst_fgetgrent.sh: Likewise.
32512         * iconvdata/run-iconv-test.sh: Likewise.
32513         * intl/tst-gettext.sh: Likewise.
32514         * intl/tst-gettext2.sh: Likewise.
32515         * intl/tst-gettext4.sh: Likewise.
32516         * intl/tst-gettext6.sh: Likewise.
32517         * intl/tst-translit.sh: Likewise.
32518         * io/ftwtest-sh: Likewise.
32519         * libio/test-freopen.sh: Likewise.
32520         * malloc/tst-mtrace.sh: Likewise.
32521         * posix/globtest.sh: Likewise.
32522         * posix/tst-getconf.sh: Likewise.
32523         * posix/wordexp-tst.sh: Likewise.
32524         * stdio-common/tst-printf.sh: Likewise.
32525         * stdio-common/tst-unbputc.sh: Likewise.
32526         * stdlib/tst-fmtmsg.sh: Likewise.
32527         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32528         * catgets/Makefile: Do not specify -e option when running
32529         testsuite shell scripts.
32530         * elf/Makefile: Likewise.
32531         * grp/Makefile: Likewise.
32532         * iconvdata/Makefile: Likewise.
32533         * intl/Makefile: Likewise.
32534         * io/Makefile: Likewise.
32535         * libio/Makefile: Likewise.
32536         * malloc/Makefile: Likewise.
32537         * posix/Makefile: Likewise.
32538         * stdio-common/Makefile: Likewise.
32539         * stdlib/Makefile: Likewise.
32540         * sysdeps/x86_64/Makefile: Likewise.
32542         * io/ftwtest-sh: Add copyright header.
32543         * posix/globtest.sh: Likewise.
32544         * posix/tst-getconf.sh: Likewise.
32545         * posix/wordexp-tst.sh: Likewise.
32546         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32548 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
32550         [BZ #13679]
32551         * Makeconfig (+link): Defined as $(+link-static) if
32552         $(build-shared) isn't yes.
32553         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32554         isn't yes.
32555         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32557         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32559         [BZ #14562]
32560         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32561         new chunk size with MALLOC_ALIGN_MASK.
32563 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
32565         [BZ #5044]
32566         * stdio-common/printf_fphex.c: Include <stdbool.h> and
32567         <rounding-mode.h>.
32568         (__printf_fphex): Determine rounding using get_rounding_mode and
32569         round_away.
32570         * stdio-common/tst-printf-round.c (struct hex_test): New
32571         structure.
32572         (hex_tests): New variable.
32573         (test_hex_in_one_mode): New function.
32574         (do_test): Also run tests for hex float output.
32576 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
32578         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32579         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32580         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32581         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32582         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32583         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32584         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32585         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32587 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
32589         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32590         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32591         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32592         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32594 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
32596         [BZ #14579]
32597         * elf/rtld.c (dl_main): Limit the check for self loading to normal
32598         mode only.
32599         * elf/tst-rtld-load-self.sh: New test.
32600         * elf/Makefile: Run it.
32602 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
32604         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32605         (tst-writev-ENV): Remove.
32606         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32608 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
32610         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32612 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
32614         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32615         unconditional.
32616         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32617         Likewise.
32618         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32619         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32620         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32621         Likewise.
32623 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
32625         [BZ #14587]
32626         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32627         * config.make.in (have-cpp-asm-debuginfo): Removed.
32628         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32629         * configure: Regenerated.
32631 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
32633         [BZ #5044]
32634         * stdio-common/printf_fp.c: Include <stdbool.h> and
32635         <rounding-mode.h>.
32636         (___printf_fp): Determine rounding using get_rounding_mode and
32637         round_away.
32638         * stdio-common/tst-printf-round.c: New file.
32639         * stdio-common/Makefile (tests): Add tst-printf-round.
32640         (link-libm): New variable.
32641         ($(objpfx)tst-printf-round): Depend in $(link-libm).
32643 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
32645         [BZ #14576]
32646         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32647         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32648         Likewise.
32649         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32650         Likewise.
32652 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
32654         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32655         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32656         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32657         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32659 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
32661         [BZ #14518]
32662         * include/rounding-mode.h: New file.
32663         * sysdeps/generic/get-rounding-mode.h: Likewise.
32664         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32665         * stdlib/strtod_l.c: Include <rounding-mode.h>.
32666         (MAX_VALUE): New macro.
32667         (MIN_VALUE): Likewise.
32668         (overflow_value): New function.
32669         (underflow_value): Likewise.
32670         (round_and_return): Use overflow_value and underflow_value to
32671         determine return values in overflow and underflow cases.  Use
32672         round_away to determine rounding depending on rounding mode.
32673         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32674         determine return values in overflow and underflow cases.
32675         * stdlib/tst-strtod-round.c: Include <fenv.h>.
32676         (struct test_results): New structure.
32677         (struct test): Use struct test_results to store expected results
32678         for all rounding modes.
32679         (TEST): Include expected results for all rounding modes.
32680         (test_in_one_mode): New function.
32681         (do_test): Use test_in_one_mode to compute and check results.
32682         Check results for all rounding modes.
32683         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32684         $(link-libm).
32686 2012-12-09  Allan McRae  <allan@archlinux.org>
32688         * sysdeps/i386/fpu/libm-test-ulps: Update
32690 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
32692         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32693         (_G_int32_t): Likewise.
32694         (_G_uint16_t): Likewise.
32695         (_G_uint32_t): Likewise.
32696         (_G_HAVE_BOOL): Likewise.
32697         (_G_HAVE_ATEXIT): Likewise.
32698         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32699         (_G_HAVE_IO_FILE_OPEN): Likewise.
32700         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32701         (_G_int32_t): Likewise.
32702         (_G_uint16_t): Likewise.
32703         (_G_uint32_t): Likewise.
32704         (_G_HAVE_BOOL): Likewise.
32705         (_G_HAVE_ATEXIT): Likewise.
32706         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32707         (_G_HAVE_IO_FILE_OPEN): Likewise.
32708         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32709         (_G_int32_t): Likewise.
32710         (_G_uint16_t): Likewise.
32711         (_G_uint32_t): Likewise.
32712         (_G_HAVE_BOOL): Likewise.
32713         (_G_HAVE_ATEXIT): Likewise.
32714         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32715         (_G_HAVE_IO_FILE_OPEN): Likewise.
32717 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
32719         * csu/libc-tls.c: Update copyright years.
32721 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
32723         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32724         [!_G_USING_THUNKS]: Remove conditional code.
32725         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32726         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32728         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32729         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32730         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32731         (_G_VTABLE_LABEL_PREFIX): Likewise.
32732         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32733         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32734         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32735         (_G_VTABLE_LABEL_PREFIX): Likewise.
32736         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32737         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32738         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32739         (_G_VTABLE_LABEL_PREFIX): Likewise.
32740         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32742 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
32744         * libio/Makefile: Include ../Makeconfig before tests.
32745         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32746         only if $(build-shared) is yes.
32748         * iconv/gconv_db.c: Update copyright years.
32750 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32752         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32753         unwind info if defined PIC. Fix special cases description.
32754         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32756         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32757         DP_HI_MASK entry.
32758         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32760 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
32762         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32764         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32765         is NULL.
32767         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32768         (LDLIBS-tst-chk4): This.
32769         (LDFLAGS-tst-chk5): Renamed to ...
32770         (LDLIBS-tst-chk5): This.
32771         (LDFLAGS-tst-chk6): Renamed to ...
32772         (LDLIBS-tst-chk6): This.
32773         (LDFLAGS-tst-lfschk4): Renamed to ...
32774         (LDLIBS-tst-lfschk4): This.
32775         (LDFLAGS-tst-lfschk5): Renamed to ...
32776         (LDLIBS-tst-lfschk5): This.
32777         (LDFLAGS-tst-lfschk6): Renamed to ...
32778         (LDLIBS-tst-lfschk6): This.
32780         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32781         on $(common-objpfx)soversions.mk.
32783 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
32785         [BZ #10014]
32786         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32787         example host name.
32789 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32791         * malloc/arena.c (arena_get_retry): New function that gets
32792         another arena for the caller to try its request on.
32793         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32794         current arena cannot fulfill the request.
32795         (__libc_memalign): Likewise.
32796         (__libc_memalign): Likewise.
32797         (__libc_pvalloc): Likewise.
32798         (__libc_calloc): Likewise.
32800 2012-09-05  John Tobey  <john.tobey@gmail.com>
32802         [BZ #13542]
32803         * manual/arith.texi (Operations on Complex): Fix description
32804         of carg branch cut.
32806 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32808         [BZ #10014]
32809         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32810         host name.
32812         [BZ #10038]
32813         * manual/memory.texi (Memory): Make order of menu items match
32814         order of sections.
32816 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32818         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32819         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
32820         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32822 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32824         * csu/libc-tls.c (static_dtv): Renamed to ...
32825         (_dl_static_dtv): This.  Make it global.
32826         (_dl_initial_dtv): Removed.
32827         (__libc_setup_tls): Updated.
32828         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32829         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32830         DL_INITIAL_DTV.
32832 2012-09-06  Petr Machata  <pmachata@redhat.com>
32834         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32835         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32836         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32837         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32839 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32841         [BZ #14545]
32842         * csu/libc-tls.c (_dl_initial_dtv): New variable.
32843         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32844         freeing dtv[-1].
32846 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32848         [BZ #14544]
32849         * Makeconfig (link-static-before-libc): Replace $(+prector)
32850         with $(+prectorT).
32851         (link-static-after-libc): Replace $(+postctor) with
32852         $(+postctorT).
32853         (link-bounded): Replace $(+prector)/$(+postctor) with
32854         $(+prectorT)/$(+postctorT).
32855         (+prectorT): New macro.
32856         (+postctorT): Likewise.
32858 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32860         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32861         (round_str): Handle values above the maximum for IBM long double
32862         as inexact.
32863         * stdlib/tst-strtod-round.c (tests): Regenerated.
32865 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32867         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32868         assembler flag.
32869         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32870         zarch_nohighgprs around the zarch optimized routines.
32871         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32872         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32873         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32874         for zarch.
32876 2012-09-05  David S. Miller  <davem@davemloft.net>
32878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32880         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32881         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32882         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32883         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32884         entries.
32886 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32888         * malloc/arena.c: Fold copyright years.
32889         * malloc/mcheck.c, malloc/memusage.c: Likewise.
32891 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32893         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32895 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32897         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
32899 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32901         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32902         change internal state upon failure.
32904 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32906         * malloc/mcheck.c (mcheck_check_all): Fix typo.
32907         * malloc/memusage.c (mmap): Likewise.
32908         (mmap64, mremap): Likewise.  Adjust name in comment.
32910 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32912         * libio/fileops.c: Fix typos in comments.
32913         * libio/oldfileops.c: Likewise.
32914         * libio/wfileops.c: Likewise.
32916 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32918         [BZ #1349]
32919         * malloc/Makefile (tests): Add tst-malloc-usable test case.
32920         (tst-malloc-usable-ENV): Set environment for test case.
32921         * malloc/hooks.c (malloc_check_get_size): New function to get
32922         requested size.
32923         * malloc/malloc.c (musable): Use malloc_check_get_size.
32924         * malloc/tst-malloc-usable.c: New test case.
32926 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32928         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32930 2012-09-05  Allan McRae  <allan@archlinux.org>
32932         [BZ #13966]
32933         * configure.in (CXX_SYSINCLUDES): Use compiler output to
32934         determine header location.
32935         * configure: Regenerated.
32937 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32939         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32940         float format.
32941         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32942         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32943         format.
32944         (test): Regenerate.
32946 2012-09-04  David S. Miller  <davem@davemloft.net>
32948         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32949         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32950         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32952 2012-09-04  Florian Weimer  <fweimer@redhat.com>
32954         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32955         failures.
32957         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32959 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
32961         [BZ #9914]
32962         * libio/iogetdelim.c: Include <limits.h>.
32963         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32964         + len + 1 would overflow.
32966 2012-09-03  Andreas Jaeger  <aj@suse.de>
32968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32969         * sysdeps/i386/fpu/libm-test-ulps: Update.
32971 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32973         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32974         Add s_sinf-sse2, s_conf-sse2.
32976         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32977         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32978         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32979         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32981         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32982         for using routine as __sinf_ia32.
32983         Use macro for function declaration and weak_alias.
32984         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32985         for using routine as __cosf_ia32.
32986         Use macro for function declaration and weak_alias.
32988         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32989         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32991         * sysdeps/x86_64/fpu/s_sinf.S: New file.
32992         * sysdeps/x86_64/fpu/s_cosf.S: New file.
32993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32995         * math/libm-test.inc (cos_test): Add more test cases.
32996         (sin_test): Likewise.
32997         (sincos_test): Likewise.
32999 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33001         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33002         (IFUNC_RESOLVE): Make pointers to the specialized implementations
33003         hidden.
33004         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33006 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
33008         [BZ #14538]
33009         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33010         first element of the GOT.
33011         (elf_machine_load_address): Return the difference between
33012         the runtime address of _DYNAMIC and elf_machine_dynamic ().
33014 2012-09-01  Allan McRae  <allan@archlinux.org>
33016         [BZ #13412]
33017         * configure.in (AWK): Require gawk version 3.0 or later.
33018         * configure: Regenerated.
33020 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
33022         * sysdeps/unix/sysv/linux/kernel-features.h
33023         (__ASSUME_POSIX_CPU_TIMERS): Remove.
33024         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33025         [__NR_clock_getres]: Make code unconditional.
33026         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33027         (clock_getcpuclockid): Remove code left unreachable by removal of
33028         conditionals.
33029         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33030         code unconditional.
33031         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33032         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33033         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33034         Make code unconditional.
33035         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33036         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33037         * sysdeps/unix/sysv/linux/clock_settime.c
33038         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33039         conditional code.
33040         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33041         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33043 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
33045         [BZ #14476]
33046         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33047         scripts/test-installation.pl.
33049         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33050         and $ld_so_version if it is set.
33052 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33054         [BZ #14516]
33055         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33056         failure if reading from procfs failed.
33057         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33059 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33061         * sysdeps/unix/sysv/linux/kernel-features.h
33062         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33063         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33064         Remove conditional code.
33065         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33066         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33067         Remove conditional code.
33068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33069         * sysdeps/unix/sysv/linux/i386/fxstat.c
33070         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33071         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33072         * sysdeps/unix/sysv/linux/i386/fxstatat.c
33073         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33074         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33075         * sysdeps/unix/sysv/linux/i386/lxstat.c
33076         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33078         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33079         Remove conditional code.
33080         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33081         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33082         Remove conditional code.
33083         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33084         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33085         <kernel-features.h>.
33086         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33087         Remove.
33088         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33089         Remove conditional code.
33090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33091         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33092         Remove conditional.
33094 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
33096         [BZ #5400]
33097         * NEWS: Add fixed bug number.
33099 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
33101         [BZ #14519]
33102         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33103         underflowing exponent in case of negative sign.
33104         * stdlib/tst-strtod-round-data: Add more tests.
33105         * stdlib/tst-strtod-round.c (tests): Regenerated.
33107         [BZ #3479]
33108         * stdlib/strtod_l.c (NDIG): Remove.
33109         (HEXNDIG): Likewise.
33110         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33111         smallest representable value.
33112         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33113         lie within an exact representation of 1/2 ulp of the result.
33114         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33115         unconditionally.
33116         (TENS_P9_IDX): Define unconditionally.
33117         (TENS_P9_SIZE): Likewise.
33118         (TENS_P10_IDX): Likewise.
33119         (TENS_P10_SIZE): Likewise.
33120         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33121         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33122         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33123         entries for 10^2^13 and 10^2^14.
33124         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33125         (TENS_P13_IDX): Define.
33126         (TENS_P13_SIZE): Likewise.
33127         (TENS_P14_IDX): Likewise.
33128         (TENS_P14_SIZE): Likewise.
33129         (_fpioconst_pow10): Change array size to
33130         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33131         unconditional.
33132         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33133         1024]: Add entries for 10^2^13 and 10^2^14.
33134         [LAST_POW10 > _LAST_POW10]: Remove #error.
33135         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33136         (_fpioconst_pow10): Change array size to
33137         FPIOCONST_POW10_ARRAY_SIZE.
33138         * stdlib/gen-fpioconst.c: New file.
33139         * stdlib/gen-tst-strtod-round.c: Likewise.
33140         * stdlib/tst-strtod-round-data: Likewise.
33141         * stdlib/tst-strtod-round.c: Likewise.
33142         * stdlib/Makefile (tests): Add tst-strtod-round.
33144         [BZ #14459]
33145         * stdlib/strtod_l.c: Include <stdint.h>.
33146         (NDEBUG): Do not define.
33147         (round_and_return): Change EXPONENT parameter to type intmax_t.
33148         Rearrange calculations to avoid internal overflow possibilities.
33149         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33150         Rearrange calculations to avoid internal overflow possibilities.
33151         Assert that number fits inside MPNSIZE limbs.
33152         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33153         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33154         calculations and add assertions to avoid internal overflow
33155         possibilities.  Add casts to avoid signed/unsigned operations.
33156         * stdlib/tst-strtod-overflow.c: New file.
33157         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33159 2012-08-25  Marek Polacek  <polacek@redhat.com>
33161         * time/time.h: Fix some typos in comments.
33163 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33165         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33166         * posix/tst-rfc3484-2.c: Likewise.
33167         * posix/tst-rfc3484-3.c: Likewise.
33169 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33171         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33172         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33174 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33176         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33177         #include of fxstatat64.c.
33179 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33181         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33182         * shadow/getspent_r.c: Likewise.
33183         * shadow/getspnam.c: Likewise.
33184         * shadow/getspnam_r.c: Likewise.
33185         * gshadow/getsgent.c: Likewise.
33186         * gshadow/getsgent_r.c: Likewise.
33187         * gshadow/getsgnam.c: Likewise.
33188         * gshadow/getsgnam_r.c: Likewise.
33189         * inet/getnetbyad.c: Likewise.
33190         * inet/getnetbyad_r.c: Likewise.
33191         * inet/getnetbynm.c: Likewise.
33192         * inet/getnetbynm_r.c: Likewise.
33193         * inet/getnetent.c: Likewise.
33194         * inet/getnetent_r.c: Likewise.
33195         * inet/getproto.c: Likewise.
33196         * inet/getproto_r.c: Likewise.
33197         * inet/getprtent.c: Likewise.
33198         * inet/getprtent_r.c: Likewise.
33199         * inet/getprtname.c: Likewise.
33200         * inet/getprtname_r.c: Likewise.
33201         * inet/getrpcbyname.c: Likewise.
33202         * inet/getrpcbyname_r.c: Likewise.
33203         * inet/getrpcbynumber.c: Likewise.
33204         * inet/getrpcbynumber_r.c: Likewise.
33205         * inet/getrpcent.c: Likewise.
33206         * inet/getrpcent_r.c: Likewise.
33207         * inet/getaliasent.c: Likewise.
33208         * inet/getaliasent_r.c: Likewise.
33209         * inet/getaliasname.c: Likewise.
33210         * inet/getaliasname_r.c: Likewise.
33211         * nscd/getgrgid_r.c: Likewise.
33212         * nscd/getgrnam_r.c: Likewise.
33213         * nscd/gethstbyad_r.c: Likewise.
33214         * nscd/gethstbynm3_r.c: Likewise.
33215         * nscd/getpwnam_r.c: Likewise.
33216         * nscd/getpwuid_r.c: Likewise.
33217         * nscd/getsrvbynm_r.c: Likewise.
33218         * nscd/getsrvbypt_r.c: Likewise.
33219         * nscd/gai.c: Likewise.
33221         * configure.in (build_nscd): New substituted variable, set
33222         by --disable-build-nscd and defaults to $use_nscd.
33223         * configure: Regenerated.
33224         * config.make.in (build-nscd): New substituted variable.
33225         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33226         Change conditional to require [$(build-nscd) = yes] as well.
33227         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33229         [BZ# 13696]
33230         * configure.in (use_nscd): New substituted variable, set by
33231         --disable-nscd.  If enabled, define USE_NSCD.
33232         * configure: Regenerated.
33233         * config.h.in: Add USE_NSCD.
33234         * config.make.in (use-nscd): New substituted variable.
33235         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33236         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33237         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33238         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33239         (CFLAGS-getgrnam_r.c): Likewise.
33240         (CFLAGS-initgroups.c): Likewise.
33241         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33242         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33243         Variables removed.
33244         * inet/getnetgrent_r.c
33245         (nscd_setnetgrent): New function, broken out of ...
33246         (setnetgrent): ... here.  Call it.
33247         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33248         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33249         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33250         * nscd/Makefile (routines, aux): Move definitions after include of
33251         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33252         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33253         Conditionalize on [USE_NSCD].
33254         (is_nscd, nscd_init_cb): Likewise.
33255         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33256         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33257         * nss/nss_db/db-init.c: Likewise.
33258         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33259         [USE_NSCD].
33260         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33261         (make_request): Use it.
33262         (cache_valid_p): New function.
33263         (__check_pf): Use it.
33264         * NEWS: Add item for --disable-nscd.
33266 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33268         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33269         to support sed >= 4.2.1-20-ga9bf076.
33270         * configure: Regenerated.
33272 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33274         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33275         Conditionalize whole body on [IREL].
33277 2012-08-22  Jeff Law <law@redhat.com>
33279         [BZ #14505]
33280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33281         if the family is PF_UNSPEC.
33283 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33285         * Makerules (lib-version): Rename from V.
33286         (install-lib-nosubdir): Change V to lib-version.
33288 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33290         [BZ #14252]
33291         * powerpc32/power6/wcschr.c: New file.
33292         * powerpc32/power6/wcscpy.c: New file.
33293         * powerpc32/power6/wcsrchr.c: New file.
33294         * powerpc64/power6/wcschr.c: New file.
33295         * powerpc64/power6/wcscpy.c: New file.
33296         * powerpc64/power6/wcsrchr.c: New file.
33298 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33300         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33301         (two_way_short_needle): Use it.
33302         * string/strstr.c (AVAILABLE1_USES_J): Define.
33303         * string/strcasestr.c: Likewise.
33305         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33306         array references.
33307         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33309         [BZ #11607]
33310         * NEWS: Add an entry.
33311         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33312         define their defaults.
33313         (two_way_short_needle): Detect end-of-string on-the-fly.
33314         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33315         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33316         * string/bug-strcasestr1.c: New test.
33317         * string/Makefile: Run it.
33319 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33321         [BZ #11607]
33322         * string/str-two-way.h (two_way_short_needle): Optimize matching of
33323         the first character.
33325 2012-08-21  Roland McGrath  <roland@hack.frob.com>
33327         * csu/elf-init.c (__libc_csu_irel): Function removed.
33328         * csu/libc-start.c (apply_irel): New function.
33329         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33331 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
33333         * sysdeps/unix/sysv/linux/kernel-features.h
33334         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33335         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33336         <kernel-features.h>.
33337         [__NR_fadvise64_64]: Make code unconditional.
33338         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33339         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33340         !__NR_fadvise64_64)]: Likewise.
33341         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33342         !__NR_fadvise64_64))]: Likewise.
33343         [__NR_fadvise64]: Make code unconditional.
33344         [!__NR_fadvise64]: Remove conditional code.
33345         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33346         <kernel-features.h>.
33347         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33348         unconditional.
33349         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33350         conditional code.
33351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33352         not include <kernel-features.h>.
33353         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33354         unconditional.
33355         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33356         conditional code.
33357         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33358         include <kernel-features.h>.
33359         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33360         unconditional.
33361         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33362         conditional code.
33364 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33366         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33367         slight instruction rearrangements per scrollpipe analysis.
33368         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33370 2012-08-20  Roland McGrath  <roland@hack.frob.com>
33372         * manual/syslog.texi (syslog; vsyslog, closelog):
33373         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33374         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33376         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33377         DSOCAPS to match condition on defining it.
33379 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
33381         * sysdeps/unix/sysv/linux/kernel-features.h
33382         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33384         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33385         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33387         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33388         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33390         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33391         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33393         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33394         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33396         * sysdeps/unix/sysv/linux/kernel-features.h
33397         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33398         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33399         unconditional.
33400         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33401         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33402         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33403         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33404         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33405         Make code unconditional.
33406         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33407         (__mmap64) [!__NR_mmap2]: Likewise.
33408         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33409         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33410         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33411         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33412         [__NR_mmap2]: Make code unconditional.
33413         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33414         (__mmap64) [!__NR_mmap2]: Likewise.
33416 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33418         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33420 2012-08-18  Andreas Jaeger  <aj@suse.de>
33422         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33424 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33426         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33427         * include/unistd.h (__have_sock_cloexec): Likewise.
33428         (__have_pipe2): Likewise.
33429         (__have_dup3): Likewise.
33431 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33433         [BZ #9685]
33434         * include/unistd.h (__have_pipe2): Change define into an extern int.
33435         (__have_dup3): Likewise.
33436         * socket/have_sock_cloexec.c: Include fcntl.h.
33437         (__have_pipe2): New variable.
33438         (__have_dup3): Likewise.
33440 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
33442         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33444 2012-08-17  Marek Polacek  <polacek@redhat.com>
33446         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33447         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33449 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33451         * configure.in: Add AC_SUBST for sysheaders.
33452         * configure: Regenerated.
33453         * config.make.in (sysheaders): New substituted variable.
33455         * sysdeps/unix/mkfifo.c: Moved ...
33456         * sysdeps/posix/mkfifo.c: ... here.
33457         * sysdeps/unix/mkfifoat.c: Moved ...
33458         * sysdeps/posix/mkfifoat.c: ... here.
33460         * sysdeps/unix/utime.c: Moved ...
33461         * sysdeps/posix/utime.c: ... here.
33463         * sysdeps/unix/time.c: Moved ...
33464         * sysdeps/posix/time.c: ... here.
33465         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33466         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33468         * sysdeps/unix/nice.c: Moved ...
33469         * sysdeps/posix/nice.c: ... here.
33471         * sysdeps/unix/alarm.c: Moved ...
33472         * sysdeps/posix/alarm.c: ... here.
33474         * intl/Makefile ($(codeset_mo)): Depend on the input file.
33476 2012-08-17  Jeff Law <law@redhat.com>
33478         * intl/Makefile (codeset_mo): New variable.
33479         ($(codeset_mo)): New target.
33480         (tst-codeset.out): Depend on that.  Remove explicit rule.
33481         (tst-gettext3.out, tst-gettext5.out): Likewise.
33482         (LOCPATH-ENV, tst-codeset-ENV): New variables.
33483         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33484         * intl/tst-codeset.sh: Remove.
33485         * intl/tst-gettext3.sh: Likewise.
33486         * intl/tst-gettext5.sh: Likewise.
33488 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33490         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
33491         * sysdeps/unix/syscalls.list: ... here.
33493         * sysdeps/posix/getaddrinfo.c
33494         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33495         (gaiconf_init, gaiconf_reload): Use them.
33496         [!_STATBUF_ST_NSEC]
33497         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33498         Define using time_t rather than struct timespec.
33500         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33501         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33502         Macros removed.
33503         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33504         [!NO_THREADS].
33505         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33506         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33507         Likewise.
33509         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33510         __libc_cleanup_push argument.
33512         * bits/param.h: New file.
33513         * misc/sys/param.h: New file.
33514         * include/sys/param.h: New file.
33515         * misc/Makefile (headers): Add bits/param.h.
33516         * sysdeps/generic/sys/param.h: File removed.
33517         * sysdeps/unix/sysv/linux/bits/param.h: New file.
33518         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33519         * sysdeps/mach/hurd/bits/param.h: New file.
33520         * sysdeps/mach/hurd/sys/param.h: File removed.
33522         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33523         last change.
33525         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33526         [_IO_MTSAFE_IO].
33527         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33528         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33529         New macros.
33531         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33532         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33533         rather than -D_IO_MTSAFE_IO conditionally.
33534         * stdio-common/Makefile (CPPFLAGS): Likewise.
33535         * wcsmbs/Makefile (CPPFLAGS): Likewise.
33536         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33537         Use $(libio-mtsafe).
33538         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33539         of -D_IO_MTSAFE_IO.
33540         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33541         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33542         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33543         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33544         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33545         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33546         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33547         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33548         (CFLAGS-fread_u_chk.c): Likewise.
33549         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33550         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33551         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33552         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33553         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33554         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33555         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33556         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33557         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33559         * libio/Makefile: Test [$(libc-reentrant) = yes]
33560         instead of [$(filter %REENTRANT, $(defines)) nonempty].
33562         * Makeconfig
33563         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33564         * sysdeps/pthread/configure: File removed.
33565         * sysdeps/pthread/Makeconfig: New file.
33566         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33567         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33569 2012-08-16  Gary Benson  <gbenson@redhat.com>
33571         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33572         unmapping the first object in a namespace.
33574 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33576         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33577         (__internal_setnetgrent): ... this.  Add internal_function to
33578         definition.  Add libc_hidden_def.
33579         (setnetgrent): Update caller.
33580         (internal_endnetgrent): Renamed to ...
33581         (__internal_endnetgrent): ... this.  Add internal_function to
33582         definition.  Add libc_hidden_def.
33583         (endnetgrent): Update caller.
33584         (internal_getnetgrent_r): Renamed to ...
33585         (__internal_getnetgrent_r): ... this.  Add internal_function to
33586         definition.  Add libc_hidden_def.
33587         (__getnetgrent_r): Update caller.
33588         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
33590 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33592         * stdlib/longlong.h: Update from GCC.
33594 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33596         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33597         on _QL, which is set by umul_ppmm but never used.
33598         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33599         variables, which are set by GMP macros but never used.
33600         * stdio-common/_itowa.c (_itowa): Likewise.
33601         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33602         * stdlib/mod_1.c (mpn_mod_1): Likewise.
33604 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
33606         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33607         struct La_sh_regs is not constant.
33608         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33609         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33610         and struct La_sparc64_regs are not constant.
33612 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33614         * sysdeps/unix/sysv/linux/kernel-features.h
33615         (__ASSUME_POSIX_TIMERS): Remove.
33616         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33617         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33618         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33619         Make code unconditional.
33620         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33621         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33622         Make code unconditional.
33623         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33624         * sysdeps/unix/sysv/linux/clock_nanosleep.c
33625         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33626         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33627         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33628         Make code unconditional.
33629         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33630         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33631         (__libc_missing_posix_timers): Remove.
33633 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33635         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33636         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33638         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33640         * elf/dl-sym.c: Include <stdlib.h>.
33642         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33643         constants, which avoids warnings in 32-bit builds.
33645         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33646         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33648         * misc/lseek.c: File moved to ...
33649         * io/lseek.c: ... here.
33651         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33653         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33654         shifting LEN more than 31 bits at once.
33656 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33658         [BZ #14195]
33659         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33660         segmentation fault for a case of two empty input strings.
33661         * string/test-strncasecmp.c (check1): Renamed to...
33662         (bz12205): ...this.
33663         (bz14195): Add new testcase for two empty input strings and N > 0.
33664         (test_main): Call new testcase, adapt for renamed function.
33666 2012-08-15  Andreas Jaeger  <aj@suse.de>
33668         [BZ #14090]
33669         * crypt/md5test2.c: New test, based on test supplied by Serge
33670         Belyshev <belyshev@depni.sinp.msu.ru>.
33671         * crypt/Makefile (xtests): Add md5test-giant..
33672         * crypt/Makefile ($(objpfx)md5test-giant): Add.
33674 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
33676         [BZ #14090]
33677         * crypt/md5.c (md5_process_block): Don't assume the buffer
33678         length is less than 2**32.
33679         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33680         length is less than 2**64.
33682 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33684         * string/str-two-way.h: Include <sys/param.h>.
33685         (MAX): Macro removed.
33687         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33688         Move #define and #undef of memmove to just before and after
33689         including <string.h>.
33691         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33692         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33693         and after including <string.h>.  Move declarations of
33694         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33695         to before #include "string/memmove.c".
33697         * include/dirent.h: Declare __getdirentries.
33699         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33700         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33702 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
33704         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33705         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33706         * sysdeps/i386/configure: Regenerated.
33707         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33708         STABS_CURRENT_FILE, and STABS_FUN.
33709         (END): Remove call to STABS_FUN_END.
33710         (STABS_CURRENT_FILE1): Delete.
33711         (STABS_CURRENT_FILE): Likewise.
33712         (STABS_FUN): Likewise.
33713         (STABS_FUN_END): Likewise.
33714         (STABS_FUN2): Likewise.
33715         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33716         * sysdeps/x86_64/configure: Regenerated.
33718 2012-08-14  Roland McGrath  <roland@hack.frob.com>
33720         * elf/dl-open.c: Include <atomic.h>.
33721         * elf/dl-lookup.c: Likewise.
33723 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
33725         * sysdeps/unix/sysv/linux/kernel-features.h
33726         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33727         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33728         unconditionally.
33729         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33730         unconditionally.
33731         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33732         condition on __ASSUME_CLONE_THREAD_FLAGS.
33734 2012-08-14  Andreas Jaeger  <aj@suse.de>
33736         * sysdeps/i386/fpu/libm-test-ulps: Update.
33738 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
33740         * include/atomic.h (atomic_exchange_and_add): Split into ...
33741         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33742         New atomic macros.
33744 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
33746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33748 2012-08-13  Jeff Law <law@redhat.com>
33750         * manual/stdio.texi (snprintf): Clarify handling of the trailing
33751         null byte in the output string.
33753 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
33755         * sysdeps/unix/sysv/linux/kernel-features.h
33756         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33757         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33758         (__ASSUME_ARG_MAX_STACK_BASED): Define.
33759         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33760         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33761         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
33762         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33764 2012-08-09  Jeff Law <law@redhat.com>
33766         [BZ #13939]
33767         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33768         When avoid_arena is set, don't retry in the that arena.  Pick the
33769         next one, whatever it might be.
33770         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33771         (arena_lock): Pass in new parameter to arena_get2.
33772         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33773         arena_get2.
33774         (__libc_malloc): Unify retrying after main arena failure with
33775         __libc_memalign version.
33776         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33778 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33780         [BZ #14166]
33781         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33782         to __redirect_strstr.
33783         (__strstr_sse42): Use typeof __redirect_strstr.
33784         (__strstr_ia32): Likewise.
33785         (__libc_strstr): New prototype.
33786         (strstr): Renamed to ...
33787         (__libc_strstr): This.
33788         (strstr): New strong alias of __libc_strstr.
33789         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33790         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33791         __redirect_time.
33792         Include <time.h>.
33793         (__libc_time): New prototype.
33794         (time_ifunc): Replace time with __libc_time.
33795         (time): New strong alias and hidden definition of __libc_time.
33796         (__GI_time): Remove strong alias.
33797         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33798         Include <stddef.h>.
33799         (memmove): Redefined to __redirect_memmove.
33800         (__memmove_sse2): Use typeof __redirect_memmove.
33801         (__memmove_ssse3): Likewise.
33802         (__memmove_ssse3_back): Likewise.
33803         (__libc_memmove): New prototype.
33804         (memmove): Renamed to ...
33805         (__libc_memmove): This.
33806         (memmove): New strong alias of __libc_memmove.
33808 2012-08-08  Mark Salter  <msalter@redhat.com>
33810         * elf/elf.h
33811         (R_MN10300_TLS_GD): Define.
33812         (R_MN10300_TLS_LD): Likewise.
33813         (R_MN10300_TLS_LDO): Likewise.
33814         (R_MN10300_TLS_GOTIE): Likewise.
33815         (R_MN10300_TLS_IE): Likewise.
33816         (R_MN10300_TLS_LE): Likewise.
33817         (R_MN10300_TLS_DTPMOD): Likewise.
33818         (R_MN10300_TLS_DTPOFF): Likewise.
33819         (R_MN10300_TLS_TPOFF): Likewise.
33820         (R_MN10300_SYM_DIFF): Likewise.
33821         (R_MN10300_ALIGN): Likewise.
33822         (R_MN10300_NUM): Update.
33824 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
33826         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33827         Remove.
33829 2012-08-08  Roland McGrath  <roland@hack.frob.com>
33831         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33833         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33834         sysdeps/unix -> sysdeps/posix move.
33835         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33837 2012-08-07      Allan McRae     <allan@archlinux.org>
33839         [BZ #14303]
33840         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33841         (SUNOS_CPP): Likewise.
33842         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33843         not found.
33844         (open_input): Call CPP using execvp.
33846 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33848         * sysdeps/unix/sysv/linux/kernel-features.h
33849         (__ASSUME_PROT_GROWSUPDOWN): Remove.
33850         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33851         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33852         (__ASSUME_WAITID_SYSCALL): Likewise.
33853         * sysdeps/unix/sysv/linux/dl-execstack.c
33854         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33855         code unconditional.
33856         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33857         conditional code.
33858         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33859         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33860         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33861         code.
33862         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33863         unconditional.
33864         [__ASSUME_WAITID_SYSCALL]: Likewise.
33865         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33867 2012-08-07  Roland McGrath  <roland@hack.frob.com>
33869         * sysdeps/unix/closedir.c: Renamed to ...
33870         * sysdeps/posix/closedir.c: ... here.
33871         * sysdeps/unix/dirfd.c: Renamed to ...
33872         * sysdeps/posix/dirfd.c: ... here.
33873         * sysdeps/unix/dirstream.h: Renamed to ...
33874         * sysdeps/posix/dirstream.h: ... here.
33875         * sysdeps/unix/fdopendir.c: Renamed to ...
33876         * sysdeps/posix/fdopendir.c: ... here.
33877         * sysdeps/unix/opendir.c: Renamed to ...
33878         * sysdeps/posix/opendir.c: ... here.
33879         * sysdeps/unix/readdir.c: Renamed to ...
33880         * sysdeps/posix/readdir.c: ... here.
33881         * sysdeps/unix/readdir_r.c: Renamed to ...
33882         * sysdeps/posix/readdir_r.c: ... here.
33883         * sysdeps/unix/rewinddir.c: Renamed to ...
33884         * sysdeps/posix/rewinddir.c: ... here.
33885         * sysdeps/unix/seekdir.c: Renamed to ...
33886         * sysdeps/posix/seekdir.c: ... here.
33887         * sysdeps/unix/telldir.c: Renamed to ...
33888         * sysdeps/posix/telldir.c: ... here.
33889         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33890         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33891         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33892         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33894         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33895         * bits/fcntl.h: ... here.
33897         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33898         not 0.
33899         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33900         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33901         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33902         (struct flock): Move l_start, l_len to the beginning.
33903         Use __pid_t for l_pid.
33904         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33905         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33906         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33907         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33908         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33909         [__USE_LARGEFILE64] (struct flock64): New type.
33910         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33912         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33913         * bits/dirent.h: ... here.
33915         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33916         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33918 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33920         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33921         Change from 2.6.0 to 2.6.16.
33922         * sysdeps/unix/sysv/linux/configure: Regenerated.
33923         * sysdeps/unix/sysv/linux/kernel-features.h
33924         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33925         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33926         version.
33927         (__ASSUME_UTIMES): Likewise.
33928         (__ASSUME_CLONE_STOPPED): Remove.
33929         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33930         architectures, not kernel version.
33931         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33932         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33933         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33934         (__ASSUME_WAITID_SYSCALL): Likewise.
33935         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33936         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33937         * README: State 2.6.16 as minimum Linux kernel version.  Do not
33938         refer to older versions.
33940 2012-08-06  Roland McGrath  <roland@hack.frob.com>
33942         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33943         Define alphasort64 as an alias.
33944         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33945         Define versionsort64 as an alias.
33946         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33947         Define scandir64 as an alias.
33948         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33949         Define scandirat64 as an alias.
33950         * dirent/alphasort64.c (alphasort64):
33951         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33952         * dirent/versionsort64.c: Likewise.
33953         * dirent/scandir64.c: Likewise.
33954         * dirent/scandirat64.c: Likewise.
33955         * sysdeps/wordsize-64/alphasort.c: File removed.
33956         * sysdeps/wordsize-64/alphasort64.c: File removed.
33957         * sysdeps/wordsize-64/scandir.c: File removed.
33958         * sysdeps/wordsize-64/scandir64.c: File removed.
33959         * sysdeps/wordsize-64/scandirat.c: File removed.
33960         * sysdeps/wordsize-64/scandirat64.c: File removed.
33961         * sysdeps/wordsize-64/versionsort.c: File removed.
33962         * sysdeps/wordsize-64/versionsort64.c: File removed.
33963         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33964         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33965         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33966         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33967         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33968         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33969         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33970         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33972         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33973         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33974         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33975         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33976         [defined __arch64__ || defined __sparcv9]
33977         (__INO_T_MATCHES_INO64_T): New macro.
33978         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33979         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33980         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33981         * sysdeps/unix/sysv/linux/bits/dirent.h
33982         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33983         (_DIRENT_MATCHES_DIRENT64): New macro.
33985         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33986         Define lockf64 as an alias.
33987         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33988         Define fseeko64 as an alias.
33989         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33990         Define ftello64 as an alias.
33991         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33992         Define _IO_fgetpos64 and fgetpos64 as aliases.
33993         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33994         Define _IO_fsetpos64 and fsetpos64 as aliases.
33995         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33996         Conditionalize body on this.
33997         * libio/fseeko64.c: Likewise.
33998         * libio/ftello64.c: Likewise.
33999         * libio/iofgetpos64.c: Likewise.
34000         * libio/iofsetpos64.c: Likewise.
34001         * sysdeps/wordsize-64/lockf.c: File removed.
34002         * sysdeps/wordsize-64/lockf64.c: File removed.
34003         * sysdeps/wordsize-64/fseeko.c: File removed.
34004         * sysdeps/wordsize-64/fseeko64.c: File removed.
34005         * sysdeps/wordsize-64/ftello.c: File removed.
34006         * sysdeps/wordsize-64/ftello64.c: File removed.
34007         * sysdeps/wordsize-64/iofgetpos.c: File removed.
34008         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34009         * sysdeps/wordsize-64/iofsetpos.c: File removed.
34010         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34011         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34012         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34013         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34014         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34015         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34016         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34017         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34018         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34019         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34020         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34022         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34023         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34024         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34025         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34026         [defined __arch64__ || defined __sparcv9]
34027         (__OFF_T_MATCHES_OFF64_T): New macro.
34028         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34029         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34030         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34031         (__OFF_T_MATCHES_OFF64_T): New macro.
34033 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34035         * stdlib/secure-getenv.c (__secure_getenv): Replace
34036         GLIBC_2_16 with GLIBC_2_17.
34038 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
34040         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34041         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34043 2012-08-03  David S. Miller  <davem@davemloft.net>
34045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34047 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34049         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34050         Remove.
34051         (__ASSUME_CORRECT_SI_PID): Likewise.
34052         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34053         (__ASSUME_TMPFS_NAME): Likewise.
34054         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34055         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34056         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34057         (HAVE_AUX_SECURE): Make definition unconditional.
34058         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34059         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34061 2012-08-03  Roland McGrath  <roland@hack.frob.com>
34063         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34064         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34065         * sysdeps/mach/hurd/eloop-threshold.h: New file.
34066         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34067         __eloop_threshold instead of SYMLOOP_MAX.
34069         * sysdeps/generic/eloop-threshold.h: New file.
34070         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34071         of MAXSYMLINKS.
34072         * elf/chroot_canon.c (chroot_canon): Likewise.
34074 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
34076         [BZ #13717]
34077         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34078         Change to 2.6.0 everywhere.
34079         * sysdeps/unix/sysv/linux/configure: Regenerated.
34080         * sysdeps/unix/sysv/linux/kernel-features.h
34081         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34082         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34083         kernel versions.
34084         (__ASSUME_POSIX_TIMERS): Define unconditionally.
34085         (__ASSUME_FUTEX_REQUEUE): Remove.
34086         (__ASSUME_STATFS64): Define unconditionally.
34087         (__ASSUME_AT_SECURE): Likewise.
34088         (__ASSUME_CORRECT_SI_PID): Likewise.
34089         (__ASSUME_TGKILL): Define without depending on kernel version for
34090         i386.
34091         (__ASSUME_UTIMES): Likewise.
34092         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34093         kernel version.
34094         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34095         (__ASSUME_TMPFS_NAME): Likewise.
34096         * README: Update reference to Linux kernel versions.
34098 2012-08-02  Marek Polacek  <polacek@redhat.com>
34100         [BZ# 14150]
34101         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
34102         libc_cv_asm_type_prefix with %.
34103         * configure: Regenerated.
34104         * include/libc-symbols.h: Remove comment about
34105         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34106         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34107         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34108         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34109         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34110         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34111         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34112         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34113         * elf/tst-unique2mod1.c: Likewise.
34114         * elf/tst-unique1mod2.c: Likewise.
34115         * elf/tst-unique1mod1.c: Likewise.
34116         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34117         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34118         Replace ASM_TYPE_DIRECTIVE with .type.
34119         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34120         * sysdeps/i386/sysdep.h: Likewise.
34121         * sysdeps/x86_64/sysdep.h: Likewise.
34122         * sysdeps/sh/sysdep.h: Likewise.
34123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34124         Do not define ASM_TYPE_DIRECTIVE.
34125         * sysdeps/powerpc/sysdep.h: Likewise.
34126         * sysdeps/powerpc/powerpc32/sysdep.h:
34127         Replace ASM_TYPE_DIRECTIVE with .type.
34128         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34129         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34130         * sysdeps/i386/fpu/e_powf.S: Likewise.
34131         * sysdeps/i386/fpu/e_expl.S: Likewise.
34132         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34133         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34134         * sysdeps/i386/fpu/e_pow.S: Likewise.
34135         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34136         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34137         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34138         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34139         * sysdeps/i386/fpu/e_log2.S: Likewise.
34140         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34141         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34142         * sysdeps/i386/fpu/e_powl.S: Likewise.
34143         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34144         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34145         * sysdeps/i386/fpu/e_logl.S: Likewise.
34146         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34147         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34148         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34149         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34150         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34151         * sysdeps/i386/fpu/e_log.S: Likewise.
34152         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34153         * sysdeps/i386/fpu/e_logf.S: Likewise.
34154         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34155         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34156         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34157         * sysdeps/i386/fpu/e_log10.S: Likewise.
34158         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34159         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34160         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34161         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34162         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34163         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34164         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34165         * sysdeps/i386/i686/strtok.S: Likewise.
34166         * sysdeps/i386/i386-mcount.S: Likewise.
34167         * sysdeps/i386/strtok.S: Likewise.
34168         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34169         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34170         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34171         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34172         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34173         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34174         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34175         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34176         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34177         * sysdeps/x86_64/_mcount.S: Likewise.
34178         * sysdeps/x86_64/strtok.S: Likewise.
34179         * sysdeps/sh/_mcount.S: Likewise.
34181 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34183         * libio/iofopen.c: Include <fcntl.h>.
34184         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34185         (_IO_fopen64, fopen64): Define as aliases.
34186         * libio/iofopen64.c: Include <fcntl.h>.
34187         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34188         Conditionalize body on this.
34189         * sysdeps/wordsize-64/iofopen.c: File removed.
34190         * sysdeps/wordsize-64/iofopen64.c: File removed.
34192 2012-08-01  Marek Polacek  <polacek@redhat.com>
34194         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34195         Use dlfcn directly instead of a variable.
34196         (binfmt-subdir): Do not define.
34197         (dlfcn): Likewise.
34199 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34202         Remove all definitions.
34203         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34204         <kernel-features.h>.
34205         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34206         (miss_F_GETOWN_EX): Remove all definitions.
34207         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34208         macro definition.
34209         [!__ASSUME_FCNTL64]: Remove conditional code.
34210         [__ASSUME_FCNTL64]: Make code unconditional.
34211         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34212         <kernel-features.h>.
34213         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34214         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34215         (lockf64) [__NR_fcntl64]: Make code unconditional.
34216         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34218         * sysdeps/unix/sysv/linux/kernel-features.h
34219         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34220         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34221         Make code unconditional.
34222         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34223         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34225         [__NR_vfork]: Make code unconditional.
34226         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34227         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34229         [__NR_vfork]: Make code unconditional.
34230         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34231         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34233 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34235         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34236         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34238         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34239         Define mkstemp64 as an alias.
34240         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34241         Define mkstemps64 as an alias.
34242         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34243         Define mkostemp64 as an alias.
34244         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34245         Define mkostemps64 as an alias.
34246         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34247         Conditionalize body on this.
34248         * misc/mkostemp64.c: Likewise.
34249         * misc/mkostemps64.c: Likewise.
34250         * misc/mkstemps64.c: Likewise.
34251         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34252         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34253         * sysdeps/wordsize-64/mkostemp.c: File removed.
34254         * sysdeps/wordsize-64/mkstemp.c: File removed.
34255         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34256         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34257         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34258         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34260         [BZ #14138]
34261         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34262         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34263         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34264         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34266         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34267         compat_symbol macros from <shlib-compat.h> rather than the underlying
34268         default_symbol_version and symbol_version macros, so that DEFAULT
34269         lines in shlib-versions are respected.
34270         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34272 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34274         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34275         Declare with warn_unused_result.
34276         (setgid, setregid, setegid, setresgid): Likewise.
34277         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34278         Likewise.
34279         * WUR-REPORT: Remove set*id functions.
34281 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34283         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34285 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34287         [BZ #10191]
34288         * include/sys/socket.h (__libc_accept, __libc_accept4):
34289         Add attribute_hidden.
34290         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34292         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34293         use of PTR_MANGLE.
34294         * inet/getnetgrent_r.c (setup): Likewise.
34296         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34298 2012-07-31  David S. Miller  <davem@davemloft.net>
34300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34302 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34304         [BZ #13629]
34305         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34306         value between 1.0 and 2.0 and smaller part has absolute value less
34307         than 1.0.
34308         * math/s_clog10.c (__clog10): Likewise.
34309         * math/s_clog10f.c (__clog10f): Likewise.
34310         * math/s_clog10l.c (__clog10l): Likewise.
34311         * math/s_clogf.c (__clogf): Likewise.
34312         * math/s_clogl.c (__clogl): Likewise.
34313         * math/libm-test.inc (clog_test): Add more tests.
34314         (clog10_test): Likewise.
34315         * sysdeps/i386/fpu/libm-test-ulps: Update.
34316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34318 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34320         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34321         Exit with zero in case no suitable GID is found, and write a
34322         message to standard error.
34324 2012-07-30  Roland McGrath  <roland@hack.frob.com>
34326         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34327         rather than to 1.
34328         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34329         (MAXPATHLEN): Removed.
34330         (NOGROUP, NODEV): New macros.
34331         (setbit, clrbit, isset, isclr): New macros.
34332         (howmany, roundup, powerof2): New macros.
34333         (DEV_BSIZE): New macro.
34335         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34336         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34338         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34339         definition on [!__NO_LONG_DOUBLE_MATH].
34341         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34342         PTR_MANGLE and PTR_DEMANGLE.
34344         * socket/accept4.c (accept4): Rename to __libc_accept4.
34345         Define accept4 as a weak alias.
34347         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34348         on [_DIRENT_HAVE_D_TYPE].
34349         * io/ftw.c (ftw_dir): Likewise.
34351         * io/xmknod.c (__xmknod): Don't check PATH for being null.
34353         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34355         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34356         Use the BSD numbers rather than the arbitrary ones we had.
34357         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34358         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34359         (SIGXCPU, SIGXFSZ): New macros.
34360         (_NSIG): Now 32.
34362         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34363         initializer on [_LIBC_REENTRANT].
34365         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34366         definitions inside [_POSIX_MAPPED_FILES].
34368         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34370         * dirent/opendir.c: Include <fcntl.h>.
34372         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34373         (__libc_getspecific): Likewise.
34374         (__libc_key_create): Likewise.
34376         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34377         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34378         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34379         (tmpfile64): Define as alias.
34380         * sysdeps/wordsize-64/tmpfile.c: File removed.
34381         * sysdeps/wordsize-64/tmpfile64.c: File removed.
34382         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34383         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34385         * stdio-common/vfscanf.c: Include <stdbool.h>.
34386         * nss/makedb.c: Likewise.
34387         * stdio-common/_i18n_number.h: Likewise.
34388         * argp/argp-help.c: Likewise.
34389         * posix/wordexp.c: Likewise.
34390         * sysdeps/posix/spawni.c: Likewise.
34391         * nss/nss_files/files-initgroups.c: Likewise.
34392         * stdio-common/reg-modifier.c: Include <stdlib.h>.
34393         * nss/nss_files/files-initgroups.c: Likewise.
34394         * nss/nss_db/db-netgrp.c: Likewise.
34395         * nss/nss_db/db-initgroups.c: Likewise.
34396         * io/fchmodat.c: Include <sys/stat.h>.
34398         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34399         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34401         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34402         [HAVE_MMAP].
34404         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34405         Add multiple inclusion protection.
34407 2012-07-27  David S. Miller  <davem@davemloft.net>
34409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34411 2012-07-27  Gary Benson  <gbenson@redhat.com>
34413         [BZ #14298]
34414         * elf/rtld.c: Include <stap-probe.h>.
34415         (dl_main): Added static probes "init_start" and "init_complete".
34416         * elf/dl-load.c: Include <stap-probe.h>.
34417         (lose): Take new parameter "nsid".
34418         Added static probe "map_failed".
34419         (_dl_map_object_from_fd): Pass namespace id to lose.
34420         Added static probe "map_start".
34421         (open_verify): Pass namespace id to lose.
34422         * elf/dl-open.c: Include <stap-probe.h>.
34423         (dl_open_worker) Added static probes "map_complete", "reloc_start"
34424         and "reloc_complete".
34425         * elf/dl-close.c: Include <stap-probe.h>.
34426         (_dl_close_worker): Added static probes "unmap_start" and
34427         "unmap_complete".
34428         * elf/rtld-debugger-interface.txt: New file documenting the above.
34430 2012-07-26  Roland McGrath  <roland@hack.frob.com>
34432         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34433         rather than a string variable.
34434         * sunrpc/rpc_main.c (h_output): Likewise.
34435         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34437 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
34439         * inet/check_native.c: New file.
34441 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
34443         [BZ #13629]
34444         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34445         if larger part has absolute value 1.0.
34446         * math/s_clog10.c (__clog10): Likewise.
34447         * math/s_clog10f.c (__clog10f): Likewise.
34448         * math/s_clog10l.c (__clog10l): Likewise.
34449         * math/s_clogf.c (__clogf): Likewise.
34450         * math/s_clogl.c (__clogl): Likewise.
34451         * math/libm-test.inc (clog_test): Add more tests.
34452         (clog10_test): Likewise.
34453         * sysdeps/i386/fpu/libm-test-ulps: Update.
34454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34456         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34457         (pltexit): Likewise.
34458         (La_regs): Likewise.
34459         (La_retval): Likewise.
34460         (int_retval): Likewise.
34461         Update #error for removed macros to refer only to definitions in
34462         tst-audit.h.
34463         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.c (pltenter): Remove all definitions of
34476         macro.
34477         (pltexit): Likewise.
34478         (La_regs): Likewise.
34479         (La_retval): Likewise.
34480         (int_retval): Likewise.
34481         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34482         macro.
34483         (pltexit): Likewise.
34484         (La_regs): Likewise.
34485         (La_retval): Likewise.
34486         (int_retval): Likewise.
34487         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34488         macro.
34489         (pltexit): Likewise.
34490         (La_regs): Likewise.
34491         (La_retval): Likewise.
34492         (int_retval): Likewise.
34493         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34494         macro.
34495         (pltexit): Likewise.
34496         (La_regs): Likewise.
34497         (La_retval): Likewise.
34498         (int_retval): Likewise.
34499         * sysdeps/generic/tst-audit.h: Update comment to refer only to
34500         macro definitions in tst-audit.h.
34501         * sysdeps/i386/tst-audit.h: New file.
34502         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34503         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34504         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34505         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34506         * sysdeps/sh/tst-audit.h: Likewise.
34507         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34508         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34509         * sysdeps/x86_64/tst-audit.h: Likewise.
34511 2012-07-26  Andreas Jaeger  <aj@suse.de>
34513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34514         ptrace.
34516         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34517         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34518         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34519         PTRACE_O_MASK.
34520         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34521         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34522         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34524         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34525         value.
34527         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34528         _sigsys.
34529         (si_call_addr, si_syscall, si_arch): Define new macro.
34530         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34531         _sigsys.
34532         (si_call_addr, si_syscall, si_arch): Define new marcro.
34533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34534         _sigsys.
34535         (si_call_addr, si_syscall, si_arch): Define new macro.
34536         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34537         _sigsys.
34538         (si_call_addr, si_syscall, si_arch): Define new macro.
34540 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34542         [BZ #13717]
34543         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34544         Change to 2.4.21 where previously 2.4.1.
34545         * sysdeps/unix/sysv/linux/configure: Regenerated.
34546         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34547         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34548         Linux kernel version.
34549         (__ASSUME_STD_AUXV): Remove.
34550         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34551         kernel version.
34552         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34553         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34554         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34555         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34556         (__ASSUME_NETLINK_SUPPORT): Likewise.
34557         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34558         (__no_netlink_support): Remove conditional definition.
34559         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34560         Remove.
34561         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34562         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34563         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34564         (if_nameindex_ioctl): Remove.
34565         (if_nameindex_netlink): Do not handle __no_netlink_support.
34566         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34567         code.
34568         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34569         Remove conditional code.
34570         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34571         code.
34572         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34573         unconditional.
34574         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34575         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34576         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34577         Remove.
34578         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34579         [!__ASSUME_STD_AUXV]: Remove conditional code.
34580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34581         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34582         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34584         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34585         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34586         code.
34587         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34589         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34590         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34591         conditional code.
34592         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34594         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34595         code.
34596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34597         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34598         conditional code.
34599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34600         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34601         code unconditional.
34602         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34603         conditional code.
34604         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34605         unconditional.
34606         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34607         conditional code.
34608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34609         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34610         unconditional.
34611         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34612         conditional code.
34613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34614         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34615         code unconditional.
34616         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34617         conditional code.
34618         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34619         unconditional.
34620         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34621         conditional code.
34622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34623         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34624         code unconditional.
34625         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34626         conditional code.
34627         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34628         unconditional.
34629         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34630         conditional code.
34632 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
34634         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34635         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34636         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34637         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34638         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34639         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34640         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34641         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34642         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34643         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34644         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34645         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34646         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34647         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34648         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34649         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34650         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34651         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34652         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34653         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34654         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34655         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34656         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34658 2012-07-25  Florian Weimer  <fweimer@redhat.com>
34660         * Versions.def: Add GLIBC_2.17.
34661         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34662         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34663         Introduce __libc_secure_getenv.
34664         * stdlib/Versions (2.17): Add secure_getenv
34665         (GLIBC_PRIVATE): Add __libc_secure_getenv.
34666         * stdlib/secure-getenv.c: Rename __secure_getenv to
34667         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
34668         symbol __secure_getenv for GLIBC_2.0.
34669         * stdlib/tst-secure-getenv.c: New.
34670         * stdlib/Makefile (tests): Add testcase.
34671         * manual/startup.texi (Environment Access): Document
34672         secure_getenv.
34673         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34674         __libc_secure_getenv.
34675         * inet/ruserpass.c (ruserpass): Likewise.
34676         * malloc/mtrace.c (mtrace): Likewise.
34677         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34678         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34679         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34680         * sysdeps/posix/tempname.c: Likewise.  Evaluate
34681         HAVE_SECURE_GETENV.
34682         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34683         __secure_getenv to __libc_secure_getenv.
34684         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34686         Likewise.
34687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34688         Likewise.
34689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34691         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34697 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34699         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34700         (struct La_i86_retval): Likewise.
34701         (struct La_x86_64_regs): Likewise.
34702         (struct La_x86_64_retval): Likewise.
34703         (struct La_x32_regs): Likewise.
34704         (struct La_x32_retval): Likewise.
34705         (struct La_ppc32_regs): Likewise.
34706         (struct La_ppc32_retval): Likewise.
34707         (struct La_ppc64_regs): Likewise.
34708         (struct La_ppc64_retval): Likewise.
34709         (struct La_sh_regs): Likewise.
34710         (struct La_sh_retval): Likewise.
34711         (struct La_s390_32_regs): Likewise.
34712         (struct La_s390_32_retval): Likewise.
34713         (struct La_s390_64_regs): Likewise.
34714         (struct La_s390_64_retval): Likewise.
34715         (struct La_sparc32_regs): Likewise.
34716         (struct La_sparc32_retval): Likewise.
34717         (struct La_sparc64_regs): Likewise.
34718         (struct La_sparc64_retval): Likewise.
34719         (struct audit_ifaces): Remove architecture-specific pltenter and
34720         pltexit members.
34721         * sysdeps/i386/ldsodefs.h: New file.
34722         * sysdeps/powerpc/ldsodefs.h: Likewise.
34723         * sysdeps/s390/ldsodefs.h: Likewise.
34724         * sysdeps/sh/ldsodefs.h: Likewise.
34725         * sysdeps/sparc/ldsodefs.h: Likewise.
34726         * sysdeps/x86_64/ldsodefs.h: Likewise.
34728 2012-07-25  Marek Polacek  <polacek@redhat.com>
34730         [BZ #6808]
34731         * math/libm-test.inc (yn_test): Add another test.
34732         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34733         to ERANGE when the result is +-Inf.
34734         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34735         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34736         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34737         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34739 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
34741         * conform/data/time.h-data (NULL): Use macro-constant.  Require
34742         equal to 0.
34743         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
34744         clock_t.
34745         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
34747 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
34749         * configure.in <sysdeps resolving>: Correct printing
34750         Implies_before.
34751         * configure: Regenerate.
34753 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
34755         * math/w_ilogb.c: Include <limits.h>.
34756         * math/w_ilogbl.c: Likewise.
34758 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34760         * manual/lang.texi (__va_copy): Document primarily as ISO C99
34761         va_copy.  Document allowing for unavailable va_copy only as
34762         pre-C99 compatibility.
34763         * manual/string.texi (Copying and Concatenation): Use va_copy
34764         instead of __va_copy in concat example.
34766 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
34768         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34769         (__sendto): Use create_address_port.  Initialize APORT and deallocate
34770         it if not null.
34772         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34773         with O_NOLINK passed to __file_name_lookup.
34775         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34776         with O_NOLINK passed to __file_name_lookup.
34778         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34779         negative N or less than NGIDS.
34781         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34782         type to string_t.  Set ERANGE as errno and return it if NAME is not big
34783         enough.  Use memcpy instead of strncpy.
34785 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34787         * elf/Makefile (check-data): Remove.
34788         (localplt.data): New vpath directive.
34789         ($(objpfx)check-localplt.out): Use localplt.data from vpath
34790         instead of $(check-data).
34791         * scripts/data/localplt-generic.data: Move to ...
34792         * sysdeps/generic/localplt.data: ... here.
34793         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34794         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34795         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34797         ... here.
34798         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34800         ... here.
34801         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34803         ... here.
34804         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34806         ... here.
34807         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34809         ... here.
34810         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34812         ... here.
34814 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34816         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34817         PPC32 and PPC64 files.
34818         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34819         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34821 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34823         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34824         __makecontext_ret to ...
34825         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34826         ... here and call exit if uc_link is NULL.  New file.
34827         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34828         __makecontext_ret.S.
34829         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34830         __makecontext_ret to ...
34831         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34832         ... here and call exit if uc_link is NULL.  New file.
34833         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34834         __makecontext_ret.S.
34836 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34838         * elf/elf.h (R_390_IRELATIVE): New definition.
34839         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34840         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
34841         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34842         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34843         (elf_machine_lazy_rel): Likewise.
34844         * sysdeps/s390/dl-irel.h: New file.
34845         * sysdeps/s390/s390-64/memcpy.S: New asm code.
34846         * sysdeps/s390/s390-64/memset.S: New asm code.
34847         * sysdeps/s390/s390-64/memcmp.S: New asm code.
34848         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34849         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34850         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34851         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34852         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34853         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34854         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34855         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34856         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34857         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34858         * sysdeps/s390/s390-32/memcpy.S: New asm code.
34859         * sysdeps/s390/s390-32/memset.S: New asm code.
34860         * sysdeps/s390/s390-32/memcmp.S: New asm code.
34862 2012-07-17  Marek Polacek  <polacek@redhat.com>
34864         [BZ #14349]
34865         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34866         * sysdeps/s390/s390-64/configure.in: Likewise.
34867         * sysdeps/sparc/configure.in: Likewise.
34868         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34869         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34870         * sysdeps/i386/configure.in: Likewise.
34871         * sysdeps/x86_64/configure.in: Likewise.
34872         * sysdeps/sh/configure.in: Likewise.
34873         * sysdeps/s390/s390-32/configure: Regenerated.
34874         * sysdeps/s390/s390-64/configure: Likewise.
34875         * sysdeps/x86_64/configure: Likewise.
34876         * sysdeps/sh/configure: Likewise.
34877         * sysdeps/powerpc/powerpc64/configure: Likewise.
34878         * sysdeps/powerpc/powerpc32/configure: Likewise.
34879         * sysdeps/sparc/configure: Likwise.
34880         * sysdeps/i386/configure: Likewise.
34882         * elf/dl-open.c: Comment fixes.
34884 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
34886         * Makefile [CXX] (check-data): Remove.
34887         [CXX] (c++-types.data): New vpath directive.
34888         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34889         vpath.  Do not allow for C++ type data being missing.
34890         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34891         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34892         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34893         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34894         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34895         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34896         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34898         ... here.
34899         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34901         ... here.
34902         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34904         ... here.
34905         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34907         ... here.
34908         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34910         ... here.
34911         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34913         ... here.
34914         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34916         ... here.
34917         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34920         * elf/tls-macros.h (TLS_LE): Move architecture-specific
34921         definitions to architecture-specific files.
34922         (TLS_IE): Likewise.
34923         (TLS_LD): Likewise.
34924         (TLS_GD): Likewise.
34925         * sysdeps/i386/tls-macros.h: New file.
34926         * sysdeps/powerpc/tls-macros.h: Likewise.
34927         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34928         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34929         * sysdeps/sh/tls-macros.h: Likewise.
34930         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34931         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34932         * sysdeps/x86_64/tls-macros.h: Likewise.
34934 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34936         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34937         zero value for regular exit case.
34939         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34940         (__start_context): Preserve zero value for regular exit case.
34942 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34943             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34945         * manual/setjmp.texi (setcontext): Clarify normal process
34946         termination when uc_link is the null pointer.
34947         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34948         exit call.
34950 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
34952         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34953         preprocessor.  Test for each exception mask separately.
34955 2012-07-16  Andreas Jaeger  <aj@suse.de>
34957         * po/ru.po: Update from translation team.
34959 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
34961         * conform/data/string.h-data (NULL): Use macro-constant.  Require
34962         equal to 0.
34963         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34964         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34965         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34966         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34967         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34969 2012-07-13  Andreas Jaeger  <aj@suse.de>
34971         * po/fr.po: Update from translation team.
34973 2012-07-12  Marek Polacek  <polacek@redhat.com>
34975         [BZ #14173]
34976         * math/libm-test.inc (yn_test): Add test for BZ #14173.
34977         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34978         loop condition.
34980 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
34982         [BZ #13717]
34983         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34984         Change to 2.4.1 where previously 2.4.0.
34985         * sysdeps/unix/sysv/linux/configure: Regenerated.
34986         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34987         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34988         version.
34989         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34990         (__ASSUME_AT_CLKTCK): Remove.
34991         (__ASSUME_AT_PAGESIZE): Likewise.
34992         (__ASSUME_AT_XID): Likewise.
34993         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34994         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34995         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34996         unconditionally.
34997         (HAVE_AUX_PAGESIZE): Likewise.
34998         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34999         [__ASSUME_AT_CLKTCK]: Make code unconditional.
35000         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35002 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
35004         [BZ #14307]
35005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35006         the temporary buffer used to invoke __gethostbyname2_r,
35007         __gethostbyaddr_r and gethostbyname4_r to make room for struct
35008         host_data / struct gaih_addrtuple.
35009         * resolv/nss_dns/dns-host.c (global scope): Move definition of
35010         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35011         header file nss/nsswitch.h.
35012         * nss/nsswitch.h (global scope): Add definition of implementation
35013         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35014         resolv/nss_dns/dns-host.c).
35016 2012-07-11  Andreas Jaeger  <aj@suse.de>
35018         * po/fr.po: Update from translation team.
35020         * po/sv.po: Update from translation team
35021         * po/fr.po: Another update from translation team.
35023 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35025         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35026         for subnormals or multiply small sinh result by itself.
35027         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35030 2012-07-11  David S. Miller  <davem@davemloft.net>
35032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35034 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
35036         [BZ #14347]
35037         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35038         (INTERNAL_MARK): Shift it here.
35040 2012-07-10  Marek Polacek  <polacek@redhat.com>
35042         [BZ #14151]
35043         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
35044         libc_cv_asm_global_directive with .globl.
35045         * configure: Regenerated.
35046         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35047         with .globl.
35048         * sysdeps/i386/configure: Regenerated.
35049         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35050         with .globl.
35051         * sysdeps/x86_64/configure: Regenerated.
35052         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35053         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35054         * elf/tst-unique2mod2.c: Likewise.
35055         * elf/tst-unique2mod1.c: Likewise.
35056         * elf/tst-unique1mod2.c: Likewise.
35057         * elf/tst-unique1mod1.c: Likewise.
35058         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35059         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35060         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35061         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35062         * sysdeps/mach/sysdep.h: Likewise.
35063         * sysdeps/i386/sysdep.h: Likewise.
35064         * sysdeps/i386/i386-mcount.S: Likewise.
35065         * sysdeps/x86_64/_mcount.S: Likewise.
35066         * sysdeps/x86_64/sysdep.h: Likewise.
35067         * sysdeps/sh/_mcount.S: Likewise.
35068         * sysdeps/sh/sysdep.h: Likewise.
35069         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35070         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35071         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35072         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35073         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35074         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35075         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35076         * locale/localeinfo.h: Likewise.
35077         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35078         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35080 2012-07-09  Roland McGrath  <roland@hack.frob.com>
35082         [BZ #14336]
35083         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35084         system".
35085         * manual/message.texi (The Uniforum approach): Likewise.
35086         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35087         (glibc iconv Implementation): Likewise.
35089 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
35091         [BZ #14337]
35092         * math/s_clog.c (__clog): Avoid scaling a value down where that
35093         could result in underflow.
35094         * math/s_clog10.c (__clog10): Likewise.
35095         * math/s_clog10f.c (__clog10f): Likewise.
35096         * math/s_clog10l.c (__clog10l): Likewise.
35097         * math/s_clogf.c (__clogf): Likewise.
35098         * math/s_clogl.c (__clogl): Likewise.
35099         * math/libm-test.inc (clog_test): Add more tests.
35100         (clog10_test): Likewise.
35101         * sysdeps/i386/fpu/libm-test-ulps: Update.
35102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35104 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
35106         [BZ #14283]
35107         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35108         by 7 not 8 to examine high bit of fractional part.
35110         [BZ #14042]
35111         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35112         for call to __mcount_internal.
35113         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35114         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35115         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35117 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35119         [BZ #14154]
35120         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35121         approximation for values within 0x1p-13f of an odd multiple of
35122         pi/4.
35123         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35124         exception.  Add more tests.
35125         * sysdeps/i386/fpu/libm-test-ulps: Update.
35127         [BZ #6778]
35128         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35129         inputs and return -1 for them.  Do not check for +Inf in case not
35130         reachable for +Inf.
35131         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35132         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35133         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35134         and return -1 for them.  Do not check for +Inf in case not
35135         reachable for +Inf.
35136         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35137         define.
35138         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35139         and return -1 for them.  Do not check for +Inf in case not
35140         reachable for +Inf.
35141         * math/libm-test.inc (expm1_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-06  Mike Frysinger  <vapier@gentoo.org>
35148         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35150 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35152         [BZ #14157]
35153         [BZ #14331]
35154         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35155         could result in spurious underflow.  Scale down values above
35156         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35157         * math/s_csqrtf.c (__csqrtf): Likewise.
35158         * math/s_csqrtl.c (__csqrtl): Likewise.
35159         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35160         spurious underflow.
35161         * sysdeps/i386/fpu/libm-test-ulps: Update.
35162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35164 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35166         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35167         xopen-msg.sed.
35168         * catgets/xopen-msg.awk: New file.
35169         * catgets/xopen-msg.sed: Removed.
35171         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35172         po2text.sed.
35173         * intl/po2test.awk: New file.
35174         * intl/po2test.sed: Removed.
35176 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35178         [BZ #14328]
35179         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35180         or multiply small sinh result by itself.
35181         * math/s_ctanf.c (__ctanf): Likewise.
35182         * math/s_ctanh.c (__ctanh): Likewise.
35183         * math/s_ctanhf.c (__ctanhf): Likewise.
35184         * math/s_ctanhl.c (__ctanhl): Likewise.
35185         * math/s_ctanl.c (__ctanl): Likewise.
35186         * math/libm-test.inc (ctan_test_tonearest): New function.
35187         (ctan_test_towardzero): Likewise.
35188         (ctan_test_downward): Likewise.
35189         (ctan_test_upward): Likewise.
35190         (ctanh_test_tonearest): Likewise.
35191         (ctanh_test_towardzero): Likewise.
35192         (ctanh_test_downward): Likewise.
35193         (ctanh_test_upward): Likewise.
35194         (main): Call these new functions.
35195         * sysdeps/i386/fpu/libm-test-ulps: Update.
35196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35198 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35200         * .gitignore: Delete /ports entry.
35202 2012-07-03  Andreas Jaeger  <aj@suse.de>
35204         * po/bg.po: Update from translation team.
35205         * po/cs.po: Likewise.
35206         * po/de.po: Likewise.
35207         * po/hr.po: Likewise.
35208         * po/nl.pl: Likewise.
35209         * po/pl.po: Likewise.
35210         * po/vi.po: Likewise.
35212 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35214         * Makeconfig [!+link] (+link-before-libc): New variable.
35215         [!+link] (+link-after-libc): Likewise.
35216         [!+link] (+link-tests): Likewise.
35217         [!+link] (+link): Define in terms of $(+link-before-libc) and
35218         $(+link-after-libc).
35219         [!+link-static] (+link-static-before-libc): New variable.
35220         [!+link-static] (+link-static-after-libc): Likewise.
35221         [!+link-static] (+link-static-tests): Likewise.
35222         [!+link-static] (+link-static): Define in terms of
35223         $(+link-static-before-libc) and $(+link-static-after-libc).
35224         [build-shared] (link-libc-before-gnulib): New variable.
35225         [build-shared] (link-libc-tests): Likewise.
35226         [build-shared] (link-libc): Define in terms of
35227         $(link-libc-before-gnulib).
35228         [!build-shared] (link-libc-tests): New variable.
35229         (link-libc-static-tests): New variable.
35230         [!gnulib] (gnulib-arch): New variable.
35231         [!gnulib] (gnulib-tests): Likewise.
35232         [!gnulib] (static-gnulib-arch): Likewise.
35233         [!gnulib] (static-gnulib-tests): Likewise.
35234         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35235         Define with "=" instead of ":=".
35236         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35237         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35238         * Rules (binaries-all-notests): New variable.
35239         (binaries-all-tests): Likewise.
35240         (binaries-static-notests): Likewise.
35241         (binaries-static-tests): Likewise.
35242         (binaries-all): Define using $(binaries-all-notests) and
35243         $(binaries-all-tests).
35244         (binaries-static): Define using $(binaries-static-notests) and
35245         $(binaries-static-tests).
35246         (binaries-shared-tests): New variable.
35247         (binaries-shared-notests): Likewise.
35248         (binaries-shared): Remove variable.
35249         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35250         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35251         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35252         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35253         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35254         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35255         * elf/Makefile (sln-modules): New variable.
35256         (extra-objs): Add $(sln-modules:=.o).
35257         (ldconfig-modules): Add static-stubs.
35258         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35259         * elf/static-stubs.c: New file.
35261         [BZ #14283]
35262         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35263         by 7 not 8 to examine high bit of fractional part.  Use volatile
35264         variables when splitting into final array of floats if
35265         __FLT_EVAL_METHOD__ != 0.
35266         * math/libm-test.inc (cos_test): Add another test.
35267         (sin_test): Likewise.
35268         * sysdeps/i386/fpu/libm-test-ulps: Update.
35270         [BZ #14273]
35271         * math/libm-test.inc (cosh_test): Add more tests.
35273         * version.h (RELEASE): Set to "development".
35274         (VERSION): Set to "2.16.90".
35276 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35278         * NEWS: Update copyright. Remove last-updated date.
35279         Mention math library bug fixes and timezone data changes.
35280         * README: Mention GNU/Hurd, x32, and HPPA support status.
35282 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35284         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35286 2012-06-27  Andreas Jaeger  <aj@suse.de>
35288         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35290 2012-06-25  Andreas Jaeger  <aj@suse.de>
35292         * sysdeps/s390/fpu/libm-test-ulps: Update.
35294 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35295             Thomas Schwinge  <thomas@codesourcery.com>
35297         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35298         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35300         fanotify_mark.
35302 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35304         * sysdeps/mach/start.c: Remove file.
35305         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35306         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35307         * sysdeps/sh/init-first.c: Likewise.
35309         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35310         registers for frame unwinding purposes, add CFI directives.
35311         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35312         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35313         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35314         Likewise.
35316         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35317         __fortify_fail returning.
35318         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35320         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35321         sysdeps/sh/____longjmp_chk.S.
35322         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35323         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35324         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35325         (gen-as-const-headers): Append sigaltstack-offsets.sym.
35327         * sysdeps/sh/abort-instr.h: New file.
35328         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35329         process in case exit returns.
35331         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35332         initialize the GOT register before use.
35334         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35335         calculation of ARGC > 4.
35337         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35338         meaningful names to some local labels.
35340 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35341             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35343         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35344         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35345         (__arch_compare_and_exchange_val_16_acq): Likewise.
35346         (__arch_compare_and_exchange_val_32_acq): Likewise.
35347         (atomic_exchange_and_add): Fix gUSA sequence.
35348         (atomic_add): Likewise.
35349         (atomic_add_negative): Likewise.
35350         (atomic_add_zero): Likewise.
35351         (atomic_bit_test_set): Likewise.
35353 2012-06-22  Andreas Schwab  <schwab@redhat.com>
35355         [BZ #13579]
35356         * include/link.h (struct link_map): Add l_free_initfini.
35357         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35358         l_initfini.
35359         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35360         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35361         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35362         set.
35364 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
35366         * configure.in: Use AC_LANG_SOURCE.
35367         * configure: Regenerate.
35369 2012-06-22  Roland McGrath  <roland@hack.frob.com>
35371         * configure.in (libc_cv_localstatedir): New substituted variable.
35372         * configure: Regenerated.
35373         * config.make.in (localstatedir): New variable, substituted from
35374         libc_cv_localstatedir.
35375         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35376         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35377         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35378         * sysdeps/gnu/configure: Regenerated.
35380 2012-06-21  Jeff Law  <law@redhat.com>
35382         [BZ #14277]
35383         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35384         free.  Simplify list management for _LIBC case.
35386 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
35388         [BZ #14273]
35389         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35390         Clear sign bit of 64-bit integer value before comparing against
35391         overflow value.
35393         * sysdeps/mach/configure: Regenerated.
35395 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
35397         [BZ #14278]
35398         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35400 2012-06-21  Jeff Law  <law@redhat.com>
35402         [BZ #13882]
35403         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
35404         uint16_t for elements in the "seen" array to avoid char overflows.
35405         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35406         * elf/dl-open.c (dl_open_worker): Likewise.
35408 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
35410         * scripts/list-sources.sh: Scan PORTS for translations.
35411         * po/libc.pot: Regenerated.
35413 2012-06-21  Andreas Jaeger  <aj@suse.de>
35415         [BZ #12194]
35416         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35417         warning.
35418         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35419         * bits/byteswap-16.h (__bswap_16): Likewise.
35420         * bits/byteswap.h (__bswap_constant_16): Likewise.
35422 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
35424         [BZ #14117]
35425         * sysdeps/i386/fpu_control.h: Removed.
35426         * sysdeps/x86_64/fpu_control.h: Moved to ...
35427         * sysdeps/x86/fpu_control.h: Here.
35429         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35430         (_FPU_SETCW): Likewise.
35432 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
35434         [BZ #14117]
35435         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35436         * sysdeps/x86/fpu/bits/mathinline.h: This.
35437         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35439         [BZ #14050]
35440         [BZ #14117]
35441         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35442         functions if __x86_64__ is defined.
35444 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
35446         * string/endian.h: Add !__ASSEMBLER__ condition for including
35447         conversion interfaces.
35449 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
35451         [BZ #14241]
35452         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35453         of ABS(x) in calculating zero to negative powers other than odd
35454         integers.
35455         * math/libm-test.inc (pow_test): Add more tests.
35457 2012-06-15  Andreas Jaeger  <aj@suse.de>
35459         * manual/contrib.texi (Contributors): Update entry of Liubov
35460         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35461         Machado Filho.
35463 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
35465         * string/string.h: Add __wur to GNU version of strerror_r.
35467 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
35469         [BZ #14229]
35470         * string/Makefile (tests): Add tst-strtok_r.
35471         * string/tst-strtok_r.c: New file.
35472         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35473         RAX_LP/RDX_LP on SAVE_PTR.
35475 2012-06-14  Roland McGrath  <roland@hack.frob.com>
35477         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35479 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
35481         * libm_test.inc (csqrt_test): Allow more spurious underflow
35482         exceptions.
35483         (j0_test): Likewise.
35484         (j1_test): Likewise.
35485         (y0_test): Likewise.
35486         (y1_test): Likewise.
35488 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
35490         * po/Makefile (libc.pot): Use UTF-8 charset.
35492 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
35494         [BZ #14210]
35495         Suppress sign-conversion warning from FD_SET.
35496         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35497         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35498         not unsigned long int.
35499         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35501 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
35503         [BZ #14050]
35504         [BZ #14117]
35505         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35506         __extern_always_inline instead of __extern_inline.
35507         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35508         (__signbit): Likewise.
35509         (__signbitl): Support C++ namespace.
35510         (lrintf): New inline function.
35511         (lrint): Likewise.
35512         (llrintf): Likewise.
35513         (llrint): Likewise.
35514         (fmaxf): Likewise.
35515         (fmax): Likewise.
35516         (fminf): Likewise.
35517         (fmin): Likewise.
35518         (rint): Likewise.
35519         (rintf): Likewise.
35520         (ceil): Likewise.
35521         (ceilf): Likewise.
35522         (floor): Likewise.
35523         (floorf): Likewise.
35524         (nearbyint): Likewise.
35525         (nearbyintf): Likewise.
35527 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
35529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35530         non-default versions.
35532 2012-06-11  Roland McGrath  <roland@hack.frob.com>
35534         [BZ #14218]
35535         * manual/argp.texi (Argp): Reword argp_parse description slightly.
35537 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
35539         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35540         (FE_UPWARD, FE_DOWNWARD): Don't define.
35541         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35542         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35544         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35545         reading it.
35546         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35547         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35549 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35551         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35552         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35553         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35554         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35556 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
35558         [BZ #14117]
35559         * sysdeps/i386/fpu/bits/fenv.h: Removed.
35560         * sysdeps/i386/fpu/Implies: New file.
35561         * sysdeps/x86_64/fpu/Implies: Likewise.
35562         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35563         * sysdeps/x86/fpu/bits/fenv.h: This.
35565         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35566         __SSE_MATH__.
35568 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35570         [BZ #14134]
35571         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35572         character 0xffff that matches the last element of the
35573         conversion table.
35575 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35577         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35578         fmodl commit.
35580 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35582         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35583         values higher than 25.6283.
35585 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35587         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35588         subnormal exponent extraction and add some __builtin_expect.
35589         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35590         Fix for subnormal mantissa calculation.
35592 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
35594         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35595         cpu2 is -1 and errno is not ENOSYS.
35597 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
35599         [BZ #14117]
35600         * sysdeps/i386/i486/bits/string.h: Renamed to ...
35601         * sysdeps/x86/bits/string.h: This.
35602         * sysdeps/x86_64/bits/string.h: Removed.
35604         * sysdeps/i386/i486/bits/string.h: Define inline functions only
35605         if not compiling for x86-64, but compiling for >= i486.
35607         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35608         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35610         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35611         New macro from Linux kernel 3.4.0.
35612         (FP_XSTATE_MAGIC2): Likewise.
35613         (FP_XSTATE_MAGIC2_SIZE): Likewise.
35614         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35615         (struct _fpx_sw_bytes): New struct.
35616         (struct _xsave_hdr): Likewise.
35617         (struct _ymmh_state): Likewise.
35618         (struct _xstate): Likewise.
35620         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35621         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35622         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35623         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35624         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35625         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35627         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35628         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35629         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35630         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35631         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35632         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35634 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35636         [BZ #13743]
35637         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35638         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35639         (sysdep_headers): Include sys/platform/ppc.h.
35640         * sysdeps/powerpc/test-gettimebase.c: Test for
35641         __ppc_get_timebase() to catch future ISA opcode/insn changes.
35642         * manual/Makefile (appendices): Include platform.texi.
35643         * manual/contrib.texi (Contributors): Update @node pointers.
35644         * manual/maint.texi (Maintenance): Likewise.
35645         (Platform): New node.
35646         * manual/platform.texi: New file.  Document the new features.
35648 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35649             Jakub Jelinek  <jakub@redhat.com>
35651         [BZ #14188]
35652         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35653         where __builtin_expect is unavailable.
35655 2012-06-03  David S. Miller  <davem@davemloft.net>
35657         * stdlib/longlong.h: Updated from GCC.
35659 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
35661         [BZ #14042]
35662         * sysdeps/powerpc/powerpc32/mcount.c: New file.
35663         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35664         __mcount_internal.
35665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35666         (GLIBC_2.16): Likewise.
35668 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35670         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35672 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35675         (default-abi): New variable.
35676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35677         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35678         variable.
35679         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35680         Likewise.
35681         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35682         Likewise.
35683         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35684         Likewise.
35686         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35687         definition.  Document in comment.
35689 2012-06-01  David S. Miller  <davem@davemloft.net>
35691         * stdlib/longlong.h: Updated from GCC.
35693 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35695         [BZ #14117]
35696         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35697         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35698         sys/debugreg.h sys/io.h here.
35699         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35700         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35701         sys/io.h.
35702         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35703         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35704         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35705         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35706         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35707         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35709         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35710         Define only if __x86_64__ is defined.
35712 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35714         [BZ #14048]
35715         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35716         Use int64_t for variable i.
35717         * math/libm-test.inc (fmod_test): Add more tests.
35719         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35720         z computation is not scheduled after fetestexcept.
35721         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35722         Use math_force_eval instead of asm to ensure calculation scheduled
35723         before exception test.
35724         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35725         Ensure a1 + u.d computation is not scheduled after fetestexcept.
35727 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
35729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35730         computation is not scheduled after fetestexcept.
35732 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35734         [BZ #14117]
35735         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35736         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35738 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35740         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35741         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35743 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35745         [BZ #14117]
35746         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35747         <bits/wordsize.h>.
35748         (__WCHAR_MIN): Support __WORDSIZE == 64.
35749         (__WCHAR_MAX): Likewise.
35751         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35752         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35754         [BZ #14183]
35755         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35756         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35758         [BZ #14117]
35759         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35760         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35762         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35763         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35765         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35766         Defined to 1 if __x86_64__ isn't defined.
35767         (_STAT_VER_LINUX_OLD): New.
35768         (st_atime): Remove duplicate.
35769         (st_mtime): Likewise.
35770         (st_ctime): Likewise.
35772 2012-05-31  David S. Miller  <davem@davemloft.net>
35774         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35775         entries.
35777 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
35779         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35780         gen-libm-test.pl.
35782         [BZ #14132]
35783         * elf/dl-reloc.c: Include <_itoa.h>.
35784         (_dl_reloc_bad_type): Remove use of INTUSE.
35785         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35786         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35787         * stdio-common/psiginfo.c (psiginfo): Likewise.
35788         * stdio-common/psignal.c (psignal): Likewise.
35789         * string/strsignal.c (strsignal): Likewise.
35790         * include/signal.h (_sys_siglist): Declare hidden proto.
35791         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
35792         INTVARDEF with libc_hidden_data_def.
35793         * stdio-common/itoa-udigits.c: Likewise.
35794         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35795         (_itoa_lower_digits_internal): Remove declaration.
35796         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35797         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35798         (_sys_sigabbrev_internal): Remove aliases.
35799         (_sys_siglist): Define hidden alias.
35801 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
35803         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35804         bits/sysctl.h.
35806 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35808         [BZ #14117]
35809         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35810         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35812         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35813         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35814         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35815         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35816         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35817         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35819         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35820         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35821         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35823         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35824         with __addr.
35825         (insw): Likewise.
35826         (insl): Likewise.
35827         (outsb): Likewise.
35828         (outsw): Likewise.
35829         (outsl): Likewise.
35831         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35832         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35833         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35835         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35836         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35837         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35838         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35839         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35840         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35842         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35843         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35845         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35846         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35848         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35849         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35850         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35852         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35853         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35854         to ...
35855         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35857         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35858         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35859         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35861         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35862         for x86-64.
35863         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35865 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
35867         * math/math.h (M_El): Use two more decimal places.
35868         (M_LOG2El): Likewise.
35869         (M_LOG10El): Likewise.
35870         (M_LN2l): Likewise.
35871         (M_LN10l): Likewise.
35872         (M_PIl): Likewise.
35873         (M_PI_2l): Likewise.
35874         (M_PI_4l): Likewise.
35875         (M_1_PIl): Likewise.
35876         (M_2_PIl): Likewise.
35877         (M_2_SQRTPIl): Likewise.
35878         (M_SQRT2l): Likewise.
35879         (M_SQRT1_2l): Likewise.
35881 2012-05-31  David S. Miller  <davem@davemloft.net>
35883         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35884         values between float registers.
35885         * sysdeps/sparc/sparc64/memset.S: Likewise.
35886         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35888 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
35890         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35891         -D_FORTIFY_SOURCE=1.
35892         (CPPFLAGS-tst-longjmp_chk.c): Define.
35893         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35894         (CPPFLAGS-tst-longjmp_chk2.c): Define.
35895         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35896         CFLAGS-tst-wchar-h.c.
35898 2012-05-31  Marek Polacek  <polacek@redhat.com>
35900         [BZ #14132]
35901         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35902         __endmntent_internal): Remove declaration.
35903         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35904         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35905         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35907 2012-05-30  David S. Miller  <davem@davemloft.net>
35909         * sysdeps/sparc/sparc32/soft-fp/q_util.c
35910         (___Q_simulate_exceptions): Use real FP ops rather than writing
35911         into the %fsr.
35912         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35913         Likewise.
35915 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35917         [BZ #14117]
35918         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35919         * sysdeps/x86/bits/xtitypes.h: This.
35921         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35922         * sysdeps/x86/bits/wordsize.h: This.
35924         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35925         * sysdeps/x86/bits/huge_vall.h: This.
35927         * sysdeps/i386/bits/select.h: Removed.
35928         * sysdeps/x86_64/bits/select.h: Renamed to ...
35929         * sysdeps/x86/bits/select.h: This.
35931         * sysdeps/i386/bits/setjmp.h: Removed.
35932         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35933         * sysdeps/x86/bits/setjmp.h: This.
35935         * sysdeps/i386/bits/mathdef.h: Removed.
35936         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35937         * sysdeps/x86/bits/mathdef.h: This.
35939 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
35941         [BZ #14132]
35942         * include/sys/socket.h (__connect_internal)
35943         (__libc_sa_len_internal): Remove declaration.
35944         (__connect, __libc_sa_len): Declare hidden_proto.
35945         (SA_LEN): Remove use of INTUSE.
35946         * socket/connect.c: Add libc_hidden_def.
35947         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35948         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35949         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35950         alias.
35951         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35952         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35953         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35954         of adding _internal alias.
35956 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35958         [BZ #14117]
35959         * sysdeps/i386/bits/link.h: Removed.
35960         * sysdeps/i386/bits/linkmap.h: Likewise.
35961         * sysdeps/x86_64/bits/link.h: Renamed to ...
35962         * sysdeps/x86/bits/link.h: This.
35963         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35964         * sysdeps/x86/bits/linkmap.h: This.
35966         * sysdeps/i386/bits/endian.h: Removed.
35967         * sysdeps/x86_64/bits/endian.h: Renamed to ...
35968         * sysdeps/x86/bits/endian.h: This.
35970         * sysdeps/i386/bits/byteswap.h: Removed.
35971         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35972         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35973         * sysdeps/x86/bits/byteswap.h: This.
35974         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35975         * sysdeps/x86/bits/byteswap-16.h: This.
35976         * sysdeps/i386/Implies: Add x86.
35977         * sysdeps/x86_64/Implies: Likewise.
35979 2012-05-30  David S. Miller  <davem@davemloft.net>
35981         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35982         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35983         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35984         (FP_TRAPPING_EXCEPTIONS): Define.
35985         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35986         (FP_TRAPPING_EXCEPTIONS): Define.
35987         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35988         subnormals only when inexact has been signalled or underflow
35989         exceptions are enabled.
35990         (_FP_PACK_CANONICAL): Likewise.
35992 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35994         [BZ #14183]
35995         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35996         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35998 2012-05-30  Richard Henderson  <rth@twiddle.net>
36000         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36001         with #ifndef NOT_IN_libc.
36003         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
36004         marked to avoid plt entry.
36006 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
36008         [BZ #14112]
36009         * Makeconfig (default-abi): New macro.
36010         (abi-includes): Likewise.
36011         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
36012         $(abi-$(default-abi)-lib-soname) for soname if defined.
36013         ($(common-objpfx)gnu/lib-names.stmp): Generate from
36014         abi-variants.
36015         * Makefile (installed-stubs): Likewise.
36016         * include/stubs-biarch.h: Removed.
36017         * scripts/lib-names.awk: Only handle one library at a time.
36018         * scripts/soversions.awk: Remove WORDSIZE support.
36019         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36020         entries.
36021         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36022         Removed.
36023         (syscall-list-default-condition): Likewise.
36024         (syscall-list-default-condition): Likewise.
36025         (syscall-list-includes): Likewise.
36026         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36027         syscall-list-* with abi-*.  Handle undefined abi-variants.
36028         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36029         * sysdeps/unix/sysv/linux/i386/Implies: New file.
36030         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36031         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36032         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36033         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36034         Removed.
36035         (syscall-list-32-options): Likewise.
36036         (syscall-list-32-condition): Likewise.
36037         (syscall-list-64-options): Likewise.
36038         (syscall-list-64-condition): Likewise.
36039         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36040         macro.
36041         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36042         Renamed to ...
36043         (abi-*): This.
36044         (abi-64-ld-soname): New macro.
36045         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36046         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36047         Renamed to ...
36048         (abi-*): This.
36049         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36050         * sysdeps/x86_64/x32/shlib-versions: Likewise.
36052 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
36054         * sysdeps/unix/sysv/linux/kernel-features.h
36055         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36056         * sysdeps/unix/sysv/linux/ftruncate64.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.
36062         * sysdeps/unix/sysv/linux/truncate64.c: Do not
36063         include <kernel-features.h>.
36064         [!__NR_ftruncate64]: Remove conditional code.
36065         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36066         [__NR_ftruncate64]: Make code unconditional.
36067         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36069         include <kernel-features.h>.
36070         [!__NR_ftruncate64]: Remove conditional code.
36071         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36072         [__NR_ftruncate64]: Make code unconditional.
36073         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36075         include <kernel-features.h>.
36076         [!__NR_ftruncate64]: Remove conditional code.
36077         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36078         [__NR_ftruncate64]: Make code unconditional.
36079         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36081         * configure.in (libc_cv_fpie): Weaken to a compile test using
36082         LIBC_TRY_CC_OPTION.
36083         * configure: Regenerated.
36085 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36091         Refreshed.
36092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36098         Refreshed.
36100 2012-05-27  David S. Miller  <davem@davemloft.net>
36102         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36103         (___Q_zero): New.
36104         (__Q_simulate_exceptions): Return void.  Change to simulate
36105         exceptions by writing into the %fsr.
36106         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36107         (__Qp_handle_exceptions): Likewise.
36108         (numbers): Delete.
36109         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36110         __Qp_handle_exceptions.
36111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36112         __Qp_handle_exceptions.
36113         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36114         as unused and give dummy FP_RND_NEAREST initializer.
36115         (FP_INHIBIT_RESULTS): Define.
36116         (___Q_simulate_exceptions): Update declaration.
36117         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36118         formatting.
36119         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36120         as unused and give dummy FP_RND_NEAREST initializer.
36121         (__Qp_handle_exceptions): Update declaration.
36122         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36123         formatting.
36125 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36127         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36128         the temporary FPU control word.
36129         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36130         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36131         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36132         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36133         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36134         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36135         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36136         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36137         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36138         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36139         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36141 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36143         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36144         fields.
36146 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36148         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36149         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36150         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36151         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36152         Likewise.
36153         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36154         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36155         Likewise.
36157 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36159         * po/h.po: Update from translation team.
36161 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36163         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36165         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36166         handling of denormals.
36167         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36168         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36169         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36170         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36171         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36172         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36173         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36174         Likewise.
36176 2012-05-26  Marek Polacek  <polacek@redhat.com>
36178         [BZ #14152]
36179         * math/libm-test.inc (fma_test): Don't always expect underflow
36180         exception.
36182 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36184         [BZ #12416]
36185         * elf/tst-execstack.c: Include stackinfo.h.
36186         (do_test): Adjust test case to ensure that pthread_getattr_np
36187         behaviour remains the same after marking stack executable.
36189 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36191         * sysdeps/unix/sysv/linux/kernel-features.h
36192         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36193         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36194         kernel-features.h.
36195         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36196         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36197         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36198         kernel-features.h.
36199         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36200         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36202 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36204         * configure.in: Define the default includes to being none.
36205         * configure: Regenerated.
36207 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36209         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36210         * sysdeps/x86_64/setjmp.S: Likewise.
36211         * sysdeps/i386/bsd-setjmp.S: Likewise.
36212         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36213         * sysdeps/i386/setjmp.S: Likewise.
36214         * sysdeps/i386/__longjmp.S: Likewise.
36215         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36216         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36218         * include/stap-probe.h: New file.
36219         * configure.in: Handle --enable-systemtap.
36220         * configure: Regenerated.
36221         * config.h.in (USE_STAP_PROBE): New #undef.
36222         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36223         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36224         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36226 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36228         [BZ #13717]
36229         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36230         to 2.4.0 where earlier.
36231         * sysdeps/unix/sysv/linux/configure: Regenerated.
36232         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36233         <kernel-features.h>.
36234         [__ASSUME_32BITUIDS]: Make code unconditional.
36235         [!__ASSUME_32BITUIDS]: Remove conditional code.
36236         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36237         <kernel-features.h>.
36238         [__ASSUME_32BITUIDS]: Make code unconditional.
36239         [!__ASSUME_32BITUIDS]: Remove conditional code.
36240         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36241         [__ASSUME_32BITUIDS]: Make code unconditional.
36242         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36243         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36244         <kernel-features.h>.
36245         [__ASSUME_32BITUIDS]: Make code unconditional.
36246         [!__ASSUME_32BITUIDS]: Remove conditional code.
36247         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36248         <kernel-features.h>.
36249         [__ASSUME_32BITUIDS]: Make code unconditional.
36250         [!__ASSUME_32BITUIDS]: Remove conditional code.
36251         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36252         <kernel-features.h>.
36253         [__ASSUME_32BITUIDS]: Make code unconditional.
36254         [!__ASSUME_32BITUIDS]: Remove conditional code.
36255         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36256         <kernel-features.h>.
36257         [__ASSUME_32BITUIDS]: Make code unconditional.
36258         [!__ASSUME_32BITUIDS]: Remove conditional code.
36259         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36260         <kernel-features.h>.
36261         [__ASSUME_32BITUIDS]: Make code unconditional.
36262         [!__ASSUME_32BITUIDS]: Remove conditional code.
36263         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36264         <kernel-features.h>.
36265         [__ASSUME_32BITUIDS]: Make code unconditional.
36266         [!__ASSUME_32BITUIDS]: Remove conditional code.
36267         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36268         <kernel-features.h>.
36269         [__ASSUME_32BITUIDS]: Make code unconditional.
36270         [!__ASSUME_32BITUIDS]: Remove conditional code.
36271         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36272         <kernel-features.h>.
36273         [__ASSUME_32BITUIDS]: Make code unconditional.
36274         [!__ASSUME_32BITUIDS]: Remove conditional code.
36275         * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
36284         <kernel-features.h>.
36285         [__NR_setresgid] (__setresgid): Do not declare.
36286         [__ASSUME_32BITUIDS]: Make code unconditional.
36287         [!__ASSUME_32BITUIDS]: Remove conditional code.
36288         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36289         <kernel-features.h>.
36290         [__NR_setresuid] (__setresuid): Do not declare.
36291         [__ASSUME_32BITUIDS]: Make code unconditional.
36292         [!__ASSUME_32BITUIDS]: Remove conditional code.
36293         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36294         <kernel-features.h>.
36295         [__ASSUME_32BITUIDS]: Make code unconditional.
36296         [!__ASSUME_32BITUIDS]: Remove conditional code.
36297         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36298         <kernel-features.h>.
36299         [__ASSUME_32BITUIDS]: Make code unconditional.
36300         [!__ASSUME_32BITUIDS]: Remove conditional code.
36301         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36302         <kernel-features.h>.
36303         [__ASSUME_32BITUIDS]: Make code unconditional.
36304         [!__ASSUME_32BITUIDS]: Remove conditional code.
36305         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36306         <kernel-features.h>.
36307         [__ASSUME_32BITUIDS]: Make code unconditional.
36308         [!__ASSUME_32BITUIDS]: Remove conditional code.
36309         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36310         <kernel-features.h>.
36311         [__ASSUME_32BITUIDS]: Make code unconditional.
36312         [!__ASSUME_32BITUIDS]: Remove conditional code.
36313         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36314         <kernel-features.h>.
36315         [__ASSUME_32BITUIDS]: Make code unconditional.
36316         [!__ASSUME_32BITUIDS]: Remove conditional code.
36317         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36318         <kernel-features.h>.
36319         [__ASSUME_32BITUIDS]: Make code unconditional.
36320         [!__ASSUME_32BITUIDS]: Remove conditional code.
36321         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36322         <kernel-features.h>.
36323         [__ASSUME_32BITUIDS]: Make code unconditional.
36324         [!__ASSUME_32BITUIDS]: Remove conditional code.
36325         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36326         <kernel-features.h>.
36327         [__ASSUME_32BITUIDS]: Make code unconditional.
36328         [!__ASSUME_32BITUIDS]: Remove conditional code.
36329         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36330         <kernel-features.h>.
36331         [__ASSUME_32BITUIDS]: Make code unconditional.
36332         [!__ASSUME_32BITUIDS]: Remove conditional code.
36333         * sysdeps/unix/sysv/linux/kernel-features.h
36334         (__ASSUME_SETRESUID_SYSCALL): Remove.
36335         (__ASSUME_SETRESGID_SYSCALL): Likewise.
36336         (__ASSUME_32BITUIDS): Likewise.
36337         (__ASSUME_LDT_WORKS): Likewise.
36338         (__ASSUME_O_DIRECTORY): Likewise.
36339         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36340         architecture but not kernel version.
36341         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36342         (__ASSUME_MMAP2_SYSCALL): Likewise.
36343         (__ASSUME_STAT64_SYSCALL): Likewise.
36344         (__ASSUME_IPC64): Likewise.
36345         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36346         <kernel-features.h>.
36347         [__ASSUME_32BITUIDS]: Make code unconditional.
36348         [!__ASSUME_32BITUIDS]: Remove conditional code.
36349         * sysdeps/unix/sysv/linux/opendir.c: Do not include
36350         <kernel-features.h>.
36351         [__ASSUME_O_DIRECTORY]: Make code unconditional.
36352         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36353         132096]: Remove conditional code.
36354         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36355         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36356         <kernel-features.h>.
36357         [__ASSUME_32BITUIDS]: Make code unconditional.
36358         [!__ASSUME_32BITUIDS]: Remove conditional code.
36359         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
36364         <kernel-features.h>.
36365         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36366         unconditional.
36367         (__setresgid): Do not declare.
36368         [__ASSUME_32BITUIDS]: Make code unconditional.
36369         [!__ASSUME_32BITUIDS]: Remove conditional code.
36370         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36371         <kernel-features.h>.
36372         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36373         unconditional.
36374         (__setresuid): Do not declare.
36375         [__ASSUME_32BITUIDS]: Make code unconditional.
36376         [!__ASSUME_32BITUIDS]: Remove conditional code.
36377         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36378         <kernel-features.h>.
36379         [__ASSUME_32BITUIDS]: Make code unconditional.
36380         [!__ASSUME_32BITUIDS]: Remove conditional code.
36381         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36382         <kernel-features.h>.
36383         [__ASSUME_32BITUIDS]: Make code unconditional.
36384         [!__ASSUME_32BITUIDS]: Remove conditional code.
36386 2012-05-25  Richard Henderson  <rth@twiddle.net>
36388         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36389         dl_hwcap to ifunc resolver.
36390         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36391         elf_ifunc_invoke.
36392         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36393         dl_hwcap to ifunc resolver.
36394         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36396 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36398         [BZ #14153]
36399         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36400         for |x| <= 2**-26, not 2**-57.
36401         * math/libm-test.inc (acos_test): Do not allow spurious underflow
36402         exception.
36404 2012-05-24  Jeff Law  <law@redhat.com>
36406         * stdio-common/Makefile (tests): Add bug25.
36407         * stdio-common/bug25.c: New test.
36409 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36411         [BZ #13576]
36412         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36413         multiple of MALLOC_ALIGNMENT in size.
36414         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36416 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36418         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36419         Require >= 256.
36420         (FILENAME_MAX): Use macro-int-constant.
36421         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
36422         (_IOFBF): Use macro-int-constant.
36423         (_IOLBF): Likewise.
36424         (_IONBF): Likewise.
36425         (SEEK_CUR): Likewise.
36426         (SEEK_END): Likewise.
36427         (SEEK_SET): Likewise.
36428         (TMP_MAX): Likewise.
36429         (EOF): Use macro-int-constant.  Require < 0.
36430         (NULL): Use macro-constant.  Require == 0.
36431         (stdin): Require type to be FILE *.
36432         (stdout): Likewise.
36433         (stderr): Likewise.
36434         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36435         macro-int-constant.
36436         (EXIT_SUCCESS): Likewise.
36437         (NULL): Use macro-constant.  Require == 0.
36438         (RAND_MAX): Use macro-int-constant.
36439         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36440         [C99-based standards] (strtof): Require function.
36441         [C99-based standards] (strtold): Likewise.
36442         [C99-based standards] (strtoll): Likewise.
36443         [C99-based standards] (strtoull): Likewise.
36444         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36445         [ISO || ISO99 || ISO11] (limits.h): Likewise.
36446         [ISO || ISO99 || ISO11] (math.h): Likewise.
36447         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36448         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36451 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
36453         [BZ #14132]
36454         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36455         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36456         * intl/dgettext.c (DCGETTEXT): Likewise.
36457         * intl/gettext.c (DCGETTEXT): Likewise.
36458         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36459         * posix/regex_internal.h (gettext): Likewise.
36460         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36461         Remove declaration.
36462         * include/argz.h (__argz_count_internal)
36463         (__argz_stringify_internal): Remove declaration.
36464         (__argz_count, __argz_stringify): Declare hidden proto.
36465         * intl/dcgettext.c: Remove use of INTDEF.
36466         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36467         * string/argz-stringify.c: Likewise.
36468         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36469         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36470         Declare hidden proto.
36471         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36472         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36473         Declare hidden proto.
36474         * include/stdio.h (__asprintf_internal): Don't declare.
36475         (__asprintf): Don't define as macro.  Declare hidden proto.
36476         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36477         (__fsetlocking): Declare hidden proto.
36478         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36479         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36480         hidden proto.
36481         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36482         (_IO_setlinebuf): Remove use of INTUSE.
36483         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36484         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36485         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36486         Remove declaration.
36487         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36488         (_IO_do_flush): Remove use of INTUSE.
36489         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36490         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36491         (_IO_adjust_column, _IO_least_wmarker)
36492         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36493         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36494         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36495         (_IO_default_doallocate, _IO_wdefault_doallocate)
36496         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36497         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36498         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36499         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36500         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36501         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36502         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36503         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36504         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36505         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36506         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36507         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36508         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36509         proto.
36510         (_IO_flush_all_internal, _IO_adjust_column_internal)
36511         (_IO_default_uflow_internal, _IO_default_finish_internal)
36512         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36513         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36514         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36515         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36516         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36517         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36518         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36519         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36520         (_IO_file_close_internal, _IO_file_close_it_internal)
36521         (_IO_file_underflow_internal, _IO_file_overflow_internal)
36522         (_IO_file_init_internal, _IO_file_attach_internal)
36523         (_IO_file_fopen_internal, _IO_file_read_internal)
36524         (_IO_file_sync_internal, _IO_file_seek_internal)
36525         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36526         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36527         (_IO_str_underflow_internal, _IO_str_overflow_internal)
36528         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36529         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36530         (_IO_list_all_internal, _IO_link_in_internal)
36531         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36532         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36533         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36534         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36535         (_IO_do_write_internal, _IO_padn_internal)
36536         (_IO_getline_info_internal, _IO_getline_internal)
36537         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36538         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36539         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36540         (_IO_vfscanf_internal, _IO_vfprintf_internal)
36541         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36542         (_IO_init_internal, _IO_un_link_internal): Don't declare.
36543         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36544         with libc_hidden_ver, remove use of INTUSE.
36545         * libio/genops.c: Likewise.
36546         * libio/freopen.c: Likewise.
36547         * libio/freopen64.c: Likewise.
36548         * libio/iofclose.c: Likewise.
36549         * libio/iofdopen.c: Likewise.
36550         * libio/iofflush.c: Likewise.
36551         * libio/iofflush_u.c: Likewise.
36552         * libio/iofgets.c: Likewise.
36553         * libio/iofgets_u.c: Likewise.
36554         * libio/iofopen.c: Likewise.
36555         * libio/iofopncook.c: Likewise.
36556         * libio/iofread.c: Likewise.
36557         * libio/iofread_u.c: Likewise.
36558         * libio/ioftell.c: Likewise.
36559         * libio/iofwrite.c: Likewise.
36560         * libio/iogetline.c: Likewise.
36561         * libio/iogets.c: Likewise.
36562         * libio/iogetwline.c: Likewise.
36563         * libio/iopadn.c: Likewise.
36564         * libio/iopopen.c: Likewise.
36565         * libio/ioseekoff.c: Likewise.
36566         * libio/ioseekpos.c: Likewise.
36567         * libio/iosetbuffer.c: Likewise.
36568         * libio/iosetvbuf.c: Likewise.
36569         * libio/ioungetc.c: Likewise.
36570         * libio/ioungetwc.c: Likewise.
36571         * libio/iovdprintf.c: Likewise.
36572         * libio/iovsprintf.c: Likewise.
36573         * libio/iovsscanf.c: Likewise.
36574         * libio/memstream.c: Likewise.
36575         * libio/obprintf.c: Likewise.
36576         * libio/oldfileops.c: Likewise.
36577         * libio/oldiofclose.c: Likewise.
36578         * libio/oldiofdopen.c: Likewise.
36579         * libio/oldiofopen.c: Likewise.
36580         * libio/oldiopopen.c: Likewise.
36581         * libio/oldstdfiles.c: Likewise.
36582         * libio/putc.c: Likewise.
36583         * libio/setbuf.c: Likewise.
36584         * libio/setlinebuf.c: Likewise.
36585         * libio/stdfiles.c: Likewise.
36586         * libio/strops.c: Likewise.
36587         * libio/vasprintf.c: Likewise.
36588         * libio/vscanf.c: Likewise.
36589         * libio/vsnprintf.c: Likewise.
36590         * libio/vswprintf.c: Likewise.
36591         * libio/wfiledoalloc.c: Likewise.
36592         * libio/wfileops.c: Likewise.
36593         * libio/wgenops.c: Likewise.
36594         * libio/wmemstream.c: Likewise.
36595         * libio/wstrops.c: Likewise.
36596         * libio/__fpurge.c: Likewise.
36597         * libio/__fsetlocking.c: Likewise.
36598         * assert/assert.c: Likewise.
36599         * debug/fgets_chk.c: Likewise.
36600         * debug/fgets_u_chk.c: Likewise.
36601         * debug/fread_chk.c: Likewise.
36602         * debug/fread_u_chk.c: Likewise.
36603         * debug/gets_chk.c: Likewise.
36604         * debug/obprintf_chk.c: Likewise.
36605         * debug/vasprintf_chk.c: Likewise.
36606         * debug/vdprintf_chk.c: Likewise.
36607         * debug/vsnprintf_chk.c: Likewise.
36608         * debug/vsprintf_chk.c: Likewise.
36609         * malloc/mtrace.c: Likewise.
36610         * misc/error.c: Likewise.
36611         * misc/syslog.c: Likewise.
36612         * stdio-common/asprintf.c: Likewise.
36613         * stdio-common/fxprintf.c: Likewise.
36614         * stdio-common/getw.c: Likewise.
36615         * stdio-common/isoc99_fscanf.c: Likewise.
36616         * stdio-common/isoc99_scanf.c: Likewise.
36617         * stdio-common/isoc99_vfscanf.c: Likewise.
36618         * stdio-common/isoc99_vscanf.c: Likewise.
36619         * stdio-common/isoc99_vsscanf.c: Likewise.
36620         * stdio-common/printf-prs.c: Likewise.
36621         * stdio-common/printf_fp.c: Likewise.
36622         * stdio-common/printf_fphex.c: Likewise.
36623         * stdio-common/printf_size.c: Likewise.
36624         * stdio-common/putw.c: Likewise.
36625         * stdio-common/scanf.c: Likewise.
36626         * stdio-common/sprintf.c: Likewise.
36627         * stdio-common/tmpfile.c: Likewise.
36628         * stdio-common/vfprintf.c: Likewise.
36629         * stdio-common/vfscanf.c: Likewise.
36630         * stdlib/strfmon_l.c: Likewise.
36631         * sunrpc/openchild.c: Likewise.
36632         * sunrpc/xdr_stdio.c: Likewise.
36633         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36634         * sysdeps/mach/hurd/tmpfile.c: Likewise.
36636 2012-05-24  Roland McGrath  <roland@hack.frob.com>
36638         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36640         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36641         in the third column, to generate for the shared library an IFUNC
36642         that uses _dl_vdso_vsym.
36643         * Makerules (COMPILE.c, compile-stdin.c): New variables.
36644         * Makeconfig (object-suffixes-noshared): New variable.
36646         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36647         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36648         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36649         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36651         [BZ #14132]
36652         * include/sys/time.h (__gettimeofday): Remove macro.
36653         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36654         * time/gettimeofday.c (__gettimeofday): Remove #undef.
36655         Remove INTDEF.
36656         (__gettimeofday): Add libc_hidden_def.
36657         (gettimeofday): Add libc_hidden_weak.
36658         * sysdeps/mach/gettimeofday.c: Likewise.
36659         * sysdeps/posix/gettimeofday.c: Likewise.
36660         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36661         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36662         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36663         (__gettimeofday_internal): Remove strong_alias.
36664         (__gettimeofday): Add libc_hidden_def.
36665         (gettimeofday): Add libc_hidden_weak.
36666         * sysdeps/unix/syscalls.list (gettimeofday):
36667         Remove __gettimeofday_internal alias.
36669 2012-05-24  Daniel Jacobowitz  <drow@false.org>
36670             H.J. Lu  <hongjiu.lu@intel.com>
36672         [BZ #12495]
36673         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36674         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36675         (largebin_index_32_big): New.
36676         (largebin_index): Use it for 16-byte alignment.
36677         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
36678         correction with front_misalign.
36680 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36684         Likewise.
36685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36686         Likewise.
36687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36688         Likewise.
36689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36690         Likewise.
36691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36692         Likewise.
36693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36694         Likewise.
36695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36696         Likewise.
36697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36698         Likewise.
36699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36700         Likewise.
36701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36702         Likewise.
36703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36704         Likewise.
36705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36706         Likewise.
36708         * scripts/data/c++-types-x32-linux-gnu.data: New file.
36709         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36711 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36713         [BZ #10846]
36714         [BZ #14036]
36715         * math/libm-test.inc (exp_test): Add test from bug 14036.
36716         (pow_test): Add test from bug 10846.
36718         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36719         and other flags.
36720         (special_function): Do not include flags in test name.
36721         (parse_args): Likewise.
36722         * sysdeps/i386/fpu/libm-test-ulps: Update.
36723         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36724         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36725         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36728         * math/gen-libm-test.pl (%beautify): Add entries for underflow
36729         exceptions.
36730         * math/libm-test.inc ("Philosophy"): Update comment about
36731         exception testing.
36732         (UNDERFLOW_EXCEPTION): New macro.
36733         (UNDERFLOW_EXCEPTION_OK): Likewise.
36734         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36735         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36736         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36737         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36738         (INVALID_EXCEPTION_OK): Update value.
36739         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36740         (OVERFLOW_EXCEPTION_OK): Likewise.
36741         (IGNORE_ZERO_INF_SIGN): Likewise.
36742         (test_exceptions): Handle underflow exceptions.
36743         (acos_test): Update for underflow exception expectations.
36744         (cexp_test): Likewise.
36745         (clog_test): Likewise.
36746         (clog10_test): Likewise.
36747         (csqrt_test): Likewise.
36748         (ctan_test): Likewise.
36749         (ctanh_test): Likewise.
36750         (exp_test): Likewise.
36751         (exp10_test): Likewise.
36752         (exp2_test): Likewise.
36753         (expm1_test): Likewise.
36754         (fma_test): Likewise.
36755         (j0_test): Likewise.
36756         (jn_test): Likewise.
36757         (nexttoward_test): Likewise.
36758         (pow_test): Likewise.
36759         (scalbn_test): Likewise.
36760         (scalbln_test): Likewise.
36761         (tan_test): Likewise.
36762         (y1_test): Likewise.
36763         * sysdeps/i386/fpu/libm-test-ulps: Update.
36764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36766 2012-05-23  David S. Miller  <davem@davemloft.net>
36768         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36769         (__libc_sigaction): Remove unused local variables.
36771 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36773         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36775 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
36777         mktime: avoid signed integer overflow
36778         * time/mktime.c (__mktime_internal): Do not mishandle the case
36779         where diff == INT_MIN.
36781         mktime: simplify computation of average
36782         * time/mktime.c (ranged_convert): Use new time_t_avg function
36783         instead of rolling our own (probably-slower) code.
36785         mktime: do not assume signed right shift propagates sign bit
36786         * time/mktime.c (isdst_differ): New static function.
36787         (__mktime_internal): No need to normalize tm_isdst now.
36788         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36789         tm_isdst values.
36791         mktime: merge another wrapv change from gnulib
36792         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36793         from some compilers.
36795         mktime: remove incorrect attempt at unusual arithmetics
36796         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36797         The code didn't really work on such machines anyway.
36798         (TYPE_MINIMUM): Assume two's complement.
36799         (twos_complement_arithmetic): Verify that long_int and time_t
36800         are two's complement (or unsigned, in the latter case).
36802         mktime: check signed shifts on long_int and time_t, too
36803         * time/mktime.c (SHR): Check that shifts work as desired
36804         on the types long_int and time_t too, as SHR is used on
36805         such types.
36807         mktime: do not assume 'long' is wide enough
36808         * time/mktime.c (verify): Move decl up.
36809         (long_int): New type.
36810         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36811         to remove assumption in the code that 'long' is wide enough to
36812         store year values.  This assumption is not true on x32 and on
36813         some non-glibc platforms.
36815         mktime: merge wrapv change from gnulib
36816         * time/mktime.c (WRAPV): New macro.
36817         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36818         (guess_time_tm, __mktime_internal): Do not assume that signed
36819         integer overflow wraps around; modern compilers generate code
36820         where this assumption is no longer valid.
36822 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36824         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36825         Replace "jmp L(pseudo_end)" with "ret".
36826         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36827         Likewise.
36829 2012-05-23  Andreas Jaeger  <aj@suse.de>
36831         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36832         * sysdeps/unix/sysv/linux/poll.c: Remove file.
36834 2012-05-23  Andreas Jaeger  <aj@suse.de>
36835             Maximilian Attems  <max@stro.at>
36837         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36838         New macros.
36840 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36842         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36843         code so that pseudo_end is just ret and the stack pointer is
36844         correct also for static library in error case.
36846 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
36848         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36849         move to syscalls.list.
36850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36855         * manual/install.texi (Running make install): Do not mention Linux
36856         kernel version for which pt_chown is not needed.
36857         (Linux): Do not mention problems with nscd with 2.0 kernels.
36858         * INSTALL: Regenerated.
36860 2012-05-23  Andreas Jaeger  <aj@suse.de>
36862         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36863         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36864         macro.
36865         * sysdeps/unix/sysv/linux/s390/bits/mman.h
36866         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36867         * sysdeps/unix/sysv/linux/sh/bits/mman.h
36868         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36869         * sysdeps/unix/sysv/linux/i386/bits/mman.h
36870         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36871         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36872         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36873         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36874         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36875         * sysdeps/unix/sysv/linux/bits/in.h
36876         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36878 2012-05-22  Roland McGrath  <roland@hack.frob.com>
36880         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36881         (PREPARE_VERSION): Just use assert instead, it will be elided
36882         under [NDEBUG] anyway.
36884 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36886         * sysdeps/unix/sysv/linux/Makefile: Include
36887         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36888         (sysdep_routines): Remove sysctl.
36889         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36890         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36891         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36892         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36893         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36895 2012-05-22  Andreas Jaeger  <aj@suse.de>
36897         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36898         that pseudo_end is just ret and the stack pointer is correct also
36899         for static library in error case.
36901 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36903         [BZ #14122]
36904         * nss/nsswitch.c (defconfig_entries): New variable.
36905         (__nss_database_lookup): Don't leak defconfig entries.
36906         (nss_parse_service_list): Don't leak on error paths.
36907         (free_database_entries): New function.
36908         (free_defconfig): New function.
36909         (free_mem): Move common code to free_database_entries.
36911 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36913         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36914         Add arch_prctl.
36915         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36917         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36918         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36920         New macro.
36921         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36922         (INTERNAL_SYSCALL_TYPES): Likewise.
36923         (LOAD_ARGS_TYPES_[1-6]): Likewise.
36924         (LOAD_REGS_TYPES_[1-6]): Likewise.
36925         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36926         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36928 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36930         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36931         copysignl for GLIBC_2_0.
36932         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36933         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36935         logbl for GLIBC_2_0.
36936         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36937         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36939 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36941         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36942         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36944         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36945         Use "neg %eax".
36947         * time/mktime.c: Update copyright years.
36949 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36951         mktime: merge comment-quoting-style change from gnulib
36952         * time/mktime.c: Quote 'like this' in comments.
36953         The GNU coding standards suggest that we no longer quote `like this',
36954         as "`" and "'" are typically rendered asymmetrically nowadays.
36955         The typical gnulib style is to quote 'like this' when quoting
36956         code, and "like this" when quoting English.
36958         * time/mktime.c (compile-command): Add "-I.".
36960         mktime: merge mktime-internal.h change from gnulib
36961         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36963         mktime: merge time_r change from gnulib
36964         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36966         mktime: merge DEBUG change from gnulib
36967         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36968         case system <time.h> has a #define.
36970         mktime: merge <sys/types.h> change from gnulib
36971         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36972         since <time.t> is now guaranteed to define time_t.
36974         mktime: merge HAVE_CONFIG_H change from gnulib
36975         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36977 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36979         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36980         Use "neg %eax".
36982         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36983         __rlim_t cast.
36984         (struct rusage): Use anonymous union to pad each field to
36985         __syscall_slong_t.
36987 2012-05-21  David S. Miller  <davem@davemloft.net>
36989         * Makefules (o-iterator): Remove .s cases.
36990         (compile-command.s): Delete.
36991         (COMPILE.s): Delete.
36992         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36994 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
36996         * configure.in (libc_cv_predef_stack_protector): Only consider
36997         "foobar" and "__stack_chk_fail" lines in libc_undefs.
36998         * configure: Regenerated.
37000 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37003         New macro.  Use R*LP on int and pointer.
37004         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37005         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37006         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37007         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37009         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37010         [__WORDSIZE_TIME64_COMPAT32] instead of
37011         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37012         (struct utmp): Likewise.
37013         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37014         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37015         Renamed to ...
37016         (__WORDSIZE_TIME64_COMPAT32): This.
37017         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37018         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37019         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37020         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37021         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37022         (__WORDSIZE_TIME64_COMPAT32): New macro.
37024 2012-05-21  Andreas Jaeger  <aj@suse.de>
37026         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37027         only if [SHARED]. Add prototype for __wcschr_ia32.
37029 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37031         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37032         of %rbp unmolested in the jmp_buf while mangling the low bits.
37033         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37034         unmolested high bits of %rbp while demangling the low bits.
37035         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37037 2012-05-21  Andreas Jaeger  <aj@suse.de>
37039         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37040         * sunrpc/svc_simple.c: Use it for registerrpc.
37041         * sunrpc/xcrypt.c: Use it for passwd2des.
37043         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37045 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37047         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37048         Don't define if [__SYSCALL_WORDSIZE != 32].
37049         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37050         New macro.
37052 2012-05-21  Bruno Haible  <bruno@clisp.org>
37053             Andreas Jaeger  <aj@suse.de>
37055         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37056         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37057         inptr and inend for must_buffer_ch.
37058         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37059         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37060         * stdio-common/Makefile (tests): Remove bug15.
37061         (bug15-ENV): Remove macro.
37062         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37063         anymore.
37065 2012-05-19  Andreas Jaeger  <aj@suse.de>
37066             Roland McGrath  <roland@hack.frob.com>
37068         * manual/contrib.texi: Completely rewritten. It contains now an
37069         alphabetical list of contributors and their contributions.
37071 2012-05-21  Richard Henderson  <rth@twiddle.net>
37073         * misc/getauxval.c (__getauxval): Use unsigned long int.
37074         * misc/sys/auxv.h: Include <sys/cdefs.h>.
37075         (getauxval): Use unsigned long int.
37077 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
37079         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37081 2012-05-21  Roland McGrath  <roland@hack.frob.com>
37083         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37084         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37085         __alignof__ (long double).
37087 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37091 2012-05-20  Richard Henderson  <rth@twiddle.net>
37093         * misc/getauxval.c: New file.
37094         * misc/sys/auxv.h: New file.
37095         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37096         (routines): Add getauxval.
37097         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37098         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37099         * elf/dl-sysdep.c (_dl_auxv): Remove.
37100         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37101         * elf/dl-support.c (_dl_auxv): New variable.
37102         (_dl_aux_init): Initialize it.
37103         * manual/startup.texi (Auxiliary Vector): New node.
37104         * sysdeps/generic/bits/hwcap.h: New file.
37105         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37106         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
37107         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37108         * sysdeps/sparc/sysdep.h: ... here.  Include it.
37109         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37110         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37112         Update.
37113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37116         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37122 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37126 2012-05-19  David S. Miller  <davem@davemloft.net>
37128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37130 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37132         [BZ #14123]
37133         * math/s_ccosh.c: Include <float.h>
37134         (__ccosh): Avoid internal overflow calculating sinh and cosh
37135         values before multiplying by sin and cos values.
37136         * math/s_ccoshf.c: Likewise.
37137         * math/s_ccoshl.c: Likewise.
37138         * math/s_csin.c: Likewise.
37139         * math/s_csinf.c: Likewise.
37140         * math/s_csinl.c: Likewise.
37141         * math/s_csinh.c: Likewise.
37142         * math/s_csinhf.c: Likewise.
37143         * math/s_csinhl.c: Likewise.
37144         * math/libm-test.inc (ccos_test): Add more tests.
37145         (ccosh_test): Likewise.
37146         (csin_test): Likewise.
37147         (csinh_test): Likewise.
37148         * sysdeps/i386/fpu/libm-test-ulps: Update.
37149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37151 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37153         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37154         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37156         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37158 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37160         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37161         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37162         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37163         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37164         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37165         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37166         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37167         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37168         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37169         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37170         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37171         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37172         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37173         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37174         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37175         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37176         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37177         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37178         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37179         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37180         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37181         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37182         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37183         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37184         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37185         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37186         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37187         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37188         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37189         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37190         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37192 2012-05-18  Andreas Jaeger  <aj@suse.de>
37194         * csu/.gitignore: Delete.
37196 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37198         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37199         (timex): Use __syscall_slong_t.
37201 2012-05-18  Andreas Jaeger  <aj@suse.de>
37202             Carlos O'Donell  <carlos_odonell@mentor.com>
37204         * manual/install.texi (Configuring and compiling): Update
37205         description about files modified in the source directory.
37206         * INSTALL: Regenerated.
37208 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37210         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37211         value.  Use "or" to set return value to -1.
37212         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37213         negate return value.
37215 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37217         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37218         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37219         failure if the compiler has Graphite support disabled.
37220         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37221         Likewise.
37222         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37223         (CFLAGS-memmove.c): Likewise.
37224         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37225         Likewise.
37227 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37229         * sysdeps/x86_64/x32/_itoa.h: New file.
37231         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37232         getdents system call only if kernel and user dirents have the
37233         same d_ino and d_off.
37235         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37236         LLONG_MAX != LONG_MAX.
37237         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37238         (_fitoa_word): Likewise.
37240         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37241         years.
37242         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37243         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37244         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37246         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37247         include <bits/wordsize.h>.  Check __x86_64__ instead of
37248         __WORDSIZE.
37249         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37250         if __x86_64__ is defined.  Use anonymous union on fpstate.
37252         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37253         anonymous union.
37255 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37257         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37258         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37259         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37260         Refer to _rtld_local_ro instead of _rtld_global_ro.
37261         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37262         Likewise.
37263         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37264         Likewise.
37265         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37266         Likewise.
37267         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37268         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37269         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37271         * sysdeps/powerpc/powerpc32/dl-machine.c
37272         (__elf_machine_runtime_setup) [PROF]: Don't reference
37273         _dl_prof_resolve.
37275 2012-05-18  Andreas Jaeger  <aj@suse.de>
37277         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37278         function only available for GCCs before 3.4 since GCC 3.4
37279         introduced a builtin.
37280         (lrint): Likewise.
37281         (llrintf): Likewise.
37282         (llrint): Likewise.
37283         (fmaxf): Likewise.
37284         (fmax): Likewise.
37285         (fminf): Likewise.
37286         (fmin): Likewise.
37287         (rint): Likewise.
37288         (rintf): Likewise.
37289         (nearbyint): Likewise.
37290         (nearbyintf): Likewise.
37291         (ceil): Likewise.
37292         (ceilf): Likewise.
37293         (floor): Likewise.
37294         (floorf): Likewise.
37296 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37298         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37299         on both fields and cast pointer to __syscall_ulong_t.
37301         * bits/types.h (__fsword_t): New type.
37302         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37303         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37304         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37305         (__FSWORD_T_TYPE): Likewise.
37306         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37307         (__FSWORD_T_TYPE): Likewise.
37308         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37309         (__FSWORD_T_TYPE): Likewise.
37310         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37311         (__FSWORD_T_TYPE): Likewise.
37312         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37313         __SWORD_TYPE with __fsword_t.
37314         (statfs64): Likewise.
37316 2012-05-17  David S. Miller  <davem@davemloft.net>
37318         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37320 2012-05-17  Andreas Jaeger  <aj@suse.de>
37322         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37323         warning.
37325 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37327         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37329 2012-05-17  Andreas Jaeger  <aj@suse.de>
37331         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37332         when it is used.
37334 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37336         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37338 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37340         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37341         * sysdeps/x86_64/tst-mallocalign1.c: New file.
37343 2012-05-17  Andreas Jaeger  <aj@suse.de>
37344             Carlos O'Donell  <carlos_odonell@mentor.com>
37346         [BZ #14059]
37347         * sysdeps/x86_64/multiarch/init-arch.h
37348         (bit_YMM_Usable): Rename to...
37349         (bit_AVX_Usable): ... this.
37350         (bit_FMA4_Usable): New macro.
37351         (bit_XMM_state): New macro.
37352         (bit_YMM_state): New macro.
37353         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37354         [__ASSEMBLER__] (index_AVX_Usable): ... this.
37355         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37356         (CPUID_OSXSAVE): New macro.
37357         (CPUID_AVX): New macro.
37358         (CPUID_FMA4): New macro.
37359         (index_YMM_Usable): Rename to...
37360         (index_AVX_Usable): ... this.
37361         (HAS_AVX): Use HAS_ARCH_FEATURE.
37362         (HAS_FMA4): Likewise.
37363         (HAS_YMM_USABLE): Remove.
37364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37365         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37366         are present.
37367         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37368         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37369         * sysdeps/x86_64/multiarch/Makefile: Likewise.
37370         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37371         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37373 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37375         * math/libm-test.c: Support platforms without multiple rounding modes.
37376         * math/bug-nextafter.c: Support platforms without FP exceptions.
37377         * math/bug-nexttoward.c: Likewise.
37378         * math/test-fenv.c: Likewise.
37379         * math/test-misc.c: Likewise.
37380         * stdlib/bug-getcontext.c: Likewise.
37382 2012-05-17  Andreas Jaeger  <aj@suse.de>
37384         * manual/examples/search.c (critter_cmp): Change signature to
37385         avoid warnings.
37386         * manual/string.texi (Collation Functions): Likewise.
37388 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37390         * bits/types.h: Fold copyright years.
37391         * bits/typesizes.h: Likewise.
37392         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37394         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37395         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37396         * time/time.h: Likewise.
37398 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
37400         [BZ #208]
37401         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37402         in instead of returning them.  Return void.
37403         (__libc_mallinfo): Accumulate over all arenas.
37404         (__malloc_stats): Adjust for change in int_mallinfo interface.
37406 2012-05-16  Roland McGrath  <roland@hack.frob.com>
37408         [BZ #10375]
37409         * configure.in (NM): Add AC_CHECK_TOOL for it.
37410         (libc_extra_cflags): New substituted variable.
37411         Check for -fstack-protector being used implicitly.
37412         * configure: Regenerated.
37413         * config.make.in (config-extra-cflags): New variable,
37414         gets @libc_extra_cflags@.
37415         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37417         [BZ #10375]
37418         * configure.in: Check for _FORTIFY_SOURCE being predefined.
37419         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37420         * configure: Regenerated.
37421         * config.make.in (CPPUNDEFS): New substituted variable.
37422         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37423         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37424         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37426 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37428         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37429         (mq_attr): Use __syscall_slong_t.
37431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37433         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37434         Check __x86_64__ instead of __WORDSIZE.
37435         (_STAT_VER_LINUX): Likewise.
37436         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
37437         __syscall_ulong_t and __syscall_slong_t.
37438         (stat64): Likewise.
37440 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37442         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37444 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37446         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37448 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37450         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37451         __syscall_ulong_t.
37453         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37454         include <bits/wordsize.h>.  Check __x86_64__ instead of
37455         __WORDSIZE.
37456         (greg_t): Use "__extension__ long long int" if __x86_64__ is
37457         defined.
37458         (mcontext_t): Replace "unsigned long" with "unsigned long long".
37460         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37461         include <bits/wordsize.h>.  Check __x86_64__ instead of
37462         __WORDSIZE.
37463         (user_regs_struct): Use "__extension__ unsigned long long"
37464         instead of "unsigned long" if __x86_64__ is defined.
37465         (user): Likewise.  Pad after pointer field if __ILP32__ is
37466         defined.
37468 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
37470         * configure.in (makeinfo): Require version 4.5 or later.  Allow
37471         versions 5 to 9.
37472         * configure: Regenerated.
37473         * manual/install.texi (texinfo): Increase version requirement to
37474         4.5 or later.
37475         * INSTALL: Regenerated.
37477         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37479 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37481         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37483         * sysdeps/x86_64/x32/ffs.c: New file.
37485         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37486         __syscall_ulong_t.
37487         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37488         defined.  Use __syscall_ulong_t.
37489         (shminfo): Use __syscall_ulong_t.
37490         (shm_info): Likewise.
37492         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37493         __syscall_ulong_t.
37495         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37496         <bits/wordsize.h>.
37497         (msgqnum_t): Use __syscall_ulong_t.
37498         (msglen_t): Likewise.
37499         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
37500         __syscall_ulong_t.
37502         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37503         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37505         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37507         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37508         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37510         * sysvipc/sys/msg.h (msgbuf): Replace long int with
37511         __syscall_slong_t.
37513         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37514         include <bits/wordsize.h>.  Check __x86_64__ instead of
37515         __WORDSIZE.
37517         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37518         "unsigned long long int" if __x86_64__ is defined.
37519         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37521         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37522         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37523         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37525         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37526         <stdint.h>.
37527         (GET_PC): Cast to uintptr_t first.
37528         (GET_FRAME): Likewise.
37529         (GET_STACK): Likewise.
37531         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37532         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37533         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37534         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37535         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37536         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37537         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37538         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37539         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37540         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37541         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37542         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37543         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37544         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37545         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37546         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37547         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37548         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37549         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37550         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37551         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37552         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37553         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37554         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37555         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37556         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37557         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37558         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37559         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37561 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
37563         * Makerules (+depfiles): Also collect depfiles from .oS in
37564         $(extra-objs).
37565         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37566         .oS, $(libnldbl-routines)).
37568         * Makerules (native-compile-mkdep-flags): Define.
37569         * sunrpc/Makefile (extra-objs): Add $(addprefix
37570         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37571         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37572         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
37573         calling $(make-target-directory).
37575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37577         * bits/types.h (__snseconds_t): Removed.
37578         * time/time.h (struct timespec): Replace __snseconds_t with
37579         __syscall_slong_t.
37580         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37581         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37582         Likewise.
37583         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37584         (__SNSECONDS_T_TYPE): Likewise.
37585         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37586         (__SNSECONDS_T_TYPE): Likewise.
37587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37588         (__SNSECONDS_T_TYPE): Likewise.
37590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37592         * sysdeps/mach/hurd/bits/typesizes.h
37593         (__SYSCALL_SLONG_TYPE): New macro.
37594         (__SYSCALL_ULONG_TYPE): Likewise.
37596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37598         * bits/types.h (__syscall_slong_t): New type.
37599         (__syscall_ulong_t): Likewise.
37601         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37602         (__SYSCALL_ULONG_TYPE): Likewise.
37603         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37604         (__SYSCALL_SLONG_TYPE): Likewise.
37605         (__SYSCALL_ULONG_TYPE): Likewise.
37606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37607         (__SYSCALL_SLONG_TYPE): Likewise.
37608         (__SYSCALL_ULONG_TYPE): Likewise.
37609         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37610         (__SYSCALL_SLONG_TYPE): Likewise.
37611         (__SYSCALL_ULONG_TYPE): Likewise.
37613 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37615         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37616         Add sigaltstack-offsets.sym.
37617         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37618         <sigaltstack-offsets.h>.
37619         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
37620         longjmp_msg pointer.
37621         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
37622         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37623         signal stack.
37624         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37626 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37628         * elf/stackguard-macros.h: Remove file.
37629         * sysdeps/generic/stackguard-macros.h: New file.
37630         * sysdeps/i386/stackguard-macros.h: Likewise.
37631         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37632         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37633         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37634         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37635         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37636         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37637         * sysdeps/x86_64/stackguard-macros.h: Likewise.
37638         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37639         <elf/stackguard-macros.h>.
37641         [BZ #14109]
37642         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37643         __aligned__ in attribute.
37644         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37645         (gregset_t): Likewise.
37647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37649         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37650         * sysdeps/x86_64/64/Implies-after: Here.  New file.
37651         * sysdeps/x86_64/x32/Implies-after: New file.
37653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37655         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37656         and access return value for _dl_profile_fixup.  Use R10_LP to
37657         load frame size.
37659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37661         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37665         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37666         * sysdeps/x86_64/x32/sysdep.h: New file.
37668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37670         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37671         * sysdeps/x86_64/setjmp.S: Likewise.
37673 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37675         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37676         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37677         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37678         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37679         remove unused global constant.
37681 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
37683         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37684         include of <not-cancel.h>.
37686 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37688         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37690 2012-05-15  Jeff Law  <law@redhat.com>
37691             Andreas Jaeger  <aj@suse.de>
37693         [BZ #13594]
37694         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37695         out from...
37696         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37697         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37698         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37699         code changing __hst_map_handle.map.
37701 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37703         * configure.in (sysnames): Look for Implies-before and Implies-after
37704         files.
37705         * configure: Regenerated.
37707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37709         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37710         8-byte data alignment with LP_SIZE alignment.
37712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37714         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37715         into R10_LP.
37717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37719         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37723         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37724         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37725         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37726         Likewise.
37727         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37731         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37732         (stackinfo_sub_sp): Likewise.
37734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37736         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37737         RAX_LP.
37739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37741         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37742         into R*_LP.
37744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37746         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37747         sizes into R*_LP.
37749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37751         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37755         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37756         into R11_LP and load __x86_64_shared_cache_size_half into
37757         R8_LP.
37759 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37761         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37762         R8_LP.
37764 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37767         logb for POWER7.
37768         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37769         logbf for POWER7.
37770         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37771         logbl for POWER7.
37772         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37773         powerpc32/power7/fpu/s_logb.c via #include.
37774         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37775         powerpc32/power7/fpu/s_logbf.c via #include.
37776         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37777         powerpc32/power7/fpu/s_logbl.c via #include.
37779 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37781         * README.libm: Remove file.
37783 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37785         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37786         count for x32.  Use R*_LP and omit operand-size suffix.
37788 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37790         * shlib-versions: Move x86_64-.*-linux.* entries to ...
37791         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
37792         * sysdeps/x86_64/x32/shlib-versions: New file.
37794 2012-05-14  Roland McGrath  <roland@hack.frob.com>
37796         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37797         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37798         Use _dl_fatal_printf instead.
37800 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37802         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37803         set if not set by the user.  Do not allow for being unset.
37804         * sysdeps/unix/sysv/linux/configure: Regenerated.
37806 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37808         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37809         the `q' suffix from lea and replace .quad with ASM_ADDR.
37811 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37813         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37814         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
37815         instead of $17.
37816         (PTR_DEMANGLE): Likewise.
37818 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37820         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37821         (LP_OP): Likewise.
37822         (ASM_ADDR): Likewise.
37823         (RAX_LP): Likewise.
37824         (RBP_LP): Likewise.
37825         (RBX_LP): Likewise.
37826         (RCX_LP): Likewise.
37827         (RDI_LP): Likewise.
37828         (RSI_LP): Likewise.
37829         (RSP_LP): Likewise.
37830         (R8_LP): Likewise.
37831         (R9_LP): Likewise.
37832         (R10_LP): Likewise.
37833         (R10_LP): Likewise.
37834         (R11_LP): Likewise.
37835         (R12_LP): Likewise.
37836         (R13_LP): Likewise.
37837         (R14_LP): Likewise.
37838         (R15_LP): Likewise.
37840 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37842         * sysdeps/x86_64/x32/dl-machine.h: New file.
37844 2012-05-14  Andreas Jaeger  <aj@suse.de>
37846         * manual/Makefile (subdir): Remove export of subdir.
37847         (all): Remove target.
37848         (.PHONY): Remove all from list.
37849         (mkinstalldirs): Remove.
37850         (.PHONY): Remove installdirs from list.
37851         ($(inst_infodir)/libc.info): Use make-target-directory.
37852         (installdirs): Remove.
37853         (subdir_%): Remove.
37854         (glibc-targets): Remove.
37855         (lib): Remove.
37856         (stubs): Remove.
37857         ($(objpfx)stubs ../po/manual.pot): Remove.
37858         ($(objpfx)stamp%): Remove.
37859         (make-target-directory): Remove.
37860         (subdir_install): Remove.
37861         (routines): Remove.
37862         (aux): Remove.
37863         (sources): Remove.
37864         (objects): Remove.
37865         (headers): Remove.
37867         [BZ #13750]
37868         * manual/.gitignore: Remove, it's not needed anymore.
37869         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37870         all files in it.
37871         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37872         directory.
37873         (texis): Renamed to $(objpfx)texis.
37874         (texis-path): New, contains path to generated files.
37875         (chapters.%): Use texis-path for complete path, add extra argument
37876         libc-texinfo.sh.
37877         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37878         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37879         (summary,texi, stamp-summary): Use complete path of
37880         files. Generate files in build dir.
37881         (dir-add.texi): Build in build dir.
37882         (libm-err.texi,stamp-libm-err): Likewise.
37883         (version.texi, stamp-version): Likewise.
37884         (.%c.texi): Likewise.
37885         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37886         (mostlyclean): Remove target.
37887         (realclean): Remove target.
37888         (generated): Add new variable with contents from mostlyclean and
37889         realclean, remove entries duplicated in common-mostlyclean, add
37890         stamp-libm-err and stamp-version.
37891         (generated-dirs): Add libc directory.
37892         ($(inst_infodir)/libc.info): Install files from build dir.
37894         * manual/install.texi (Configuring and compiling): Adjust since
37895         the info files are not part of the tar ball anymore.
37897 2012-05-14  Andreas Jaeger  <aj@suse.de>
37899         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37900         variable.
37902 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37904         [BZ #13717]
37905         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37906         to 2.2.0 where earlier.
37907         * sysdeps/unix/sysv/linux/configure: Regenerated.
37908         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37909         Remove conditional code.
37910         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37911         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37912         Remove conditional code.
37913         [!__NR_lchown]: Likewise.
37914         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37915         [__NR_lchown]: Likewise.
37916         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37917         comment referencing __ASSUME_LCHOWN_SYSCALL.
37918         * sysdeps/unix/sysv/linux/i386/sigaction.c
37919         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37920         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37921         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37922         Remove conditional code.
37923         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37924         (__protocol_available): Remove #if 0 code.
37925         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37926         conditional code.
37927         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37928         * sysdeps/unix/sysv/linux/kernel-features.h
37929         (__ASSUME_GETCWD_SYSCALL): Don't define.
37930         (__ASSUME_REALTIME_SIGNALS): Likewise.
37931         (__ASSUME_PREAD_SYSCALL): Likewise.
37932         (__ASSUME_PWRITE_SYSCALL): Likewise.
37933         (__ASSUME_POLL_SYSCALL): Likewise.
37934         (__ASSUME_LCHOWN_SYSCALL): Likewise.
37935         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37936         non-SPARC.
37937         (__ASSUME_SIOCGIFNAME): Don't define.
37938         (__ASSUME_MSG_NOSIGNAL): Likewise.
37939         (__ASSUME_SENDFILE): Define unconditionally.
37940         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37941         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37942         conditional code.
37943         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37944         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37945         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37946         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37947         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37948         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37949         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37951         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37952         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37954         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37955         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37957         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37958         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37960         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37961         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37963         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37964         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37966         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37967         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37969         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37970         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37972         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37973         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37974         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37975         Remove conditional code.
37976         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37977         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37978         Remove conditional code.
37979         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37980         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37981         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37982         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37983         Remove conditional code.
37984         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37985         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37986         Remove conditional code.
37987         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37988         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37989         Remove conditional code.
37990         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37991         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37992         Remove conditional code.
37993         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37994         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37995         Remove conditional code.
37996         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37997         * sysdeps/unix/sysv/linux/sh/pwrite64.c
37998         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37999         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38000         * sysdeps/unix/sysv/linux/sigaction.c
38001         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38002         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38003         * sysdeps/unix/sysv/linux/sigpending.c
38004         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38005         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38006         * sysdeps/unix/sysv/linux/sigprocmask.c
38007         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38008         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38009         * sysdeps/unix/sysv/linux/sigsuspend.c
38010         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38011         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38012         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38013         (__libc_missing_rt_sigs): Remove.
38014         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38015         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38016         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38017         Remove conditional code.
38018         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38019         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38020         return 1.
38021         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38022         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38023         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38024         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38026 2012-05-14  Andreas Jaeger  <aj@suse.de>
38028         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38029         it's not used in glibc.
38030         (__coshm1): Likewise.
38031         (__acosh1p): Likewise.
38032         (__sgn): Likewise.
38034         * manual/string.texi (Copying and Concatenation): Add missing
38035         variable in concat example.
38036         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38038 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38040         [BZ #14103]
38041         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38042         __builtin_clzl with __builtin_clzll.
38044 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
38046         [BZ #14104]
38047         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38048         libc_freeres_ptr.
38050 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38052         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38053         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38054         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38055         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38057 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
38059         * NEWS: Update ia64 info.
38061 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
38063         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38064         used as bcopy.
38066 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
38068         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38069         * sysdeps/unix/syscalls.list (dup3): Likewise.
38070         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38071         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38073 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38075         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38076         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38078 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
38080         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38081         thread pointer.
38082         (TLS_IE): Use mov/add instead of movq/addq to load thread
38083         pointer.
38084         (TLS_GD_PREFIX): New.
38085         (TLS_GD): Use it.
38087 2012-05-11  David S. Miller  <davem@davemloft.net>
38089         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38090         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38091         (_FPU_SETCW): Likewise.
38093 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38095         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38096         is 32-byte aligned.
38098 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
38100         [BZ #11837]
38101         * iconvdata/gb18030.c: Update tables.
38102         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
38103         characters specially.
38104         (BODY for TO_LOOP): Add encoding of missing ranges.
38106 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
38108         [BZ #13673]
38109         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38110         * sysdeps/mach/hurd/dup3.c: Likewise.
38111         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38112         * sysdeps/powerpc/memmove.c:: Likewise.
38114 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38116         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38117         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38119 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38121         * elf/elf.h (R_X86_64_RELATIVE64): New.
38122         (R_X86_64_NUM): Updated.
38123         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38124         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38125         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38126         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38127         tst-quad1pie tst-quad2pie
38128         (modules-names): Add tst-quadmod1 tst-quadmod2.
38129         ($(objpfx)tst-quad1): New dependency.
38130         ($(objpfx)tst-quad2): Likewise.
38131         ($(objpfx)tst-quad1pie): Likewise.
38132         ($(objpfx)tst-quad2pie): Likewise.
38133         * sysdeps/x86_64/tst-quad1.c: New file.
38134         * sysdeps/x86_64/tst-quad1pie.c: New file.
38135         * sysdeps/x86_64/tst-quad2.c: Likewise.
38136         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38137         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38138         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38139         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38140         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38142 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38144         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38145         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38146         * streams/stropts.h (t_scalar_t): Define type.
38148         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38149         (_PATH_PRESERVE): Set to "/var/lib".
38150         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38152         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38153         instead of int.
38155         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38156         if __dir_mkfile succeeded.
38158         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38159         checking for _hurd_dtablesize.  Unlock it right after having
38160         finished _hurd_dtable allocation.
38162 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38164         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38165         * sysdeps/mach/hurd/configure: Regenerated.
38166         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38167         special-casing to...
38168         * sysdeps/gnu/configure.in: ... this new file.
38169         * sysdeps/unix/sysv/linux/configure: Regenerated.
38170         * sysdeps/gnu/configure: New generated file.
38172         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38173         for Linux: use nsec instead of usec, as well as:
38174         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38175         members of type struct timespec.
38176         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38177         New macros.
38178         (struct stat64): Likewise.
38179         (_STATBUF_ST_NSEC): New macro.
38180         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38182         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38183         __strtoul_internal rather than strtoul.
38185 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38187         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38188         and reject them.
38190 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38192         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38193         which preserves existing values.
38194         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38196 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38198         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38199         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38200         greater than FD_SETSIZE.
38202 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38204         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38205         allocated, call __vm_protect to finish enabling the existing space, and
38206         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38207         allocate the remainder.
38209 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38211         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38212         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38214 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38216         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38217         sysdeps/mach/hurd/readlink.c.
38219         * posix/tst-sysconf.c (posix_options): Only use
38220         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38221         _POSIX_SYNCHRONIZED_IO when they are defined
38222         * sysdeps/mach/hurd/bits/posix_opt.h:
38223         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38224         (_XOPEN_REALTIME): Undefine macro.
38225         (_XOPEN_REALTIME_THREADS): Undefine macro.
38226         (_XOPEN_SHM): Undefine macro.
38227         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38228         macro to -1.
38229         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38230         macro to -1.
38231         (_POSIX_ASYNC_IO): Undefine macro.
38232         (_POSIX_PRIORITIZED_IO): Undefine macro.
38233         (_POSIX_SPIN_LOCKS): Define macro to -1.
38235         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38236         SA_NODEFER, SA_RESETHAND.
38237         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38238         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38239         F_DUPFD_CLOEXEC.
38241 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38243         * elf/Makefile (pldd-modules): Define unconditionally.
38245 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38247         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38249 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38251         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38252         Return ENOENT when name is empty.
38253         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38255 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38257         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38259         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38261 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38263         Fix mlock in all cases except non-readable pages.
38264         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38265         instead of VM_PROT_ALL as parameter to __vm_wire function.
38267         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38268         (__mkdir): When path is `/', just fail with EEXIST.
38269         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38271 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38273         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38274         <sys/uio.h> (for writev).
38275         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38276         and <sys/param.h> (for MIN).
38278 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38280         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38281         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38282         if interrupted.
38284 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38286         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38287         Depend on against $(link-rpcuserlibs).
38289 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38291         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38292         (__libc_stack_end): Do not use attribute_relro.
38293         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38294         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38295         to libthread-provided value.
38296         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38297         attribute_relro.
38299 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38301         [BZ #3748]
38302         * bits/libc-lock.h (__libc_once_get): New macro.
38303         * sysdeps/mach/bits/libc-lock.h: Likewise.
38304         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38305         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38306         instead of using implementation details.
38308         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38309         * libio/freopen.c: Likewise.
38310         * libio/freopen64.c: Likewise.
38311         * misc/syslog.c: Likewise.
38312         * nscd/connections.c: Likewise.
38313         * nscd/netgroupcache.c: Likewise.
38314         * sysdeps/posix/getcwd.c: Likewise.
38316 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38318         * math/w_ilogbf.c: Add #include <limits.h>.
38320 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38322         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38323         path instead of returning without unlocking.
38325         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38326         immediate-write ioctls.
38327         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38329 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38331         * sysdeps/mach/hurd/i386/init-first.c (init): Use
38332         __builtin_frame_address instead of making assumptions about the
38333         location of the return address relative to DATA.  Force early load of
38334         the return address.
38335         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38336         __builtin_frame_address.
38338         dup3 for GNU Hurd.
38339         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38340         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
38341         implement dup3 and do some further code clean-ups.
38342         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38343         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38347         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38349         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38350         HURD_CRITICAL_END around holding _hurd_dtable_lock.
38351         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38352         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38353         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38354         d->port.lock.
38356         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38357         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
38358         when handler == SIG_ERR, not when handler != SIG_ERR.
38360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38362         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38363         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38364         definitions.
38366         accept4 for GNU Hurd.
38367         * include/sys/socket.h (__libc_accept4): New prototype.
38368         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
38369         to implement __libc_accept4.
38370         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38371         __libc_accept4.
38372         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38374         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38375         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38376         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38377         signal-defines.sym.
38379 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38381         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38383 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38385         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38386         assertion on O_CLOEXEC flag.
38387         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38388         * hurd/intern-fd.c: Likewise.
38389         * hurd/port2fd.c: Likewise.
38391 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38393         [BZ #3906]
38394         * bits/in.h (IPV6_PKTINFO): Define new macro.
38395         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38397 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38399         [BZ #13954]
38400         [BZ #13955]
38401         [BZ #13956]
38402         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38403         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38404         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38405         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38406         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38407         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38408         * math/libm-test.inc (logb_test) : Additional logb tests.
38410 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
38411             Andreas Jaeger  <aj@suse.de>
38413         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38414         * configure: Regenerated.
38415         * config.h.in (LINK_OBSOLETE_RPC): New macro.
38416         * config.make.in (link-obsolete-rpc): New substituted variable.
38417         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38418         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38419         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38420         (shared-only-routines): Don't set it under [link-obsolete-rpc],
38421         so that libc.a contains the symbols.
38422         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38423         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38424         * sunrpc/auth_none.c: Likewise.
38425         * sunrpc/auth_unix.c: Likewise.
38426         * sunrpc/authdes_prot.c: Likewise.
38427         * sunrpc/authuxprot.c: Likewise.
38428         * sunrpc/clnt_gen.c: Likewise.
38429         * sunrpc/clnt_perr.c: Likewise.
38430         * sunrpc/clnt_raw.c: Likewise.
38431         * sunrpc/clnt_simp.c: Likewise.
38432         * sunrpc/clnt_tcp.c: Likewise.
38433         * sunrpc/clnt_udp.c: Likewise.
38434         * sunrpc/clnt_unix.c: Likewise.
38435         * sunrpc/des_crypt.c: Likewise.
38436         * sunrpc/des_soft.c: Likewise.
38437         * sunrpc/get_myaddr.c: Likewise.
38438         * sunrpc/key_call.c: Likewise.
38439         * sunrpc/key_prot.c: Likewise.
38440         * sunrpc/netname.c: Likewise.
38441         * sunrpc/pm_getmaps.c: Likewise.
38442         * sunrpc/pm_getport.c: Likewise.
38443         * sunrpc/pmap_clnt.c: Likewise.
38444         * sunrpc/pmap_prot.c: Likewise.
38445         * sunrpc/pmap_prot2.c: Likewise.
38446         * sunrpc/pmap_rmt.c: Likewise.
38447         * sunrpc/publickey.c: Likewise.
38448         * sunrpc/rpc_cmsg.c: Likewise.
38449         * sunrpc/rpc_common.c: Likewise.
38450         * sunrpc/rpc_dtable.c: Likewise.
38451         * sunrpc/rpc_prot.c: Likewise.
38452         * sunrpc/rpc_thread.c: Likewise.
38453         * sunrpc/rtime.c: Likewise.
38454         * sunrpc/svc.c: Likewise.
38455         * sunrpc/svc_auth.c: Likewise.
38456         * sunrpc/svc_raw.c: Likewise.
38457         * sunrpc/svc_run.c: Likewise.
38458         * sunrpc/svc_tcp.c: Likewise.
38459         * sunrpc/svc_udp.c: Likewise.
38460         * sunrpc/svc_unix.c: Likewise.
38461         * sunrpc/svcauth_des.c: Likewise.
38462         * sunrpc/xcrypt.c: Likewise.
38463         * sunrpc/xdr.c: Likewise.
38464         * sunrpc/xdr_array.c: Likewise.
38465         * sunrpc/xdr_float.c: Likewise.
38466         * sunrpc/xdr_intXX_t.c: Likewise.
38467         * sunrpc/xdr_mem.c: Likewise.
38468         * sunrpc/xdr_rec.c: Likewise.
38469         * sunrpc/xdr_ref.c: Likewise.
38470         * sunrpc/xdr_sizeof.c: Likewise.
38471         * sunrpc/xdr_stdio.c: Likewise.
38473 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38475         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38476         change.  Update copyright years.
38478 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38480         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38482 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
38483             Joseph Myers  <joseph@codesourcery.com>
38484             Paul Pluzhnikov  <ppluzhnikov@google.com>
38486         [BZ #14012]
38487         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38488         requiring rpcgen.
38489         [cross-compiling] (extra-libs): Likewise.
38490         [cross-compiling] (extra-libs-others): Likewise.
38491         [cross-compiling] (librpcsvc-routines): Likewise.
38492         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38493         [cross-compiling] (omit-deps): Likewise.
38494         (sunrpc-CPPFLAGS): New variable.
38495         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38496         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38497         (cross-rpcgen-objs): New variable.
38498         (extra-objs): Append $(cross-rpcgen-objs).
38499         ($(cross-rpcgen-objs)): New rule.
38500         ($(objpfx)cross-rpcgen): Likewise.
38501         (rpcgen-cmd): Define to use $(built-program-file).  Expand
38502         comment.
38503         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38504         ($(objpfx)x%.stmp): Likewise.
38505         * sunrpc/proto.h [IS_IN_build] (_): Define.
38506         [IS_IN_build] (_libc_intl_domainname): Likewise.
38508 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38510         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38511         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38512         and R_X86_64_TPOFF64.
38514 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38516         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38517         sysdeps/unix/sysv/syscalls.list.
38518         (stime): Likewise.
38519         (utime): Likewise.
38520         * sysdeps/unix/sysv/syscalls.list: Remove file.
38522 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
38524         [BZ #3440]
38525         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38526         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38527         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38528         (__LC_IDENTIFICATION): Make these macros useful in #if
38529         expressions, as required by C99.
38531 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
38533         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38534         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
38535         after this.
38537 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
38539         * stdlib/longlong.h: Updated from GCC.
38541 2012-05-09  Andreas Jaeger  <aj@suse.de>
38543         * nscd/nscd.c (run_modes): Make named enum, reorder so that
38544         default is first entry.
38545         (run_mode): Set type.
38546         (main): Remove informal message about syslog.
38547         (options): Fix typo.
38549         [BZ #14053]
38550         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38551         to asm.
38552         (lrint): Likewise.
38553         (llrintf): Likewise.
38554         (llrint): Likewise.
38555         (rint): Likewise.
38556         (rintf): Likewise.
38557         (nearbyint): Likewise.
38558         (nearbyintf): Likewise.
38560 2012-05-09  Andreas Jaeger  <aj@suse.de>
38561             Pedro Alves  <palves@redhat.com>
38563         * nscd/nscd.c (run_mode): Use enum.
38564         (main): Cleanup coding style issue.
38566 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
38567             Andreas Jaeger  <aj@suse.de>
38569         * nscd/nscd.c (go_background): Replaced with...
38570         (run_mode): ... this.
38571         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38572         (options): Add -F --foreground.
38573         (main): Implement it.
38574         (parse_opt): Parse it.
38576 2012-05-09  Andreas Jaeger  <aj@suse.de>
38578         [BZ #14083]
38579         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38580         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38581         -Wconversion warning.
38582         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38583         Likewise.
38585 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
38587         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
38588         == 0.
38589         (LC_ALL): Use macro-int-constant.
38590         (LC_COLLATE): Likewise.
38591         (LC_CTYPE): Likewise.
38592         (LC_MESSAGES): Likewise.
38593         (LC_MONETARY): Likewise.
38594         (LC_NUMERIC): Likewise.
38595         (LC_TIME): Likewise.
38596         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38597         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38598         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38599         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38600         Specify type.
38601         [C99-based standards] (float_t): Expect type.
38602         [C99-based standards] (double_t): Expect type.
38603         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
38604         type.
38605         [C99-based standards] (HUGE_VALL): Likewise.
38606         [C99-based standards] (INFINITY): Likewise.
38607         [C99-based standards] (NAN): Likewise.
38608         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38609         [C99-based standards] (FP_NAN): Likewise.
38610         [C99-based standards] (FP_NORMAL): Likewise.
38611         [C99-based standards] (FP_SUBNORMAL): Likewise.
38612         [C99-based standards] (FP_ZERO): Likewise.
38613         [C99-based standards] (FP_FAST_FMA): Use
38614         optional-macro-int-constant.  Specify type.  Require == 1.
38615         [C99-based standards] (FP_FAST_FMAF): Likewise.
38616         [C99-based standards] (FP_FAST_FMAL): Likewise.
38617         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38618         [C99-based standards] (FP_ILOGBNAN): Likewise.
38619         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38620         Specify type.
38621         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38622         [C99-based standards] (math_errhandling): Specify type.
38623         [ISO99 || ISO11] (signgam): Do not allow.
38624         [non-C99-based standards] (copysignf): Do not allow.
38625         [non-C99-based standards] (exp2f): Likewise.
38626         [non-C99-based standards] (log2f): Likewise.
38627         [non-C99-based standards] (modff): Allow.
38628         [non-C99-based standards] (erff): Do not allow.
38629         [non-C99-based standards] (erfcf): Likewise.
38630         [non-C99-based standards] (gammaf): Likewise.
38631         [non-C99-based standards] (hypotf): Likewise.
38632         [non-C99-based standards] (j0f): Likewise.
38633         [non-C99-based standards] (j1f): Likewise.
38634         [non-C99-based standards] (jnf): Likewise.
38635         [non-C99-based standards] (lgammaf): Likewise.
38636         [non-C99-based standards] (tgammaf): Likewise.
38637         [non-C99-based standards] (y0f): Likewise.
38638         [non-C99-based standards] (y1f): Likewise.
38639         [non-C99-based standards] (ynf): Likewise.
38640         [non-C99-based standards] (isnanf): Likewise.
38641         [non-C99-based standards] (acoshf): Likewise.
38642         [non-C99-based standards] (asinhf): Likewise.
38643         [non-C99-based standards] (atanhf): Likewise.
38644         [non-C99-based standards] (cbrtf): Likewise.
38645         [non-C99-based standards] (expm1f): Likewise.
38646         [non-C99-based standards] (ilogbf): Likewise.
38647         [non-C99-based standards] (log1pf): Likewise.
38648         [non-C99-based standards] (logbf): Likewise.
38649         [non-C99-based standards] (nextafterf): Likewise.
38650         [non-C99-based standards] (remainderf): Likewise.
38651         [non-C99-based standards] (rintf): Likewise.
38652         [non-C99-based standards] (scalbf): Likewise.
38653         [non-C99-based standards] (copysignl): Likewise.
38654         [non-C99-based standards] (exp2l): Likewise.
38655         [non-C99-based standards] (log2l): Likewise.
38656         [non-C99-based standards] (modfl): Allow.
38657         [non-C99-based standards] (erfl): Do not allow.
38658         [non-C99-based standards] (erfcl): Likewise.
38659         [non-C99-based standards] (gammal): Likewise.
38660         [non-C99-based standards] (hypotl): Likewise.
38661         [non-C99-based standards] (j0l): Likewise.
38662         [non-C99-based standards] (j1l): Likewise.
38663         [non-C99-based standards] (jnl): Likewise.
38664         [non-C99-based standards] (lgammal): Likewise.
38665         [non-C99-based standards] (tgammal): Likewise.
38666         [non-C99-based standards] (y0l): Likewise.
38667         [non-C99-based standards] (y1l): Likewise.
38668         [non-C99-based standards] (ynl): Likewise.
38669         [non-C99-based standards] (isnanl): Likewise.
38670         [non-C99-based standards] (acoshl): Likewise.
38671         [non-C99-based standards] (asinhl): Likewise.
38672         [non-C99-based standards] (atanhl): Likewise.
38673         [non-C99-based standards] (cbrtl): Likewise.
38674         [non-C99-based standards] (expm1l): Likewise.
38675         [non-C99-based standards] (ilogbl): Likewise.
38676         [non-C99-based standards] (log1pl): Likewise.
38677         [non-C99-based standards] (logbl): Likewise.
38678         [non-C99-based standards] (nextafterl): Likewise.
38679         [non-C99-based standards] (remainderl): Likewise.
38680         [non-C99-based standards] (rintl): Likewise.
38681         [non-C99-based standards] (scalbl): Likewise.
38682         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38683         [non-C99-based standards] (FP_*): Do not allow.
38684         [C99-based standards] (FP_*): Change to
38685         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38686         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38687         allow.
38688         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38689         (SIG_ERR): Likewise.
38690         [X/Open-based standards] (SIG_HOLD): Likewise.
38691         (SIG_IGN): Likewise.
38692         (SIGABRT): Use macro-int-constant.  Specify type.  Require
38693         positive value.
38694         (SIGFPE): Likewise.
38695         (SIGILL): Likewise.
38696         (SIGINT): Likewise.
38697         (SIGSEGV): Likewise.
38698         (SIGTER): Likewise.
38699         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38700         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38701         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38702         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38703         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38704         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38705         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38706         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38707         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38708         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38709         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38710         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38711         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38712         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38713         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38714         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38715         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38716         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38717         [X/Open-based standards] (SIGTRAP): Likewise.
38718         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38719         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38720         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38721         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38722         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38723         allow.
38725 2012-05-08  Ian Wienand  <ianw@vmware.com>
38727         [BZ #14080]
38728         * time/tzset.c (__tzset_parse_tz): Update default rules for
38729         daylight time changes in the Energy Policy Act of 2005.
38731 2012-05-09  Andreas Jaeger  <aj@suse.de>
38733         [BZ #13983]
38734         * elf/ldconfig.c (parse_conf): Change string to make clear that
38735         ldconfig only issued a warning if ld.so.conf does not exist.
38737 2012-05-08  David S. Miller  <davem@davemloft.net>
38739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38740         movxtod instead of popping the value on the stack.
38742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38744 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
38746         * config.h.in: Add HAVE_ARM_PCS_VFP.
38748 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
38750         [BZ #13979]
38751         * include/features.h: Warn if user requests __FORTIFY_SOURCE
38752         checking but the checks are disabled for any reason.
38754 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
38756         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38757         and ELF64_R_TYPE with ELFW(R_TYPE).
38759 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
38761         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38762         (ulimit): Likewise.
38764         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38765         (settimeofday): Likewise.
38767 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
38769         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
38770         a struct th_u2 inside the union, and move tu_block/tu_code into
38771         a new th_u3 union of tu_block/tu_code inside of that.  Move
38772         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
38773         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
38774         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38775         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38776         (th_stuff): Change to th_u1.tu_stuff.
38777         (th_data): Define.
38778         (th_msg): Change to th_u1.th_u2.tu_data.
38780 2012-05-07  David S. Miller  <davem@davemloft.net>
38782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38784         [BZ #14074]
38785         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38786         (SETUP_PIC_REG): Use it.
38787         (SETUP_PIC_REG_LEAF): Use it.
38789 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
38791         [BZ #13885]
38792         [BZ #13923]
38793         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38794         USE_AS_EXPM1L.
38795         (EXPL_FINITE): Likewise.
38796         (FLDLOG): Likewise.
38797         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38798         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38799         e_expl.S.
38800         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38801         USE_AS_EXPM1L.
38802         (EXPL_FINITE): Likewise.
38803         (FLDLOG): Likewise.
38804         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38805         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38806         e_expl.S.
38807         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
38808         test of -max_value argument for long double.
38809         * sysdeps/i386/fpu/libm-test-ulps: Update.
38810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38812 2012-05-06  David S. Miller  <davem@davemloft.net>
38814         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38815         quad soft-float symbols whose references which are compiler
38816         generated.
38817         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38819 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
38821         [BZ #13884]
38822         [BZ #13914]
38823         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38824         USE_AS_EXP10L.
38825         (EXPL_FINITE): Likewise.
38826         (FLDLOG): Likewise.
38827         (c0): Likewise.
38828         (c1): Likewise.
38829         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38830         Adjust comments for base varying.
38831         (__expl_finite): Change alias to EXPL_FINITE.
38832         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38833         e_expl.S.
38834         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38835         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38836         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38837         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38838         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38839         USE_AS_EXP10L.
38840         (EXPL_FINITE): Likewise.
38841         (FLDLOG): Likewise.
38842         (c0): Likewise.
38843         (c1): Likewise.
38844         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38845         Adjust comments for base varying.
38846         (__expl_finite): Change alias to EXPL_FINITE.
38847         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
38848         tests for bugs.
38849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38851         [BZ #14064]
38852         * math/libm-test.inc (check_float_internal): Correct ulp
38853         calculation for subnormal expected results.
38855 2012-05-06  Andreas Jaeger  <aj@suse.de>
38857         * Makeconfig (+math-flags): New, set to -frounding-math.
38858         (+cflags): Add +math-flags so that all of glibc gets compiled with
38859         it.
38861         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38863 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
38865         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38866         Disable one test.
38868         [BZ #13787]
38869         [BZ #13922]
38870         [BZ #14036]
38871         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38872         (__ieee754_expl): Allow for and saturate large arguments.
38873         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38874         (u_threshold): Likewise.
38875         (__exp): Call __ieee754_exp before checking for overflow and
38876         underflow.
38877         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38878         (u_threshold): Likewise.
38879         (__expf): Call __ieee754_expf before checking for overflow and
38880         underflow.
38881         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38882         (u_threshold): Likewise.
38883         (__expl): Call __ieee754_expl before checking for overflow and
38884         underflow.
38885         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38886         (__ieee754_expl): Allow for and saturate large arguments.
38887         * math/libm-test.inc (exp_test): Add another test.  Do not allow
38888         missing overflow exception on overflow.
38889         (expm1_test): Do not allow missing overflow exception on overflow.
38891         * sysdeps/i386/fpu/e_expl.c: Move to ...
38892         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
38893         rather than using inline asm.
38894         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38895         * sysdeps/x86_64/fpu/e_expl.S: Copy from
38896         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38898         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38899         (nice): Likewise.
38900         (poll): Likewise.
38901         (signal): Likewise.
38902         (time): Likewise.
38903         (times): Likewise.
38905 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38907         * sysdeps/unix/syscalls.list (adjtime): Add entry from
38908         sysdeps/unix/common/syscalls.list.
38909         (fchmod): Likewise.
38910         (fchown): Likewise.
38911         (ftruncate): Likewise.
38912         (getrusage): Likewise.
38913         (gettimeofday): Likewise.
38914         (setpgid): Likewise.
38915         (setregid): Likewise.
38916         (setreuid): Likewise.
38917         (sigaction): Likewise.
38918         (truncate): Likewise.
38919         (vhangup): Likewise.
38920         * sysdeps/unix/common/syscalls.list: Remove file.
38921         * sysdeps/unix/bsd/Implies: Don't include unix/common.
38922         * sysdeps/unix/sysv/linux/Implies: Likewise.
38924 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
38926         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38928         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38929         Moved to ...
38930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38931         Here.
38932         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38933         to ...
38934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38935         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38936         to ...
38937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38938         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38939         to ...
38940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38941         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38942         to ...
38943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38944         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38945         to ...
38946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38947         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38948         to ...
38949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38950         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38951         to ...
38952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38953         Here.
38954         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38955         to ...
38956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38957         Here.
38958         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38959         to ...
38960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38961         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38962         Moved to ...
38963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38964         Here.
38965         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38966         to ...
38967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38969 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38971         * sysdeps/unix/common/bits/dirent.h: Remove file.
38972         * sysdeps/unix/common/bits/fcntl.h: Likewise.
38974         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38975         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38976         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38977         * sysdeps/unix/bsd/isatty.c: Likewise.
38978         * sysdeps/unix/bsd/tcdrain.c: Likewise.
38979         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38980         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38982 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38984         [BZ #13563]
38985         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38986         long double comparison inaccuracies.
38987         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38990 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
38992         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38993         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38995 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38997         [BZ #14049]
38998         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38999         nonzero digits before rounding a hex value.
39000         * stdlib/tst-strtod.c (tests): Add another test.
39002 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39004         * sysdeps/s390/fpu/libm-test-ulps: Update.
39006 2012-05-03  Andreas Jaeger  <aj@suse.de>
39008         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39009         does not get optimized out.
39010         (malloc_opt_barrier): New.
39012 2012-05-03  Andreas Jaeger  <aj@suse.de>
39013             Roland McGrath  <roland@hack.frob.com>
39015         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39016         intermediate file deletion.
39017         (generated): Add .symlist files.
39019 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
39021         [BZ #13775]
39022         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39023         Redirect under this condition.
39024         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39025         [__USE_GNU] (__dprintf_chk): Not under this condition.
39026         [__USE_GNU] (__vdprintf_chk): Likewise.
39027         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39028         under this condition.
39029         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39030         [__USE_XOPEN2K8] (dprintf): Define under this condition.
39031         [__USE_XOPEN2K8] (vdprintf): Likewise.
39032         [__USE_GNU] (__dprintf_chk): Not under this condition.
39033         [__USE_GNU] (__vdprintf_chk): Likewise.
39034         [__USE_GNU] (dprintf): Likewise.
39035         [__USE_GNU] (vdprintf): Likewise.
39037 2012-05-03  Roland McGrath  <roland@hack.frob.com>
39039         * elf/Makefile (common-generated): Set this instead of generated for
39040         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
39041         $(all-built-dso)-derived lists.
39043 2012-05-03  Andreas Jaeger  <aj@suse.de>
39045         * sysdeps/i386/fpu/libm-test-ulps: Update.
39047         * FAQ: Removed.
39048         * FAQ.in: Likewise.
39049         * scripts/gen-FAQ.pl: Likewise.
39050         * manual/install.texi (Installation): Point to online location of
39051         FAQ.
39052         * Makefile (files-for-dist): Remove FAQ.
39053         (FAQ): Remove.
39055 2012-05-02  Allan McRae  <allan@archlinux.org>
39057         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39058         (LDFLAGS-reldepmod5.so): Likewise.
39059         (LDFLAGS-reldep6mod1.so): Likewise.
39060         (LDFLAGS-reldep6mod4.so): Likewise.
39061         (LDFLAGS-reldep8mod3.so): Likewise.
39062         (LDFLAGS-unload4mod1.so): Likewise.
39063         (LDFLAGS-unload4mod2.so): Likewise.
39064         (LDFLAGS-tst-initorder): Likewise.
39065         (LDFLAGS-tst-initordera2.so): Likewise.
39066         (LDFLAGS-tst-initordera3.so): Likewise.
39067         (LDFLAGS-tst-initordera4.so): Likewise.
39068         (LDFLAGS-tst-initorderb2.so): Likewise.
39069         (LDFLAGS-noload): Likewise.
39070         (LDFLAGS-next): Likewise.
39071         (LDFLAGS-order2mod1.so): Likewise.
39072         (LDFLAGS-order2mod2.so): Likewise.
39073         (LDFLAGS-tst-initorder2): Likewise.
39074         (LDFLAGS-tst-initorder2a.so): Likewise.
39075         (LDFLAGS-tst-initorder2b.so): Likewise.
39076         (LDFLAGS-tst-initorder2c.so): Likewise.
39077         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39079 2012-05-02  David S. Miller  <davem@davemloft.net>
39081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39083 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39085         [BZ #14055]
39086         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39088 2012-05-02  Andreas Jaeger  <aj@suse.de>
39090         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39091         since we manipulate rounding mode.
39092         (CPPFLAGS-test-idouble.c): Likewise.
39093         (CPPFLAGS-test-ifloat.c): Likewise.
39094         (CFLAGS-test-ldouble.c): Likewise.
39095         (CFLAGS-test-double.c): Likewise.
39096         (CFLAGS-test-float.c): Likewise.
39097         (CFLAGS-test-misc.c): Likewise.
39098         (CFLAGS-test-test-fenv.c): Likewise.
39100 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39102         [BZ #2550]
39103         [BZ #2570]
39104         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39105         comparisons to determine direction to adjust input.
39107 2012-05-01  Roland McGrath  <roland@hack.frob.com>
39109         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39110         output to the target.
39112         * scripts/localplt.awk: New file.
39113         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39114         (check-localplt-CFLAGS): Variable removed.
39115         ($(all-built-dso:=.jmprel)): New static pattern rule.
39116         (generated): Add those targets.
39117         (localplt-built-dso): New variable.
39118         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39120         * elf/check-localplt.c: File removed.
39122         * scripts/check-execstack.awk: New file.
39123         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39124         (check-execstack-CFLAGS): Variable removed.
39125         ($(objpfx)check-execstack.h): Target removed.
39126         ($(objpfx)execstack-default): New target.
39127         (generated): Add that instead of check-execstack.h.
39128         ($(all-built-dso:=.phdr)): New static pattern rule.
39129         (generated): Add those targets.
39130         * elf/check-execstack.c: File removed.
39132         * scripts/check-textrel.awk: New file.
39133         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39134         (check-textrel-CFLAGS): Variable removed.
39135         (all-built-dso): Use := to define.o
39136         ($(all-built-dso:=.dyn)): New static pattern rule.
39137         (generated): Add those targets.
39138         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39139         * config.make.in (READELF): New substituted variable.
39140         * elf/check-textrel.c: File removed.
39142 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39144         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39145         allow.
39146         * conform/data/ctype.h-data [C99-based standards] (isblank):
39147         Expect function.
39148         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39149         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39150         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39151         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39152         Specify type.  Require positive value.
39153         (EILSEQ): Likewise.
39154         (ERANGE): Likewise.
39155         [ISO || POSIX] (EILSEQ): Do not expect.
39156         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39157         Specify type.  Require positive value.
39158         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39159         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39160         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39161         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39162         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39163         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39164         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39165         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39166         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39167         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39168         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39169         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39170         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39171         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39172         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39173         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39174         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39175         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39176         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39177         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39178         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39179         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39180         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39181         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39182         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39183         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39184         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39185         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39186         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39187         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39188         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39189         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39190         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39191         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39192         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39193         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39194         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39195         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39196         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39197         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39198         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39199         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39200         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39201         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39202         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39203         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39204         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39205         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39206         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39207         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39208         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39209         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39210         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39211         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39212         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39213         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39214         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39215         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39216         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39217         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39218         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39219         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39220         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39221         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39222         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39223         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39224         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39225         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39226         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39227         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39228         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39229         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39230         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39231         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39232         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39233         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39234         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39235         Require >= 2.
39236         (FLT_ROUNDS): Expect as macro, not constant.
39237         (FLT_MANT_DIG): Use macro-int-constant.
39238         (DBL_MANT_DIG): Likewise.
39239         (LDBL_MANT_DIG): Likewise.
39240         (FLT_DIG): Likewise.
39241         (DBL_DIG): Likewise.
39242         (LDBL_DIG): Likewise.
39243         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39244         (DBL_MIN_EXP): Likewise.
39245         (LDBL_MIN_EXP): Likewise.
39246         (FLT_MAX_EXP): Use macro-int-constant.
39247         (DBL_MAX_EXP): Likewise.
39248         (LDBL_MAX_EXP): Likewise.
39249         (FLT_MAX_10_EXP): Likewise.
39250         (DBL_MAX_10_EXP): Likewise.
39251         (LDBL_MAX_10_EXP): Likewise.
39252         (FLT_MAX): Use macro-constant.
39253         (DBL_MAX): Likewise.
39254         (LDBL_MAX): Likewise.
39255         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39256         (DBL_EPSILON): Likewise.
39257         (LDBL_EPSILON): Likewise.
39258         (FLT_MIN): Likewise.
39259         (DBL_MIN): Likewise.
39260         (LDBL_MIN): Likewise.
39261         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39262         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39263         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39264         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39265         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39266         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39267         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39268         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39269         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39270         [ISO11] (FLT_TRUE_MIN): Likewise.
39271         [ISO11] (LDBL_TRUE_MIN): Likewise.
39272         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39273         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39274         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39275         (SCHAR_MAX): Likewise.
39276         (UCHAR_MAX): Likewise.
39277         (CHAR_MIN): Likewise.
39278         (CHAR_MAX): Likewise.
39279         (MB_LEN_MAX): Use macro-int-constant.
39280         (SHRT_MIN): Use macro-int-constant.  Specify type.
39281         (SHRT_MAX): Likewise.
39282         (USHRT_MAX): Likewise.
39283         (INT_MAX): Likewise.
39284         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39285         bound negative.
39286         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39287         bound with "U".
39288         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39289         bound with "L".
39290         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39291         bound negative.  Suffix upper bound with "L".
39292         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39293         bound with "UL".
39294         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39295         Specify type.
39296         [C99-based standards] (LLONG_MAX): Likewise.
39297         [C99-based standards] (ULLONG_MAX): Likewise.
39298         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39299         == 0.
39300         [ISO11] (max_align_t): Require type.
39301         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39303         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39304         from $CFLAGS, without defining away __attribute__ calls.
39305         (checknamespace): Use $CFLAGS_namespace.
39307         * conform/conformtest.pl (@keywords): Only include C99 keywords
39308         for standards based on C99 or C11.
39310         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39311         Disable tests.
39312         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39313         UNIX98]: Likewise.
39315         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39316         usability of symbols in #if.
39318         * conform/conformtest.pl: If macro or constant types start
39319         "promoted:", expect the symbol to be of the following type
39320         promoted by the integer promotions.
39322         * conform/conformtest.pl: Parse all "constant" and "macro" lines
39323         in one place.  Also handle "macro-constant".
39325         * conform/conformtest.pl: Only accept expected macro values with
39326         "==".  Parse all "macro" lines in one place.
39327         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39329         * conform/conformtest.pl: Handle braced types on "constant" lines
39330         instead of handling "typed-constant".
39331         * conform/data/signal.h-data: Use "constant" instead of
39332         "typed-constant".
39334         * conform/conformtest.pl: Handle "optional-" at start of lines in
39335         one place rather than duplicating several cases.  Handle each
39336         format of "macro" line with initial "optional-".
39338         * conform/conformtest.pl: Only accept expected constant or
39339         optional-constant values with "==".  Parse all "constant" lines in
39340         one place.  Parse all "optional-constant" lines in one place.
39341         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39342         * conform/data/fmtmsg.h-data: Likewise.
39343         * conform/data/netinet/in.h-data: Likewise.
39344         * conform/data/tar.h-data: Likewise.
39345         * conform/data/limits.h-data: Use "==" form on "constant" and
39346         "optional-constant" lines.
39348         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39349         Use -std=c99 for XOPEN2K.
39350         (@knownproblems): Remove.
39351         (newtoken): Don't check %isknown.
39353         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39354         Do not expect macro.
39355         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39356         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39357         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39358         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39359         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39360         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39361         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39362         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39363         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39364         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39365         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39366         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39367         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39368         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39369         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39370         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39371         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39372         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39373         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39374         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39375         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39376         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39377         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39378         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39379         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39380         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39381         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39382         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39383         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39384         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39385         [XPG3] (acosh): Likewise.
39386         [XPG3] (asinh): Likewise.
39387         [XPG3] (atanh): Likewise.
39388         [XPG3] (cbrt): Likewise.
39389         [XPG3] (expm1): Likewise.
39390         [XPG3] (ilogb): Likewise.
39391         [XPG3] (log1p): Likewise.
39392         [XPG3] (logb): Likewise.
39393         [XPG3] (nextafter): Likewise.
39394         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39395         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39396         [XPG3] (remainder): Likewise.
39397         [XPG3] (rint): Likewise.
39398         [XPG3 || XPG4 || UNIX98] (round): Likewise.
39399         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39400         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39401         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39402         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39403         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39404         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39405         [UNIX98 || XOPEN2K] (scalb): Expect.
39406         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39407         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39408         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39409         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39410         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39411         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39412         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39413         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39414         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39415         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39416         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39417         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39418         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39419         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39420         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39421         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39422         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39423         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39424         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39425         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39426         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39427         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39428         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39429         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39430         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39431         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39432         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39433         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39434         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39435         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39436         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39437         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39438         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39439         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39440         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39441         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39442         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39443         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39444         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39445         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39446         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39447         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39448         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39449         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39450         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39451         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39452         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39453         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39454         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39455         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39456         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39457         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39458         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39459         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39460         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39461         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39462         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39463         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39464         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39465         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39466         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39467         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39468         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39469         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39470         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39471         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39472         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39473         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39474         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39475         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39476         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39477         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39478         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39479         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39480         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39481         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39482         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39483         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39484         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39485         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39486         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39487         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39488         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39489         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39490         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39491         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39492         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39493         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39494         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39495         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39496         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39497         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39498         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39499         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39500         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39501         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39502         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39503         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39504         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39505         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39506         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39507         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39508         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39509         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39510         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39511         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39512         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39513         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39514         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39515         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39516         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39517         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39518         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39519         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39520         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39521         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39522         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39523         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39524         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39525         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39526         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39527         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39528         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39529         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39530         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39531         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39532         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39533         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39534         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39535         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39536         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39537         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39538         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39539         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39540         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39541         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39542         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39544         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39545         _XOPEN_SOURCE_EXTENDED for XPG4.
39547         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39549         * Makeconfig (localtime): Remove variable.
39550         (inst_localtime-file): Likewise.
39552 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39555         Update.
39556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39557         Update.
39558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39559         Update.
39560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39561         Update.
39562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39563         Update.
39564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39565         Update.
39566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39567         Update.
39568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39569         Update.
39570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39571         Update.
39573 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39575         [BZ #2550]
39576         [BZ #2570]
39577         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39578         comparisons to determine direction to adjust input.
39579         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39580         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39581         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39582         Likewise.
39583         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39584         Likewise.
39585         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39586         Likewise.
39587         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39588         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39589         Likewise.
39590         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39591         Likewise.
39592         * math/libm-test.inc (nexttoward_test): Add more tests.
39594 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39596         [BZ #14040]
39597         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39598         in version GLIBC_2.1, not GLIBC_2.0.
39599         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39600         Likewise.
39602 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
39604         [BZ #13942]
39605         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39606         (1 - x) * (1 + x).
39607         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39608         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39609         * math/libm-test.inc (acos_test): Add more tests.
39610         (asin_test): Likewise.
39611         * sysdeps/i386/fpu/libm-test-ulps: Update.
39612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39614         [BZ #14034]
39615         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39616         of square root.
39617         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39618         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39619         * math/libm-test.inc (acos_test_tonearest): New function.
39620         (acos_test_towardzero): Likewise.
39621         (acos_test_downward): Likewise.
39622         (acos_test_upward): Likewise.
39623         (asin_test_tonearest): Likewise.
39624         (asin_test_towardzero): Likewise.
39625         (asin_test_downward): Likewise.
39626         (asin_test_upward): Likewise.
39627         (main): Call the new functions.
39628         * sysdeps/i386/fpu/libm-test-ulps: Update.
39629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39631         [BZ #13884]
39632         [BZ #13924]
39633         * math/e_exp10.c: Include <float.h>.
39634         (__ieee754_exp10): Handle underflow here rather than multiplying
39635         large negative argument by M_LN10.
39636         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39637         of __ieee754_expf.
39638         * math/e_exp10l.c: Include <float.h>.
39639         (__ieee754_exp10l): Handle underflow here rather than multiplying
39640         large negative argument by M_LN10l.
39641         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
39642         spurious overflow exception on underflow.
39644 2012-04-29  Marek Polacek  <polacek@redhat.com>
39646         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39647         (__fortify_function): New macro.
39648         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39649         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39650         __extern_always_inline.
39651         * libio/bits/stdio2.h: Likewise.
39652         * libio/bits/stdio.h: Likewise.
39653         * string/string.h: Likewise.
39654         * string/bits/string3.h: Likewise.
39655         * include/stdio.h: Likewise.
39656         * stdlib/bits/stdlib.h: Likewise.
39657         * stdlib/stdlib.h: Likewise.
39658         * rt/bits/mqueue2.h: Likewise.
39659         * rt/mqueue.h: Likewise.
39660         * posix/bits/unistd.h: Likewise.
39661         * posix/unistd.h: Likewise.
39662         * io/bits/poll2.h: Likewise.
39663         * io/bits/fcntl2.h: Likewise.
39664         * io/fcntl.h: Likewise.
39665         * io/sys/poll.h: Likewise.
39666         * misc/bits/syslog.h: Likewise.
39667         * misc/bits/syslog-ldbl.h: Likewise.
39668         * misc/sys/syslog.h: Likewise.
39669         * socket/bits/socket2.h: Likewise.
39670         * socket/sys/socket.h: Likewise.
39671         * debug/tst-chk1.c: Likewise.
39672         * wcsmbs/bits/wchar2.h: Likewise.
39673         * wcsmbs/bits/wchar-ldbl.h: Likewise.
39674         * wcsmbs/wchar.h: Likewise.
39676 2012-04-29  Andreas Jaeger  <aj@suse.de>
39678         * Makerules (tests): Remove enable-check-abi protection.
39679         (check-abi-warn): Remove.
39680         (check-abi-%): Remove check-abi-warn usage.
39682         * configure.in: Remove check-abi configure option.
39683         * configure: Regenerated.
39684         * config.make.in (enable-check-abi): Remove.
39686 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
39688         [BZ #14033]
39689         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39690         double functions to double *_finite functions.
39692         [BZ #13941]
39693         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39694         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39695         LDBL_MIN_EXP.
39696         * stdio-common/Makefile (tests): Add tst-sprintf3.
39697         * stdio-common/tst-sprintf3.c: New file.
39699         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39700         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39702 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39704         * conform/conformtest.pl: Remove duplicate typed-constant
39705         handling.
39707 2012-04-28  David S. Miller  <davem@davemloft.net>
39709         * Makerules (%.abilist): Add vpath on sysdep_dirs.
39710         (check-abi-%): Remove AWK script prerequisite and explicit
39711         abilist directory.
39712         (check-abi): Rewrite to just diff the symlist with the abilist.
39713         (config-tls, config-abi-config): Delete, no longer used.
39714         (update-abi-%): Remove AWK script and explicit abilist directory.
39715         (update-abi): Rewrite to simply compare and conditionally copy the
39716         symlist and the sysdep abilist file.  Remove update-abi-config
39717         checks.
39718         * abilist/ld.abilist: Remove.
39719         * abilist/libBrokenLocale.abilist: Remove.
39720         * abilist/libanl.abilist: Remove.
39721         * abilist/libcrypt.abilist: Remove.
39722         * abilist/libdl.abilist: Remove.
39723         * abilist/librt.abilist: Remove.
39724         * abilist/libthread_db.abilist: Remove.
39725         * abilist/libutil.abilist: Remove.
39726         * scripts/extract-abilist.awk: Remove.
39727         * scripts/merge-abilist.awk: Remove.
39728         * sysdeps/generic/libcidn.abilist: New file.
39729         * sysdeps/generic/libnss_compat.abilist: New file.
39730         * sysdeps/generic/libnss_db.abilist: New file.
39731         * sysdeps/generic/libnss_dns.abilist: New file.
39732         * sysdeps/generic/libnss_files.abilist: New file.
39733         * sysdeps/generic/libnss_hesiod.abilist: New file.
39734         * sysdeps/generic/libnss_nis.abilist: New file.
39735         * sysdeps/generic/libnss_nisplus.abilist: New file.
39736         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39737         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39738         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39739         file.
39740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39741         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39742         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39743         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39744         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39745         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39746         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39747         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39748         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39749         file.
39750         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39751         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39752         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39753         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39754         file.
39755         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39756         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39757         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39758         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39759         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39760         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39761         file.
39762         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39763         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39764         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39765         file.
39766         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39768         New file.
39769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39770         New file.
39771         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39772         New file.
39773         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39774         New file.
39775         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39776         New file.
39777         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39778         New file.
39779         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39780         New file.
39781         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39782         New file.
39783         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39784         New file.
39785         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39786         New file.
39787         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39788         New file.
39789         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39790         New file.
39791         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39792         New file.
39793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39794         file.
39795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39796         New file.
39797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39798         New file.
39799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39800         file.
39801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39802         New file.
39803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39804         New file.
39805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39806         file.
39807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39808         New file.
39809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39810         New file.
39811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39812         New file.
39813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39814         New file.
39815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39816         New file.
39817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39818         New file.
39819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39821         file.
39822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39823         New file.
39824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39825         file.
39826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39827         file.
39828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39829         file.
39830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39831         file.
39832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39833         file.
39834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39835         New file.
39836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39837         file.
39838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39839         file.
39840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39841         New file.
39842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39843         file.
39844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39846         file.
39847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39848         New file.
39849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39850         file.
39851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39852         file.
39853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39854         file.
39855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39856         file.
39857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39858         file.
39859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39860         New file.
39861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39862         file.
39863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39864         file.
39865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39866         New file.
39867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39868         file.
39869         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39870         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39871         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39872         file.
39873         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39874         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39875         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39876         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39877         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39878         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39879         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39880         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39881         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39882         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39885         file.
39886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39887         New file.
39888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39889         file.
39890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39891         file.
39892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39893         file.
39894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39895         file.
39896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39897         file.
39898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39899         New file.
39900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39901         New file.
39902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39903         file.
39904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39905         New file.
39906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39907         file.
39908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39910         file.
39911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39912         New file.
39913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39914         file.
39915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39916         file.
39917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39918         file.
39919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39920         file.
39921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39922         file.
39923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39924         New file.
39925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39926         New file.
39927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39928         file.
39929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39930         New file.
39931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39932         file.
39934 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39936         * conform/conformtest.pl: Fix typo in handling typed-constant from
39937         allow-header.
39939 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39941         * README: Cut down references to pre-2.6 Linux kernels and
39942         Linuxthreads.  Update lists of configurations in libc and ports
39943         and sort alphabetically.  Say "or newer" with Linux kernel version
39944         requirements.
39946         * config.h.in [IS_IN_build]: Allow compiling without optimization.
39948 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39950         [BZ #887]
39951         * math/libm-test.inc (logb_test_downward): New test to expose
39952         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39953         rounding mode.
39955 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39957         [BZ #14027]
39958         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39959         to be done.
39960         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39961         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39963 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
39965         * sysdeps/unix/i386/brk.S: Remove file.
39966         * sysdeps/unix/i386/dl-brk.S: Likewise.
39967         * sysdeps/unix/i386/pipe.S: Likewise.
39968         * sysdeps/unix/i386/sigreturn.S: Likewise.
39969         * sysdeps/unix/i386/syscall.S: Likewise.
39970         * sysdeps/unix/i386/vfork.S: Likewise.
39971         * sysdeps/unix/i386/wait.S: Likewise.
39973         * sysdeps/unix/common/tcsendbrk.c: Move to ...
39974         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39976         * configure.in (arm*-none*): Do not allow without
39977         --enable-hacker-mode.
39978         (netbsd*): Remove case setting base_os.
39979         (386bsd*): Likewise.
39980         (freebsd*): Likewise.
39981         (bsdi*): Likewise.
39982         (osf*): Likewise.
39983         (sunos*): Likewise.
39984         (ultrix*): Likewise.
39985         (newsos*): Likewise.
39986         (dynix*): Likewise.
39987         (*bsd*): Likewise.
39988         (sysv*): Likewise.
39989         (isc*): Likewise.
39990         (esix*): Likewise.
39991         (sco*): Likewise.
39992         (minix*): Likewise.
39993         (irix4*): Likewise.
39994         (irix6*): Likewise.
39995         (solaris[2-9]*): Likewise.
39996         (none): Likewise.
39997         * configure: Regenerated.
39999 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40001         [BZ #11521]
40002         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40003         overflow or cancellation in calculating denominator.
40004         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40005         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40006         down expression to avoid unexpected rounding in newer GCCs.
40007         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40009 2012-04-26  David S. Miller  <davem@davemloft.net>
40011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40012         long-double compat symbols.
40013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40027 2012-04-25  David S. Miller  <davem@davemloft.net>
40029         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40030         HWCAP_* values only after the memory barriers have been defined.
40031         (atomic_full_barrier): Define.
40032         (atomic_read_barrier): Define.
40033         (atomic_write_barrier): Define.
40035 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40037         * shlib-versions: Add libgcc_s version information.
40038         * sysdeps/generic/libgcc_s.h: Remove.
40039         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40040         libgcc_s.h.
40041         * sysdeps/gnu/unwind-resume.c: Likewise.
40042         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40044 2012-04-25  David S. Miller  <davem@davemloft.net>
40046         * sysdeps/unix/sparc/brk.S: Delete.
40047         * sysdeps/unix/sparc/dl-brk.S: Delete.
40048         * sysdeps/unix/sparc/pipe.S: Delete.
40049         * sysdeps/unix/sparc/sysdep.S: Delete.
40050         * sysdeps/unix/sparc/sysdep.h: Delete.
40051         * sysdeps/unix/sparc/vfork.S: Delete.
40052         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40053         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40054         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40055         (ret_ERRVAL, r0, r1, MOVE): Define.
40056         (JUMPTARGET): Remove.
40057         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40058         sysdeps/unix/sparc/sysdep.h
40059         (ENTRY, END): Remove.
40060         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40062 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
40064         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40065         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40066         -DIS_IN_build.
40068         * timezone/README: Update upstream location and email address for
40069         tzcode and tzdata.
40070         * timezone/zdump.c: Update from tzcode 2012b.
40071         * timezone/zic.c: Likewise.
40073         * configure.in (libc_cv_as_needed): Remove test.
40074         * configure: Regenerated.
40075         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40076         conditional definition.
40077         [$(have-as-needed) != yes] (no-as-needed): Likewise.
40078         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40079         * config.make.in (have-as-needed): Remove variable.
40081 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40082             Paul Pluzhnikov  <ppluzhnikov@google.com>
40084         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40085         strings correctly.
40087 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
40089         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40090         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40091         * sysdeps/sh/strlen.S: Likewise.
40093 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40095         * sysdeps/unix/fork.S: Remove file.
40096         * sysdeps/unix/i386/fork.S: Likewise.
40097         * sysdeps/unix/sparc/fork.S: Likewise.
40099         * sysdeps/unix/system.c: Remove file.
40100         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40102         * sysdeps/unix/getegid.S: Remove file.
40103         * sysdeps/unix/geteuid.S: Likewise.
40105 2012-04-24  Roland McGrath  <roland@hack.frob.com>
40107         * scripts/check-localplt.awk: New file.
40108         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40109         of diff.
40110         * scripts/data/localplt-generic.data: Add a comment.
40112         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40113         NODE when __dir_mkfile failed.
40114         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40115         Reported by Ludovic Courtès <ludo@gnu.org>.
40117 2012-04-24  Andreas Jaeger  <aj@suse.de>
40119         * Makerules (common-clean): Also remove gen-as-const-headers
40120         files.
40122 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40124         * Makerules (native-compile): Do not change working directory for
40125         build.  Use $(OUTPUT_OPTION) in command.
40126         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40128 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40130         [BZ #13886]
40131         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40132         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40133         * math/libm-test.inc (floor_test): Add more tests.
40134         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40136 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40138         * sysdeps/unix/getdents.c: Remove file.
40139         * sysdeps/unix/sysv/getdents.c: Likewise.
40140         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40142         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40143         sysdeps/unix/mman/syscalls.list.
40144         (mmap): Likewise.
40145         (mprotect): Likewise.
40146         (msync): Likewise.
40147         (munmap): Likewise.
40148         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40149         * sysdeps/unix/mman/syscalls.list: Remove.
40150         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40152         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40153         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40154         * configure: Regenerated.
40155         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40156         $(libgcc_s_suffix).
40157         * config.make.in (libgcc_s_suffix): Remove variable.
40159 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40161         * sysdeps/unix/sysv/gethostname.c: Move to ...
40162         * sysdeps/posix/gethostname.c: ... here.
40164         * sysdeps/unix/execve.S: Remove file.
40166         * sysdeps/unix/_exit.S: Remove file.
40168 2012-04-23  Andreas Jaeger  <aj@suse.de>
40170         [BZ #13739]
40171         * manual/Makefile: Remove make dist support, there's no
40172         need for a stand-alone documentation tar ball.
40173         (TEXI2DVI): Define always, it's not in Makeconfig.
40174         (dist): Removed.
40175         (tar-it): Removed.
40176         (edition): Removed.
40177         (glibc-doc-$(edition).tar): Removed
40178         (%.Z): Removed.
40179         (%.gz): Removed.
40180         (%.uu): Removed.
40181         (ETAGS): Remove, it's in Makeconfig.
40182         (move-if-change): Remove, it's in Makeconfig.
40184 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40186         [BZ #13970]
40187         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40188         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40189         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40190         (strtod_l, strtof_l, strtold_l): Remove __wur.
40191         It is not necessarily an error to ignore strtol's return value.
40192         One can reliably look at the stored endptr to decide whether
40193         the number had valid syntax.
40195 2012-04-21  Andreas Jaeger  <aj@suse.de>
40197         [BZ #13739]
40198         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40200 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40202         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40203         * sysdeps/unix/sysv/Versions: Remove file.
40205 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40207         [BZ #13927]
40208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40210 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40212         [BZ #7064]
40213         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40214         version from __vm86.
40216 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40218         * sysdeps/unix/common/lxstat.c: Remove file.
40219         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40221         * sysdeps/unix/sysv/Makefile: Remove file.
40223         * sysdeps/unix/sysv/direct.h: Remove file.
40225         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40226         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40227         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40228         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40229         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40230         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40231         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40233         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40235         * sysdeps/unix/xmknod.c: Remove file.
40236         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40238         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40240         * sysdeps/unix/sysv/i386/time.S: Remove file.
40242         * sysdeps/unix/fxstat.c: Remove file.
40243         * sysdeps/unix/xstat.c: Likewise.
40244         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40246         * sysdeps/unix/sysv/sigaction.c: Remove file.
40248         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40249         (sysdep_headers): Remove variable.
40250         [termio.h not in sysdep_headers] (generated): Likewise.
40251         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40252         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40253         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40254         * sysdeps/unix/sysv/tcflow.c: Likewise.
40255         * sysdeps/unix/sysv/tcflush.c: Likewise.
40256         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40257         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40258         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40259         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40260         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40262         * sysdeps/unix/siglist.c: Remove file.
40264         * sysdeps/unix/getppid.S: Remove file.
40266         * sysdeps/unix/mkdir.c: Remove file.
40267         * sysdeps/unix/rmdir.c: Likewise.
40269 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40271         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40272         ERR_MAX value.
40273         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40274         errlist-compat value.
40276 2012-04-18  David S. Miller  <davem@davemloft.net>
40278         * sysdeps/generic/memcopy.h (reg_char): Delete.
40279         * debug/strcat_chk.c: Use char, not reg_char.
40280         * debug/strcpy_chk.c: Likewise.
40281         * debug/strncat_chk.c: Likewise.
40282         * debug/strncpy_chk.c: Likewise.
40283         * string/memchr.c: Likewise.
40284         * string/memrchr.c: Likewise.
40285         * string/rawmemchr.c: Likewise.
40286         * string/strcat.c: Likewise.
40287         * string/strchr.c: Likewise.
40288         * string/strchrnul.c: Likewise.
40289         * string/strcmp.c: Likewise.
40290         * string/strcpy.c: Likewise.
40291         * string/strncat.c: Likewise.
40292         * string/strncmp.c: Likewise.
40293         * string/strncpy.c: Likewise.
40295 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40297         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40298         __builtin_memcopy is called when src and dest ranges are known to not
40299         overlap.
40301 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40303         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40304         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40305         fwd_align_merge macro call.
40306         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40307         bwd_align_merge macro call.
40308         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40310 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40312         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40313         bwd_align_merge macros.
40314         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40315         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40316         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40318 2012-04-18  David S. Miller  <davem@davemloft.net>
40320         * sysdeps/sparc/sparc64/memcopy.h: Delete.
40322 2012-04-18  Andreas Jaeger  <aj@suse.de>
40324         [BZ# 6794]
40325         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40326         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40327         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40329         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40330         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40331         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40333         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40334         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40335         Adjust for changed ldbl-128 files.
40337         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40338         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40339         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40341 2012-04-17  David S. Miller  <davem@davemloft.net>
40343         * sysdeps/sparc/sparc32/memcopy.h: Delete.
40345 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
40347         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40348         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40349         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40350         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40351         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40352         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40354 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40356         [BZ #6794]
40357         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40358         * math/libm-test.inc: Add ilogb errno and exception tests.
40359         * math/w_ilogb.c: New file: ilogb wrapper.
40360         * math/w_ilogbf.c: New file: ilogbf wrapper.
40361         * math/w_ilogbl.c: New file: ilogbl wrapper.
40362         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40363         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40364         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40365         exception being thrown with 0.0 as argument.
40366         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40367         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40368         exception being thrown with 0.0 as argument.
40369         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40370         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40371         exception being thrown with 0.0 as argument.
40372         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40373         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40374         exception being thrown with 0.0 as argument.
40375         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40376         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40377         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40378         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40379         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40380         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40381         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40382         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40383         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40385 2012-04-17  Petr Baudis  <pasky@ucw.cz>
40387         * include/sys/uio.h: Change __vector to __iovec to avoid clash
40388         with altivec.
40390 2012-04-16  Marek Polacek  <polacek@redhat.com>
40392         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40394 2012-04-16  Marek Polacek  <polacek@redhat.com>
40396         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40397         operands of fdivp instruction.
40399 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40401         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40402         * elf/tst-auditmod3b.c: Likewise.
40403         * elf/tst-auditmod4b.c: Likewise.
40404         * elf/tst-auditmod5b.c: Likewise.
40405         * elf/tst-auditmod6b.c: Likewise.
40406         * elf/tst-auditmod6c.c: Likewise.
40407         * elf/tst-auditmod7b.c: Likewise.
40408         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40409         * sysdeps/x86_64/preconfigure.in: Likewise.
40410         * sysdeps/x86_64/preconfigure: Regenerated.
40412 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40414         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40415         __ILP32__.
40417 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
40419         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40420         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40422 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
40424         [BZ #13973]
40425         * locale/iso-639.def: Fix gl language name. Spotted by
40426         Yaron Shahrabani.
40428 2012-04-12  Roland McGrath  <roland@hack.frob.com>
40430         [BZ #2074]
40431         * libio/libio.h (__io_write_fn): Update comment.
40433 2012-04-12  Petr Baudis  <pasky@ucw.cz>
40435         [BZ #2074]
40436         * stdio.texi (Hook Functions): The user provided writer function
40437         is not allowed to return -1.
40439 2012-04-11  David S. Miller  <davem@davemloft.net>
40441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40443 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
40445         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40446         Add a leading slash to rtkaio.
40448 2012-04-11  Jim Meyering  <meyering@redhat.com>
40450         [BZ #11959]
40451         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40452         It is not necessarily an error to ignore fwrite's return
40453         value.  One can reliably use ferror to test for errors after
40454         the fact.
40456 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40458         * bits/types.h (__snseconds_t): New type.
40459         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40461         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40462         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40463         (__SNSECONDS_T_TYPE): Likewise.
40464         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40465         (__SNSECONDS_T_TYPE): Likewise.
40466         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40467         (__SNSECONDS_T_TYPE): Likewise.
40469 2012-04-10  Andreas Jaeger  <aj@suse.de>
40471         [BZ #2636]
40472         * manual/time.texi (Processor Time): Return type of times is
40473         elapsed real time since an arbitrary point in the past.
40474         (CPU Time): Move CLK_TCK from here...
40475         (Processor Time): ...to here.  Correct description.
40476         * manual/conf.texi (Constants for Sysconf): Correct description of
40477         _SC_CLK_TCK.
40479 2012-04-10  David S. Miller  <davem@davemloft.net>
40481         [BZ #13967]
40482         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40483         where the is a gap between DT_REL(A) and DT_JMPREL.
40485 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40487         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40488         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40489         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40491 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40493         * elf/dl-support.c (_dl_inhibit_cache): New variable.
40494         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40495         (dl_main): Handle --inhibit-cache.
40496         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40497         _dl_inhibit_cache.
40498         * elf/dl-load.c (_dl_map_object): Use it.
40499         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40501 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40503         [BZ #13872]
40504         * sysdeps/i386/fpu/e_powl.S (p78): New object.
40505         (__ieee754_powl): Saturate large exponents rather than testing for
40506         overflow of y*log2(x).
40507         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40508         * math/libm-test.inc (pow_test): Do not permit spurious overflow
40509         exceptions.
40511         [BZ #11521]
40512         * math/s_ctan.c: Include <float.h>.
40513         (__ctan): Avoid internal overflow or cancellation in calculating
40514         denominator.
40515         * math/s_ctanf.c: Likewise.
40516         * math/s_ctanl.c: Likewise.
40517         * math/s_ctanh.c: Likewise.
40518         * math/s_ctanhf.c: Likewise.
40519         * math/s_ctanhl.c: Likewise.
40520         * math/libm-test.inc (ctan_test): Add more tests.
40521         (ctanh_test): Likewise.
40522         * sysdeps/i386/fpu/libm-test-ulps: Update.
40523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40525 2012-04-09  Andreas Jaeger  <aj@suse.de>
40527         [BZ #6894]
40528         * manual/filesys.texi (Directory Entries): Mention that d_namlen
40529         is an optional BSD extension.
40531         [BZ #10254]
40532         * manual/stdio.texi (Opening Streams): Document additional fopen
40533         parameters.
40535 2012-04-09  Roland McGrath  <roland@hack.frob.com>
40537         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40538         %eax without telling the compiler.
40540 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
40542         [BZ # 13963]
40543         * manual/install.texi: Use sourceware.org.
40545 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40547         [BZ #13873]
40548         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40549         (__ieee754_pow): Generate overflow and underflow using huge*huge
40550         and tiny*tiny rather than just returning constant infinity or zero
40551         for large exponents.
40552         * math/libm-test.inc (pow_test): Require overflow exceptions for
40553         applicable cases of large exponents.
40555         [BZ #706]
40556         * sysdeps/i386/fpu/e_pow.S (p10): New object.
40557         (__ieee754_pow): Use iterative multiplication algorithm only for
40558         integer exponents with absolute value below 1024.  Check for odd
40559         integer exponents when using algorithm for real exponents.
40560         * math/libm-test.inc (pow_test): Add more tests.
40561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40563 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
40565         [BZ #13705]
40566         * math/libm-test.inc (exp_test): Do not allow overflow exception
40567         on underflow test.
40569 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
40571         [BZ #13705]
40572         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40573         instead of __kernel_standard_f.
40575 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
40577         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40578         * sysdeps/x86_64/memset_chk.S: Likewise.
40580 2012-04-08  Andreas Jaeger  <aj@suse.de>
40582         [BZ #10153]
40583         * manual/startup.texi (Environment Access): Describe return value
40584         for putenv and setenv.
40586         [BZ #6895]
40587         * manual/filesys.texi (Directory Entries): Add description for
40588         DT_LNK.
40590         [BZ #6890]
40591         * manual/filesys.texi (Directory Entries): Clarify that it's file
40592         system not operating system in the description of DT_UNKNOWN.
40594         [BZ #6578]
40595         * manual/syslog.texi (closelog): Fix reference, it's openlog.
40597 2012-04-08  Stephen Compall  <s11@member.fsf.org>
40599         [BZ #6649]
40600         * manual/llio.texi (Opening and Closing Files): Add cross
40601         reference to explain mode argument.
40603 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
40605         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40606         * sysdeps/x86_64/memset_chk.S: Likewise.
40608 2012-04-07  David S. Miller  <davem@davemloft.net>
40610         * elf/elf.h (R_SPARC_WDISP10): Define.
40611         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40612         R_SPARC_SIZE32.
40613         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40614         R_SPARC_SIZE64 and R_SPARC_H34.
40616 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
40618         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40619         conditions and remove no longer applicable assertion.
40621 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40623         * bits/byteswap.h: Include <features.h>.
40624         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40625         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40627 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40629         * bits/byteswap.h (__bswap_16): Removed.
40630         Include <bits/byteswap-16.h> to get __bswap_16.
40631         * sysdeps/i386/bits/byteswap.h: Likewise.
40632         * sysdeps/s390/bits/byteswap.h: Likewise.
40633         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40634         * bits/byteswap-16.h: New file.
40635         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40636         * sysdeps/s390/bits/byteswap-16.h: Likewise.
40637         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40638         * string/Makefile (headers): Add bits/byteswap-16.h.
40640 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40642         [BZ #13895]
40643         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40644         extra indirection.
40645         * nss/Makefile (tests-static, tests): Add tst-nss-static.
40646         * nss/tst-nss-static.c: New.
40648 2012-04-06  Robert Millan  <rmh@gnu.org>
40650         [BZ #6486]
40651         * manual/llio.texi (File Position Primitive): lseek
40652         refers to WHENCE when it really means OFFSET.
40654 2012-04-06  Andreas Jaeger  <aj@suse.de>
40656         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40657         strncmp declarations.
40659         * abilist/libc.abilist: Add __poll and __ppoll.
40661 2012-04-05  David S. Miller  <davem@davemloft.net>
40663         * scripts/check-local-headers.sh: Accept a host triplet in the
40664         path matched by the exclude regexp.
40666         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40667         definition.
40668         * sysdeps/powerpc/powerpc32/dl-machine.h
40669         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40670         * sysdeps/s390/s390-32/dl-machine.h
40671         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40672         * sysdeps/sparc/sparc32/dl-machine.h
40673         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40674         * sysdeps/sparc/sparc64/dl-machine.h
40675         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40677         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40678         lazy binding.
40679         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40680         undefined symbol errors.
40682         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40683         DT_NEEDED entries.
40685 2012-04-05  Michael Matz  <matz@suse.de>
40687         [BZ #13592]
40688         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40690 2012-04-05  Andreas Jaeger  <aj@suse.de>
40692         [BZ #13908]
40693         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40694         comment.
40696 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40698         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40699         which ROUND is no valid rounding mode.
40701 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40703         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40704         read again.
40705         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40707 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40709         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40710         an exception using FPU order intentionally.
40712 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40714         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40715         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40716         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40717         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40719 2012-04-05  Simon Josefsson  <simon@josefsson.org>
40721         [BZ #12340]
40722         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40723         EINVAL when BUFLEN is too smal.
40725 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40727         [BZ #13553]
40728         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40729         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40731 2012-04-03  Andreas Jaeger  <aj@suse.de>
40733         [BZ #13938]
40734         * manual/setjmp.texi (System V contexts): Fix sentence.
40736         [BZ #13926]
40737         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40738         New macro for this case.
40739         [!__GNUC__] (__bswap_64): New inline function for this case.
40740         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40741         * bits/byteswap.h: Likewise.
40742         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40743         ull, guard with __GLIBC_HAVE_LONG_LONG.
40745         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40746         __GLIBC_HAVE_LONG_LONG.
40748         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40749         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40751 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40753         [BZ #13691]
40754         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40755         inptr and inend, rather than using last_ch.
40757 2012-04-02  David S. Miller  <davem@davemloft.net>
40759         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40760         * stdio-common/printf-parse.h (read_int): Change return type to
40761         'int', return -1 on INT_MAX overflow.
40762         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40763         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
40764         overflows INT_MAX.  Check for overflow of in-format-string precision
40765         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
40766         SIZE_MAX not INT_MAX for integer overflow test.
40767         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40768         skip the construct in the format string but do not record anything.
40769         * stdio-common/bug22.c: Adjust to test both width/prevision
40770         INT_MAX overflow as well as total length INT_MAX overflow.  Check
40771         explicitly for proper errno values.
40773 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
40775         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40776         CHAR_MAX.
40777         * string/test-strcmp.c [! WIDE]: Likewise.
40778         * time/tst-mktime2.c: Likewise for INT_MAX.
40779         * string/test-string.h: #include <sys/param.h> for MIN.
40781         * csu/init-first.c (__libc_init_first): Call __ctype_init.
40782         * sysdeps/i386/init-first.c (init): Likewise.
40783         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40784         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40785         * sysdeps/sh/init-first.c (init): Likewise.
40787 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
40789         * po/ru.po: Update from translation team.
40790         * po/vi.po: Likewise.
40792 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40794         * resolv/nss_dns/dns-host.c: Merge copyright years.
40796 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40798         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40799         Optimize memcpy with prefetch if
40800         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
40801         src, dst pointers have unequal 16 byte alignments.
40803 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40805         [BZ #13928]
40806         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40807         from a CNAME entry and return the minimum ttl for the query.
40808         (gaih_getanswer_slice): Likewise.
40810 2012-03-30  Jeff Law  <law@redhat.com>
40812         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40813         due to long keys.
40814         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40815         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40817         * resolv/nss_dns/dns-host.c: Update copyright year.
40819 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
40821         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40822         requests to save a system call.  Fix check that all bytes are sent.
40824         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40825         comments for sendmmsg.
40827 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40829         [BZ #13691]
40830         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40831         with only 1 character between 0x0041 and 0x01b0.
40832         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40833         * wcsmbs/tst-mbsnrtowcs.c: New file.
40835 2012-03-29  David S. Miller  <davem@davemloft.net>
40837         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40838         small copies by hand.
40840 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40842         [BZ #13761]
40843         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40844         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40845         group memberships.
40847 2012-03-28  David S. Miller  <davem@davemloft.net>
40849         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40850         that branches into memcpy.
40851         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40852         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40853         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40854         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40855         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40856         bits.
40857         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40858         implementation too.
40859         * sysdeps/sparc/mempcpy.S: New file.
40861         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40862         the IFUNC routine in the libc case.
40863         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40865         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40866         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40867         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40868         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40869         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40870         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40871         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40872         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40874         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40875         loop to 256 bytes instead of 64 bytes and fix test signedness.
40877         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40878         * sysdeps/sparc/sparc32/Makefile: rather than here...
40879         * sysdeps/sparc/sparc64/Makefile: and here.
40881 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
40883         * malloc/mallocbug.c: Avoid warnings about unused variables.
40885 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40887         [BZ #13760]
40888         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40889         in the right place. Discard and retry query if response is
40890         larger than input buffer size.
40892 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
40894         [BZ #369]
40895         [BZ #2678]
40896         [BZ #3866]
40897         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40898         x for large integer exponent.
40899         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40900         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
40901         sign of result as needed afterwards.
40902         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40903         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40904         result for underflowing pow the same as for overflow.
40905         (__kernel_standard_l): Handle powl overflow and underflow here
40906         rather than calling __kernel_standard.
40907         * math/libm-test.inc (pow_test): Add more tests.
40909         [BZ #3868]
40910         [BZ #13879]
40911         [BZ #13910]
40912         [BZ #13911]
40913         [BZ #13912]
40914         [BZ #13913]
40915         [BZ #13915]
40916         [BZ #13916]
40917         [BZ #13917]
40918         [BZ #13918]
40919         [BZ #13919]
40920         [BZ #13920]
40921         [BZ #13921]
40922         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40923         * sysdeps/ieee754/k_standard.c: Include <float.h>.
40924         (__kernel_standard_l): New function.
40925         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40926         __kernel_standard.
40927         * math/w_acosl.c (__acosl): Likewise.
40928         * math/w_asinl.c (__asinl): Likewise.
40929         * math/w_atan2l.c (__atan2l): Likewise.
40930         * math/w_atanhl.c (__atanhl): Likewise.
40931         * math/w_coshl.c (__coshl): Likewise.
40932         * math/w_exp10l.c (__exp10l): Likewise.
40933         * math/w_exp2l.c (__exp2l): Likewise.
40934         * math/w_fmodl.c (__fmodl): Likewise.
40935         * math/w_hypotl.c (__hypotl): Likewise.
40936         * math/w_j0l.c (__j0l, __y0l): Likewise.
40937         * math/w_j1l.c (__j1l, __y1l): Likewise.
40938         * math/w_jnl.c (__jnl, __ynl): Likewise.
40939         * math/w_lgammal.c (__lgammal): Likewise.
40940         * math/w_log10l.c (__log10l): Likewise.
40941         * math/w_log2l.c (__log2l): Likewise.
40942         * math/w_logl.c (__logl): Likewise.
40943         * math/w_powl.c (__powl): Likewise.
40944         * math/w_remainderl.c (__remainderl): Likewise.
40945         * math/w_scalbl.c (sysv_scalbl): Likewise.
40946         * math/w_sinhl.c (__sinhl): Likewise.
40947         * math/w_sqrtl.c (__sqrtl): Likewise.
40948         * math/w_tgammal.c (__tgammal): Likewise.
40949         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40950         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40951         * math/libm-test.inc (acos_test): Add more tests.
40952         (acosh_test): Likewise.
40953         (asin_test): Likewise.
40954         (atanh_test): Likewise.
40955         (exp_test): Likewise.
40956         (exp10_test): Likewise.
40957         (exp2_test): Likewise.
40958         (expm1_test): Likewise.
40959         (lgamma_test): Likewise.
40960         (log_test): Likewise.
40961         (log10_test): Likewise.
40962         (log1p_test): Likewise.
40963         (log2_test): Likewise.
40964         (pow_test): Do not allow some spurious overflow exceptions.
40965         (sqrt_test): Add more tests.
40966         (tgamma_test): Likewise.
40967         (y0_test): Likewise.
40968         (y1_test): Likewise.
40969         (yn_test): Likewise.
40971 2012-03-27  Anton Blanchard  <anton@samba.org>
40973         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40974         MAP_HUGETLB.
40975         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40976         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40977         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40979 2012-03-27  David S. Miller  <davem@davemloft.net>
40981         * conform/Makefile: Run run-conformtest.sh using $(BASH).
40983         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40984         have-as-vis3 check.
40986 2012-03-27  Andreas Jaeger  <aj@suse.de>
40988         * sysdeps/x86_64/elf/configure.in: Moved to ...
40989         * sysdeps/x86_64/configure.in: ... here.
40990         * sysdeps/x86_64/elf/start.S: Moved to ...
40991         * sysdeps/x86_64/start.S: ... here.
40992         * sysdeps/x86_64/elf/configure: Delete.
40994         * sysdeps/x86_64/configure.in: Merge contents from
40995         sysdeps/i386/configure.in (without i686 check).
40997         * sysdeps/i386/elf/Versions: Merge into ...
40998         * sysdeps/i386/Versions: ... this.
40999         * sysdeps/i386/elf/Versions: Delete file.
41000         * sysdeps/i386/elf/start.S: Moved to ...
41001         * sysdeps/i386/start.S: ...here.
41002         * sysdeps/i386/elf/configure.in: Merge into...
41003         * sysdeps/i386/configure.in: ...here.
41004         * sysdeps/i386/elf/configure.in: Delete file.
41005         * sysdeps/i386/elf/configure: Delete file.
41007         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41008         * debug/backtracesyms.c: ... here.
41009         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41010         * debug/backtracesymsfd.c: ... here.
41011         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41012         * sysdeps/generic/ifunc-sel.h: ... here.
41014         * sysdeps/unix/i386/start.c: Delete file.
41015         * sysdeps/unix/sparc/start.c: Delete file.
41016         * sysdeps/unix/start.c: Delete file.
41018         * sysdeps/sh/elf/configure.in: Moved to ...
41019         * sysdeps/sh/configure.in: ... here.
41020         * sysdeps/sh/elf/start.S: Moved to ...
41021         * sysdeps/sh/start.S: ... here.
41022         * sysdeps/sh/elf/configure: Delete file.
41024         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41025         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41026         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41027         * sysdeps/powerpc/powerpc64/entry.h: ... here.
41028         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41029         * sysdeps/powerpc/powerpc64/start.S: here.
41030         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41031         * sysdeps/powerpc/powerpc64/Makefile: ... this.
41032         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41033         * sysdeps/powerpc/powerpc64/configure.in: ... this.
41034         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41036         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41037         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41038         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41039         * sysdeps/powerpc/powerpc32/start.S: ... here.
41040         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41041         * sysdeps/powerpc/powerpc32/configure.in: ... this.
41042         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41044         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41045         * sysdeps/powerpc/ifunc-sel.h: ... here.
41046         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41047         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41049         * sysdeps/sparc/elf/configure.in: Moved to ...
41050         * sysdeps/sparc/configure.in: ... here.
41051         * sysdeps/sparc/elf/configure: Delete file.
41052         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41053         * sysdeps/sparc/sparc32/start.S: ... here.
41054         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41055         * sysdeps/sparc/sparc64/start.S: ... here.
41056         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41057         * sysdeps/sparc/sparc32/Makefile: ... this.
41058         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41059         * sysdeps/sparc/sparc64/Makefile: ... this.
41061         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41062         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41063         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41064         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41065         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41066         * sysdeps/s390/s390-32/setjmp.S: ... here.
41067         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41068         * sysdeps/s390/s390-32/configure.in: ... here.
41069         * sysdeps/s390/s390-32/elf/configure: Delete file.
41070         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41071         * sysdeps/s390/s390-32/start.S: ... here.
41073         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41074         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41075         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41076         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41077         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41078         * sysdeps/s390/s390-64/setjmp.S: ... here.
41079         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41080         * sysdeps/s390/s390-64/configure.in: ... here
41081         * sysdeps/s390/s390-64/elf/configure: Delete file.
41082         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41083         * sysdeps/s390/s390-64/start.S: ... here.
41084         * sysdeps/s390/s390-64/elf/configure: Delete.
41086         * configure.in: Remove support for elf directories in sysdeps.
41088         * configure: Regenerated.
41089         * sysdeps/i386/configure: Regenerated.
41090         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41091         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41092         * sysdeps/s390/s390-32/configure: Regenerated.
41093         * sysdeps/s390/s390-64/configure: Regenerated.
41094         * sysdeps/sh/configure: Regenerated.
41095         * sysdeps/sparc/configure: Regenerated.
41096         * sysdeps/x86_64/configure: Regenerated.
41098 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
41100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41102         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41103         denormal result into account.
41105 2012-03-25  Roland McGrath  <roland@hack.frob.com>
41107         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41108         Reported by Allan McRae <allan@archlinux.org>.
41110 2012-03-23  Jeff Law  <law@redhat.com>
41112         * nss/getnssent.c (__nss_getent): Fix typo.
41114 2012-03-23  David S. Miller  <davem@davemloft.net>
41116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41118 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41120         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41121         to pad to uint64_t for each field.
41122         (dl_tls_index): Replace unsigned long with uint64_t.
41124 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41125         Paul Pluzhnikov  <ppluzhnikov@google.com>
41127         [BZ #6528]
41128         * grp/Makefile (otherlibs): Don't set it.
41129         * inet/Makefile (otherlibs): Likewise.
41130         * login/Makefile (otherlibs): Likewise.
41131         * nscd/Makefile (otherlibs): Likewise.
41132         * posix/Makefile (otherlibs): Likewise.
41133         * pwd/Makefile (otherlibs): Likewise.
41134         * rt/Makefile (otherlibs): Likewise.
41135         * sunrpc/Makefile (otherlibs): Likewise.
41136         * nss/Makefile (otherlibs): Likewise.
41137         Add libnss_files to routines and static-only-routines.
41138         ($(objpfx)getent): Remove rule.
41139         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41140         static-only-routines.
41142 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41144         [BZ #13892]
41145         * math/s_cexp.c: Include <float.h>.
41146         (__cexp): Handle exp result overflowing not necessarily
41147         overflowing both real and imaginary parts of result.
41148         * math/s_cexpf.c: Likewise.
41149         * math/s_cexpl.c: Likewise.
41150         * math/libm-test.inc (cexp_test): Add more tests.
41151         * sysdeps/i386/fpu/libm-test-ulps: Update.
41152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41154 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41156         * include/link.h (ELFW): New macro.
41157         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41158         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41160 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41162         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41163         with uint64_t.
41165 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41167         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41168         declaration.
41169         (struct La_x32_retval): Likewise.
41171 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41173         * sysdeps/x86_64/preconfigure.in: New file.
41174         * sysdeps/x86_64/preconfigure: New generated file.
41176 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41178         [BZ #13824]
41179         * math/e_exp2l.c: Include <float.h>.
41180         (__ieee754_exp2l): Handle overflow and underflow cases
41181         separately.  Only pass fractional part of argument to
41182         __ieee754_expl.
41183         * math/libm-test.inc (exp2_test): Add more tests.
41185         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41186         negating x to take absolute value.
41187         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41188         Likewise.
41189         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41190         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41191         Likewise.
41192         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41193         computing low part if x was negated.
41194         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41196 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41198         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41199         la_x32_gnu_pltexit.
41200         (pltexit): Cast int_retval to ptrdiff_t.
41201         * elf/tst-auditmod3b.c: Likewise.
41202         * elf/tst-auditmod4b.c: Likewise.
41203         * elf/tst-auditmod5b.c: Likewise.
41204         * elf/tst-auditmod6b.c: Likewise.
41205         * elf/tst-auditmod6c.c: Likewise.
41206         * elf/tst-auditmod7b.c: Likewise.
41208         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41209         and x32_gnu_pltexit.
41211         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41212         __ELF_NATIVE_CLASS.
41213         (La_x32_regs): New macro.
41214         (La_x32_retval): Likewise.
41215         (la_x32_gnu_pltenter): New function prototype.
41216         (la_x32_gnu_pltexit): Likewise.
41218 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41220         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41221         exponent.
41223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41225         * configure.in (libc_cv_cc_nofma): Check for option to disable
41226         generation of FMA instructions.
41227         * configure: Regenerate.
41228         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41229         * sysdeps/ieee754/dbl-64/Makefile: New file.
41230         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41231         Remove brandred-fma4.
41232         (CFLAGS-brandred-fma4.c): Remove.
41233         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41234         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41235         define.
41236         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41237         define.
41239 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41241         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41242         LLONG_MAX != LONG_MAX.
41243         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41244         (_fitoa_word): Likewise.
41245         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41246         LLONG_MAX != LONG_MAX.
41247         * stdio-common/_itowa.h: Include <_itoa.h>.
41248         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41249         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41250         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41251         only if not defined.
41252         (_ITOA_WORD_TYPE): Likewise.
41253         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41254         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41256 2012-03-21  David S. Miller  <davem@davemloft.net>
41258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41260 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41262         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41263         of x86_64 when setting libc_cv_slibdir, libdir and
41264         libc_cv_localedir.
41265         * sysdeps/unix/sysv/linux/configure: Regenerated.
41267 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41269         * manual/lang.texi (Old Varargs): Remove section.
41270         (How Variadic): Update menu.
41271         (va_start): Do not mention varargs.h.
41273 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41274             Joseph Myers  <joseph@codesourcery.com>
41276         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41277         link test.
41278         * configure: Regenerated.
41280 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41282         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41283         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41284         conformtest.pl
41286 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41288         * NOTES: Remove.
41289         * Makefile (files-for-dist): Remove NOTES.
41290         (NOTES): Remove rule.
41291         * README: Don't refer to NOTES.
41292         * manual/creature.texi: Don't include macros.texi.
41293         * manual/intro.texi (creature.texi): Remove comment referring to
41294         NOTES.
41296         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41297         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41298         * configure: Regenerated.
41299         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41300         LIBC_TRY_CC_OPTION.
41301         (libc_cv_as_i686): Likewise.
41302         (libc_cv_cc_avx): Likewise.
41303         (libc_cv_cc_sse2avx): Likewise.
41304         (libc_cv_cc_fma4): Likewise.
41305         (libc_cv_cc_novzeroupper): Likewise.
41306         * sysdeps/i386/configure: Regenerated.
41308         [BZ #13883]
41309         * sysdeps/i386/fpu/s_cexp.S: Remove.
41310         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41311         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41312         * math/libm-test.inc (cexp_test): Add more tests.
41313         * sysdeps/i386/fpu/libm-test-ulps: Update.
41314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41316 2012-03-21  Allan McRae  <allan@archlinux.org>
41318         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41320 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41322         [BZ #13871]
41323         * math/w_exp2.c: Do not include <float.h>.
41324         (o_threshold, u_threshold): Remove.
41325         (__exp2): Calculate result before checking finiteness and calling
41326         __kernel_standard.
41327         * math/w_exp2f.c: Likewise.
41328         * math/w_exp2l.c: Likewise.
41329         * math/libm-test.inc (exp2_test): Require overflow exception for
41330         1e6 input.
41332         [BZ #3866]
41333         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41334         range of signed 64-bit integers before using fistpll.  Remove
41335         checks for whether integers fit in mantissa bits.
41336         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41337         the range of signed 32-bit integers before using fistpl.  Remove
41338         checks for whether integers fit in mantissa bits.
41339         * sysdeps/i386/fpu/e_powl.S (p64): New object.
41340         (__ieee754_powl): Test for y outside the range of signed 64-bit
41341         integers before using fistpll.  Reduce 64-bit values to 63-bit
41342         ones as needed.
41343         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41344         divide-by-zero is raised for zero to large negative powers.
41345         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41346         (__ieee754_powl): Test for y outside the range of signed 64-bit
41347         integers before using fistpll.  Reduce 64-bit values to 63-bit
41348         ones as needed.
41349         * math/libm-test.inc (pow_test): Add more tests.
41351 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41353         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41354         <stdio-common/_itoa.h>.
41355         * debug/segfault.c: Likewise.
41356         * elf/dl-cache.c: Likewise.
41357         * elf/dl-minimal.c: Likewise.
41358         * elf/dl-misc.c: Likewise.
41359         * elf/dl-sysdep.c: Likewise.
41360         * elf/dl-version.c: Likewise.
41361         * elf/rtld.c: Likewise.
41362         * hurd/hurdsock.c: Likewise.
41363         * hurd/lookup-retry.c: Likewise.
41364         * malloc/malloc.c: Likewise.
41365         * malloc/mtrace.c: Likewise.
41366         * nscd/nscd_getgr_r.c: Likewise.
41367         * nscd/nscd_getpw_r.c: Likewise.
41368         * nscd/nscd_getserv_r.c: Likewise.
41369         * posix/getopt_init.c: Likewise.
41370         * posix/wordexp.c: Likewise.
41371         * stdio-common/_itoa.c: Likewise.
41372         * stdio-common/printf_fphex.c: Likewise.
41373         * stdio-common/vfprintf.c: Likewise.
41374         * string/_strerror.c: Likewise.
41375         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41376         * sysdeps/i386/i686/hp-timing.h: Likewise.
41377         * sysdeps/mach/_strerror.c: Likewise.
41378         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41379         * sysdeps/mach/hurd/sethostid.c: Likewise.
41380         * sysdeps/mach/hurd/xmknodat.c: Likewise.
41381         * sysdeps/mach/xpg-strerror.c: Likewise.
41382         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41383         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41384         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41385         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41386         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41387         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41388         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41389         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41390         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41391         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41392         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41393         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41394         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41395         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41396         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41397         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41398         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41399         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41400         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41401         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41402         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41404         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41406         * stdio-common/_itoa.h: Moved to ...
41407         * sysdeps/generic/_itoa.h: Here.
41409         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41411         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41412         instead of "_itoa.h" and "_itowa.h".
41413         * stdio-common/vfprintf.: Likewise.
41415 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41417         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41418         <bits/wordsize.h>.
41419         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41420         (__signbit): Likwise.
41421         (llrintf): Likwise.
41422         (llrint): Likwise.
41424 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41426         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41427         __WORDSIZE != 64.
41429 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
41431         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41432         OVERFLOW_EXCEPTION_OK.
41433         * math/libm-test.inc ("Philosophy"): Update comment about
41434         exception testing.
41435         (OVERFLOW_EXCEPTION): Define.
41436         (OVERFLOW_EXCEPTION_OK): Likewise.
41437         (INVALID_EXCEPTION_OK): Renumber.
41438         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41439         (IGNORE_ZERO_INF_SIGN): Likewise.
41440         (test_exceptions): Handle FE_OVERFLOW.
41441         (exp10_test): Expect overflow exceptions.
41442         (exp2_test): Likewise.
41443         (expm1_test): Likewise.
41444         (nextafter_test): Likewise.
41445         (pow_test): Likewise.
41446         (scalbn_test): Likewise.
41447         (scalbln_test): Likewise.
41449 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41451         * sysdeps/x86_64/bits/atomic.h
41452         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41453         64bit integer.
41454         (atomic_exchange_acq): Likewise.
41455         (__arch_exchange_and_add_body): Likewise.
41456         (__arch_add_body): Likewise.
41457         (atomic_add_negative): Likewise.
41458         (atomic_add_zero): Likewise.
41460 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41462         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41463         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41465 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41467         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41468         Check __x86_64__ instead of __WORDSIZE.
41470 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41472         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41474 2012-03-19  David S. Miller  <davem@davemloft.net>
41476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41478         * sysdeps/sparc/fpu/fenv_private.h: New file.
41479         * sysdeps/sparc/fpu/math_private.h: Use it.
41480         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41481         Remove.
41482         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41483         (libc_feholdexcept_setroundl): Remove.
41484         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41485         Remove.
41486         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41487         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41489 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41491         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41492         int64_t instead of long int.
41493         (INSERT_WORDS64): Likwise.
41495 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41497         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41498         _Unwind_GetCFA return to _Unwind_Ptr first.
41500 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
41502         [BZ #13629]
41503         * math/s_clog.c: Include <float.h>.
41504         (__clog): Scale large or subnormal inputs.
41505         * math/s_clogf.c: Likewise.
41506         * math/s_clogl.c: Likewise.
41507         * math/s_clog10.c: Include <float.h>.
41508         (M_LOG10_2): Define.
41509         (__clog10): Scale large or subnormal inputs.
41510         * math/s_clog10f.c: Likewise.
41511         * math/s_clog10l.c: Likewise.
41512         * math/libm-test.inc (clog_test): Add more tests.
41513         (clog10_test): Likewise.
41514         * sysdeps/i386/fpu/libm-test-ulps: Update.
41515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41517         [BZ #11451]
41518         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41519         x and y.
41520         * math/libm-test.inc (atan2_test): Add another test.
41522         * Makerules (common-objdir-compile): Remove.
41523         * sysdeps/unix/Makefile (config-generated): Do not add
41524         $(unix-generated) to variable.
41525         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41526         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41527         Remove rule.
41528         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41529         Likewise.
41530         [generic bits/local_lim.h] (before-compile): Do not append to
41531         variable.
41532         [generic bits/local_lim.h] (common-generated): Likewise.
41533         [generic sys/param.h] (before-compile): Do not append to variable.
41534         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41535         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41536         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41537         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41538         include.
41539         [generic sys/param.h] (sys/param.h-includes): Remove variable.
41540         [generic sys/param.h] (sys/param.h-includes): Remove rule.
41541         [generic sys/param.h] ($(addprefix
41542         $(common-objpfx),$(sys/param.h-includes))): Likewise.
41543         [generic sys/param.h] (common-generated): Do not append to
41544         variable.
41545         [generic sys/param.h] (sysdep_headers): Likewise.
41546         [generic bits/errno.h] (before-compile): Do not append to
41547         variable.
41548         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41549         rule.
41550         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41551         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41552         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41553         [generic bits/errno.h] (common-generated): Do not append to
41554         variable.
41555         [generic bits/ioctls.h] (before-compile): Do not append to
41556         variable.
41557         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41558         rule.
41559         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41560         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41561         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41562         rule.
41563         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41564         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41565         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41566         [generic bits/ioctls.h] (common-generated): Do not append to
41567         variable.
41568         [generic sys/syscall.h] (syscall.h): Remove variable.
41569         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41570         rule.
41571         [generic sys/syscall.h] (before-compile): Do not append to
41572         variable.
41573         [generic sys/syscall.h] (common-generated): Likewise.
41574         * sysdeps/unix/errnos-tmpl.c: Remove file.
41575         * sysdeps/unix/errnos.awk: Likewise.
41576         * sysdeps/unix/ioctls-tmpl.c: Likewise.
41577         * sysdeps/unix/ioctls.awk: Likewise.
41578         * sysdeps/unix/mk-local_lim.c: Likewise.
41579         * sysdeps/unix/snarf-ioctls: Likewise.
41581 2012-03-19  Richard Henderson  <rth@twiddle.net>
41583         * sysdeps/i386/fpu/fenv_private.h: New file.
41584         * sysdeps/i386/fpu/math_private.h: Use it.
41585         (math_opt_barrier, math_force_eval): Remove.
41586         (libc_feholdexcept_setround_53bit): Remove.
41587         (libc_feupdateenv_53bit): Remove.
41588         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41589         (math_opt_barrier, math_force_eval): Remove.
41590         (libc_feholdexcept): Remove.
41591         (libc_feholdexcept_setround): Remove.
41592         (libc_fetestexcept, libc_fesetenv): Remove.
41593         (libc_feupdateenv_test): Remove.
41594         (libc_feupdateenv, libc_feholdsetround): Remove.
41595         (libc_feresetround): Remove.
41597         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41598         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41600         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41601         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41602         (libc_feupdateenv_testl): New.
41603         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41604         (libc_feupdateenv_testf): New.
41605         (libc_feupdateenv): Use libc_feupdateenv_test.
41606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41607         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41609         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41610         (libc_feholdsetroundf, libc_feholdsetroundl): New.
41611         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41612         (libc_feresetround_noex): New.
41613         (libc_feresetround_noexf): New.
41614         (libc_feresetround_noexl): New.
41615         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41616         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41617         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41618         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41619         SET_RESTORE_ROUND.
41620         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41621         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41622         (__cos): Likewise.
41623         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41624         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41625         SET_RESTORE_ROUND_NOEX.
41626         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41627         SET_RESTORE_ROUND_NOEXF.
41628         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41629         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41630         (libc_feholdsetroundf): New.
41631         (libc_feresetround, libc_feresetroundf): New.
41633         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41634         (libc_feholdexcept_setround_53bit): Convert from macro to function.
41635         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
41637         * sysdeps/generic/math_private.h: Include <fenv.h>.
41638         (default_libc_feholdexcept): New.
41639         (default_libc_feholdexcept_setround): New.
41640         (default_libc_fesetenv, default_libc_feupdateenv): New.
41641         (libc_feholdexcept): Only define if undefined.
41642         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41643         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41644         (libc_feholdexcept_setroundl): Likewise.
41645         (libc_feholdexcept_setround_53bit): Likewise.
41646         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41647         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41648         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41649         (libc_feupdateenv_53bit): Likewise.
41650         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41651         (libc_feholdexcept): Convert from macro to inline function.
41652         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41653         (libc_fesetenv, libc_feupdateenv): Likewise.
41655         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41656         not previously defined.
41657         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41658         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41659         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41660         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41661         * sysdeps/ieee754/flt-32/math_private.h: New file.
41662         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41663         math_private.h below SET_FLOAT_WORD.
41664         (__isnan, __isinf_ns, __finite): Remove.
41665         (__isnanf, __isinf_nsf, __finitef): Remove.
41667 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
41669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41671 2012-03-17  David S. Miller  <davem@davemloft.net>
41673         [BZ #6471]
41674         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41675         for 2.16.
41677 2012-03-16  David S. Miller  <davem@davemloft.net>
41679         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41680         warnings.
41682         [BZ #6471]
41683         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41684         properly.
41685         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41686         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41687         sysdep_routines when subdir is sysvipc.
41688         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41689         __getshmlba helper.
41691         * sysdeps/sparc/fpu/libm-test/ulps: Update.
41693 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41695         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41696         [__LP64__].
41698 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41700         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41701         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41702         (__lround): Renamed to ...
41703         (__llround): This.  Replace long int with long long int.
41704         Define lround functions as aliases of llround functions.
41705         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41707 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41709         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41710         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
41711         adresses to uintptr_t.  Replace "long int" and "unsigned long
41712         int" with "greg_t" on va_arg.
41714 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41716         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41717         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41719         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41720         Move e_machine check before EI_CLASS check.  Handle x32
41721         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41722         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41723         SKIP_EM_IA_64 and include
41724         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41726         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41727         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41728         (add_system_dir): New macro.
41730         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41731         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41733 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41735         [BZ #2551]
41736         [BZ #2552]
41737         [BZ #2553]
41738         [BZ #2554]
41739         [BZ #2562]
41740         [BZ #2563]
41741         [BZ #2565]
41742         [BZ #2566]
41743         [BZ #2576]
41744         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41745         (y0): Likewise.
41746         * math/w_j0f.c (j0f): Likewise.
41747         (y0f): Likewise.
41748         * math/w_j0l.c (__j0l): Likewise.
41749         (__y0l): Likewise.
41750         * math/w_j1.c (j1): Likewise.
41751         (y1): Likewise.
41752         * math/w_j1f.c (j1f): Likewise.
41753         (y1f): Likewise.
41754         * math/w_j1l.c (__j1l): Likewise.
41755         (__y1l): Likewise.
41756         * math/w_jn.c (jn): Likewise.
41757         (yn): Likewise.
41758         * math/w_jnf.c (jnf): Likewise.
41759         (ynf): Likewise.
41760         * math/w_jnl.c (__jnl): Likewise.
41761         (__ynl): Likewise.
41762         * math/libm-test.inc (j0_test): Add more tests.
41763         (j1_test): Likewise.
41764         (jn_test): Likewise.  Add trailing semicolon to existing test.
41765         (y0_test): Likewise.
41766         (y1_test): Likewise.
41767         * sysdeps/i386/fpu/libm-test-ulps: Update.
41768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41770         [BZ #13851]
41771         [BZ #13854]
41772         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41773         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41774         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41775         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41776         (__tanl): Set errno for infinite argument.
41777         * sysdeps/i386/fpu/mptan.c: Remove.
41778         * sysdeps/i386/fpu/s_tan.S: Likewise.
41779         * sysdeps/i386/fpu/s_tanl.S: Likewise.
41780         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41781         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41782         * math/libm-test.inc (tan_test): Add more tests and enable more
41783         tests for double and long double.
41784         * sysdeps/i386/fpu/libm-test-ulps: Update.
41785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41787 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
41789         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41790         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41792 2012-03-16  Roland McGrath  <roland@hack.frob.com>
41794         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41795         * configure.in: Use it for both main tree and add-ons.
41796         * configure: Regenerated.
41798 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41800         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41802 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41804         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41805         in comment.
41807         [BZ #13851]
41808         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41809         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41810         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41811         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41812         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41813         infinite argument.
41814         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41815         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41816         != 0 for prec == 2.
41817         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41818         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41819         * sysdeps/i386/fpu/s_cosl.S: Likewise.
41820         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41821         * sysdeps/i386/fpu/s_sinl.S: Likewise.
41822         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41823         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41824         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41825         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41826         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41827         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41828         * math/libm-test.inc (cos_test): Add more tests and enable more
41829         tests for long double.
41830         (sin_test): Likewise.
41831         (sincos_test): Likewise.
41832         * sysdeps/i386/fpu/libm-test-ulps: Update.
41833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41835 2012-03-16  David S. Miller  <davem@davemloft.net>
41837         * sysdeps/sparc/fpu/math_private.h: New file.
41839 2012-03-15  David S. Miller  <davem@davemloft.net>
41841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41842         file.
41843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41845         file.
41846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41851         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41852         sysdep routines.
41853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41855         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41856         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41858         * sysdeps/sparc/sparc-ifunc.h: New file.
41859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41860         sparc-ifunc.h
41861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41863         Likewise.
41864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41865         Likewise.
41866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41870         Likewise.
41871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41876         Likewise.
41877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41878         Likewise.
41879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41885         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41886         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41887         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41893         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41894         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41895         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41896         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41897         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41898         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41899         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41900         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41901         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41902         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41904 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41906         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41907         scaling.
41908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41910 2012-03-15  Andreas Jaeger  <aj@suse.de>
41912         [BZ #13852]
41913         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41914         ieee754/flt-32 implementation for sin, cos and sincos.
41915         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41916         * sysdeps/i386/fpu/s_cosf.S: Likewise.
41917         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41918         * sysdeps/i386/fpu/s_sinf.S: Likewise.
41919         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41920         ieee754/flt-32 implementation for tan.
41922         * math/libm-test.inc (cos_test): Enable some large input tests for
41923         float as well
41924         (sin_test): Likewise.
41925         (sincos_test): Likewise.
41926         (tan_test): Add tests for large input.
41928         * sysdeps/i386/fpu/libm-test-ulps: Update.
41930 2012-03-15  Andreas Jaeger  <aj@suse.de>
41932         [BZ #13658]
41933         * math/libm-test.inc (cos_test): Add more test cases.
41934         (sin_test): Likewise.
41935         (sincos_test): Likewise.
41937 2012-03-15  Andreas Jaeger  <aj@suse.de>
41939         [BZ #13837]
41940         * math/libm-test.inc (cos_test): Add a test case for large input
41941         value.
41942         (sin_test): Likewise.
41943         (sincos_test): Likewise.
41945 2012-03-15  Andreas Jaeger  <aj@suse.de>
41946             Joseph Myers  <joseph@codesourcery.com>
41948         [BZ #13658]
41949         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41950         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41951         * sysdeps/i386/fpu/branred.c: Likewise.
41952         * sysdeps/i386/fpu/dosincos.c: Likewise.
41953         * sysdeps/i386/fpu/mpa.c: Likewise.
41954         * sysdeps/i386/fpu/s_cos.S: Likewise.
41955         * sysdeps/i386/fpu/s_sin.S: Likewise.
41956         * sysdeps/i386/fpu/s_sincos.S: Likewise.
41957         * sysdeps/i386/fpu/sincos32.c: Likewise.
41959         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41960         Define.
41961         (libc_feupdateenv_53bit): Define.
41962         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41963         Define.
41964         (libc_feupdateenv_53bit): Define.
41966         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41967         53 bit (without extend i386 double precision).
41969         * math/libm-test.inc (sincos_test): Add tests for large input.
41970         (sin): Likewise.
41971         (cos): Likewise.
41973         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41975 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41979 2012-03-15  David S. Miller  <davem@davemloft.net>
41981         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41982         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41983         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41984         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41991         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41997         file.
41998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42000         file.
42001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42003         file.
42004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42006         file.
42007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42008         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42009         fmin/fmax sysdep routines.
42010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42012 2012-03-14  David S. Miller  <davem@davemloft.net>
42014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42018         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42019         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42020         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42021         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42022         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42023         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42024         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42026         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42028         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42029         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42030         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42034         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42035         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42036         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42037         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42038         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42039         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42040         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42041         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42042         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42043         routines.
42044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42045         file.
42046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42048         file.
42049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42051         file.
42052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42054         file.
42055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42057         file.
42058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42060         file.
42061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42062         file.
42063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42064         file.
42065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42066         file.
42067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42068         New file.
42069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42070         file.
42071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42072         file.
42073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42075         file.
42076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42078         file.
42079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42081         file.
42082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42084         VIS3 routines.
42086         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42087         New file.
42089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42091         * sysdeps/sparc/configure.in: New file.
42092         * sysdeps/sparc/configure: Generate.
42093         * configure.in (libc_cv_sparc_as_vis3): Substitute.
42094         * configure: Regenerate.
42095         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42096         * config.make.in (have-as-vis3): New.
42097         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42098         available use -Av9d instead of -Av9a.
42099         * sysdeps/sparc/sparc64/Makefile: Likewise.
42100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42102         New file.
42103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42104         file.
42105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42106         New file.
42107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42108         file.
42109         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42110         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42111         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42112         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42113         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42115         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42116         fzeros/fnegs to load 0x80000000 into a float register instead of
42117         using the stack.
42118         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42120 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42122         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42123         bits/syscall.h.
42124         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42125         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42126         ($(inst_includedir)/bits/syscall.h): Remove rule.
42127         ($(objpfx)bits/syscall.d): Include instead of
42128         $(objpfx)syscall-list.d.
42129         (generated): Change syscall-list.h and syscall-list.d to
42130         bits/syscall.h and bits/syscall.d.
42132 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42134         [BZ #13846]
42135         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42137 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42139         [BZ #13841]
42140         * math/s_csqrt.c: Include <float.h>.
42141         (__csqrt): Scale large or subnormal inputs.
42142         * math/s_csqrtf.c: Likewise.
42143         * math/s_csqrtl.c: Likewise.
42144         * math/libm-test.inc (csqrt_test): Add more tests.
42145         * sysdeps/i386/fpu/libm-test-ulps: Update.
42146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42148         [BZ #13840]
42149         * math/libm-test.inc (hypot_test): Add more tests.
42151 2012-03-13  David S. Miller  <davem@davemloft.net>
42153         [BZ #13840]
42154         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42155         double-precision for the calculation instead of scaling.
42157 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42159         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42160         manipulate bits before adding and subtracting TWO52[sx].
42161         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42162         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42163         Likewise.
42164         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42166 2012-03-13  David S. Miller  <davem@davemloft.net>
42168         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42169         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42170         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42171         rtld-global-offsets.h
42172         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42174         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42175         large parameters.
42177         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42179         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42180         'err' in the ifdef scope in which it is actually used.
42182         * nss/nss_db/db-init.c: Include string.h
42184 2012-03-12  David S. Miller  <davem@davemloft.net>
42186         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42187         masking out of the most significant byte of random value used.
42188         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42189         Fix coding style in previous change.
42191         * sysdeps/unix/sysv/linux/kernel-features.h
42192         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42193         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42194         expression.
42195         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42196         later.
42198 2012-03-11  David S. Miller  <davem@davemloft.net>
42200         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42201         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42202         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42203         for 'resultvar' otherwise things get truncated on 64-bit.
42205         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42206         Fix masking out of the most significant byte of random value used.
42208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42210 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42214 2012-03-09  David S. Miller  <davem@davemloft.net>
42216         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42217         variables with appropriate CPP guards.
42218         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42219         from the frame pointer, not the stack pointer.  Correct layout
42220         comments.  Fix test on resulting framesize and the management of
42221         the outregs buffer for pltexit.  Preserve floating point return
42222         values across _dl_call_pltexit call.
42223         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42224         framesize and the management of the outregs buffer for pltexit.
42225         Preserve floating point return values across _dl_call_pltexit
42226         call.
42227         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42228         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42229         (la_sparc64_gnu_pltexit): New functions.
42230         (print_exit): Fix format string for return register value.
42232 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42234         * sunrpc/Makefile (others): Add rpcgen.
42235         ($(objpfx)rpcgen): Remove special build rule and dependency on
42236         libc.
42237         * sunrpc/rpcgen.c: New file.
42239 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42241         [BZ #13673]
42242         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42243         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42244         * sysdeps/i386/crti.S: Likewise.
42245         * sysdeps/i386/crtn.S: Likewise.
42246         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42247         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42248         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42249         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42250         * sysdeps/sh/crti.S: Likewise.
42251         * sysdeps/sh/crtn.S: Likewise.
42252         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42254         [BZ #13673]
42255         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42256         with URL.
42257         * locale/programs/locfile-kw.gperf: Likewise.
42258         * locale/programs/charmap-kw.h: Regenerated.
42259         * locale/programs/locfile-kw.h: Likewise.
42261         [BZ #13673]
42262         * intl/plural.y: Replace FSF snail mail address with URL.
42263         * intl/plural.c: Regenerated.
42265 2012-03-09  Richard Henderson  <rth@twiddle.net>
42267         * include/math_private.h: Remove file.
42268         * math/math_private.h: Move file ...
42269         * sysdeps/generic/math_private.h: ... here.
42271         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42272         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42273         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42275         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42276         and <math_private.h>.
42277         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42278         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42279         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42280         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42281         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42282         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42283         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42284         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42285         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42286         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42287         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42288         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42289         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42290         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42291         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42292         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42293         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42294         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42295         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42296         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42297         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42298         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42299         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42300         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42301         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42302         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42303         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42304         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42305         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42306         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42307         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42308         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42309         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42310         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42311         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42312         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42313         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42314         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42315         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42316         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42317         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42318         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42319         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42320         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42321         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42322         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42323         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42324         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42325         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42326         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42327         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42328         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42329         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42330         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42331         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42332         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42333         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42334         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42335         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42336         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42337         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42338         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42339         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42340         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42341         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42342         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42343         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42344         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42345         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42346         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42347         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42348         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42349         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42350         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42351         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42352         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42353         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42354         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42355         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42356         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42357         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42358         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42359         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42360         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42361         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42362         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42363         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42364         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42365         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42366         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42367         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42368         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42369         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42370         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42371         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42372         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42373         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42374         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42375         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42376         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42377         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42378         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42379         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42380         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42381         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42382         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42383         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42384         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42385         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42386         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42387         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42388         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42389         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42390         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42391         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42392         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42393         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42394         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42395         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42396         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42397         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42398         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42399         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42400         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42401         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42402         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42403         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42404         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42405         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42406         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42407         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42408         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42409         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42410         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42411         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42412         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42413         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42414         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42415         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42416         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42417         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42418         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42419         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42420         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42421         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42422         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42423         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42424         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42425         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42426         * sysdeps/ieee754/k_standard.c: Likewise.
42427         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42428         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42429         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42430         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42431         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42432         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42433         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42434         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42435         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42436         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42437         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42438         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42439         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42440         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42441         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42442         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42443         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42444         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42445         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42446         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42447         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42448         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42449         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42450         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42451         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42452         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42454         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42455         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42456         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42457         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42458         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42459         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42460         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42461         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42462         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42463         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42464         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42465         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42466         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42467         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42468         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42469         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42470         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42471         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42472         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42473         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42474         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42475         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42476         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42477         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42478         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42479         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42480         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42481         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42482         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42483         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42484         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42485         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42486         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42487         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42488         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42489         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42490         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42491         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42492         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42493         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42494         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42495         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42496         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42497         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42499         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42500         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42501         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42502         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42503         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42504         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42505         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42506         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42507         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42508         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42509         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42510         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42511         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42512         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42513         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42514         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42515         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42516         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42517         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42518         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42519         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42520         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42521         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42522         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42523         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42524         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42525         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42526         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42527         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42528         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42529         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42530         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42531         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42532         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42533         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42534         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42535         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42536         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42537         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42538         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42539         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42540         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42541         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42542         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42543         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42544         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42545         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42546         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42547         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42548         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42549         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42550         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42551         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42552         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42553         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42554         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42555         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42556         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42557         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42558         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42559         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42560         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42561         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42562         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42563         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42564         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42565         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42566         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42567         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42568         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42569         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42570         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42571         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42572         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42573         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42574         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42575         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42576         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42577         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42578         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42579         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42580         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42581         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42582         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42583         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42584         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42585         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42586         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42587         * sysdeps/ieee754/s_lib_version.c: Likewise.
42588         * sysdeps/ieee754/s_matherr.c: Likewise.
42589         * sysdeps/ieee754/s_signgam.c: Likewise.
42590         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42591         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42592         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42593         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42594         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42595         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42596         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42597         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42598         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42599         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42600         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42601         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42602         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42603         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42604         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42605         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42606         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42607         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42608         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42609         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42612 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42614         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42615         * sunrpc/rpc_main.c: Likewise.
42616         * sunrpc/rpc_svcout.c: Likewise.
42618 2012-03-09  David S. Miller  <davem@davemloft.net>
42620         * include/math_private.h: New file.
42622 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42624         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42625         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42626         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42627         from <bits/socket_type.h>.
42628         (enum __socket_type): Don't define here.
42629         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42631         bits/socket_type.h.
42633         [BZ #13566]
42634         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42635         checking __USE_GNU.
42637         * Makerules ($(inst_includedir)/%.h): New rule.
42638         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42639         (install-others): Remove variable setting.
42640         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42642 2012-03-08  Richard Henderson  <rth@twiddle.net>
42644         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42645         from macro to inline function; merge with the
42646         !__LIBC_INTERNAL_MATH_INLINES version.
42647         (__ieee754_sqrtf): Likewise.
42649         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42650         to inline function.
42651         (__rintf, __floor, __floorf): Likewise.
42653         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42654         macro to inline function.
42655         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42657         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42658         not <math/math_private.h>.
42660 2012-03-08  David S. Miller  <davem@davemloft.net>
42662         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42663         copyright year.
42664         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42666 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
42668         * resolv/gai_misc.c (handle_requests): Fix struct timespec
42669         normalization.
42670         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42671         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42673 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
42675         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
42676         be defined individually, they must be defined as a block.  Define
42677         S for printing a string instead of hidint the different by using a
42678         macro for adding the 'l'.
42679         * stdio-common/tst-fphex-wide.c: Adjust.
42681 2012-03-07  Marek Polacek  <polacek@redhat.com>
42683         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42685 2012-03-08  Marek Polacek  <polacek@redhat.com>
42687         [BZ #13806]
42688         * stdio-common/Makefile (tests): Add tst-fphex-wide.
42689         * stdio-common/tst-fphex.c: Define a few macros to make the
42690         test reusable.  Use them.
42691         * stdio-common/tst-fphex-wide.c: New file.
42693 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
42695         [BZ #6911]
42696         * manual/macros.texi (gnusystems): New macro.
42697         (nongnusystems): Likewise.
42698         (gnulinuxhurdsystems): Likewise.
42699         (gnuhurdsystems): Likewise..
42700         (gnulinuxsystems): Likewise.
42701         * manual/charset.texi: Use new macros or @theglibc{} to refer to
42702         variants of the GNU system, not "GNU system".
42703         * manual/conf.texi: Likewise.
42704         * manual/errno.texi: Likewise.  Update example of errno macro
42705         expansion.
42706         * manual/filesys.texi: Likewise.
42707         (getumask): Document as specific to GNU/Hurd.
42708         * manual/install.texi: Likewise.  Reword some references to
42709         GNU/Linux.
42710         * manual/intro.texi: Likewise.
42711         * manual/io.texi: Likewise.
42712         (File Name Portability): Detail which constraints are inapplicable
42713         to all GNU systems and which are only inapplicable to GNU/Hurd.
42714         * manual/job.texi: Likewise.
42715         * manual/llio.texi: Likewise.
42716         (O_NOCTTY): Document as present on GNU/Linux.
42717         * manual/maint.texi: Likewise.
42718         * manual/memory.texi: Likewise.
42719         * manual/pattern.texi: Likewise.
42720         * manual/pipe.texi: Likewise.
42721         * manual/process.texi: Likewise.
42722         * manual/resource.texi: Likewise.
42723         (RUSAGE_CHILDREN): Remove statement about specifying a particular
42724         child on GNU/Hurd.
42725         * manual/setjmp.texi: Likewise.
42726         * manual/signal.texi: Likewise.
42727         * manual/startup.texi: Likewise.
42728         * manual/stdio.texi: Likewise.
42729         * manual/terminal.texi: Likewise.
42730         (ONLCR): Document as POSIX.
42731         (OXTABS): Document availability on GNU/Linux as XTABS.
42732         (ONOEOT): Document availability separately from other bits.
42733         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42734         * manual/time.texi: Likewise.
42735         * manual/users.texi: Likewise.
42736         * INSTALL: Regenerated.
42737         * sysdeps/gnu/errlist.c: Regenerated.
42739         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42740         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42741         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
42742         puts.
42743         * configure: Regenerated.
42745 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
42747         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42748         default includes instead of AC_HEADER_CHECK.
42749         * sysdeps/i386/configure: Regenerated.
42751         [BZ #10716]
42752         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42753         * math/s_cacoshf.c (__cacoshf): Likewise.
42754         * math/s_cacoshl.c (__cacoshl): Likewise.
42755         * math/s_casinh.c (__casinh): Set signs of result from argument.
42756         * math/s_casinhf.c (__casinhf): Likewise.
42757         * math/s_casinhl.c (__casinhl): Likewise.
42758         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42759         (casinh_test): Add more tests.
42760         * sysdeps/i386/fpu/libm-test-ulps: Update.
42761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42763 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
42765         * po/zh_TW.po: Update from translation team.
42767         * login/Makefile (distribute): Remove variable.
42768         * catgets/Makefile: Likewise.
42769         * mach/Makefile: Likewise.
42770         * malloc/Makefile: Likewise.
42771         * misc/Makefile: Likewise.
42772         * iconv/Makefile: Likewise.
42773         * nscd/Makefile: Likewise.
42774         * hurd/Makefile: Likewise.
42775         * manual/Makefile: Likewise.
42776         * locale/Makefile: Likewise.
42777         * intl/Makefile: Likewise.
42778         * conform/Makefile: Likewise.
42779         * nss/Makefile: Likewise.
42780         * time/Makefile: Likewise.
42781         * soft-fp/Makefile: Likewise.
42782         * dirent/Makefile: Likewise.
42783         * gmon/Makefile: Likewise.
42784         * po/Makefile: Likewise.
42785         * rt/Makefile: Likewise.
42786         * socket/Makefile: Likewise.
42787         * math/Makefile: Likewise.
42788         * signal/Makefile: Likewise.
42789         * debug/Makefile: Likewise.
42790         * elf/Makefile: Likewise.
42791         * timezone/Makefile: Likewise.
42792         * stdlib/Makefile: Likewise.
42793         * iconvdata/Makefile: Likewise.
42794         * sunrpc/Makefile: Likewise.
42795         * io/Makefile: Likewise.
42796         * argp/Makefile: Likewise.
42797         * inet/Makefile: Likewise.
42798         * hesiod/Makefile: Likewise.
42799         * grp/Makefile: Likewise.
42800         * csu/Makefile: Likewise.
42801         * wctype/Makefile: Likewise.
42802         * crypt/Makefile: Likewise.
42803         * libio/Makefile: Likewise.
42804         * string/Makefile: Likewise.
42805         * nis/Makefile: Likewise.
42806         * resolv/Makefile: Likewise.
42807         * stdio-common/Makefile: Likewise.
42808         * wcsmbs/Makefile: Likewise.
42809         * dlfcn/Makefile: Likewise.
42810         * posix/Makefile: Likewise.
42812         [BZ #6959]
42813         * timezone/Makefile: Don't install timezone files, just the programs
42814         and scripts.
42816 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
42818         * nss/databases.def: Add missing gshadow entry.
42820         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
42822 2012-03-06  Marek Polacek  <polacek@redhat.com>
42824         [BZ #13726]
42825         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42826         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42827         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42828         * stdio-common/tst-long-dbl-fphex.c: New file.
42830 2012-03-06  David S. Miller  <davem@davemloft.net>
42832         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42833         (set_obp_int): New function.
42834         (get_obp_int): New function.
42835         (__get_clockfreq_via_dev_openprom): Likewise.
42836         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42837         Avoid unused variable warnings on 'val' and use builtin_expect.
42838         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42839         __builtin_expect.
42840         (INLINE_CLONE_SYSCALL): Likewise.
42842 2012-03-05  David S. Miller  <davem@davemloft.net>
42844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42846 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
42848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42850         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42851         only for |x| >= 40.
42852         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42854 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
42856         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42857         Replace gettimeofday with __vdso_gettimeofday.
42859         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42860         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42861         __vdso_clock_gettime and __vdso_getcpu.
42863         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42864         time with __vdso_time.
42866 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42868         * manual/lang.texi (size_t): Note types to which size_t may be
42869         equivalent with the GNU C Library, but do not describe when
42870         differences between them are significant.
42872 2012-03-05  Andreas Jaeger  <aj@suse.de>
42874         * sysdeps/i386/fpu/libm-test-ulps: Update.
42876 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42878         [BZ #3976]
42879         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42880         (__ieee754_pow): Save and restore rounding mode and use
42881         round-to-nearest for main computations.
42882         * math/libm-test.inc (pow_test_tonearest): New function.
42883         (pow_test_towardzero): Likewise.
42884         (pow_test_downward): Likewise.
42885         (pow_test_upward): Likewise.
42886         (main): Call the new functions.
42887         * sysdeps/i386/fpu/libm-test-ulps: Update.
42888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42890         [BZ #3976]
42891         * math/libm-test.inc (cosh_test_tonearest): New function.
42892         (cosh_test_towardzero): Likewise.
42893         (cosh_test_downward): Likewise.
42894         (cosh_test_upward): Likewise.
42895         (sinh_test_tonearest): Likewise.
42896         (sinh_test_towardzero): Likewise.
42897         (sinh_test_downward): Likewise.
42898         (sinh_test_upward): Likewise.
42899         (main): Call the new functions.
42900         * sysdeps/i386/fpu/libm-test-ulps: Update.
42901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42903 2012-03-05  Tom de Vries  <tom@codesourcery.com>
42905         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42906         default stack guard is set in last bytes.
42907         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42909 2012-03-05  Kees Cook  <keescook@chromium.org>
42911         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42913         [BZ #13656]
42914         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42915         possibly allocate from heap instead of stack.
42916         * stdio-common/bug-vfprintf-nargs.c: New file.
42917         * stdio-common/Makefile (tests): Add nargs overflow test.
42919 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
42921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42923 2012-03-03  Marek Polacek  <polacek@redhat.com>
42925         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42926         * math/math_private.h: Likewise.
42927         * stdlib/tst-strtod.c: Likewise.
42928         * sysdeps/i386/i486/bits/atomic.h: Likewise.
42929         * sysdeps/x86_64/bits/atomic.h: Likewise.
42931 2012-03-02  David S. Miller  <davem@davemloft.net>
42933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42937         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42938         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42939         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42940         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42942 2012-03-02  Roland McGrath  <roland@hack.frob.com>
42944         [BZ #13792]
42945         * manual/examples/README: New file, says the example source files
42946         can be used under GPL>=2.
42947         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42948         line containing just "*/".
42949         * manual/examples/add.c: Add copyright header (GPL>=2).
42950         * manual/examples/argp-ex1.c: Likewise.
42951         * manual/examples/argp-ex2.c: Likewise.
42952         * manual/examples/argp-ex3.c: Likewise.
42953         * manual/examples/argp-ex4.c: Likewise.
42954         * manual/examples/atexit.c: Likewise.
42955         * manual/examples/db.c: Likewise.
42956         * manual/examples/dir.c: Likewise.
42957         * manual/examples/dir2.c: Likewise.
42958         * manual/examples/execinfo.c: Likewise.
42959         * manual/examples/filecli.c: Likewise.
42960         * manual/examples/filesrv.c: Likewise.
42961         * manual/examples/fmtmsgexpl.c: Likewise.
42962         * manual/examples/genpass.c: Likewise.
42963         * manual/examples/inetcli.c: Likewise.
42964         * manual/examples/inetsrv.c: Likewise.
42965         * manual/examples/isockad.c: Likewise.
42966         * manual/examples/longopt.c: Likewise.
42967         * manual/examples/memopen.c: Likewise.
42968         * manual/examples/memstrm.c: Likewise.
42969         * manual/examples/mkfsock.c: Likewise.
42970         * manual/examples/mkisock.c: Likewise.
42971         * manual/examples/mygetpass.c: Likewise.
42972         * manual/examples/pipe.c: Likewise.
42973         * manual/examples/popen.c: Likewise.
42974         * manual/examples/rprintf.c: Likewise.
42975         * manual/examples/search.c: Likewise.
42976         * manual/examples/select.c: Likewise.
42977         * manual/examples/setjmp.c: Likewise.
42978         * manual/examples/sigh1.c: Likewise.
42979         * manual/examples/sigusr.c: Likewise.
42980         * manual/examples/stpcpy.c: Likewise.
42981         * manual/examples/strdupa.c: Likewise.
42982         * manual/examples/strftim.c: Likewise.
42983         * manual/examples/strncat.c: Likewise.
42984         * manual/examples/subopt.c: Likewise.
42985         * manual/examples/swapcontext.c: Likewise.
42986         * manual/examples/termios.c: Likewise.
42987         * manual/examples/testopt.c: Likewise.
42988         * manual/examples/testpass.c: Likewise.
42989         * manual/examples/timeval_subtract.c: Likewise.
42991         [BZ #13792]
42992         * manual/time.texi (Elapsed Time): Move timeval_subtract example
42993         function to ...
42994         * manual/timeval_subtract.c.texi: ... here, new file.
42996 2012-03-02  David S. Miller  <davem@davemloft.net>
42998         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43000 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
43002         [BZ #3976]
43003         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43004         (__sin): Save and restore rounding mode and use round-to-nearest
43005         for all computations.
43006         (__cos): Save and restore rounding mode and use round-to-nearest
43007         for all computations.
43008         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43009         <fenv.h>.
43010         (tan): Save and restore rounding mode and use round-to-nearest for
43011         all computations.
43012         * math/libm-test.inc (cos_test_tonearest): New function.
43013         (cos_test_towardzero): Likewise.
43014         (cos_test_downward): Likewise.
43015         (cos_test_upward): Likewise.
43016         (sin_test_tonearest): Likewise.
43017         (sin_test_towardzero): Likewise.
43018         (sin_test_downward): Likewise.
43019         (sin_test_upward): Likewise.
43020         (tan_test_tonearest): Likewise.
43021         (tan_test_towardzero): Likewise.
43022         (tan_test_downward): Likewise.
43023         (tan_test_upward): Likewise.
43024         (main): Call the new functions.
43025         * sysdeps/i386/fpu/libm-test-ulps: Update.
43026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43028         [BZ #10135]
43029         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43030         small n, then large n, before computing and testing k+n.
43031         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43032         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43033         Likewise.
43034         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43035         Likewise.
43036         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43037         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43038         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43039         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43040         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43041         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43042         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43043         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43044         * math/libm-test.inc (scalbn_test): Add more tests.
43045         (scalbln_test): Likewise.
43047         * manual/filesys.texi (mode_t): Describe constraints on size and
43048         signedness, not exact equivalence to a particular type.
43049         (ino_t): Likewise.
43050         (ino64_t): Likewise.
43051         (dev_t): Likewise.
43052         (nlink_t): Likewise.
43053         (blkcnt_t): Likewise.
43054         (blkcnt64_t): Likewise.
43055         * manual/llio.texi (off_t): Likewise.
43057         [BZ #3976]
43058         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43059         (__ieee754_exp): Save and restore rounding mode and use
43060         round-to-nearest for all computations.
43061         * math/libm-test.inc (exp_test_tonearest): New function.
43062         (exp_test_towardzero): Likewise.
43063         (exp_test_downward): Likewise.
43064         (exp_test_upward): Likewise.
43065         (main): Call the new functions.
43066         * sysdeps/i386/fpu/libm-test-ulps: Update.
43067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43069 2012-03-01  Chris Demetriou  <cgd@google.com>
43071         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43072         have predictable order.
43074 2012-03-01  David S. Miller  <davem@davemloft.net>
43076         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43078         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43079         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43080         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43081         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43083         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43084         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43085         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43087         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43088         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43089         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43090         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43091         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43095         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43096         * sysdeps/sparc/fpu/libm-test-ulps: to here.
43097         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43099         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43100         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43101         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43102         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43103         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43104         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43105         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43106         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43107         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43108         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43109         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43110         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43111         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43112         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43113         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43114         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43115         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43116         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43117         * sysdeps/sparc/elf/configure: Regenerated.
43119 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43121         * configure.in (AS, LD): Require binutils 2.20 or later.
43122         * configure: Regenerated.
43123         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43124         as required minimum version.
43125         * INSTALL: Regenerated.
43127         [BZ #2541]
43128         [BZ #4108]
43129         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43130         before squaring exponent.
43131         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43132         bottom long double and 27 bits of top long double before squaring
43133         exponent.
43134         * math/libm-test.inc (erfc_test): Add more tests.
43135         * sysdeps/i386/fpu/libm-test-ulps: Update.
43136         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43139 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43141         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43142         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43143         containing bit-fields.
43144         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43145         * soft-fp/single.h (_FP_UNION_S): Likewise.
43146         * soft-fp/double.h (_FP_UNION_D): Likewise.
43148 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43150         [BZ #13786]
43151         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43152         not include ../strcmp.S.
43153         [USE_AS_STRNCASECMP_L]: Likewise.
43154         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43155         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43156         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43157         (__strncasecmp_l_ia32): Define as alias to
43158         __strncasecmp_l_nonascii.
43160         [BZ #5794]
43161         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43162         * sysdeps/i386/fpu/libm-test-ulps: Update.
43163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43165         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43168 2012-02-29  Jeff Law  <law@redhat.com>
43170         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43171         out of bounds read.
43173 2012-02-29  Marek Polacek  <polacek@redhat.com>
43175         [BZ #13706]
43176         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43177         * elf/Makefile: Add rules to run tst-unused-dep.out.
43179 2012-02-28  David S. Miller  <davem@davemloft.net>
43181         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43182         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43183         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43184         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43185         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43186         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43188 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43190         * math/libm-test.inc (llround_test): Move one test from
43191         lround_test.  Use TEST_f_L in moved test.
43192         (lround_test): Move misplaced test to llround_test.  Add testcase
43193         from bug 2561.
43195 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43197         * sysdeps/x86_64/fpu/e_expf.S: New file.
43198         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43200 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43202         [BZ #13637]
43203         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43204         of remain_len that may cause incomplete multi-byte character and
43205         false match.
43206         * posix/bug-regex33.c: New file.
43207         * posix/Makefile (tests): Add bug-regex33.
43209 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43211         * manual/macros.texi: New file.
43212         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43213         * manual/libc.texinfo: Include macros.texi.
43214         * manual/creatute.texi: Likewise.
43215         * manual/install.texi: Likewise.
43216         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43217         @glibcadj{} in references to the GNU C Library.
43218         * manual/charset.texi: Likewise.
43219         * manual/conf.texi: Likewise.
43220         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43221         when not using those macros.
43222         * manual/creature.texi: Likewise.
43223         * manual/crypt.texi: Likewise.
43224         * manual/errno.texi: Likewise.
43225         * manual/filesys.texi: Likewise.
43226         * manual/header.texi: Likewise.
43227         * manual/install.texi: Likewise.
43228         * manual/intro.texi: Likewise.
43229         * manual/io.texi: Likewise.
43230         * manual/job.texi: Likewise.
43231         * manual/lang.texi: Likewise.
43232         * manual/libc.texiinfo: Likewise.
43233         * manual/llio.texi: Likewise.
43234         * manual/locale.texi: Likewise.
43235         * manual/maint.texi: Likewise.
43236         * manual/math.texi: Likewise.
43237         * manual/memory.texi: Likewise.
43238         * manual/message.texi: Likewise.
43239         * manual/nss.texi: Likewise.
43240         * manual/pattern.texi: Likewise.
43241         * manual/process.texi: Likewise.
43242         * manual/resource.texi: Likewise.
43243         * manual/search.texi: Likewise.
43244         * manual/setjmp.texi: Likewise.
43245         * manual/signal.texi: Likewise.
43246         * manual/socket.texi: Likewise.
43247         * manual/startup.texi: Likewise.
43248         * manual/stdio.texi: Likewise.
43249         * manual/string.texi: Likewise.
43250         * manual/sysinfo.texi: Likewise.
43251         * manual/syslog.texi: Likewise.
43252         * manual/terminal.texi: Likewise.
43253         * manual/time.texi: Likewise.
43254         * manual/users.texi: Likewise.
43255         * INSTALL: Regenerated.
43256         * NOTES: Regenerated.
43257         * sysdeps/gnu/errlist.c: Regenerated.
43259 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43261         * include/dirent.h: Include <dirstream.h> before
43262         <dirent/dirent.h>.
43264 2012-02-28  David S. Miller  <davem@davemloft.net>
43266         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43267         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43268         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43269         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43271 2012-02-27  David S. Miller  <davem@davemloft.net>
43273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43275         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43276         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43279         frame pointer instead of stack pointer relative arg slot.
43280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43281         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43282         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43284 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43286         [BZ #3992]
43287         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43289 2012-02-27  David S. Miller  <davem@davemloft.net>
43291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43295         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43296         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43297         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43298         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43300 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43302         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43303         later.  Allow versions 5-9.
43304         * configure: Regenerated.
43305         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43306         required minimum version and 4.6 as recommended version.  Do not
43307         mention bugs in GCC 2.7 and 2.8.
43308         * INSTALL: Regenerated.
43310 2012-02-27  David S. Miller  <davem@davemloft.net>
43312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43316         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43317         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43318         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43319         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43321         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43322         manipulate bits before adding and subtracting TWO112[sx].
43323         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43325 2012-02-27  Roland McGrath  <roland@hack.frob.com>
43327         [BZ #13775]
43328         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43329         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43330         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43331         being in POSIX, because they are in 1003.1-2008.
43333         * rt/tst-aio.c: Include <fcntl.h>.
43334         * rt/tst-aio7.c: Likewise.
43335         * rt/tst-aio64.c: Likewise.
43337         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43339 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43341         * manual/install.texi (--with-headers): Describe headers as
43342         interface headers, not private headers.
43343         (Specific advice for GNU/Linux systems): Describe use of headers
43344         from "make headers_install", not private headers from older
43345         kernels.
43346         * INSTALL: Regenerated.
43347         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43348         Change to 2.6.19.
43349         * sysdeps/unix/sysv/linux/configure: Regenerated.
43351         * manual/llio.texi (fclean): Remove documentation.
43353         * manual/Makefile (libc-texi-generated): New variable.  Include
43354         version.texi.
43355         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43356         $(libc-texi-generated), not duplicated list of files.
43357         (version.texi, stamp-version): New rules.
43358         (realclean): Remove $(libc-texi-generated), not individual files
43359         from that list.  Do not remove dir-add.texinfo.
43360         * manual/libc.texinfo: Comment out uses of edition numbers and
43361         references to printed manual.  Remove last-updated dates.
43362         (EDITION): Comment out.
43363         (ISBN): Likewise.
43364         (VERSION, UPDATED): Remove.
43365         (version.texi): Include.
43367 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
43369         * sysdeps/posix/spawni.c: Include <signal.h>.
43370         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43371         * sysdeps/pthread/aio_fsync.c: Likewise.
43373 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
43375         * conform/Makefile (tests): Run only when not cross-compiling and
43376         when fast-check is not defined.
43378         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43379         * conform/data/limits.h-data: Fixes for POSIX2008.
43380         * conform/run-conformtest.sh: Run all tests.
43381         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43382         headers.
43383         * include/bits/dlfcn.h: Likewise.
43384         * include/langinfo.h: Likewise.
43385         * include/monetary.h: Likewise.
43386         * include/sys/poll.h: Likewise.
43388         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43389         for __USE_GNU.
43390         * posix/spawn.h: Define __need_sigset_t.
43391         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43392         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43393         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
43394         to get sigevent_t only.
43395         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43396         only for __USE_GNU.
43397         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43398         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43399         process_vm_writev only for __USE_GNU.
43400         * termios/termios.h: Declare tcgetsid also for POSIX2008.
43402         * conform/Makefile: For now ignore errors from run-conformtest.
43403         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
43404         POSIX to avoid namespace pollution.  Don't prepend headers.
43405         * conform/data/aio.h-data: Fixes for POSIX testing.
43406         * conform/data/fcntl.h-data: Likewise.
43407         * conform/data/glob.h-data: Likewise.
43408         * conform/data/grp.h-data: Likewise.
43409         * conform/data/pthread.h-data: Likewise.
43410         * conform/data/pwd.h-data: Likewise.
43411         * conform/data/signal.h-data: Likewise.
43412         * conform/data/spawn.h-data: Likewise.
43413         * conform/data/stdio.h-data: Likewise.
43414         * conform/data/stdlib.h-data: Likewise.
43415         * conform/data/stropts.h-data: Likewise.
43416         * conform/data/sys/mman.h-data: Likewise.
43417         * conform/data/sys/stat.h-data: Likewise.
43418         * conform/data/sys/types.h-data: Likewise.
43419         * conform/data/sys/wait.h-data: Likewise.
43420         * conform/data/time.h-data: Likewise.
43421         * conform/data/unistd.h-data: Likewise.
43422         * conform/data/utime.h-data: Likewise.
43424         * io/sys/stat.h: fchmod was always in POSIX.
43425         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43426         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43427         * rt/aio.h: Define __need_timespec before including <time.h>.
43428         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43429         struct.  Add forward declaration of pthread_attr_t and use it in
43430         sigevent.
43431         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43432         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43433         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43434         always remove CLK_TCK definition.
43436 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
43438         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43440 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
43442         * conform/run-conformtest.sh: New file.
43443         * conform/Makefile: Run run-conformtest for tests.
43444         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
43445         support.
43447         * conform/data/uchar.h-data: New file.
43448         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43449         * conform/data/arpa/inet.h-data: Likewise.
43450         * conform/data/assert.h-data: Likewise.
43451         * conform/data/complex.h-data: Likewise.
43452         * conform/data/cpio.h-data: Likewise.
43453         * conform/data/ctype.h-data: Likewise.
43454         * conform/data/dirent.h-data: Likewise.
43455         * conform/data/dlfcn.h-data: Likewise.
43456         * conform/data/errno.h-data: Likewise.
43457         * conform/data/fcntl.h-data: Likewise.
43458         * conform/data/float.h-data: Likewise.
43459         * conform/data/fmtmsg.h-data: Likewise.
43460         * conform/data/fnmatch.h-data: Likewise.
43461         * conform/data/ftw.h-data: Likewise.
43462         * conform/data/glob.h-data: Likewise.
43463         * conform/data/grp.h-data: Likewise.
43464         * conform/data/iconv.h-data: Likewise.
43465         * conform/data/inttypes.h-data: Likewise.
43466         * conform/data/langinfo.h-data: Likewise.
43467         * conform/data/libgen.h-data: Likewise.
43468         * conform/data/limits.h-data: Likewise.
43469         * conform/data/locale.h-data: Likewise.
43470         * conform/data/math.h-data: Likewise.
43471         * conform/data/monetary.h-data: Likewise.
43472         * conform/data/mqueue.h-data: Likewise.
43473         * conform/data/ndbm.h-data: Likewise.
43474         * conform/data/net/if.h-data: Likewise.
43475         * conform/data/netdb.h-data: Likewise.
43476         * conform/data/netinet/in.h-data: Likewise.
43477         * conform/data/nl_types.h-data: Likewise.
43478         * conform/data/poll.h-data: Likewise.
43479         * conform/data/pthread.h-data: Likewise.
43480         * conform/data/pwd.h-data: Likewise.
43481         * conform/data/regex.h-data: Likewise.
43482         * conform/data/sched.h-data: Likewise.
43483         * conform/data/search.h-data: Likewise.
43484         * conform/data/semaphore.h-data: Likewise.
43485         * conform/data/setjmp.h-data: Likewise.
43486         * conform/data/signal.h-data: Likewise.
43487         * conform/data/spawn.h-data: Likewise.
43488         * conform/data/stdarg.h-data: Likewise.
43489         * conform/data/stdio.h-data: Likewise.
43490         * conform/data/stdlib.h-data: Likewise.
43491         * conform/data/string.h-data: Likewise.
43492         * conform/data/strings.h-data: Likewise.
43493         * conform/data/stropts.h-data: Likewise.
43494         * conform/data/sys/ipc.h-data: Likewise.
43495         * conform/data/sys/mman.h-data: Likewise.
43496         * conform/data/sys/msg.h-data: Likewise.
43497         * conform/data/sys/resource.h-data: Likewise.
43498         * conform/data/sys/select.h-data: Likewise.
43499         * conform/data/sys/sem.h-data: Likewise.
43500         * conform/data/sys/shm.h-data: Likewise.
43501         * conform/data/sys/socket.h-data: Likewise.
43502         * conform/data/sys/stat.h-data: Likewise.
43503         * conform/data/sys/statvfs.h-data: Likewise.
43504         * conform/data/sys/time.h-data: Likewise.
43505         * conform/data/sys/timeb.h-data: Likewise.
43506         * conform/data/sys/times.h-data: Likewise.
43507         * conform/data/sys/types.h-data: Likewise.
43508         * conform/data/sys/uio.h-data: Likewise.
43509         * conform/data/sys/un.h-data: Likewise.
43510         * conform/data/sys/utsname.h-data: Likewise.
43511         * conform/data/sys/wait.h-data: Likewise.
43512         * conform/data/syslog.h-data: Likewise.
43513         * conform/data/tar.h-data: Likewise.
43514         * conform/data/termios.h-data: Likewise.
43515         * conform/data/utime.h-data: Likewise.
43516         * conform/data/utmpx.h-data: Likewise.
43517         * conform/data/varargs.h-data: Likewise.
43518         * conform/data/wchar.h-data: Likewise.
43519         * conform/data/wctype.h-data: Likewise.
43520         * conform/data/wordexp.h-data: Likewise.
43522         * include/stropts.h: New file.
43523         * include/uchar.h: New file.
43524         * include/aio.h: Changes to allow conformtest.pl to use the headers.
43525         * include/assert.h: Likewise.
43526         * include/ctype.h: Likewise.
43527         * include/dirent.h: Likewise.
43528         * include/dlfcn.h: Likewise.
43529         * include/fcntl.h: Likewise.
43530         * include/fnmatch.h: Likewise.
43531         * include/glob.h: Likewise.
43532         * include/grp.h: Likewise.
43533         * include/libio.h: Likewise.
43534         * include/locale.h: Likewise.
43535         * include/math.h: Likewise.
43536         * include/net/if.h: Likewise.
43537         * include/netdb.h: Likewise.
43538         * include/netinet/in.h: Likewise.
43539         * include/pthread.h: Likewise.
43540         * include/pwd.h: Likewise.
43541         * include/regex.h: Likewise.
43542         * include/sched.h: Likewise.
43543         * include/search.h: Likewise.
43544         * include/setjmp.h: Likewise.
43545         * include/signal.h: Likewise.
43546         * include/stdio.h: Likewise.
43547         * include/stdlib.h: Likewise.
43548         * include/string.h: Likewise.
43549         * include/sys/cdefs.h: Likewise.
43550         * include/sys/mman.h: Likewise.
43551         * include/sys/msg.h: Likewise.
43552         * include/sys/resource.h: Likewise.
43553         * include/sys/select.h: Likewise.
43554         * include/sys/socket.h: Likewise.
43555         * include/sys/stat.h: Likewise.
43556         * include/sys/statvfs.h: Likewise.
43557         * include/sys/time.h: Likewise.
43558         * include/sys/times.h: Likewise.
43559         * include/sys/uio.h: Likewise.
43560         * include/sys/utsname.h: Likewise.
43561         * include/sys/wait.h: Likewise.
43562         * include/termios.h: Likewise.
43563         * include/time.h: Likewise.
43564         * include/ulimit.h: Likewise.
43565         * include/unistd.h: Likewise.
43566         * include/utime.h: Likewise.
43567         * include/wchar.h: Likewise.
43568         * include/wctype.h: Likewise.
43569         * include/wordexp.h: Likewise.
43571         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43573         * time/time.h: TIME_UTC must be a macro.
43574         Make timespec_get available for ISO C11 only as well.
43576 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
43578         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43579         Reported by Peng Haitao <penght@cn.fujitsu.com>.
43581 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43583         * configure.in: Use -o not -a in test for unsupported multi-arch.
43585 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43587         * manual/texinfo.tex: Update to version 2012-01-19.16.
43589 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43591         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43593 2012-02-24  Roland McGrath  <roland@hack.frob.com>
43595         [BZ #13738]
43596         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43597         * manual/fdl-1.3.texi: New file.
43598         * manual/fdl-1.1.texi: File removed.
43600         [BZ #13738]
43601         * manual/libc.texinfo (FDL_VERSION): New @set.
43602         Use it for mention of FDL in cover text.
43603         (Documentation License): Use it in @include file name.
43605 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43606             Roland McGrath  <roland@hack.frob.com>
43608         [BZ #5461]
43609         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43610         (not LONG_LONG_MAX and LONG_LONG_MIN.
43611         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43612         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
43613         name.
43614         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43616 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43618         [BZ #2547]
43619         [BZ #11365]
43620         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43621         manipulate bits before adding and subtracting TWO23[sx].
43622         * math/libm-test.inc (nearbyint_test): Add more tests.
43624 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43626         [BZ #2548]
43627         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43628         bits before adding and subtracting TWO23[sx].
43629         * math/libm-test.inc (rint_test): Add more tests.
43630         (rint_test_tonearest): Likewise.
43631         (rint_test_towardzero): Likewise.
43632         (rint_test_downward): Likewise.
43633         (rint_test_upward: Likewise.
43635 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43637         [BZ #10110]
43638         * include/stdc-predef.h: New file.  Extracted from features.h.
43639         * include/features.h: Include stdc-predef.h.
43640         * Makefile (headers): Add stdc-predef.h.
43641         * CONFORMANCE (Compiler limitations): Update.
43643 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43645         * manual/libc.texinfo (VERSION, UPDATED): Revert.
43647 2012-02-21  David S. Miller  <davem@davemloft.net>
43649         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43650         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43652 2012-02-20  David S. Miller  <davem@davemloft.net>
43654         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43655         using a normal save/restore sequence, rather than allocating a
43656         dummy stack frame just to store a frame pointer and restore.
43657         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43659 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43661         * manual/install.texi: Fix stray word in line-wrapped comment.
43663 2012-02-20  David S. Miller  <davem@davemloft.net>
43665         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43666         both binutils and gcc support GOTDATA.
43668         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43669         "rd %pc" in the PIC register setup sequences.
43671         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43672         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43673         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43674         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43675         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43676         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43677         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43678         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43679         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43680         (SYSCALL_ERROR_HANDLER): Likewise.
43681         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43682         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43683         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43684         (SYSCALL_ERROR_HANDLER): Likewise.
43686         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43687         (HAVE_GCC_GOTDATA): New.
43688         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43689         relocation support in both binutils and gcc.
43690         * sysdeps/sparc/elf/configure: Regenerate.
43692         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43693         * sysdeps/sparc/sparc32/elf/configure: Delete.
43694         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43695         * sysdeps/sparc/sparc64/elf/configure: Delete.
43696         * sysdeps/sparc/elf/configure.in: New file.
43697         * sysdeps/sparc/elf/configure: Generate.
43699         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43700         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43701         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43702         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43703         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43705 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43707         * manual/install.texi: Do not mention specific glibc version
43708         numbers.
43709         * manual/libc.texinfo (VERSION, UPDATED): Update.
43710         (@copying): Use @copyright{} and range of years.
43712 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43714         [BZ #13695]
43715         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43716         [crti.S not in sysdirs] (generated): Do not append.
43717         [crti.S not in sysdirs] (omit-deps): Likewise.
43718         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43719         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43720         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43721         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43722         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43723         Likewise.
43724         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43725         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43726         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43727         * csu/defs.awk: Remove file.
43728         * sysdeps/generic/initfini.c: Likewise.
43729         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43730         variable.
43731         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43732         Likewise.
43734 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43736         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43737         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43738         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43739         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43740         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43741         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43742         <bits/epoll.h>.
43743         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43744         (__EPOLL_PACKED): Define to empty if not defined by
43745         <bits/epoll.h>.
43746         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43747         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43748         bits/epoll.h.
43750 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43752         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43753         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43754         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43755         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43756         <bits/timerfd.h>.
43757         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43759         bits/timerfd.h.
43761 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43763         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43764         in C locale.
43765         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43766         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43767         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43770 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
43772         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43773         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43775 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
43777         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43778         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43779         defined.
43780         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43781         Likewise.
43782         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43783         entry for 2.16.
43785 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
43787         * math/w_acos.c: Use non-signaling floating-point comparisons.
43788         * math/w_acosf.c: Likewise.
43789         * math/w_acosh.c: Likewise.
43790         * math/w_acoshf.c: Likewise.
43791         * math/w_acoshl.c: Likewise.
43792         * math/w_acosl.c: Likewise.
43793         * math/w_asin.c: Likewise.
43794         * math/w_asinf.c: Likewise.
43795         * math/w_asinl.c: Likewise.
43796         * math/w_atanh.c: Likewise.
43797         * math/w_atanhf.c: Likewise.
43798         * math/w_atanhl.c: Likewise.
43799         * math/w_exp2.c: Likewise.
43800         * math/w_exp2f.c: Likewise.
43801         * math/w_exp2l.c: Likewise.
43802         * math/w_j0.c: Likewise.
43803         * math/w_j0f.c: Likewise.
43804         * math/w_j0l.c: Likewise.
43805         * math/w_j1.c: Likewise.
43806         * math/w_j1f.c: Likewise.
43807         * math/w_j1l.c: Likewise.
43808         * math/w_jn.c: Likewise.
43809         * math/w_jnf.c: Likewise.
43810         * math/w_log.c: Likewise.
43811         * math/w_log10.c: Likewise.
43812         * math/w_log10f.c: Likewise.
43813         * math/w_log10l.c: Likewise.
43814         * math/w_log2.c: Likewise.
43815         * math/w_log2f.c: Likewise.
43816         * math/w_log2l.c: Likewise.
43817         * math/w_logf.c: Likewise.
43818         * math/w_logl.c: Likewise.
43819         * math/w_sqrt.c: Likewise.
43820         * math/w_sqrtf.c: Likewise.
43821         * math/w_sqrtl.c: Likewise.
43822         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43823         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43824         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43825         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43826         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43828 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43830         [BZ #9739]
43831         * manual/string.texi (strnlen): Use correct parameter name in
43832         equivalent expression.
43834 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43836         [BZ #11174]
43837         * manual/users.texi (seteuid): Consistently use neweuid for
43838         argument name.
43840 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43842         [BZ #13704]
43843         * manual/nss.texi (Services in the NSS configuration): Correct
43844         list of services in example configuration file.
43846 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
43848         [BZ #11322]
43849         * manual/arith.texi: Remove statements about negative zero
43850         behaving identically to zero.
43852 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43854         [BZ #5993]
43855         * manual/install.texi: Do not document upgrading from libc5.
43857 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43859         [BZ #4596]
43860         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43862 2012-02-18  David S. Miller  <davem@davemloft.net>
43864         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43865         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43866         %o7 across the call.
43867         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43868         instead.
43869         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43870         SETUP_PIC_REG_LEAF.
43871         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43872         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43873         * sysdeps/sparc/crtn.S: Likewise.
43875 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
43877         * aout/Makefile: Remove.
43879 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
43881         [BZ #13058]
43882         * manual/examples/argp-ex1.c (main): Format definition in GNU
43883         style.
43884         * manual/examples/argp-ex2.c (main): Likewise.
43885         * manual/examples/argp-ex3.c (main): Likewise.
43886         * manual/examples/argp-ex4.c (main): Likewise.
43887         * manual/examples/longopt.c (main): Use new-style prototype
43888         definition.
43889         * manual/examples/strncat.c (main): Specify return type and use
43890         (void) for arguments.
43891         * manual/examples/subopt.c (main): Use char **argv argument.
43893 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43895         [BZ #5077]
43896         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43897         rounding modes.
43899 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
43901         [BZ #6907]
43902         * manual/string.texi (strchr): Change when strchrnul is
43903         recommended.
43905 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
43907         [BZ #174]
43908         * manual/locale.texi (setlocale): Document LOCPATH.
43910 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43912         [BZ #10210]
43913         * manual/process.texi (execle): Move @dots{} before last argument.
43915 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
43917         [BZ #12047]
43918         * manual/charset.texi (Generic Charset Conversion): Fix typo
43919         (LC_TYPE -> LC_CTYPE).
43921 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
43923         [BZ #5805]
43924         * manual/arith.texi (scalbn): Use @var{} on parameter names.
43925         (scalbnf): Likewise.
43926         (scalbnl): Likewise.
43927         (scalbln): Likewise.
43928         (scalblnf): Likewise.
43929         (scalblnl): Likewise.
43930         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43931         (vwarnx): Likewise.
43932         (verr): Likewise.
43933         (verrx): Likewise.
43934         * manual/filesys.texi (telldir): Use braces around return type.
43935         * manual/llio.texi (mmap): Add space after comma.
43936         (mmap64): Likewise.
43937         * manual/math.texi (jn): Use @var{} on parameter names.
43938         (jnf): Likewise.
43939         (jnl): Likewise.
43940         (yn): Likewise.
43941         (ynf): Likewise.
43942         (ynl): Likewise.
43943         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43944         line.
43945         * manual/resource.texi (ulimit): Use @dots{} instead of literal
43946         "...".
43947         (sched_get_priority_min): Remove semicolon on @deftypefun line.
43948         (sched_get_priority_max): Likewise.
43949         * manual/signal.texi (sigvec): Add space after comma.
43950         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43951         names.
43952         (if_indextoname): Likewise.
43953         (if_freenameindex): Likewise.
43954         (sendto): Use ',' instead of '.' in prototype.
43955         * manual/startup.texi (syscall): Use @dots{} instead of literal
43956         "...".
43957         * manual/stdio.texi (__fpending): Separate initial words of
43958         paragraph from @deftypefun line.
43959         * manual/syslog.texi (syslog): Use @dots{} instead of literal
43960         "...".
43961         (vsyslog): Use @var{} on parameter names.
43962         * manual/terminal.texi (stty): Use @var{} on parameter names.
43963         * manual/users.texi (getutmp): Use @var{} on parameter names.
43964         (getutmpx): Likewise.
43966 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43968         [BZ #6884]
43969         * manual/stdio.texi (fopen): Fix typos in description of
43970         ",ccs=STRING".
43972 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
43974         [BZ #4026]
43975         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43976         get clock_id definition.
43978 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
43980         [BZ #4822]
43981         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43982         (madvise): Cast every argument to void on its own.
43984 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43986         [BZ #9902]
43987         * manual/startup.texi (Exit Status): Fix typo.
43989 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43991         [BZ #10140]
43992         * manual/examples/argp-ex1.c: Include <stdlib.h>.
43993         * manual/examples/argp-ex2.c: Likewise.
43994         * manual/examples/argp-ex3.c: Likewise.
43996 2012-02-16  Richard Henderson  <rth@redhat.com>
43998         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43999         * sysdeps/s390/s390-32/initfini.c: Remove.
44000         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44001         * sysdeps/s390/s390-64/initfini.c: Remove.
44003 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44005         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44006         compiler output for sysdeps/generic/initfini.c.
44007         * sysdeps/sh/elf/initfini.c: Remove file.
44009 2012-02-16  David S. Miller  <davem@davemloft.net>
44011         [BZ #11494]
44012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44014         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44015         * sysdeps/sparc/crti.S: New file.
44016         * sysdeps/sparc/crtn.S: New file.
44017         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44018         * sysdeps/sparc/sparc64/Makefile: Likewise.
44020 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
44022         [BZ #3335]
44023         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44025 2012-02-15  Roland McGrath  <roland@hack.frob.com>
44027         [BZ #4822]
44028         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44030         * mach/devstream.c (cookie_io_functions_t): Macro removed.
44031         (write, read, close): Likewise.
44032         Patch by Aurelien Jarno <aurelien@aurel32.net>.
44034 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
44036         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44037         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44038         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44039         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44040         <bits/signalfd.h>.
44041         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44042         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44043         bits/signalfd.h.
44045 2012-02-14  Marek Polacek  <polacek@redhat.com>
44047         * sysdeps/x86_64/crti.S: New file.
44048         * sysdeps/x86_64/crtn.S: New file.
44049         * sysdeps/x86_64/elf/initfini.c: Remove file.
44051 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44053         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44054         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44055         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44056         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44057         <bits/inotify.h>.
44058         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44059         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44060         bits/inotify.h.
44062 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
44064         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44065         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44066         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44067         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44068         <bits/eventfd.h>.
44069         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44070         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44071         bits/eventfd.h.
44073 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
44075         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44076         __feraiseexcept instead of feraiseexcept.
44078         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44079         nanosleep invocations.
44080         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44081         strings, and add error checking for a nanosleep invocations.
44083 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
44085         Replace FSF snail mail address with URLs, as per GNU coding standards.
44086         Most of the snail mail addresses were wrong anyway, and omitting
44087         them makes the source code easier to maintain.  Almost all of the
44088         changes are to license notices and to locale LC_IDENTIFICATION
44089         addresses, except for this one:
44090         * manual/libc.texinfo: In "Published by", give the FSF's URL,
44091         not its snail mail address.
44093 2012-02-09  Richard Henderson  <rth@twiddle.net>
44095         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44096         of kernel-features.h.
44098         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44100 2012-02-08  Marek Polacek  <polacek@redhat.com>
44102         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44103         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44104         * sysdeps/gnu/_G_config.h: Likewise.
44105         * sysdeps/generic/_G_config.h: Likewise.
44107 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
44109         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44110         tests.
44111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44113         * sysdeps/powerpc/powerpc32/crti.S: New file.
44114         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44115         * sysdeps/powerpc/powerpc64/crti.S: New file.
44116         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44118         * Makeconfig (have-initfini): Don't set.
44119         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44120         * configure.in (nopic_initfini): Don't substitute.
44121         * config.h.in (HAVE_INITFINI): Don't #undef.
44122         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44123         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44125 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44127         Support crti.S and crtn.S provided directly by architectures.
44128         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44129         [crti.S in sysdirs] (omit-deps): Likewise.
44130         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44131         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44132         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44133         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44134         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44135         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44136         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44137         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44138         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44139         compiler output for sysdeps/generic/initfini.c.
44140         * sysdeps/i386/elf/Makefile: Remove file.
44141         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44143 2012-02-07  Marek Polacek  <polacek@redhat.com>
44145         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44146         * sysdeps/gnu/_G_config.h: Likewise.
44147         * sysdeps/mach/hurd/_G_config.h: Likewise.
44149 2012-02-07  Marek Polacek  <polacek@redhat.com>
44151         * math/Makefile (tests): Add tst-CMPLX2.
44152         * math/tst-CMPLX2.c: New file.
44154 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44156         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44158         * math/libm-test.inc (jn_test): Add missing L suffix.
44160 2012-02-06  Marek Polacek  <polacek@redhat.com>
44162         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44163         * sysdeps/i386/fpu/e_powf.S: Likewise.
44164         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44165         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44166         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44167         * sysdeps/i386/fpu/e_pow.S: Likewise.
44168         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44169         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44170         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44171         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44172         * sysdeps/i386/fpu/e_log2.S: Likewise.
44173         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44174         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44175         * sysdeps/i386/fpu/e_powl.S: Likewise.
44176         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44177         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44178         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44179         * sysdeps/i386/fpu/e_logl.S: Likewise.
44180         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44181         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44182         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44183         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44184         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44185         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44186         * sysdeps/i386/fpu/e_log.S: Likewise.
44187         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44188         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44189         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44190         * sysdeps/i386/fpu/e_logf.S: Likewise.
44191         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44192         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44193         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44194         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44195         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44196         * sysdeps/i386/fpu/e_log10.S: Likewise.
44197         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44198         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44199         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44200         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44201         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44202         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44203         * sysdeps/i386/asm-syntax.h: Likewise.
44204         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44205         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44206         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44207         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44208         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44209         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44210         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44211         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44212         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44213         * sysdeps/powerpc/sysdep.h: Likewise.
44214         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44215         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44217 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44219         [BZ #411]
44220         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44222 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44224         * sysdeps/i386/sysdep.h: Include <features.h>.
44225         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44226         version.
44228 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44230         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44231         Define.
44232         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44233         LOAD_PIC_REG_STR.
44235 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44237         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44238         (SETUP_PIC_REG): Use GET_PC_THUNK.
44239         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44240         macro.
44242 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44244         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44245         for non-PIC compilation.
44246         (SETUP_PIC_REG): Add .p2align directive.
44247         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44248         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44249         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44250         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44251         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44252         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44253         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44254         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44255         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44256         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44257         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44258         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44259         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44260         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44261         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44262         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44263         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44264         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44265         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44266         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44267         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44268         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44269         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44270         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44271         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44272         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44273         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44274         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44275         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44276         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44277         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44278         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44279         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44280         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44281         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44282         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44283         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44284         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44285         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44286         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44287         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44289 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44291         * math/tst-CMPLX.c: Include <stdio.h>.
44293 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44295         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44296         float.
44297         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44298         * sysdeps/sparc/bits/mathdef.h: Likewise.
44300 2012-01-31  Marek Polacek  <polacek@redhat.com>
44302         * libio/libio.h: Don't define _PARAMS.
44303         * locale/programs/config.h: Don't define PARAMS.
44304         * stdlib/strtol_l.c: Likewise.
44305         (__strtol_l): Remove PARAMS from the prototype.
44307 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44309         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44310         names.  Just use the correct names.  Remove unnecessary wrapper
44311         functions.
44312         * malloc/arena.c: Likewise.
44313         * malloc/hooks.c: Likewise.
44315         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44316         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44317         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44319 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44321         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44322         into tail calls.
44323         (update_get_addr): New function.
44324         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44325         GET_ADDR_MODULE parameter.
44327 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44329         * crypt/cert.c: Remove __STDC__ conditionals.
44330         * crypt/crypt-entry.c: Likewise.
44331         * crypt/crypt_util.c: Likewise.
44332         * libio/filedoalloc.c: Likewise.
44333         * libio/fileops.c: Likewise.
44334         * libio/genops.c: Likewise.
44335         * libio/iofclose.c: Likewise.
44336         * libio/iofdopen.c: Likewise.
44337         * libio/iofopen.c: Likewise.
44338         * libio/iofopen64.c: Likewise.
44339         * libio/iogetdelim.c: Likewise.
44340         * libio/iopopen.c: Likewise.
44341         * libio/obprintf.c: Likewise.
44342         * libio/oldfileops.c: Likewise.
44343         * libio/oldiofclose.c: Likewise.
44344         * libio/oldiofdopen.c: Likewise.
44345         * libio/oldiofopen.c: Likewise.
44346         * libio/oldiopopen.c: Likewise.
44347         * libio/wfiledoalloc.c: Likewise.
44348         * libio/wgenops.c: Likewise.
44349         * locale/programs/xmalloc.c: Likewise.
44350         * misc/syslog.c: Likewise.
44351         * stdio-common/xbug.c: Likewise.
44352         * string/memchr.c: Likewise.
44353         * string/memcmp.c: Likewise.
44354         * string/memrchr.c: Likewise.
44355         * string/rawmemchr.c: Likewise.
44356         * sysdeps/posix/getcwd.c: Likewise.
44357         * time/strftime_l.c: Likewise.
44359 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44361         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44362         * config.make.in (config-cflags-sse2avx): Define.
44363         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44364         Fix typo.
44366 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
44368         * scripts/config.guess: Update from upstream config git repository.
44369         * scripts/config.sub: Likewise.
44371 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
44373         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44374         (EM_NUM): Update.
44375         (R_TILEPRO_*, R_TILEGX_*): New macros.
44377         * scripts/firstversions.awk: Fix bug in version range handling.
44379         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44381         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44383         * include/sys/epoll.h: New file.
44384         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44385         libc_hidden_def.
44387 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
44389         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44390         Avoid unnecessary __WORDSIZE == 64 test.
44391         (fmaxf): Use VEX format if possible.
44392         (fmax): Likewise.
44393         (fminf): Likewise.
44394         (fmin): Likewise.
44396         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44397         * math/math_private.h: Remove libc_fegetround* and
44398         libc_fesetround*.
44399         * sysdeps/i386/configure.in: Check for -msse2avx.
44400         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44401         also if SSE2AVX is defined.
44402         Remove libc_fegetround* and libc_fesetround*.
44403         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44404         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
44405         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44406         of HAS_YMM_USABLE.
44407         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44408         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44409         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44410         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44411         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44413         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44415 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44417         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44418         size is not set.
44419         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44421 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
44423         [BZ #13618]
44424         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44425         relocation.
44426         * Makeconfig (libm): Define.
44427         * elf/Makefile: Add rules to build and run tst-relsort1.
44428         * elf/tst-relsort1.c: New file.
44429         * elf/tst-relsort1mod1.c: New file.
44430         * elf/tst-relsort1mod2.c: New file.
44432 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
44434         * math/s_ldexp.c: Remove __STDC__ conditionals.
44435         * math/s_ldexpf.c: Likewise.
44436         * math/s_ldexpl.c: Likewise.
44437         * math/s_nextafter.c: Likewise.
44438         * math/s_nexttowardf.c: Likewise.
44439         * math/s_significand.c: Likewise.
44440         * math/s_significandf.c: Likewise.
44441         * math/s_significandl.c: Likewise.
44442         * math/w_jnl.c: Likewise.
44443         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44444         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44445         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44446         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44447         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44448         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44449         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44450         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44451         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44452         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44453         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44454         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44455         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44456         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44457         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44458         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44459         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44460         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44461         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44462         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44463         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44464         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44465         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44466         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44467         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44468         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44469         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44470         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44471         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44472         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44473         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44474         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44475         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44476         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44477         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44478         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44479         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44480         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44481         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44482         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44483         * sysdeps/ieee754/k_standard.c: Likewise.
44484         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44485         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44486         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44487         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44488         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44489         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44490         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44491         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44492         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44493         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44494         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44495         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44496         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44497         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44498         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44499         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44500         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44501         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44502         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44503         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44504         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44505         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44506         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44507         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44508         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44509         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44511         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44512         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44513         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44514         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44515         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44516         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44517         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44518         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44519         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44520         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44521         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44522         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44523         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44524         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44525         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44526         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44527         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44528         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44529         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44530         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44531         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44532         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44533         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44534         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44535         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44536         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44537         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44538         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44539         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44540         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44541         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44542         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44543         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44544         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44545         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44546         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44547         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44548         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44549         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44550         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44551         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44552         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44553         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44554         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44555         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44556         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44557         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44558         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44559         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44560         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44561         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44562         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44563         * sysdeps/ieee754/s_matherr.c: Likewise.
44564         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44565         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44566         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44567         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44569 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44571         * crypt/md5.h: Remove __STDC__ conditionals.
44572         * libio/libioP.h: Likewise.
44573         * locale/programs/config.h: Likewise.
44574         * sysdeps/generic/sysdep.h: Likewise.
44575         * sysdeps/i386/asm-syntax.h: Likewise.
44576         * sysdeps/s390/asm-syntax.h: Likewise.
44577         * sysdeps/unix/sysdep.h: Likewise.
44578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44581 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44583         * libio/libio.h: Remove __STDC__ conditionals.
44584         * malloc/obstack.h: Likewise.
44585         * math/complex.h: Likewise.
44586         * math/math.h: Likewise.
44587         * sysdeps/generic/_G_config.h: Likewise.
44588         * sysdeps/gnu/_G_config.h: Likewise.
44589         * sysdeps/mach/hurd/_G_config.h: Likewise.
44590         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44591         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44592         * sysdeps/sparc/bits/mathdef.h: Likewise.
44594 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
44596         [BZ #13583]
44597         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44598         Clean up HAS_* macros.
44599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44600         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44601         possible.
44602         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44603         HAS_AVX.
44604         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44605         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44606         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44607         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44608         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44610 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
44612         * elf/tst-unique3.cc (gets): Remove declaration.
44613         * elf/tst-unique3lib.cc (gets): Likewise.
44614         * elf/tst-unique3lib2.cc (gets): Likewise.
44615         * elf/tst-unique4.cc (gets): Likewise.
44617 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
44619         * include/stdio.h: Add C++ protection.  Add gets declarations and
44620         definitions.
44621         * debug/tst-chk1.c: Don't declare gets here.
44622         * stdio-common/tst-gets.c: Likewise.
44624 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44626         * posix/glob: Remove directory.
44628 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44630         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44632 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
44634         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44635         of the non-standard EPFNOSUPPORT.
44637 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44639         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44640         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44641         ANYWHERE set to 1 only on KERN_NO_SPACE error.
44643 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
44645         * wcsmbs/uchar.h: Test __STDC_VERSION__.
44647 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
44649         * nscd/aicache.c (addhstaiX): Do not cache negative results of
44650         transient errors.
44651         * nscd/grpcache.c (cache_addgr): Likewise.
44652         * nscd/hstcache.c (cache_addhst): Likewise.
44653         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44654         * nscd/pwdcache.c (cache_addpw): Likewise.
44655         * nscd/servicescache.c (cache_addserv): Likewise.
44657 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
44659         * malloc/malloc.c: Various cleanups.
44660         * malloc/hooks.c: Likewise.
44662         * stdlib/Makefile (tests): Add bug-fmtmsg1.
44663         * stdlib/bug-fmtmsg1.c: New file.
44665         * stdlib/fmtmsg.c (init): Add missing unlock.
44666         Patch by Peng Haitao <penght@cn.fujitsu.com>.
44668 2012-01-12  Marek Polacek  <polacek@redhat.com>
44670         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44671         and _GNU_SOURCE.
44673 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44675         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44676         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44677         macro to ensure uniqueness of label name.
44678         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44679         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44681 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
44683         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44685         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44686         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44687         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44688         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44690 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
44692         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44694         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44695         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44696         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44698         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44700         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44701         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44702         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44703         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44705         * math/bits/math-finite.h: Add ldexp support.
44707 2012-01-10  Marek Polacek  <polacek@redhat.com>
44709         * locale/programs/localedef.h (show_archive_content): Add noreturn
44710         attribute.
44712 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
44714         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44716 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44718         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44720         * io/Makefile (headers): Add bits/poll2.h.
44722 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
44724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44725         typo #include statement.
44727 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44729         * include/sys/cdefs.h: Define __attribute_alloc_size.
44730         * catgets/gencat.c: Add alloc_size attribute and apply consistently
44731         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44732         * elf/pldd.c: Likewise.
44733         * iconv/iconv_charmap.c: Likewise.
44734         * iconv/iconvconfig.c: Likewise.
44735         * iconv/strtab.c: Likewise.
44736         * locale/programs/locale.c: Likewise.
44737         * locale/programs/localedef.h: Likewise.
44738         * locale/programs/simple-hash.c: Likewise.
44739         * nscd/nscd.h: Likewise.
44740         * nss/makedb.c: Likewise.
44741         * sysdeps/generic/ldconfig.h: Likewise.
44742         * locale/programs/localedef.c: Remove xmalloc prototype.
44743         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44745 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44747         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44748         appropriate.
44750 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44752         * math/Makefile (tests): Add tst-CMPLX.
44753         * math/tst-CMPLX.c: New file.
44755         * math/complex.h (CMPLXL): Fix typo.
44757         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44758         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44759         GLIBC_2.16.
44760         * debug/tst-chk1.c: Add poll and ppoll tests.
44761         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44762         * include/sys/poll.h: Add hidden proto for ppoll.
44763         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44764         * sysdeps/mach/hurd/ppoll.c: Likewise.
44765         * io/ppoll.c: Likewise.
44766         * debug/poll_chk.c: New file.
44767         * debug/ppoll_chk.c: New file.
44768         * include/bits/poll2.h: New file.
44769         * io/bits/poll2.h: New file.
44771         [BZ #1350]
44772         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44774         * configure.in: static is always set to yes.  Remove.
44775         * config.make.in: Don't set build-static.
44776         * Makeconfig: Remove use of build-static.
44777         * dlfcn/Makefile: Likewise.
44778         * elf/Makefile: Likewise.
44779         * math/Makefile: Likewise.
44780         * misc/Makefile: Likewise.
44781         * nptl/Makefile: Likewise.
44782         * sysdeps/mach/hurd/Makefile: Likewise.
44784         * configure.in: PWD_P is not used anymore.
44785         * config.make.in: Remove PWD_P entry.
44787         * configure.in: Remove last remnants of RANLIB.
44788         No need to check for signed size_t anymore.
44789         Don't set libc_commonpagesize and libc_relro_required here for Alpha
44790         and IA-64.
44791         Remove __builtin_expect test because we require at least gcc 3.4.
44792         * aclocal.m4: Likewise.
44794         * wcsmbs/mbrtoc16.c: Implement using towc function.
44795         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44796         * wcsmbs/wcsmbsload.c: Likewise.
44797         * iconv/gconv_simple.c: Likewise.
44798         * iconv/gconv_int.h: Likewise.
44799         * iconv/gconv_builtin.h: Likewise.
44800         * iconv/iconv_prog.c: Remove CHAR16 handling.
44802         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44804         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44806         * configure.in: Remove --with-elf and --enable-bounded options.
44807         Dont set base_machine for ia64.  More non-ELF conditions removed.
44808         Remove testing and setting of leading underscore information.
44809         * config.make.in (build-bounded): Set to no.
44810         * config.h.in: Remove NO_UNDERSCORES entry.
44811         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
44812         them.
44813         * csu/start.c: Remove !NO_UNDERSCORE code.
44814         * locale/localeinfo.h: Likewise.
44815         * sysdeps/generic/machine-gmon.h: Likewise.
44816         * sysdeps/generic/sysdep.h: Likewise.
44817         * sysdeps/i386/sysdep.h: Likewise.
44818         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44819         * sysdeps/mach/sysdep.h: Likewise.
44820         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44821         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44822         * sysdeps/sh/sysdep.h: Likewise.
44823         * sysdeps/sparc/sparc32/alloca.S: Likewise.
44824         * sysdeps/unix/i386/sysdep.S: Likewise.
44825         * sysdeps/unix/sparc/start.c: Likewise.
44826         * sysdeps/unix/sparc/sysdep.S: Likewise.
44827         * sysdeps/unix/sparc/sysdep.h: Likewise.
44828         * sysdeps/unix/start.c: Likewise.
44829         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44830         * sysdeps/x86_64/sysdep.h: Likewise.
44832 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
44834         [BZ #13553]
44835         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44836         for non-gcc.
44837         * argp/argp-fmtstream.h: Use const instead __const.
44838         * argp/argp.h: Likewise.
44839         * assert/assert.h: Likewise.
44840         * bits/fenv.h: Likewise.
44841         * bits/sched.h: Likewise.
44842         * bits/sigset.h: Likewise.
44843         * bits/sigthread.h: Likewise.
44844         * catgets/nl_types.h: Likewise.
44845         * conform/data/pthread.h-data: Likewise.
44846         * crypt/crypt-private.h: Likewise.
44847         * crypt/crypt.h: Likewise.
44848         * crypt/crypt_util.c: Likewise.
44849         * ctype/ctype.h: Likewise.
44850         * debug/execinfo.h: Likewise.
44851         * debug/mbsnrtowcs_chk.c: Likewise.
44852         * debug/mbsrtowcs_chk.c: Likewise.
44853         * debug/wcsnrtombs_chk.c: Likewise.
44854         * debug/wcsrtombs_chk.c: Likewise.
44855         * debug/wcstombs_chk.c: Likewise.
44856         * dirent/dirent.h: Likewise.
44857         * dlfcn/dlfcn.h: Likewise.
44858         * elf/neededtest4.c: Likewise.
44859         * grp/grp.h: Likewise.
44860         * gshadow/gshadow.h: Likewise.
44861         * iconv/gconv.h: Likewise.
44862         * iconv/gconv_int.h: Likewise.
44863         * iconv/gconv_simple.c: Likewise.
44864         * iconv/iconv.h: Likewise.
44865         * iconv/loop.c: Likewise.
44866         * iconv/skeleton.c: Likewise.
44867         * include/aio.h: Likewise.
44868         * include/aliases.h: Likewise.
44869         * include/argz.h: Likewise.
44870         * include/arpa/inet.h: Likewise.
44871         * include/assert.h: Likewise.
44872         * include/dirent.h: Likewise.
44873         * include/dlfcn.h: Likewise.
44874         * include/execinfo.h: Likewise.
44875         * include/fcntl.h: Likewise.
44876         * include/fenv.h: Likewise.
44877         * include/glob.h: Likewise.
44878         * include/grp.h: Likewise.
44879         * include/libintl.h: Likewise.
44880         * include/mntent.h: Likewise.
44881         * include/netdb.h: Likewise.
44882         * include/pwd.h: Likewise.
44883         * include/rpc/netdb.h: Likewise.
44884         * include/sched.h: Likewise.
44885         * include/search.h: Likewise.
44886         * include/shadow.h: Likewise.
44887         * include/signal.h: Likewise.
44888         * include/stdio.h: Likewise.
44889         * include/stdlib.h: Likewise.
44890         * include/string.h: Likewise.
44891         * include/sys/socket.h: Likewise.
44892         * include/sys/stat.h: Likewise.
44893         * include/sys/statfs.h: Likewise.
44894         * include/sys/statvfs.h: Likewise.
44895         * include/sys/syslog.h: Likewise.
44896         * include/sys/time.h: Likewise.
44897         * include/sys/uio.h: Likewise.
44898         * include/time.h: Likewise.
44899         * include/unistd.h: Likewise.
44900         * include/utmp.h: Likewise.
44901         * include/wchar.h: Likewise.
44902         * include/wctype.h: Likewise.
44903         * inet/aliases.h: Likewise.
44904         * inet/arpa/inet.h: Likewise.
44905         * inet/netinet/ether.h: Likewise.
44906         * inet/netinet/in.h: Likewise.
44907         * intl/libintl.h: Likewise.
44908         * io/bits/fcntl2.h: Likewise.
44909         * io/fcntl.h: Likewise.
44910         * io/ftw.h: Likewise.
44911         * io/sys/poll.h: Likewise.
44912         * io/sys/stat.h: Likewise.
44913         * io/sys/statfs.h: Likewise.
44914         * io/sys/statvfs.h: Likewise.
44915         * io/utime.h: Likewise.
44916         * libio/bits/stdio.h: Likewise.
44917         * libio/bits/stdio2.h: Likewise.
44918         * libio/libio.h: Likewise.
44919         * libio/libioP.h: Likewise.
44920         * libio/stdio.h: Likewise.
44921         * locale/lc-ctype.c: Likewise.
44922         * locale/locale.h: Likewise.
44923         * login/utmp.h: Likewise.
44924         * malloc/arena.c: Likewise.
44925         * malloc/malloc.c: Likewise.
44926         * malloc/malloc.h: Likewise.
44927         * malloc/mcheck.c: Likewise.
44928         * malloc/mtrace.c: Likewise.
44929         * math/bits/mathcalls.h: Likewise.
44930         * math/fenv.h: Likewise.
44931         * math/math_private.h: Likewise.
44932         * misc/bits/error.h: Likewise.
44933         * misc/bits/syslog.h: Likewise.
44934         * misc/err.h: Likewise.
44935         * misc/error.h: Likewise.
44936         * misc/fstab.h: Likewise.
44937         * misc/mntent.h: Likewise.
44938         * misc/regexp.h: Likewise.
44939         * misc/search.h: Likewise.
44940         * misc/sgtty.h: Likewise.
44941         * misc/sys/mman.h: Likewise.
44942         * misc/sys/syslog.h: Likewise.
44943         * misc/sys/uio.h: Likewise.
44944         * misc/sys/xattr.h: Likewise.
44945         * misc/ttyent.h: Likewise.
44946         * nis/rpcsvc/ypclnt.h: Likewise.
44947         * nss/nss.h: Likewise.
44948         * posix/bits/unistd.h: Likewise.
44949         * posix/fnmatch.h: Likewise.
44950         * posix/glob.h: Likewise.
44951         * posix/sched.h: Likewise.
44952         * posix/spawn.h: Likewise.
44953         * posix/sys/wait.h: Likewise.
44954         * posix/unistd.h: Likewise.
44955         * posix/wordexp.h: Likewise.
44956         * pwd/pwd.h: Likewise.
44957         * resolv/netdb.h: Likewise.
44958         * resource/sys/resource.h: Likewise.
44959         * rt/aio.h: Likewise.
44960         * rt/bits/mqueue2.h: Likewise.
44961         * rt/mqueue.h: Likewise.
44962         * shadow/shadow.h: Likewise.
44963         * signal/signal.h: Likewise.
44964         * socket/send.c: Likewise.
44965         * socket/sendto.c: Likewise.
44966         * socket/sys/socket.h: Likewise.
44967         * stdio-common/printf.h: Likewise.
44968         * stdlib/bits/stdlib.h: Likewise.
44969         * stdlib/fmtmsg.h: Likewise.
44970         * stdlib/monetary.h: Likewise.
44971         * stdlib/stdlib.h: Likewise.
44972         * stdlib/ucontext.h: Likewise.
44973         * streams/stropts.h: Likewise.
44974         * string/argz.h: Likewise.
44975         * string/bits/string2.h: Likewise.
44976         * string/string.h: Likewise.
44977         * string/strings.h: Likewise.
44978         * sunrpc/rpc/auth.h: Likewise.
44979         * sunrpc/rpc/auth_des.h: Likewise.
44980         * sunrpc/rpc/clnt.h: Likewise.
44981         * sunrpc/rpc/netdb.h: Likewise.
44982         * sunrpc/rpc/pmap_clnt.h: Likewise.
44983         * sunrpc/rpc/xdr.h: Likewise.
44984         * sysdeps/generic/inttypes.h: Likewise.
44985         * sysdeps/generic/net/if.h: Likewise.
44986         * sysdeps/generic/sys/swap.h: Likewise.
44987         * sysdeps/gnu/net/if.h: Likewise.
44988         * sysdeps/gnu/utmpx.h: Likewise.
44989         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44990         * sysdeps/i386/i486/bits/string.h: Likewise.
44991         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44992         * sysdeps/s390/bits/string.h: Likewise.
44993         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44994         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44995         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44996         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44997         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44998         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44999         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45000         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45001         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45002         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45003         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45004         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45005         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45006         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45007         * sysdeps/unix/sysv/linux/readv.c: Likewise.
45008         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45009         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45010         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45011         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45012         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45013         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45014         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45015         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45016         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45017         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45018         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45019         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45020         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45021         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45022         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45023         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45024         * sysvipc/sys/ipc.h: Likewise.
45025         * sysvipc/sys/msg.h: Likewise.
45026         * sysvipc/sys/sem.h: Likewise.
45027         * sysvipc/sys/shm.h: Likewise.
45028         * termios/termios.h: Likewise.
45029         * time/sys/time.h: Likewise.
45030         * time/time.h: Likewise.
45031         * wcsmbs/bits/wchar2.h: Likewise.
45032         * wcsmbs/uchar.h: Likewise.
45033         * wcsmbs/wchar.h: Likewise.
45034         * wctype/wctype.h: Likewise.
45036         [BZ #13551]
45037         * Makeconfig: Remove all but ELF support including AIX support.
45038         * Makerules: Likewise.
45039         * config.h.in: Likewise.
45040         * config.make.in: Likewise.
45041         * configure: Likewise.
45042         * configure.in: Likewise.
45043         * csu/Makefile: Likewise.
45044         * csu/version.c: Likewise.
45045         * debug/Makefile: Likewise.
45046         * dlfcn/Makefile: Likewise.
45047         * elf/Makefile: Likewise.
45048         * extra-lib.mk: Likewise.
45049         * iconv/Makefile: Likewise.
45050         * include/libc-symbols.h: Likewise.
45051         * include/shlib-compat.h: Likewise.
45052         * resolv/Makefile: Likewise.
45053         * resolv/res_libc.c: Likewise.
45054         * rt/Makefile: Likewise.
45055         * sysdeps/i386/asm-syntax.h: Likewise.
45056         * sysdeps/i386/sysdep.h: Likewise.
45057         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45058         * sysdeps/mach/sysdep.h: Likewise.
45059         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45060         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45061         * sysdeps/s390/asm-syntax.h: Likewise.
45062         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45063         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45064         * sysdeps/sh/sysdep.h: Likewise.
45065         * sysdeps/unix/sparc/sysdep.h: Likewise.
45066         * sysdeps/wordsize-32/divdi3.c: Likewise.
45067         * sysdeps/x86_64/sysdep.h: Likewise.
45069         * argp/Versions: Remove _argp_unlock_xxx.
45071         [BZ #13559]
45072         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
45073         * abilist/libBrokenLocale.abilist: Likewise.
45074         * abilist/libanl.abilist: Likewise.
45075         * abilist/libc.abilist: Likewise.
45076         * abilist/libcrypt.abilist: Likewise.
45077         * abilist/libdl.abilist: Likewise.
45078         * abilist/libm.abilist: Likewise.
45079         * abilist/libnsl.abilist: Likewise.
45080         * abilist/libpthread.abilist: Likewise.
45081         * abilist/libresolv.abilist: Likewise.
45082         * abilist/librt.abilist: Likewise.
45083         * abilist/libthread_db.abilist: Likewise.
45084         * abilist/libutil.abilist: Likewise.
45085         * abilist/libnss_db.abilist: New file.
45087         * scripts/abilist.awk: Add support for indirect functions.
45089         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45091         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45093         * shlib-versions: Remove entries for ports architectures.
45095         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
45096         files in ports.
45097         * elf/stackguard-macros.h: Remove support for IA-64.
45098         * elf/tst-auditmod1.c: Likewise.
45099         * sysdeps/generic/ldsodefs.h: Likewise.
45101         * sysdeps/unix/sysv/linux/configure.in: Ports should define
45102         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45103         configure files.
45105         [BZ #13552]
45106         * configure.in: Remove --enable-omitfp support.
45107         * FAQ.in: Adjust.
45108         * config.make.in: Likewise.
45109         * Makeconfig: Likewise.
45110         * manual/install.texi: Likewise.
45112         In case anyone cares, the IA-64 architecture could move to ports.
45113         * sysdeps/ia64/*: Removed.
45114         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45115         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45117         [BZ #13555]
45118         * configure.in: Remove entries for unsupported architectures.
45120         [BZ #13533]
45121         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45122         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45123         routines.
45124         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45125         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45126         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45127         fall back to using wcrtomb.
45128         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45129         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45130         renaming.
45131         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45132         * wcsmbs/tst-c16c32-1.c: New file.
45134         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45135         local variable.
45137         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45139         * elf/tst-unique3.cc: Add explicit declaration of gets.
45140         * elf/tst-unique3lib.cc: Likewise.
45141         * elf/tst-unique3lib2.cc: Likewise.
45142         * elf/tst-unique4.cc: Likewise.
45144         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45146 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45148         [BZ #13566]
45149         * assert/assert.h (static_assert): Don't define for C++.
45150         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45151         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45153 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45155         * iconv/loop.c (single loop): Fix assertion in storing of
45156         remaining bytes.
45158         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45160 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45162         * posix/getconf.c: Update copyright year.
45163         * nss/getent.c: Likewise.
45164         * nss/makedb.c: Likewise.
45165         * iconv/iconvconfig.c: Likewise.
45166         * iconv/iconv_prog.c: Likewise.
45167         * elf/ldconfig.c: Likewise.
45168         * elf/pldd.c: Likewise.
45169         * elf/sotruss.ksh: Likewise.
45170         * catgets/gencat.c: Likewise.
45171         * csu/version.c: Likewise.
45172         * elf/ldd.bash.in: Likewise.
45173         * elf/sprof.c (print_version): Likewise.
45174         * locale/programs/locale.c: Likewise.
45175         * locale/programs/localedef.c: Likewise.
45176         * login/programs/pt_chown.c: Likewise.
45177         * nscd/nscd.c (print_version): Likewise.
45178         * debug/xtrace.sh: Likewise.
45179         * malloc/memusage.sh: Likewise.
45180         * malloc/mtrace.pl: Likewise.
45181         * debug/catchsegv.sh: Likewise.
45183 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45185         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45186         pure attribute.
45188 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45190         [BZ #13533]
45191         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45192         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45193         transformations.
45194         * iconv/gconv_int.h: Likewise.
45195         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45196         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45197         from libc for GLIBC_2.16.
45198         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45199         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45200         * wcsmbs/uchar.h: Really define mbstate_t.
45201         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45202         * wcsmbs/c16rtomb.c: New file.
45203         * wcsmbs/mbrtoc16.c: New file.
45204         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45205         for C/POSIX locale.
45206         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45207         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45209         * wcsmbs/wchar.h: Add missing __restrict.
45211 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45213         [BZ #13532]
45214         * time/Makefile (routines): Add timespec_get.
45215         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45216         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45217         timespec for ISO C11.
45218         * time/timespec_get.c: New file.
45219         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45220         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45222         [BZ #13531]
45223         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45224         * stdlib/stdlib.h: Declare aligned_alloc.
45225         * Versions.def: Add GLIBC_2.16 for libc.
45226         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45228         [BZ 13527]
45229         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45230         ISO C11.
45232         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45233         code.
45235         [BZ #13528]
45236         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45238         [BZ #13529]
45239         * assert/assert.h (static_assert): Define.
45241         * version.h: Update for 2.16 development version.
45243         [BZ #13526]
45244         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45245         _ISOC11_SOURCE.
45247         * version.h (RELEASE): Bump for 2.15 release.
45248         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45250         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45251         Patch by Marek Polacek <mpolacek@redhat.com>.
45253         * bits/byteswap.h: Protect long long constants with __extension__.
45254         * sysdeps/i386/bits/byteswap.h: Likewise.
45255         * sysdeps/ia64/bits/byteswap.h: Likewise.
45256         * sysdeps/s390/bits/byteswap.h: Likewise.
45257         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45259 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45261         [BZ #13540]
45262         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45263         destination buffer.
45264         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45266 2011-12-23  Marek Polacek  <polacek@redhat.com>
45268         * elf/dl-addr.c (determine_info): Add inline keyword.
45269         * elf/tst-auditmod4b.c (check_avx): Likewise.
45270         * elf/tst-auditmod6b.c (check_avx): Likewise.
45271         * elf/tst-auditmod6c.c (check_avx): Likewise.
45272         * elf/tst-auditmod7b.c (check_avx): Likewise.
45274 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45276         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45277         !__SSE_MATH__.
45279 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45281         [BZ #13540]
45282         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45283         processing for last bytes.
45285 2011-08-06  Bruno Haible  <bruno@clisp.org>
45287         [BZ #13061]
45288         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45289         U+0385, not to U+1FEE.
45291         [BZ #13062]
45292         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45293         entry for U+00A5 U+0301.
45295 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45297         [BZ #13166]
45298         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45299         buffer for the output is too small.
45301         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45302         optimization.
45304         [BZ #13185]
45305         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45306         SSE flags if possible.
45308 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45310         [BZ #13540]
45311         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45312         processing for last bytes.
45314 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45316         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45317         (syscall-list-default-options, syscall-list-default-condition)
45318         (syscall-list-includes): Define.
45319         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45320         list of ABIs and options and #if conditions for each ABI.  Do not
45321         handle common syscalls between ABIs specially.
45322         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45323         Remove.
45324         (syscall-list-variants, syscall-list-32bit-options)
45325         (syscall-list-32bit-condition, syscall-list-64bit-options)
45326         (syscall-list-64bit-condition): Define.
45327         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45328         (syscall-list-variants, syscall-list-32bit-options)
45329         (syscall-list-32bit-condition, syscall-list-64bit-options)
45330         (syscall-list-64bit-condition): Define.
45331         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45332         Remove.
45333         (syscall-list-variants, syscall-list-32bit-options)
45334         (syscall-list-32bit-condition, syscall-list-64bit-options)
45335         (syscall-list-64bit-condition): Define.
45336         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45337         Remove.
45338         (syscall-list-variants, syscall-list-32bit-options)
45339         (syscall-list-32bit-condition, syscall-list-64bit-options)
45340         (syscall-list-64bit-condition): Define.
45342 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45344         * locale/iso-639.def: Add brx entry.
45346         [BZ #13328]
45347         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45348         Proposed by Mariusz_Cukr <marcukr@op.pl>.
45350         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45351         __feraiseexcept_renamed.
45353 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45355         [BZ #13538]
45356         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45357         EPOLLET with unsigned values.
45358         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45359         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45361         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45362         to large cancellation.
45363         * math/s_cacoshf.c: Likewise.
45364         * math/s_cacoshl.c: Likewise.
45366 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
45368         [BZ #13305]
45369         [BZ #12786]
45370         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45371         * math/s_cacoshf.c: Likewise.
45372         * math/s_cacoshl.c: Likewise.
45374 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45376         [BZ #13439]
45377         * iconv/gconv.h: Define __GCONV_SWAP.
45378         * iconvdata/unicode.c: The swap bit must be stored in __flags.
45379         * iconvdata/utf-16.c: Likewise.
45380         * iconvdata/utf-32.c: Likewise.
45382 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
45384         [BZ #13524]
45385         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45386         numerator after shifting it by one limb.
45388 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
45390         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45391         under [__USE_EXTERN_INLINES].
45393 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45395         [BZ #13446]
45396         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45398 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45400         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45401         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45402         optimized code.
45403         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45404         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45405         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45406         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45407         for strncasecmp/strncasecmp_l compilation.
45408         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45409         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45411 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
45413         [BZ #13484]
45414         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45415         of __asm__.
45417 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45419         [BZ #13506]
45420         * time/tzfile.c (__tzfile_read): Check values from file header.
45422 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45424         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45425         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45426         * powerpc/powerpc32/dl-start.S: Likewise.
45427         * powerpc/powerpc32/elf/start.S: Likewise.
45428         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45429         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45430         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45431         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45432         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45433         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45434         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45435         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45436         * powerpc/powerpc32/fpu/s_round.S: Likewise.
45437         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45438         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45439         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45440         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45441         * powerpc/powerpc32/memset.S: Likewise.
45442         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45443         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45444         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45445         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45446         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45447         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45448         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45449         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45450         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45451         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45452         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45453         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45454         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45456 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45458         * math/libm-test.inc: Added more nearbyint tests.
45459         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45460         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45461         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45462         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45464 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
45466         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45467         FD_CLOEXEC.
45469 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45471         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45472         Add wcscpy-ssse3 wcscpy-c.
45473         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45474         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45475         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45476         * sysdeps/x86_64/wcschr.S: New file.
45477         * sysdeps/x86_64/wcsrchr.S: New file.
45478         * string/test-strcmp.c: Remove checking of wcscmp function for
45479         wrong alignments.
45480         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45481         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45482         wcsrchr-sse2 wcsrchr-c.
45483         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45484         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45485         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45486         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45487         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45488         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45489         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45490         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45491         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45492         * wcsmbc/wcschr.c (WCSCHR): New macro.
45494 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45496         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45497         * wcsmbs/test-wcsrchr.c: New file.
45498         * string/test-strrchr.c: Add wcsrchr support.
45499         (WIDE): New macro.
45500         * wcsmbs/test-wcscpy.c: New file.
45501         * string/test-strcpy.c: Add wcscpy support.
45502         (WIDE): New macro.
45504 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
45506         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45507         the inner loop.
45509 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
45511         [BZ #13472]
45512         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45514 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
45516         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45517         Minor optimizations.
45519         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45520         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45521         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45523 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
45525         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45526         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45527         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45528         for gcc to avoid warnings.
45529         * inet/Makefile (tests): Add tst-checks.
45530         * inet/tst-checks.c: New file.
45532         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45533         warning.
45535         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45536         __wmemcmp_sse2.
45538         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45539         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45541         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45543 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
45545         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45546         problem.
45548         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45550 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
45552         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45553         conditional on GCC version.
45554         (__arch_compare_and_exchange_val_8_acq)
45555         (__arch_compare_and_exchange_val_16_acq)
45556         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45557         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45558         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45560 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
45562         * sysdeps/sh/backtrace.c: New file.
45564 2011-12-02  Andreas Schwab  <schwab@redhat.com>
45566         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
45567         parenthesis.
45569 2011-12-01  Andreas Schwab  <schwab@redhat.com>
45571         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45572         falling back to utime.
45574 2011-11-30  Andreas Schwab  <schwab@redhat.com>
45576         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45577         expectations for float.
45579 2011-11-29  Andreas Schwab  <schwab@redhat.com>
45581         * locale/weight.h (findidx): Add parameter len.
45582         * locale/weightwc.h (findidx): Likewise.
45583         * posix/fnmatch_loop.c (FCT): Adjust caller.
45584         * posix/regcomp.c (build_equiv_class): Likewise.
45585         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45586         * posix/regexec.c (check_node_accept_bytes): Likewise.
45587         * string/strcoll_l.c (STRCOLL): Likewise.
45588         * string/strxfrm_l.c (STRXFRM): Likewise.
45590 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
45592         * Makefile.in: Remove CVSOPT handling.
45593         * configure.in: Remove use of AC_REVISION.
45594         * iconvdata/Makefile (distribute): No need to filter out CVS.
45595         * scripts/list-sources.sh: Remove CVS, subversion and monotone
45596         handling.
45598 2011-11-16  Andreas Schwab  <schwab@redhat.com>
45600         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45601         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45602         [USE_AS_STRNCASECMP_L]: Likewise.
45603         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45604         NO_TLS_DIRECT_SEG_REFS.
45605         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45606         Fix argument offsets for non-PIC.
45607         [USE_AS_STRNCASECMP_L]: Likewise.
45608         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45609         NO_TLS_DIRECT_SEG_REFS.
45611 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45613         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45614         O_CLOEXEC.
45615         * locale/loadlocale.c (_nl_load_locale): Likewise.
45617 2011-11-15  Andreas Schwab  <schwab@redhat.com>
45619         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45620         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45621         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45622         (SYSCALL_GETTIME): Set errno on error.
45624         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45625         count references to noai6ai_cached.
45627 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45629         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45631         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45632         FD_CLOEXEC for /proc/self/maps.
45634         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45635         FD_CLOEXEC for /proc/meminfo.
45637         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45638         gai.conf.
45640         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
45641         FD_CLOEXEC for given file.
45643         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45645         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45646         FD_CLOEXEC for /etc/hosts.
45647         (_gethtent): Likewise.
45649         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45651         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45652         cancellation and set FD_CLOEXEC for /etc/netgroup.
45654         * nss/nss_files/files-key.c (search): Don't allow cancellation when
45655         reading /etc/publickey.
45657         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45658         allow cancellation when reading /etc/group.
45660         * nss/nss_files/files-alias.c (internal_setent): Don't allow
45661         cancellation.
45662         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
45664         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45665         when using data file.
45667         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45669         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45670         (write_nis_obj): Use "c" and "e" in fopen.
45672         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45674         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45676         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45678         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45680         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45681         locale.alias.
45683         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45685         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45687         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45689         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45690         file parsing and set FD_CLOEXEC.
45692 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45694         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45696 2011-11-14  Andreas Schwab  <schwab@redhat.com>
45698         * malloc/arena.c (arena_get2): Don't call reused_arena when
45699         _int_new_arena failed.
45701 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45703         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45704         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45705         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45706         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45707         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45708         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45709         to compile strcasecmp and strncasecmp.
45710         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45711         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45713         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45715 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
45717         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45718         locale-defines.sym to gen-as-const-headers.
45719         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45720         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45721         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45722         to compile strcasecmp and strncasecmp.
45723         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45724         strcasecmp_l and strncasecmp_l.
45725         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45726         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45727         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45728         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45729         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45730         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45731         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45732         * sysdeps/i386/i686/multiarch/strncase.S: New file.
45733         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45734         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45735         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45737 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
45739         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45740         result of SYSDEP_GETTIME_CPU to retval.
45741         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45742         parameter list to macro.  Remove trailing semicolon.  Adjust users.
45744         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45745         variable.
45747         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45748         mantissa words.
45749         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45751         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45752         from unused variable.
45754         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45755         DWARF definitions.
45756         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45757         for assembling.
45759         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45760         over namespaces.
45762         * sunrpc/rpc_prot.c (rejected): Fix case value.
45764         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45765         unsigned long long int to avoid warnings in shift.
45767         * posix/regex_internal.c (re_string_reconstruct): Actually use result
45768         of use of trans.
45769         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45770         variable tmp.
45772         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45773         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45774         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45776         * nis/nis_table.c (nis_list): Use variable of correct type for
45777         result of __follow_path call.
45779 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45781         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45782         of math functions ceil, trunc, floor, round, and sqrt, when
45783         avaliable on the platform.
45784         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45785         name clash.
45786         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45787         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45788         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45790 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
45792         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45793         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45795 2011-11-11  Roland McGrath  <roland@hack.frob.com>
45797         * include/unistd.h: Fix __readlink return type.
45798         Reported by Chris Metcalf <cmetcalf@tilera.com>.
45800 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
45802         * stdlib/ucontext.h: Undo last change for makecontext.
45804 2011-11-11  Andreas Schwab  <schwab@redhat.com>
45806         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45808         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45809         * setjmp/setjmp.h: Mark functions as non-leaf.
45810         * setjmp/bits/setjmp2.h: Likewise.
45811         * stdlib/ucontext.h: Likewise.
45813 2011-11-10  Andreas Schwab  <schwab@redhat.com>
45815         * malloc/arena.c (_int_new_arena): Don't increment narenas.
45816         (reused_arena): Don't check arena limit.
45817         (arena_get2): Atomically check arena limit.
45819 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
45821         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45822         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45824         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45825         instructions.
45827 2011-11-07  Andreas Schwab  <schwab@redhat.com>
45829         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45830         handler when locking.
45832         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45833         Fix size of allocated buffer.
45835 2011-11-04  Andreas Schwab  <schwab@redhat.com>
45837         [BZ #10103]
45838         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45839         declarations for long double functions.
45840         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45842         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45844 2011-11-03  Andreas Schwab  <schwab@redhat.com>
45846         * nscd/nscd.c (main): Don't start AVC thread until credentials are
45847         installed.
45849         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45850         is disabled.
45852 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45854         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45856 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45858         * include/alloca.h (stackinfo_alloca_round): Define.
45859         (extend_alloca): Use it.
45860         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45861         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45862         here.
45864         * scripts/check-local-headers.sh: Ignore libaudit.h.
45866         * nscd/Makefile (extra-objs): Make recursively expanded.
45868 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
45870         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45871         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45873         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45874         * posix/tst-rfc3484-2.c: Likewise.
45875         * posix/tst-rfc3484-3.c: Likewise.
45877         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45878         process_vm_writev.
45879         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45880         process_vm_writev.
45881         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45882         process_vm_writev from libc using GLIBC_2.15 version.
45884         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45886 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
45888         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45889         stack usage.
45891 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
45893         [BZ #13367]
45894         * nss/getent.c (initgroups_keys): Show error message in case no group
45895         names are given.
45897         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45898         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45899         __bump_nl_timestamp.
45900         * nscd/connections (nscd_init): When host database is served open
45901         netlink socket and request notification about configuration changes.
45902         (main_loop_poll): Track netlink file descriptor and bump timestamp
45903         in case data becomes available.
45904         (main_loop_epoll): Likewise.
45905         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45906         (database_pers_head): Add extra_data fileds.
45907         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45908         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45909         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45910         Adjust caller.
45911         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45912         in6ai data, call __free_in6ai.
45913         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45914         Add -DHAVE_NETLINK.
45915         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
45916         interface information.  Reuse previous data if netlink timestamp
45917         is not changed.
45918         (__bump_nl_timestamp): New function.
45919         (__free_in6ai): New function.
45921 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
45923         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45924         close_not_cancel_no_status here.
45925         (__check_pf): Reorganize code a bit to not call close twice if OOM.
45927 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45929         [BZ #13276]
45930         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45931         return value.
45933         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45934         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45935         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45937 2011-07-03  Andreas Jaeger  <aj@suse.de>
45939         [BZ #10709]
45940         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45941         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45942         * math/libm-test.inc (sin_test): Add test case.
45944 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45946         [BZ #13337]
45947         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45948         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45950         * elf/chroot_canon.c (chroot_canon): Cleanups.
45952         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45954         [BZ #13335]
45955         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45956         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45958         * string/test-strchr.c: Make usable for strchrnul testing.
45959         * string/test-strchrnul.c: New file.
45960         * string/Makefile (strop-tests): Add strchrnul.
45962         * po/it.po: Update from translation team.
45963         * po/es.po: Likewise.
45965 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
45967         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45968         the three constants needed as parameters.  Drop the others.
45969         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45970         __m128i_strloadu_tolower.
45971         Create and initialize variable zero and use it in all the places
45972         where _mm_setzero_si128 was used.
45974         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45975         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45976         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45977         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45978         anymore.
45979         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45980         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45981         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45982         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45983         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45984         __mpranred, __mptan.
45985         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45986         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45987         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45988         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45989         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45990         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45991         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45992         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45993         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45995 2011-10-28  Andreas Schwab  <schwab@redhat.com>
45997         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45998         redefine if SHARED.
45999         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46001         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46002         wide char related routines to wcsmbs subdir.
46004 2011-10-27  Andreas Schwab  <schwab@redhat.com>
46006         [BZ #13344]
46007         * misc/sys/cdefs.h (__THROWNL): Define.
46008         * posix/unistd.h: Use __THREADNL instead of __THREAD
46009         for memory synchronization functions.
46011 2011-10-26  Roland McGrath  <roland@hack.frob.com>
46013         [BZ #13349]
46014         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46015         doesn't exist.
46016         * manual/stdio.texi (Obstack Streams): Node removed.
46018 2011-10-26  Andreas Schwab  <schwab@redhat.com>
46020         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46021         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46022         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46024         * math/math_private.h (math_force_eval): Allow non-addressable
46025         arguments.
46026         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46028 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46030         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46031         file is not needed.
46033         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46034         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46035         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46036         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46037         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46038         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46039         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46040         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46041         Add AVX variants.
46042         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46043         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46044         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46045         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46046         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46047         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46048         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46049         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46050         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46051         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46052         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46053         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46054         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46055         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46056         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46057         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46058         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46059         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46060         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46062         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46063         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
46065         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46066         place.  Use VEX encoding when compiling for AVX.
46068 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46070         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46071         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46073         * string/test-strchr.c (do_test): Don't generate NUL bytes.
46075 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46077         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46078         useless if() expression.
46079         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46080         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46081         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46082         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46083         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46084         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46085         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46086         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46087         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46088         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46089         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46090         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46091         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46092         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46093         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46094         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46095         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46096         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46097         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46099         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46101 2011-10-25  Andreas Schwab  <schwab@redhat.com>
46103         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46104         condition.
46105         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46107 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
46109         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46110         .text section.  Avoid duplicate constants.
46111         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46112         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46113         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46114         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46115         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46116         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46117         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46118         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46119         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46120         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46121         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46122         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46123         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46124         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46125         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46126         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46127         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46128         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46129         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46130         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46131         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46132         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46133         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46134         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46135         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46136         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46137         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46138         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46139         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46140         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46141         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46142         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46143         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46144         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46145         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46146         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46147         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46148         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46149         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46150         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46151         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46152         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46153         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46154         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46155         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46157 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46159         * sysdeps/x86_64/dla.h: Move to ...
46160         * sysdeps/x86_64/fpu/dla.h: ...here.
46161         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46162         situations.  Use __builtin_fma only for gcc 4.6 and up.
46164         * config.make.in: Add have-mfma4 entry.
46165         * configure.in: Substitute libc_cv_cc_fma4.
46166         * math/Makefile (dbl-only-routines): Add sincostab.
46167         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46168         Use __sincostab not sincos.
46169         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46170         name is a macro.
46171         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46172         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46173         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46174         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46175         using __copysign.
46176         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46177         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46178         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46179         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46180         and __inv.
46181         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46182         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46183         __copysign.
46184         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46185         define aliases when function name is a macro.
46186         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46187         sysdeps/ieee754/dbl-64/sincos.tbl.
46188         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46189         fma4-enabled routines.
46190         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46191         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46192         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46193         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46194         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46195         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46196         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46197         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46198         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46199         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46200         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46201         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46202         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46203         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46204         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46205         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46206         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46207         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46208         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46209         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46210         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46211         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46212         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46213         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46214         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46215         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46216         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46217         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46218         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46219         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46221         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46222         rename.
46223         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46224         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46225         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46226         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46227         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46229         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46230         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46232 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46234         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46236 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46238         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46240         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46241         prediction.
46242         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46244         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46245         Remove unused variable magic_bits.
46246         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46248         * string/strnlen.c: Define and use STRNLEN macro.
46249         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46250         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46251         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46252         * wcsmbs/wcslen.c: Define and use WCSLEN.
46253         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46254         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46255         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46256         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46257         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46258         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46259         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46261 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46264         strnlen-sse2-no-bsf.
46265         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46266         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46267         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46268         Add strnlen support.
46269         (USE_AS_STRNLEN): New macro.
46270         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46271         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46272         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46273         * sysdeps/x86_64/wcslen.S: New file.
46275 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46277         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46278         XMM-moves are used for copying on small sizes.
46280 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46282         * wcsmbs/Makefile (strop-tests): Add wcschr.
46283         * wcsmbs/test-wcschr.c: New file.
46284         * string/test-strchr.c: Update.
46285         Add wcschr support.
46286         (WIDE): New macro.
46288 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46290         * wcsmbs/Makefile (strop-tests): Add wcslen.
46291         * wcsmbs/test-wcslen.c: New file.
46292         * string/test-strlen.c: Update.
46293         Add wcslen support.
46294         (WIDE): New macro.
46296 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46298         * po/it.po: Update from translation team.
46300 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46302         * sysdeps/x86_64/wcscmp.S: Update.
46303         Fix wrong comparison semantics.
46304         wcscmp shall use signed comparison not unsigned.
46305         Don't use substraction to avoid overflow bug.
46306         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46307         * wcsmbc/wcscmp.c: Likewise.
46308         * string/test-strcmp.c: Likewise.
46309         Add new tests to check cases with negative values.
46311 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46313         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46314         * sysdeps/x86_64/dla.h: ...here.  New file.
46315         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46316         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46317         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46318         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46320         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46321         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46322         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46323         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46325 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
46327         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46328         __ynl_finite aliases.
46330 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46334         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46335         define DLA_FMA.
46336         [DLA_FMA] (EMULV): Use DLA_FMA.
46337         [DLA_FMA] (MUL12): Use EMULV.
46338         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46339         that are not needed.
46340         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46341         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46342         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46343         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46344         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46345         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46346         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46348 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
46350         * math/s_nan.c: Undef __nan.
46351         * math/s_nanf.c: Undef __nanf.
46352         * math/s_nanl.c: Undef __nanl.
46353         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46354         "math_private.h".
46356 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46358         * math/s_catan.c: Add branch predictions.
46359         * math/s_catanf.c: Likewise.
46360         * math/s_catanh.c: Likewise.
46361         * math/s_catanhf.c: Likewise.
46362         * math/s_catanhl.c: Likewise.
46363         * math/s_catanl.c: Likewise.
46364         * math/s_cexp.c: Likewise.
46365         * math/s_cexpf.c: Likewise.
46366         * math/s_cexpl.c: Likewise.
46367         * math/s_clog.c: Likewise.
46368         * math/s_clog10.c: Likewise.
46369         * math/s_clog10f.c: Likewise.
46370         * math/s_clog10l.c: Likewise.
46371         * math/s_clogf.c: Likewise.
46372         * math/s_clogl.c: Likewise.
46373         * math/s_csqrt.c: Likewise.
46374         * math/s_csqrtf.c: Likewise.
46375         * math/s_csqrtl.c: Likewise.
46376         * math/s_ctanf.c: Likewise.
46377         * math/s_ctanh.c: Likewise.
46378         * math/s_ctanhf.c: Likewise.
46379         * math/s_ctanhl.c: Likewise.
46380         * math/s_ctanl.c: Likewise.
46382         * math/math_private.h: Define __nan, __nanf, __nanl.
46383         * math/s_cacosh.c: Include <math_private.h>.
46384         * math/s_cacoshl.c: Likewise.
46385         * math/s_casinh.c: Likewise.
46386         * math/s_casinhf.c: Likewise.
46387         * math/s_casinhl.c: Likewise.
46388         * math/s_ccos.c: Rely entire on ccosh.
46389         * math/s_ccosf.c: Rely entire on ccoshf.
46390         * math/s_ccosl.c: Rely entirely on ccoshl.
46391         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
46392         Remove tests for FE_INVALID.
46393         * math/s_ccoshf.c: Likewise.
46394         * math/s_ccoshl.c: Likewise.
46395         * math/s_csin.c: Likewise.
46396         * math/s_csinf.c: Likewise.
46397         * math/s_csinh.c Likewise.
46398         * math/s_csinhf.c: Likewise.
46399         * math/s_csinhl.c: Likewise.
46400         * math/s_csinl.c: Likewise.
46401         * math/s_ctan.c: Likewise.
46402         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46403         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46404         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46406 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
46408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46409         compilation problems.
46411         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46412         __builtin_expect.
46414 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
46416         * sysdeps/i386/configure.in: Test for -mfma4 option.
46417         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46418         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46419         COMMON_CPUID_INDEX_80000001.
46420         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46421         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46422         use it if FMA3 is not supported.
46423         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46425         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46426         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46428 2011-10-20  Andreas Schwab  <schwab@redhat.com>
46430         [BZ #12892]
46431         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46432         it would create a cycle with a link time dependency.
46434 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
46436         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46437         instruction.
46438         * string/Makefile (strop-tests): Add rawmemchr.
46439         * string/test-rawmemchr.c: New file.
46441         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46442         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
46443         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
46444         when compiling str{,n}casecmp and when AVX is available.  Hook up
46445         new optimized code in initializers.
46447 2011-10-19  Andreas Schwab  <schwab@redhat.com>
46449         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46450         __feraiseexcept instead of feraiseexcept.
46452 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
46454         * math/math_private.h: Define defaults for libc_fetestexcept and
46455         libc_feupdateenv.
46456         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46457         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46458         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46459         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46460         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46461         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46462         libc_fetestexcept and libc_feupdateenv.
46464         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46465         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46466         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46467         * sysdeps/x86_64/fpu/math_private.h: Define special version of
46468         libc_feholdexcept_setround.
46470         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46471         Add s_nearbyint-c and s_nearbyintf-c.
46472         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46473         nearbyintf inlines.
46474         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46475         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46476         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46477         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46479         * math/math_private.h: Define defaults for libc_fegetround,
46480         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46481         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46482         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46483         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46484         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46485         standard functions.
46486         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46487         Remove comments and hacks for old compiler versions.
46488         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46489         libc_fegetround, libc_fesetround, libc_feholdexcept, and
46490         libc_feholdexceptl.
46492 2011-10-18  Andreas Schwab  <schwab@redhat.com>
46494         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46495         (__feraiseexcept_renamed): Add __NTH.
46496         (feraiseexcept): Add __NTH.  Rename local variables to fix
46497         namespace violations.
46499 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
46501         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46503         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46505         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46506         recently added interfaces.
46507         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46509         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46510         about macro parameter expansion.
46512         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46513         __NO_MATH_INLINES is defined.  Cleanups.
46515         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46516         and __floorf is target has SSE4.1.
46517         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46518         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46519         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46520         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46522         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46523         name.
46524         (floorf): Likewise.
46526         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46528 2011-10-17  Andreas Schwab  <schwab@redhat.com>
46530         * misc/sys/cdefs.h: Fix last change.
46532         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46533         database lookup.
46535 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
46537         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46539         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46540         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46541         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46542         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46543         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46544         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46545         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46546         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46547         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46548         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46549         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46550         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46551         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46552         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46553         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46554         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46555         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46556         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46557         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46558         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46559         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46560         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46562         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46563         ceil, ceilf, floor, floorf.
46565         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46566         Perform IRELATIVE relocations last.
46568         * elf/do-rel.h: Add another parameter nrelative, replacing the
46569         local variable with the same name.  Change name of the function
46570         to end in Rel or Rela (uppercase).
46571         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46572         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
46573         elf_dynamic_do_##reloc function.
46575 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46577         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46578         is sufficient, at least on modern CPUs.
46580         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46582         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46583         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46585         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46586         __expl_finite.
46587         * math/bits/math-finite.h: Add entries for exp.
46588         * math/e_expl.c: Add __*_finite alias.
46589         * sysdeps/i386/fpu/e_exp.S: Likewise.
46590         * sysdeps/i386/fpu/e_expf.S: Likewise.
46591         * sysdeps/i386/fpu/e_expl.c: Likewise.
46592         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46593         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46594         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46595         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46596         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46597         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46598         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46600         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46601         is sufficient, at least on modern CPUs.
46603         * ctype/ctype-info.c (__ctype_init): Define.
46604         * include/ctype.h (__ctype_init): Declare.
46605         (__ctype_b_loc): The variable is always initialized.
46606         (__ctype_toupper_loc): Likewise.
46607         (__ctype_tolower_loc): Likewise.
46608         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46609         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46611 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
46613         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46615         * configure.in: Also look in $cxxmachine/include for C++ system
46616         headers.
46618 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46620         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46621         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46622         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46623         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
46624         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46625         (USE_AS_WMEMCMP): New macro.
46626         Fixing indents.
46627         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46628         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46629         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46630         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46632         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46633         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46634         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46635         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46636         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46637         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46638         (USE_AS_WMEMCMP): New macro.
46639         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46640         * sysdeps/string/test-memcmp.c: Update.
46641         Fix simple_wmemcmp.
46642         Add new tests.
46643         * wcsmbs/wmemcmp.c: Update.
46644         (WMEMCMP): New macro.
46645         Fix overflow bug.
46647 2011-10-12  Andreas Jaeger  <aj@suse.de>
46649         [BZ #13268]
46650         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46652 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46654         * libio/iofwide.c (do_length): Avoid warning.
46656         * ctype/ctype.h (__isctype_f): Add missing __THROW.
46658 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
46660         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46662         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46663         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46664         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46665         * sysdeps/i386/i686/fpu/e_log.S: New file.
46666         * sysdeps/i386/i686/fpu/e_logf.S: New file.
46667         * sysdeps/i386/i686/fpu/e_logl.S: New file.
46669         * ctype/ctype.h: Add support for inlined isXXX functions when
46670         compiling C++ code.
46672 2011-10-14  Andreas Schwab  <schwab@redhat.com>
46674         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46676         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46678 2011-10-13  Roland McGrath  <roland@hack.frob.com>
46680         [BZ #13291]
46681         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46683 2011-10-13  Andreas Schwab  <schwab@redhat.com>
46685         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46686         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46687         feraiseexcept.
46689         * sysdeps/x86_64/memrchr.S: Check for zero size.
46691         * string/stratcliff.c: Add memrchr tests.
46693 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46695         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46696         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46697         rawmemchr-sse2 rawmemchr-sse2-bsf.
46698         * sysdeps/i386/i686/multiarch/memchr.S: New file.
46699         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46700         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46701         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46702         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46703         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46704         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46705         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46706         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46707         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46708         * string/memrchr.c (MEMRCHR): New macro.
46710 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
46712         Add integration with gcc's -ffinite-math-only and optimize wrapper
46713         functions in libm.
46714         * Versions.def: Define GLIBC_2.15 version for libm.
46715         * math/Makefile (headers): Add bits/math-finite.h.
46716         * math/bits/math-finite.h: New file.
46717         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46718         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46719         * math/e_acoshl.c: Add __*_finite alias.
46720         * math/e_acosl.c: Likewise.
46721         * math/e_asinl.c: Likewise.
46722         * math/e_atan2l.c: Likewise.
46723         * math/e_atanhl.c: Likewise.
46724         * math/e_coshl.c: Likewise.
46725         * math/e_exp10.c: Likewise.
46726         * math/e_exp10f.c: Likewise.
46727         * math/e_exp10l.c: Likewise.
46728         * math/e_exp2l.c: Likewise.
46729         * math/e_fmodl.c: Likewise.
46730         * math/e_gammal_r.c: Likewise.
46731         * math/e_hypotl.c: Likewise.
46732         * math/e_j0l.c: Likewise.
46733         * math/e_j1l.c: Likewise.
46734         * math/e_jnl.c: Likewise.
46735         * math/e_lgammal_r.c: Likewise.
46736         * math/e_log10l.c: Likewise.
46737         * math/e_log2l.c: Likewise.
46738         * math/e_logl.c: Likewise.
46739         * math/e_powl.c: Likewise.
46740         * math/e_sinhl.c: Likewise.
46741         * math/e_sqrtl.c: Likewise.
46742         * math/e_scalb.c: Completely rewritten and optimized.
46743         * math/e_scalbf.c: Likewise.
46744         * math/e_scalbl.c: Likewise.
46745         * math/w_acos.c: Likewise.
46746         * math/w_acosf.c: Likewise.
46747         * math/w_acosl.c: Likewise.
46748         * math/w_acosh.c: Likewise.
46749         * math/w_acoshf.c: Likewise.
46750         * math/w_acoshl.c: Likewise.
46751         * math/w_asin.c: Likewise.
46752         * math/w_asinf.c: Likewise.
46753         * math/w_asinl.c: Likewise.
46754         * math/w_atan2.c: Likewise.
46755         * math/w_atan2f.c: Likewise.
46756         * math/w_atan2l.c: Likewise.
46757         * math/w_atanh.c: Likewise.
46758         * math/w_atanhf.c: Likewise.
46759         * math/w_atanhl.c: Likewise.
46760         * math/w_exp10.c: Likewise.
46761         * math/w_exp10f.c: Likewise.
46762         * math/w_exp10l.c: Likewise.
46763         * math/w_fmod.c: Likewise.
46764         * math/w_fmodf.c: Likewise.
46765         * math/w_fmodl.c: Likewise.
46766         * math/w_j0.c: Likewise.
46767         * math/w_j0f.c: Likewise.
46768         * math/w_j0l.c: Likewise.
46769         * math/w_j1.c: Likewise.
46770         * math/w_j1f.c: Likewise.
46771         * math/w_j1l.c: Likewise.
46772         * math/w_jn.c: Likewise.
46773         * math/w_jnf.c: Likewise.
46774         * math/w_log.c: Likewise.
46775         * math/w_logf.c: Likewise.
46776         * math/w_logl.c: Likewise.
46777         * math/w_log10.c: Likewise.
46778         * math/w_log10f.c: Likewise.
46779         * math/w_log10l.c: Likewise.
46780         * math/w_log2.c: Likewise.
46781         * math/w_log2f.c: Likewise.
46782         * math/w_log2l.c: Likewise.
46783         * math/w_pow.c: Likewise.
46784         * math/w_powf.c: Likewise.
46785         * math/w_powl.c: Likewise.
46786         * math/w_remainder.c: Likewise.
46787         * math/w_remainderf.c: Likewise.
46788         * math/w_remainderl.c: Likewise.
46789         * math/w_scalb.c: Likewise.
46790         * math/w_scalbf.c: Likewise.
46791         * math/w_scalbl.c: Likewise.
46792         * math/w_sqrt.c: Likewise.
46793         * math/w_sqrtf.c: Likewise.
46794         * math/w_sqrtl.c: Likewise.
46795         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46796         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
46797         used.
46798         * math/math_private.h: Declare __kernel_standard_f.
46799         * math/w_cosh.c: Remove cruft and optimize a bit.
46800         * math/w_coshf.c: Likewise.
46801         * math/w_coshl.c: Likewise.
46802         * math/w_exp2.c: Likewise.
46803         * math/w_exp2f.c: Likewise.
46804         * math/w_exp2l.c: Likewise.
46805         * math/w_hypot.c: Likewise.
46806         * math/w_hypotf.c: Likewise.
46807         * math/w_hypotl.c: Likewise.
46808         * math/w_lgamma.c: Likewise.
46809         * math/w_lgamma_r.c: Likewise.
46810         * math/w_lgammaf.c: Likewise.
46811         * math/w_lgammaf_r.c: Likewise.
46812         * math/w_lgammal.c: Likewise.
46813         * math/w_lgammal_r.c: Likewise.
46814         * math/w_sinh.c: Likewise.
46815         * math/w_sinhf.c: Likewise.
46816         * math/w_sinhl.c: Likewise.
46817         * math/w_tgamma.c: Likewise.
46818         * math/w_tgammaf.c: Likewise.
46819         * math/w_tgammal.c: Likewise.
46820         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46821         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46822         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46823         Minor optimizations.  Pretty printing.  Remove cruft.
46824         * sysdeps/i386/fpu/e_acosf.S: Likewise.
46825         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46826         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46827         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46828         * sysdeps/i386/fpu/e_acosl.c: Likewise.
46829         * sysdeps/i386/fpu/e_asin.S: Likewise.
46830         * sysdeps/i386/fpu/e_asinf.S: Likewise.
46831         * sysdeps/i386/fpu/e_atan2.S: Likewise.
46832         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46833         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46834         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46835         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46836         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46837         * sysdeps/i386/fpu/e_exp10.S: Likewise.
46838         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46839         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46840         * sysdeps/i386/fpu/e_exp2.S: Likewise.
46841         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46842         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46843         * sysdeps/i386/fpu/e_fmod.S: Likewise.
46844         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46845         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46846         * sysdeps/i386/fpu/e_hypot.S: Likewise.
46847         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46848         * sysdeps/i386/fpu/e_log.S: Likewise.
46849         * sysdeps/i386/fpu/e_log10.S: Likewise.
46850         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46851         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46852         * sysdeps/i386/fpu/e_log2.S: Likewise.
46853         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46854         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46855         * sysdeps/i386/fpu/e_logf.S: Likewise.
46856         * sysdeps/i386/fpu/e_logl.S: Likewise.
46857         * sysdeps/i386/fpu/e_pow.S: Likewise.
46858         * sysdeps/i386/fpu/e_powf.S: Likewise.
46859         * sysdeps/i386/fpu/e_powl.S: Likewise.
46860         * sysdeps/i386/fpu/e_remainder.S: Likewise.
46861         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46862         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46863         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46864         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46865         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46866         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46867         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46868         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46869         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46870         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46871         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46872         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46873         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46874         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46875         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46876         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46877         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46878         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46879         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46880         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46881         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46882         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46883         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46884         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46885         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46886         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46887         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46888         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46889         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46890         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46891         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46892         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46893         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46894         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46895         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46896         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46897         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46898         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46899         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46900         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46901         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46902         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46903         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46904         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46905         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46906         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46907         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46908         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46909         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46910         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46911         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46912         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46913         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46914         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46915         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46916         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46917         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46918         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46919         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46920         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46921         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46922         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46923         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46924         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46925         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46926         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46927         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46928         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46929         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46930         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46931         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46932         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46933         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46934         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46935         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46936         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46937         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46938         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46939         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46940         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46941         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46942         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46943         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46944         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46945         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46946         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46947         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46948         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46949         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46950         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46951         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46952         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46953         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46954         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46955         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46956         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46957         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46958         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46959         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46960         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46961         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46962         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46963         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46964         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46965         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46966         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46967         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46968         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46969         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46970         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46971         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46972         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46973         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46974         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46975         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46976         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46977         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46978         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46979         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
46980         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46981         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46982         (__isnanf): Likewise.
46983         (__isinf_ns): Likewise.
46984         (__isinf_nsf): Likewise.
46985         (__finite): Likewise.
46986         (__finitef): Likewise.
46987         (__ieee754_sqrt): Define as macro.
46988         (__ieee754_sqrtf): Define as macro.
46989         (__ieee754_sqrtl): Define as macro.
46990         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46991         inlined copy.
46992         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46993         __FINITE_MATH_ONLY__ consistent.
46994         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46996 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
46998         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46999         of rawmemchr.
47001         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47003 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
47005         * po/ja.po: Update from translation team.
47007 2011-10-08  Roland McGrath  <roland@hack.frob.com>
47009         * locale/programs/locarchive.c (prepare_address_space): New function.
47010         (create_archive, enlarge_archive, open_archive): Use it.
47012         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47013         inside [SHARED], where it is used.
47015         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47017         * nss/getent.c (netgroup_keys): Remove unused variable.
47018         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47020 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
47022         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47023         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47024         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47025         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47026         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47027         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47028         * math/Makefile (libm-calls): Add s_isinf_ns.
47029         * math/divtc3.c: Use __isinf_nsl instead of isinf.
47030         * math/multc3.c: Likewise.
47031         * math/s_casin.c: Likewise.
47032         * math/s_casinf.c: Likewise.
47033         * math/s_casinl.c: Likewise.
47034         * math/s_ccos.c: Likewise.
47035         * math/s_ccosf.c: Likewise.
47036         * math/s_ccosl.c: Likewise.
47037         * math/s_ctan.c: Likewise.
47038         * math/s_ctanf.c: Likewise.
47039         * math/s_ctanh.c: Likewise.
47040         * math/s_ctanhf.c: Likewise.
47041         * math/s_ctanhl.c: Likewise.
47042         * math/s_ctanl.c: Likewise.
47043         * math/w_fmod.c: Likewise.
47044         * math/w_fmodf.c: Likewise.
47045         * math/w_fmodl.c: Likewise.
47046         * math/w_remainder.c: Likewise.
47047         * math/w_remainderf.c: Likewise.
47048         * math/w_remainderl.c: Likewise.
47049         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47050         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47051         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47052         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47053         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47054         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47055         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47056         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47058         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47059         of the number.
47060         * stdio-common/printf_fphex.c: Likewise.
47061         * stdio-common/printf_size.c: Likewise.
47063         * math/e_exp10.c: Include math_private.h using <...> not "...".
47064         * math/e_exp10f.c: Likewise.
47065         * math/e_exp10l.c: Likewise.
47066         * math/e_exp2l.c: Likewise.
47067         * math/e_j0l.c: Likewise.
47068         * math/e_j1l.c: Likewise.
47069         * math/e_jnl.c: Likewise.
47070         * math/e_lgammal_r.c: Likewise.
47071         * math/e_rem_pio2l.c: Likewise.
47072         * math/e_scalb.c: Likewise.
47073         * math/e_scalbf.c: Likewise.
47074         * math/e_scalbl.c: Likewise.
47075         * math/k_cosl.c: Likewise.
47076         * math/k_sinl.c: Likewise.
47077         * math/k_tanl.c: Likewise.
47078         * math/s_cacoshf.c: Likewise.
47079         * math/s_catan.c: Likewise.
47080         * math/s_catanf.c: Likewise.
47081         * math/s_catanh.c: Likewise.
47082         * math/s_catanhf.c: Likewise.
47083         * math/s_catanhl.c: Likewise.
47084         * math/s_catanl.c: Likewise.
47085         * math/s_ccosh.c: Likewise.
47086         * math/s_ccoshf.c: Likewise.
47087         * math/s_ccoshl.c: Likewise.
47088         * math/s_cexp.c: Likewise.
47089         * math/s_cexpf.c: Likewise.
47090         * math/s_cexpl.c: Likewise.
47091         * math/s_clog.c: Likewise.
47092         * math/s_clog10.c: Likewise.
47093         * math/s_clog10f.c: Likewise.
47094         * math/s_clog10l.c: Likewise.
47095         * math/s_clogf.c: Likewise.
47096         * math/s_clogl.c: Likewise.
47097         * math/s_csin.c: Likewise.
47098         * math/s_csinf.c: Likewise.
47099         * math/s_csinh.c: Likewise.
47100         * math/s_csinhf.c: Likewise.
47101         * math/s_csinhl.c: Likewise.
47102         * math/s_csinl.c: Likewise.
47103         * math/s_csqrt.c: Likewise.
47104         * math/s_csqrtf.c: Likewise.
47105         * math/s_csqrtl.c: Likewise.
47106         * math/s_ctan.c: Likewise.
47107         * math/s_ctanf.c: Likewise.
47108         * math/s_ctanh.c: Likewise.
47109         * math/s_ctanhf.c: Likewise.
47110         * math/s_ctanhl.c: Likewise.
47111         * math/s_ctanl.c: Likewise.
47112         * math/s_ldexp.c: Likewise.
47113         * math/s_ldexpf.c: Likewise.
47114         * math/s_ldexpl.c: Likewise.
47115         * math/s_significand.c: Likewise.
47116         * math/s_significandf.c: Likewise.
47117         * math/s_significandl.c: Likewise.
47118         * math/w_acos.c: Likewise.
47119         * math/w_acosf.c: Likewise.
47120         * math/w_acosh.c: Likewise.
47121         * math/w_acoshf.c: Likewise.
47122         * math/w_acoshl.c: Likewise.
47123         * math/w_acosl.c: Likewise.
47124         * math/w_asin.c: Likewise.
47125         * math/w_asinf.c: Likewise.
47126         * math/w_asinl.c: Likewise.
47127         * math/w_atan2.c: Likewise.
47128         * math/w_atan2f.c: Likewise.
47129         * math/w_atan2l.c: Likewise.
47130         * math/w_atanh.c: Likewise.
47131         * math/w_atanhf.c: Likewise.
47132         * math/w_atanhl.c: Likewise.
47133         * math/w_cosh.c: Likewise.
47134         * math/w_coshf.c: Likewise.
47135         * math/w_coshl.c: Likewise.
47136         * math/w_dremf.c: Likewise.
47137         * math/w_exp10.c: Likewise.
47138         * math/w_exp10f.c: Likewise.
47139         * math/w_exp10l.c: Likewise.
47140         * math/w_exp2.c: Likewise.
47141         * math/w_exp2f.c: Likewise.
47142         * math/w_fmod.c: Likewise.
47143         * math/w_fmodf.c: Likewise.
47144         * math/w_fmodl.c: Likewise.
47145         * math/w_hypot.c: Likewise.
47146         * math/w_hypotf.c: Likewise.
47147         * math/w_hypotl.c: Likewise.
47148         * math/w_j0.c: Likewise.
47149         * math/w_j0f.c: Likewise.
47150         * math/w_j0l.c: Likewise.
47151         * math/w_j1.c: Likewise.
47152         * math/w_j1f.c: Likewise.
47153         * math/w_j1l.c: Likewise.
47154         * math/w_jn.c: Likewise.
47155         * math/w_jnf.c: Likewise.
47156         * math/w_jnl.c: Likewise.
47157         * math/w_lgamma.c: Likewise.
47158         * math/w_lgamma_r.c: Likewise.
47159         * math/w_lgammaf.c: Likewise.
47160         * math/w_lgammaf_r.c: Likewise.
47161         * math/w_lgammal.c: Likewise.
47162         * math/w_lgammal_r.c: Likewise.
47163         * math/w_log.c: Likewise.
47164         * math/w_log10.c: Likewise.
47165         * math/w_log10f.c: Likewise.
47166         * math/w_log10l.c: Likewise.
47167         * math/w_log2.c: Likewise.
47168         * math/w_log2f.c: Likewise.
47169         * math/w_log2l.c: Likewise.
47170         * math/w_logf.c: Likewise.
47171         * math/w_logl.c: Likewise.
47172         * math/w_pow.c: Likewise.
47173         * math/w_powf.c: Likewise.
47174         * math/w_powl.c: Likewise.
47175         * math/w_remainder.c: Likewise.
47176         * math/w_remainderf.c: Likewise.
47177         * math/w_remainderl.c: Likewise.
47178         * math/w_scalb.c: Likewise.
47179         * math/w_scalbf.c: Likewise.
47180         * math/w_scalbl.c: Likewise.
47181         * math/w_sinh.c: Likewise.
47182         * math/w_sinhf.c: Likewise.
47183         * math/w_sinhl.c: Likewise.
47184         * math/w_sqrt.c: Likewise.
47185         * math/w_sqrtf.c: Likewise.
47186         * math/w_sqrtl.c: Likewise.
47187         * math/w_tgamma.c: Likewise.
47188         * math/w_tgammaf.c: Likewise.
47189         * math/w_tgammal.c: Likewise.
47191         * po/ja.po: Update from translation team.
47193 2011-09-29  Andreas Jaeger  <aj@suse.de>
47195         [BZ #13179]
47196         * sunrpc/netname.c (netname2host): Fix logic.
47198         [BZ #6779]
47199         [BZ #6783]
47200         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47201         correctly.
47202         * math/w_remainder.c (__remainder): Likewise.
47203         * math/w_remainderf.c (__remainderf): Likewise.
47204         * math/libm-test.inc (remainder_test): Add test cases.
47206 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47208         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47209         sdiv_qrnnd.
47211 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47213         * string/test-memcmp.c: Avoid unncessary #defines.
47214         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47216 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47218         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47219         Use new sse2 version for core i3 - i7 as it's faster
47220         than sse42 version.
47221         (bit_Prefer_PMINUB_for_stringop): New.
47222         * sysdeps/x86_64/rawmemchr.S: Update.
47223         Replace with faster SSE2 version.
47224         * sysdeps/x86_64/memrchr.S: New file.
47225         * sysdeps/x86_64/memchr.S: Update.
47226         Replace with faster SSE2 version.
47228 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47230         * elf/dl-load.c (lose): Add cast to avoid warning.
47232 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47234         * po/ca.po: Update from translation team.
47236         * inet/getnetgrent_r.c: Hook up nscd.
47237         * nscd/Makefile (routines): Add nscd_netgroup.
47238         (nscd-modules): Add netgroupcache.
47239         (CFLAGS-netgroupcache.c): Define.
47240         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47241         (cache_search): Add const to second parameter.
47242         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47243         INNETGR.
47244         (dbs): Add netgrdb entry.
47245         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47246         (verify_persistent_db): Handle netgrdb.
47247         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47248         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47249         GETFDNETGR.
47250         (netgroup_response_header): Define.
47251         (innetgroup_response_header): Define.
47252         (datahead): Add netgroup_response_header and innetgroup_response_header
47253         elements.
47254         * nscd/nscd.conf: Add entries for netgroup cache.
47255         * nscd/nscd.h (dbtype): Add netgrdb.
47256         (_PATH_NSCD_NETGROUP_DB): Define.
47257         (netgroup_iov_disabled): Declare.
47258         (xmalloc, xcalloc, xrealloc): Move declarations here.
47259         (cache_search): Adjust prototype.
47260         Add netgroup-related prototypes.
47261         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47262         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47263         (__nscd_innetgr): Declare.
47264         * nscd/selinux.c (perms): Use access_vector_t as element type and
47265         add netgroup-related initializers.
47266         * nscd/netgroupcache.c: New file.
47267         * nscd/nscd_netgroup.c: New file.
47268         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47269         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47270         For four parameters use innetgr.
47271         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47272         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47273         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47274         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47276         * nscd/connections.c (register_traced_file): Don't register file
47277         for disabled databases.
47279 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47281         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47283         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47284         from tree and freeing node.
47286 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47288         * nss/nsswitch.c (__nss_database_lookup): Handle
47289         nss_parse_service_list out of memory case.
47291 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47293         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47294         out of memory case.
47296 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47298         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47299         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47300         pass it down.
47301         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47302         elf_machine_rela, elf_machine_lazy_rel.
47303         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47304         (ELF_DYNAMIC_DO_REL): Likewise.
47305         (ELF_DYNAMIC_DO_RELA): Likewise.
47306         (ELF_DYNAMIC_RELOCATE): Likewise.
47307         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47308         to ELF_DYNAMIC_DO_REL.
47309         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47310         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47311         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47312         elf_machine_rela.
47313         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47314         skip_ifunc, don't call ifunc function if non-zero.
47315         (elf_machine_rela): Likewise.
47316         (elf_machine_lazy_rel): Likewise.
47317         (elf_machine_lazy_rela): Likewise.
47318         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47319         (elf_machine_lazy_rel): Likewise.
47320         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47321         Likewise.
47322         (elf_machine_lazy_rel): Likewise.
47323         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47324         Likewise.
47325         (elf_machine_lazy_rel): Likewise.
47326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47327         (elf_machine_lazy_rel): Likewise.
47328         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47329         (elf_machine_lazy_rel): Likewise.
47330         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47331         (elf_machine_lazy_rel): Likewise.
47332         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47333         (elf_machine_lazy_rel): Likewise.
47334         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47335         (elf_machine_lazy_rel): Likewise.
47336         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47337         (elf_machine_lazy_rel): Likewise.
47339 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
47341         * nss/nss_files/files-init.c (_nss_files_init): Use static
47342         initialization for all the *_traced_file variables.
47344 2011-09-28  Andreas Schwab  <schwab@redhat.com>
47346         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47348 2011-09-27  Roland McGrath  <roland@hack.frob.com>
47350         [BZ #13226]
47351         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47353 2011-09-27  Andreas Schwab  <schwab@redhat.com>
47355         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47356         Reread the line before reparsing it.
47358 2011-09-26  Andreas Schwab  <schwab@redhat.com>
47360         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47362 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
47363             Maxim Kuvyrkov  <maxim@codesourcery.com>
47364             Joseph Myers  <joseph@codesourcery.com>
47366         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47367         if needed for __stack_chk_guard.
47369 2011-09-19  Roland McGrath  <roland@hack.frob.com>
47371         * sysdeps/posix/spawni.c (script_execute): Always define it.
47372         It will be optimized away if unused.
47373         (maybe_script_execute): New function.
47374         (__spawni): Call it.
47376         * Makerules: Don't include tls.make.
47377         (config-tls): Always set to thread.
47378         * tls.make.c: File removed.
47380 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
47382         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47383         * config.make.in (CPPFLAGS-config): New substituted variable.
47385 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47387         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47389         [BZ #13192]
47390         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47391         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47393 2011-09-15  Roland McGrath  <roland@hack.frob.com>
47395         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47396         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47397         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47398         (CALL_FAIL): Likewise.
47399         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47400         (CALL_FAIL): Macro removed.
47401         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47403 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47405         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47406         for __FINITE_MATH_ONLY__ == 1.
47408 2011-09-15  Andreas Schwab  <schwab@redhat.com>
47410         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47411         __ieee754_sqrt instead of sqrt.
47412         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47413         __ieee754_sqrtf instead of sqrtf.
47414         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47415         __floorf instead of floorf.
47416         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47417         __floorf, __truncf instead of floorf, truncf.
47419 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
47421         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47423         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47424         __extern_always_inline.
47425         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47426         32-bit.
47428 2011-09-14  Andreas Schwab  <schwab@redhat.com>
47430         * elf/rtld.c (dl_main): Also relocate in dependency order when
47431         doing symbol dependency testing.
47433 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
47435         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47436         Always define `refsym'.
47438 2011-09-13  Andreas Schwab  <schwab@redhat.com>
47440         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47441         (__FD_ELT): Renamed from __FDELT.
47442         * misc/bits/select2.h (__FD_ELT): Likewise.
47443         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47444         __FD_MASK instead of __FDELT, __FDMASK.
47445         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47446         Likewise.
47447         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47448         Likewise.
47450         * elf/Makefile (gen-ldd): Fix pattern.
47452         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47453         (init_tls): Likewise.
47455 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
47457         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47459 2011-09-12  Andreas Schwab  <schwab@redhat.com>
47461         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47462         `struct cmsghdr *' instead of `void *'.
47463         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47464         Likewise.
47466 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
47468         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47469         if non-absolute.
47470         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47471         ldd_rewrite_script.
47473 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
47475         * configure.in: Remove --with-tls option.
47476         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47477         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47478         out in case it is missing.
47479         * sysdeps/ia64/elf/configure.in: Likewise.
47480         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47481         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47482         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47483         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47484         * sysdeps/sh/elf/configure.in: Likewise.
47485         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47486         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47487         * sysdeps/x86_64/elf/configure.in: Likewise.
47488         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47489         * sysdeps/mach/hurd/tls.h: Likewise.
47491         [BZ #13067]
47492         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47494         [BZ #13090]
47495         * configure.in: Fix use of AC_INIT.
47497         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47499 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
47501         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47502         __set_errno.
47503         * malloc/hooks.c: Likewise.
47505         [BZ #11929]
47506         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
47507         variables statically.
47508         (narenas): Initialize.
47509         (list_lock): Initialize.
47510         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
47511         initializtion of main_arena and list_lock.  Small cleanups.
47512         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47513         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
47514         Add initializers to main_arena and mp_.
47515         (malloc_state): Remove pagesize member.  Change all users to use
47516         GLRO(dl_pagesize).
47518         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47519         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
47520         is always initialized.
47522         * malloc/malloc.c: Removed unused configurations and dead code.
47523         * malloc/arena.c: Likewise.
47524         * malloc/hooks.c: Likewise.
47525         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47527         * include/tls.h: Removed.  USE___THREAD must always be defined.
47528         * bits/libc-tsd.h: Don't handle !USE___THREAD.
47529         * elf/dl-libc.c: Likewise.
47530         * elf/dl-tsd.c: Likewise.
47531         * include/errno.h: Likewise.
47532         * include/netdb.h: Likewise.
47533         * include/resolv.h: Likewise.
47534         * inet/herrno-loc.c: Likewise.
47535         * inet/herrno.c: Likewise.
47536         * malloc/arena.c: Likewise.
47537         * malloc/hooks.c: Likewise.
47538         * malloc/malloc.c: Likewise.
47539         * resolv/res-state.c: Likewise.
47540         * resolv/res_libc.c: Likewise.
47541         * sysdeps/i386/dl-machine.h: Likewise.
47542         * sysdeps/ia64/dl-machine.h: Likewise.
47543         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47544         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47545         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47546         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47547         * sysdeps/sh/dl-machine.h: Likewise.
47548         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47549         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47550         * sysdeps/unix/i386/sysdep.S: Likewise.
47551         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47552         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47554         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47555         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47556         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47557         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47559         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47561         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47562         * sysdeps/x86_64/dl-machine.h: Likewise.
47563         * tls.make.c: Likewise.
47565         * configure.in: Remove --with-__thread option.  Make tests for
47566         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47567         tls_model attribute fail if no support is available.  Remove
47568         USE_IN_LIBIO.
47569         * Makeconfig: Adjust for dropped configure option.  All features are
47570         now mandatory.
47571         * Makerules: Likewise.
47572         * Versions.def: Likewise.
47573         * argp/argp-fmtstream.c: Likewise.
47574         * argp/argp-fmtstream.h: Likewise.
47575         * argp/argp-help.c: Likewise.
47576         * assert/assert.c: Likewise.
47577         * config.h.in: Likewise.
47578         * config.make.in: Likewise.
47579         * configure: Likewise.
47580         * configure.in: Likewise.
47581         * csu/Versions: Likewise.
47582         * csu/init.c: Likewise.
47583         * elf/tst-audit2.c: Likewise.
47584         * elf/tst-tls10.c: Likewise.
47585         * elf/tst-tls10.h: Likewise.
47586         * elf/tst-tls11.c: Likewise.
47587         * elf/tst-tls12.c: Likewise.
47588         * elf/tst-tls14.c: Likewise.
47589         * elf/tst-tlsmod11.c: Likewise.
47590         * elf/tst-tlsmod12.c: Likewise.
47591         * elf/tst-tlsmod13.c: Likewise.
47592         * elf/tst-tlsmod13a.c: Likewise.
47593         * elf/tst-tlsmod14a.c: Likewise.
47594         * elf/tst-tlsmod15b.c: Likewise.
47595         * elf/tst-tlsmod16a.c: Likewise.
47596         * elf/tst-tlsmod16b.c: Likewise.
47597         * elf/tst-tlsmod7.c: Likewise.
47598         * elf/tst-tlsmod8.c: Likewise.
47599         * elf/tst-tlsmod9.c: Likewise.
47600         * gmon/gmon.c: Likewise.
47601         * grp/fgetgrent_r.c: Likewise.
47602         * grp/putgrent.c: Likewise.
47603         * hurd/fopenport.c: Likewise.
47604         * include/libc-symbols.h: Likewise.
47605         * include/tls.h: Likewise.
47606         * intl/gettextP.h: Likewise.
47607         * intl/loadinfo.h: Likewise.
47608         * locale/global-locale.c: Likewise.
47609         * locale/localeinfo.h: Likewise.
47610         * mach/devstream.c: Likewise.
47611         * malloc/arena.c: Likewise.
47612         * malloc/set-freeres.c: Likewise.
47613         * misc/err.c: Likewise.
47614         * misc/getttyent.c: Likewise.
47615         * misc/mntent_r.c: Likewise.
47616         * posix/getopt.c: Likewise.
47617         * posix/wordexp.c: Likewise.
47618         * pwd/fgetpwent_r.c: Likewise.
47619         * resolv/Versions: Likewise.
47620         * resolv/res_hconf.c: Likewise.
47621         * shadow/fgetspent_r.c: Likewise.
47622         * shadow/putspent.c: Likewise.
47623         * stdio-common/printf_fphex.c: Likewise.
47624         * stdio-common/tmpfile.c: Likewise.
47625         * stdlib/abort.c: Likewise.
47626         * stdlib/fmtmsg.c: Likewise.
47627         * sunrpc/auth_unix.c: Likewise.
47628         * sunrpc/clnt_perr.c: Likewise.
47629         * sunrpc/clnt_tcp.c: Likewise.
47630         * sunrpc/clnt_udp.c: Likewise.
47631         * sunrpc/clnt_unix.c: Likewise.
47632         * sunrpc/openchild.c: Likewise.
47633         * sunrpc/svc_simple.c: Likewise.
47634         * sunrpc/svc_tcp.c: Likewise.
47635         * sunrpc/svc_udp.c: Likewise.
47636         * sunrpc/svc_unix.c: Likewise.
47637         * sunrpc/xdr.c: Likewise.
47638         * sunrpc/xdr_array.c: Likewise.
47639         * sunrpc/xdr_rec.c: Likewise.
47640         * sunrpc/xdr_ref.c: Likewise.
47641         * sunrpc/xdr_stdio.c: Likewise.
47643 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47645         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47647 2011-07-03  Andreas Jaeger  <aj@suse.de>
47649         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47650         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47651         regenerate with gen-libm-tests.pl.
47653 2010-05-12  Petr Baudis  <pasky@suse.cz>
47655         [BZ #11589]
47656         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47657         around j0() zero points by switching to j1().
47658         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47659         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47660         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47661         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47663 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47665         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47666         instead of 0.
47667         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47668         instead of 0.
47669         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47670         Patch in part by Pavel Roskin <proski@gnu.org>.
47672         [BZ #13138]
47673         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47674         realloc.
47675         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
47676         Free memory block if necessary.
47678         [BZ #12847]
47679         * libio/genops.c (INTDEF): For string streams the _lock pointer can
47680         be NULL.  Don't lock in this case.
47682 2011-09-09  Roland McGrath  <roland@hack.frob.com>
47684         * elf/elf.h (ELFOSABI_GNU): New macro.
47685         (ELFOSABI_LINUX): Define to that.
47687 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
47689         * string/strncat.c (strncat): Undef the symbol in case it has been
47690         defined in bits/string.h.
47692 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47694         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47696         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47697         link map.
47699 2011-08-17  Andreas Jaeger  <aj@suse.de>
47701         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47703 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47704             Ian Lance Taylor  <iant@google.com>
47706         * math/libm-test.inc (lround_test): New testcase.
47707         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47709 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
47711         * Makefile: Remove support for automatic cvs check-ins.
47712         * Makerules: Likewise.
47713         * config.make.in: Likewise.
47714         * configure.in: Likewise.
47715         * intl/Makefile: Likewise.
47716         * locale/Makefile: Likewise.
47717         * po/Makefile: Likewise.
47718         * posix/Makefile: Likewise.
47719         * sysdeps/gnu/Makefile: Likewise.
47720         * sysdeps/mach/hurd/Makefile: Likewise.
47721         * sysdeps/sparc/sparc32/Makefile: Likewise.
47723         [BZ #13118]
47724         * posix/Makefile (bug-regex32-ENV): Define.
47725         Patch by John Stanley <jpsinthemix@verizon.net>.
47727         * misc/Makefile (headers): Add bits/select2.h.
47728         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47729         * misc/bits/select2.h: New file.
47730         * include/bits/select2.h: New file.
47731         * debug/Makefile (routines): Add fdelt_chk.
47732         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47733         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47734         FD_ISSET.
47735         * debug/fdelt_chk.c: New file.
47737         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
47738         * wcsmbs/test-wmemcmp.c: Likewise.
47739         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47740         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47742 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47744         * string/Makefile (strop-tests): Add memcmp.
47745         * string/test-wmemcmp.c: New file.
47746         * string/test-memcmp.c: Add wmemcmp support.
47748 2011-09-08  Roland McGrath  <roland@hack.frob.com>
47750         [BZ #13153]
47751         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47752         2011-07-19 change.
47754         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47755         garbage value in a __mach_port_mod_refs call in the cases of the
47756         task-self and thread-self ports.
47758 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47760         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47762 2011-09-08  Andreas Schwab  <schwab@redhat.com>
47764         * elf/dl-load.c (lose): Check for non-null L.
47766 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47768         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47770         * elf/dl-libc.c (dlerror_run): Pass back error code from
47771         dl_catch_error.
47773         [BZ #13123]
47774         * elf/dl-load.c (lose): Free l_origin if it is valid.
47776         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47777         names.
47778         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47779         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47780         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47781         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47782         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47783         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47785 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47787         * sysdeps/powerpc/fpu/e_hypot.c: New file.
47788         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47789         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47790         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47791         * sysdeps/powerpc/fpu/k_cosf.c: New file.
47792         * sysdeps/powerpc/fpu/k_sinf.c: New file.
47793         * sysdeps/powerpc/fpu/s_cosf.c: New file.
47794         * sysdeps/powerpc/fpu/s_sinf.c: New file.
47795         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47796         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47798 2011-08-15  Alan Modra  <amodra@gmail.com>
47800         [BZ #13092]
47801         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47802         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47803         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
47804         ppc_mcount to static-only-routines.
47805         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47806         __mcount_internal.
47807         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47808         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
47810 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
47812         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47813         for finite and infinity parameters.
47815 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47817         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47818         and add nop instructions for throughput optimization.
47819         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47821 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
47823         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47824         aligned copy for power7 with vector-scalar instructions.
47825         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47827 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
47829         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47830         AVX check.
47832 2011-09-07  Andreas Schwab  <schwab@redhat.com>
47834         [BZ #13144]
47835         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47836         last change.
47838 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47840         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47841         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47842         syscall wrapper around clock_gettime in __vdso_clock_gettime.
47843         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47844         clock_gettime.
47846 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47848         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47849         Forgot to demangle the pointer.
47851         * sysdeps/i386/sysdep.h: Define atom_text_section.
47852         * sysdeps/x86_64/sysdep.h: Likewise.
47853         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47854         section with atom_text_section.
47855         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47856         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47857         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47858         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47859         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47861         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47862         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47863         already be defined.  Change to take two parameters and don't assign
47864         result to variable.  Adjust all users.
47865         Define INTERNAL_GETTIME if not already defined.
47866         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47867         call.
47868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47869         HAVE_CLOCK_GETTIME_VSYSCALL.
47870         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47872         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47873         gettimeofday vsyscall, just use time.
47875 2011-09-06  Andreas Schwab  <schwab@redhat.com>
47877         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47878         <errno.h>.
47880 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47882         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47883         syscall on x86-64.
47884         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47885         syscall.
47886         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47887         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47888         syscall if possible.
47890 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47892         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47893         e_ident.  Don't pass to find_mapsXX.
47894         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47896 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47899         strchr-sse2-no-bsf strrchr-sse2-no-bsf
47900         * sysdeps/x86_64/multiarch/strchr.S: Update.
47901         Check bit_slow_BSF bit.
47902         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47903         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47904         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47906 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47908         [BZ #13134]
47909         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47910         before glibc 2.15.
47911         (tryshell): Define.
47912         (__spawni): Change last parameter to be flag.  Test
47913         SPAWN_XFLAGS_USE_PATH flag to use path or not.
47914         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47915         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47916         * posix/spawni.c: Likewise.
47917         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47918         * posix/spawnp.c: Likewise.  Change normal version to use
47919         SPAWN_XFLAGS_USE_PATH.
47920         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47921         SPAWN_XFLAGS_TRY_SHELL.
47923         [BZ #13150]
47924         * posix/glob.h: Remove gcc 1.x support.
47926         [BZ #13068]
47927         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47929 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47932         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47933         strrchr-sse2-bsf
47934         * sysdeps/i386/i686/multiarch/strchr.S: New file.
47935         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47936         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47937         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47938         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47939         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47941 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47943         * sysdeps/x86_64/wcscmp.S: New file.
47945         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47946         wcscmp-c wcscmp-sse2
47947         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47948         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47949         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47950         * wcsmbs/wcscmp.c: Allow renaming.
47952 2011-09-05  David S. Miller  <davem@davemloft.net>
47954         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47955         stack slot, rather than the struct return pointer slot.
47956         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47957         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47959         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47961 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47963         * po/ja.po: Update from translation team.
47965         [BZ #13144]
47966         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47967         kernel in 64-bit binaries.
47969 2011-09-01  David S. Miller  <davem@davemloft.net>
47971         * elf/elf.h (HWCAP_SPARC_*): Move to..
47972         * sysdeps/sparc/sysdep.h: this new file and add new values.
47973         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47974         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47975         _DL_HWCAP_COUNT to 24.
47976         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47977         entries.
47978         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47979         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47980         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47981         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47982         instead of magic constants.
47983         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47985 2011-08-31  David S. Miller  <davem@davemloft.net>
47987         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47989         Reimplement to do errno handling inline.
47990         (SYSCALL_ERROR_HANDLER): New macro.
47991         (__SYSCALL_STRING): Do not do errno handling in asm.
47992         (__CLONE_SYSCALL_STRING): Delete.
47993         (__INTERNAL_SYSCALL_STRING): Delete.
47994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47995         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47996         (PSEUDO): Reimplement to do errno handling inline.
47997         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47998         (SYSCALL_ERROR_HANDLER): New macro.
47999         (__SYSCALL_STRING): Do not do errno handling in asm.
48000         (__CLONE_SYSCALL_STRING): Delete.
48001         (__INTERNAL_SYSCALL_STRING): Delete.
48002         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48003         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48004         i386.
48005         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48006         (inline_syscall*): Add 'err' argument.
48007         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48008         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48009         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48010         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48012         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48013         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48015 2011-08-30  Andreas Schwab  <schwab@redhat.com>
48017         * elf/rtld.c (dl_main): Relocate objects in dependency order.
48019 2011-08-29  Jiri Olsa <jolsa@redhat.com>
48021         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48022         directive.
48024 2011-08-24  David S. Miller  <davem@davemloft.net>
48026         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48028 2011-08-24  Andreas Schwab  <schwab@redhat.com>
48030         * elf/Makefile: Add rules to build and run unload8 test.
48031         * elf/unload8.c: New file.
48032         * elf/unload8mod1.c: New file.
48033         * elf/unload8mod1x.c: New file.
48034         * elf/unload8mod2.c: New file.
48035         * elf/unload8mod3.c: New file.
48037         * elf/dl-close.c (_dl_close_worker): Reset private search list if
48038         it wasn't used.
48040 2011-08-23  David S. Miller  <davem@davemloft.net>
48042         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48043         subtract stack bias.
48044         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48045         %sp not %fp in calculations.
48046         (_JMPBUF_UNWINDS_ADJ): Likewise.
48048         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48049         (aio_suspend): Call it to force an exception region around the
48050         AIO_MISC_WAIT() invocation.
48052 2011-08-23  Andreas Schwab  <schwab@redhat.com>
48054         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48055         backslash.
48057 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
48059         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48060         protection macro.
48061         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48062         and <dl-machine.h>.
48063         (Elf64_FuncDesc): Remove.
48065 2011-08-22  David S. Miller  <davem@davemloft.net>
48067         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48068         sigaltstack check, add missing cfi directives.
48069         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48070         missing cfi directives, and sigaltstack handling.
48072 2011-08-16  Andreas Schwab  <schwab@redhat.com>
48074         [BZ #11724]
48075         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48076         object is seen twice.
48077         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48079         * elf/Makefile (distribute): Add tst-initorder2.c.
48080         (tests): Add tst-initorder2.
48081         (modules-names): Add tst-initorder2a tst-initorder2b
48082         tst-initorder2c tst-initorder2d.  Add rules to build them.
48083         ($(objpfx)tst-initorder2.out): New rule.
48084         * elf/tst-initorder2.c: New file.
48085         * elf/tst-initorder2.exp: New file.
48087 2011-08-22  Andreas Schwab  <schwab@redhat.com>
48089         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48091         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48092         dependencies back to end of function.
48094         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48095         $(elfobjdir)/ld.so.
48097 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
48099         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48100         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48101         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48102         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48103         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48104         of __vdso_gettimeofday.
48105         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48106         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
48107         attribute_hidden.
48108         (_libc_vdso_platform_setup): Remove initialization of
48109         __vdso_gettimeofday and __vdso_time.
48111 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48113         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48114         and fgetc_unlocked.
48115         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48116         getc_unlocked.
48118         * elf/dl-open.c (add_to_global): Report additions to the global scope
48119         for LD_DEBUG=scopes.
48120         (dl_open_worker): Also print scope of newly loaded dependencies.
48121         (_dl_show_scope): Indicate if there is no scope.
48123         [BZ #13114]
48124         * stdio-common/Makefile (tests): Add bug24.
48125         * stdio-common/bug24.c: New file.
48127 2011-08-19  Andreas Jaeger  <aj@suse.de>
48129         [BZ #13114]
48130         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48131         non-existant file when using close-on-exec mode.
48133 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48135         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48136         the very first instruction.
48138         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48139         the CFI state in the end.
48140         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48141         inclusion of dl-trampoline.h.
48142         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48144 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48146         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48147         expectations for long double.
48149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48150         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48152 2011-08-14  David S. Miller  <davem@davemloft.net>
48154         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48155         artificual limit depends upon the system page size.
48157 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48159         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48160         * resolv/Makefile: Define CFLAGS-libresolv.
48162 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48164         * nss/makedb.c (compute_tables): Make variables used in nested
48165         function static.
48167 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48169         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48170         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48171         if buffer was too small.
48173         * elf/pldd.c (main): Attach to all threads in the process.
48174         Rewrite /proc handling to use *at functions.
48176 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48178         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48179         specifies first scope to show.
48180         (dl_open_worker): Update callers.  Move printing scope of new
48181         object to before the relocation.
48182         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48183         * sysdeps/generic/ldsodefs.h: Update declaration.
48185         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48186         string for the scope number.
48188 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48190         * nscd/servicescache.c (cache_addserv): Make sure written is always
48191         initialized.
48193 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48195         * sysdeps/i386/i486/bits/atomic.h
48196         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48197         statement expression, so as to suppress "set but not used" warning.
48198         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48200         * string/strncat.c (STRNCAT): Use prototype definition.
48202         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48203         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48204         -Iprograms here.
48205         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48206         (localedef-modules): Add localedef.
48207         (locale-modules): Add locale.
48209         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48210         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48211         to avoid a warning.
48213 2011-08-14  David S. Miller  <davem@davemloft.net>
48215         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48216         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48218 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48220         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48221         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48222         * elf/rtld.c (dl_main): Set l_name of vDSO.
48223         Call _dl_show_scope when DL_DEBUG_SCOPES.
48224         (process_dl_debug): Recognize scopes flag and also set it for all.
48225         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48226         Declare _dl_show_scope.
48228         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48229         (do_dlopen): Pass caller_dlopen to dl_open.
48230         (__libc_dlopen_mode): Initialize caller_dlopen.
48232         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48233         of libc.  Make tolower call locale-independent.  Optimize a bit by
48234         using isdigit instead of isalnum.
48235         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48237 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48239         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48240         was a dependency or dynamically loaded.
48242 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48244         * intl/l10nflist.c: Allow architecture-specific pop function.
48245         * sysdeps/x86_64/l10nflist.c: New file.
48247         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48248         classification.
48250 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48252         * include/dirent.h: Add libc_hidden_proto for scandirat and
48253         scandirat64.  Don't declare __scandirat64.
48254         * dirent/scandirat.c: Add libc_hidden_def.
48255         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48256         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48258 2011-08-10  David S. Miller  <davem@davemloft.net>
48260         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48261         enum.
48262         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48263         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48264         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48266 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48268         * Versions.def [libc]: Add GLIBC_2.15.
48269         * dirent/Makefile (routines): Add scandirat and scandirat64.
48270         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48271         GLIBC_2.15.
48272         * dirent/dirent.h: Declare scandirat and scandirat64.
48273         * dirent/scandirat.c: New file.
48274         * dirent/scandirat64.c: New file.
48275         * sysdeps/wordsize-64/scandirat.c: New file.
48276         * sysdeps/wordsize-64/scandirat64.c: New file.
48277         * dirent/opendir.c: Define opendirat.
48278         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48279         using scandirat.
48280         * dirent/scandir64.c: Adjust for scandir.c change.
48281         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48282         __scandirat64, and __scandir_cancel_handler.
48283         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48284         additional parameter and use openat instead of open (outside of ld.so).
48285         Add new __opendir as wrapper around __opendirat.
48286         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48287         here without requiring old scandirat implementation.
48289 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48291         * dirent/scandir.c (cancel_handler): Renamed to
48292         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48293         defined.  Adjust users.
48294         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48295         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48297 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48299         * string/test-string.h (IMPL): Use __STRING to expand name and then
48300         stringify it.
48302         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48303         of cleanups.
48305 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48307         * string/Makefile: Update.
48308         (strop-tests): Append strncat.
48309         * string/test-wcscmp.c: New file.
48310         New comprehensive test for wcscmp.
48311         * string/test-strcmp.c: Update.
48312         (WIDE): New define.
48314 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48316         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48317         line.
48319 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48321         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48322         encoding to ACE if AI_IDN.
48324 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
48326         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48327         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48329 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48331         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48332         Fix overflow bug in strncat.
48333         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48335         * string/test-strncat.c: Update.
48336         Add new tests for checking overflow bugs.
48338 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48340         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48341         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48342         * sysdeps/i386/i686/multiarch/strcat.S: New file.
48343         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48344         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48345         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48346         * sysdeps/i386/i686/multiarch/strncat.S: New file.
48347         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48348         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48350         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48351         (USE_AS_STRCAT): Define.
48352         Add strcat and strncat support.
48353         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48355 2011-07-25  Andreas Schwab  <schwab@redhat.com>
48357         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48358         __n bigger than INT_MAX+1.
48359         (__strncmp_g): Likewise.
48361 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
48363         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48364         * libio/stido.h: Likewise.
48366         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48367         (AF_NFC): Define.
48368         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48369         (AF_NFC): Define.
48371         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48372         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48373         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48374         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48375         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48377         [BZ #13021]
48378         * scripts/test-installation.pl: Don't expect libnss_test1 to be
48379         installed.
48381         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48382         typo.
48383         (_dl_x86_64_save_sse): Likewise.
48385 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
48387         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48388         OSXSAVE.
48389         (_dl_x86_64_save_sse): Likewise.
48391         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48393         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48395 2011-07-21  Andreas Schwab  <schwab@redhat.com>
48397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48398         change.
48399         (_dl_x86_64_save_sse): Use correct AVX check.
48401 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48403         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48404         bug in strncpy/strncat.
48405         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48407 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
48409         * string/tester.c (test_strcat): Add tests for different alignments
48410         of source and destination.
48411         (test_strncat): Likewise.
48413 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48415         [BZ #12852]
48416         * posix/glob.c (glob): Check passed in values before using them in
48417         expressions to avoid some overflows.
48418         (glob_in_dir): Likewise.
48420         [BZ #13007]
48421         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48422         check for AVX enablement so that we don't crash with old kernels and
48423         new hardware.
48424         * elf/tst-audit4.c: Add same checks here.
48425         * elf/tst-audit6.c: Likewise.
48427         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48429 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
48431         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48433 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48435         * po/cs.po: Update from translation team.
48436         * po/bg.po: Likewise.
48438 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
48440         * misc/sys/cdefs.h: Add support for const attribute.
48441         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48442         to gnu_dev_{major,minor,makedev} functions.
48444 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
48446         * intl/dcigettext.c (get_output_charset): Add missing bracket.
48448 2011-07-20  Andreas Schwab  <schwab@redhat.com>
48450         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48451         strlen results.
48453 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48455         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48456         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48457         register in order to avoid conflicts with the soft frame pointer
48458         being held in r11 when necessary.
48459         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48460         (INTERNAL_VSYSCALL_NCS): Likewise.
48462 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
48464         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48465         * elf/dl-fini.c (_dl_fini): Adjust caller.
48466         * elf/dl-close.c (_dl_close_worker): Likewise.
48467         * sysdeps/generic/ldsodefs.h: Adjust declaration.
48469 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48471         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48472         "aux_cache->nlibs < 0".
48474         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48475         in the reload-count case.
48477 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48480         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48481         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48482         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48483         * sysdeps/x86_64/multiarch/strcat.S: New file.
48484         * sysdeps/x86_64/multiarch/strncat.S: New file.
48485         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48486         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48487         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48488         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48489         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48490         (USE_AS_STRCAT): Define.
48491         Add strcat and strncat support.
48492         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48493         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48494         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48495         * string/strncat.c: Update.
48496         (USE_AS_STRNCAT): Define.
48497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48498         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48499         and i7.
48500         * sysdeps/x86_64/multiarch/init-arch.h
48501         (bit_Prefer_PMINUB_for_stringop): New.
48502         (index_Prefer_PMINUB_for_stringop): Likewise.
48503         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48504         bit_Prefer_PMINUB_for_stringop.
48506 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48508         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48509         buffer64.
48510         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48511         of casting of buffer.
48512         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48513         buffer32 and buffer64.
48514         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48515         writes instead of casting of buffer.
48516         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48517         buffer32.
48518         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48519         casting of buffer.
48521 2011-07-19  Andreas Schwab  <schwab@redhat.com>
48523         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48525 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48527         * nscd/nscd.c (termination_handler): Don't do anything for a database
48528         if it has not yet been initialized.
48530 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48532         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48534 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48536         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48538 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48540         * po/nl.po: Update from translation team.
48541         * po/sv.po: Likewise.
48543 2011-07-16  Roland McGrath  <roland@hack.frob.com>
48545         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48546         now disallowed by GCC.
48548         * configure.in (use-default-link): Default to yes if a test -shared
48549         link meets our qualifications.
48550         * configure: Regenerated.
48552         * config.make.in (output-format): New variable.
48553         * configure.in: Check for ld --print-output-format support.
48554         * configure: Regenerated.
48555         * Makerules ($(common-objpfx)format.lds)
48556         [$(output-format) != unknown]: Just use $(output-format),
48557         instead of the linker-script munging.
48559 2011-07-14  Roland McGrath  <roland@hack.frob.com>
48561         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48562         of $(common-objpfx)shlib.lds.
48563         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48565         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48566         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48568         * configure.in (-z relro check): Adjust test code to add a large
48569         writable data section after it.
48570         * configure: Regenerated.
48572 2011-07-11  Roland McGrath  <roland@hack.frob.com>
48574         * configure.in (-z relro check): Fix test code to make the variable
48575         truly const.
48576         * configure: Regenerated.
48578 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
48580         * nscd/nscd.h (struct traced_file): Define.
48581         (struct database_dyn): Remove inotify_descr, reset_res, and filename
48582         elements.  Add traced_files.
48583         (inotify_fd): Declare.
48584         (register_traced_file): Declare.
48585         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48586         (inotify_fd): Export.
48587         (resolv_conf_descr): Remove.
48588         (nscd_init): Move inotify descriptor creation to main.
48589         Don't register files for notification here.
48590         (register_traced_file): New function.
48591         (invalidate_cache): Don't use reset_res to determine whether to call
48592         res_init, go through the list of registered files.
48593         (main_loop_poll): The inotify descriptors are now stored in the
48594         structures for the traced files.
48595         (main_loop_epoll): Likewise
48596         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
48597         to __nss_disable_nscd.
48598         * nscd/cache.c (prune_cache): There is no single inotify descriptor
48599         for a database anymore.  Check the records for all the registered
48600         files instead.
48601         * nss/Makefile (libnss_files-routines): Add files-init.
48602         (libnss_db-routines): Add db-init.
48603         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48604         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48605         * nss/nss_db/db-init.c: New file.
48606         * nss/nss_files/files-init.c: New file.
48607         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
48608         __nss_lookup_function.
48609         (__nss_lookup_function): Call nss_load_library.
48610         (nss_load_all_libraries): New function.
48611         (__nss_disable_nscd): Take parameter with callback function for files
48612         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
48613         used for the cached services.
48614         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48615         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48616         options for features to all the files in nscd.
48618         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48620 2011-07-10  Roland McGrath  <roland@hack.frob.com>
48622         * csu/elf-init.c (__libc_csu_init): Comment typo.
48624 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
48626         * po/pl.po: Update from translation team.
48627         * po/ja.po: Likewise.
48628         * po/ru.po: Likewise.
48629         * po/ko.po: Likewise.
48630         * po/fr.po: Likewise.
48632 2011-07-09  Roland McGrath  <roland@hack.frob.com>
48634         * configure.in (.ctors/.dtors header and trailer check):
48635         Use an empirical test on a built program.
48636         * configure: Regenerated.
48638         * configure.in (-z relro check): Use an empirical test on a built DSO.
48639         Detect, but do not require, on ia64.
48640         * configure: Regenerated.
48642         * configure.in (READELF): Find it with AC_CHECK_TOOL.
48643         Update tests that use readelf to use $READELF instead.
48644         * configure: Regenerated.
48646 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
48648         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48649         if the result is not used.
48651 2011-07-05  Andreas Jaeger  <aj@suse.de>
48653         [BZ#9696]
48654         * stdlib/tst-strtod.c: Add testcase.
48656 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
48658         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48659         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48660         The latter has a higher limit.  Take additional parameter to pass to
48661         the new function.
48662         (__pathconf): Pass file to __statfs_link_max.
48663         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48664         __statfs_link_max.
48665         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48666         __statfs_link_max.
48668         [BZ #12868]
48669         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48670         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48671         Handle Lustre.
48672         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48673         (__statfs_filesize_max): Likewise.
48674         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48676 2011-07-05  Andreas Jaeger  <aj@suse.de>
48678         * resolv/res_comp.c (dn_skipname): Remove unused variable.
48680 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
48682         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48683         `status' variable.
48684         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48685         Likewise.
48687 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
48689         * Makefile (strop-tests): Add strncat.
48690         * string/test-strncat.c: New file.
48692 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
48694         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48696 2011-06-21  Andreas Jaeger  <aj@suse.de>
48698         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48699         Copy rule from iconvdata/Makefile.
48701 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48703         [BZ #12922]
48704         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48705         but no long options are defined, just return 'W'.
48707 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
48709         [BZ #9696]
48710         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48712 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48714         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48715         netgroups to read.
48716         (innetgr): Likewise.
48718 2011-07-05  Roland McGrath  <roland@hack.frob.com>
48720         * config.make.in (install_root): Default to $(DESTDIR).
48722 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
48724         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48726 2011-07-02  Roland McGrath  <roland@hack.frob.com>
48728         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48730         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48731         containing directory rather than embedding absolute directory names.
48733         * scripts/check-local-headers.sh: Rewritten using awk.
48734         Match by word, not by line.  Print error messages for matches.
48735         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48737         * Makerules [shlib-lds-flags empty]:
48738         ($(common-objpfx)libc_pic.opts): New target.
48739         ($(common-objpfx)libc_pic.os.clean): New target.
48740         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48742         * config.make.in (OBJCOPY): New variable.
48743         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48744         * configure: Regenerated.
48746         * config.make.in (use-default-link): New variable.
48747         * configure.in (use_default_link): Grok --with-default-link to set it.
48748         * configure: Regenerated.
48749         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48750         (shlib-lds, shlib-lds-flags): Define to empty.
48752         * Makerules (shlib-lds): New variable.
48753         (shlib-lds-flags): New variable.
48754         (build-shlib, build-moduile, build-module-asneeded): Use it.
48755         ($(common-objpfx)libc.so): Use $(shlib-lds).
48756         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48757         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48759         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48760         DT_FLAGS/DT_FLAGS_1 with zero flags.
48762         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48763         linker script munging.
48765 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
48767         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48768         as 128-bit value.
48769         * crypt/sha512.c (sha512_process_block): Perform total addition using
48770         128-bit if possible.
48771         (__sha512_finish_ctx): Likewise.
48772         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48773         as 64-bit value.
48774         * crypt/sha256.c (SWAP64): Define.
48775         (sha256_process_block): Perform total addition using 64-bit if
48776         possible.
48777         (__sha256_finish_ctx): Likewise.
48779 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
48781         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
48782         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48783         * nscd/hstcache.c (cache_addhst): Likewise.
48784         * nscd/grpcache.c (cache_addgr): Likewise.
48785         * nscd/aicache.c (addhstaiX): Likewise
48786         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48788 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
48790         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48791         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48792         * nscd/hstcache.c (cache_addhst): Likewise.
48793         * nscd/grpcache.c (cache_addgr): Likewise.
48794         * nscd/aicache.c (addhstaiX): Likewise
48796 2011-07-01  Andreas Schwab  <schwab@redhat.com>
48798         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48799         domain only when needed.
48801 2011-06-30  Andreas Schwab  <schwab@redhat.com>
48803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48804         is always restored.
48806 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
48808         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48809         are re-adding the entry.
48810         * nscd/servicescache.c (cache_addserv): Likewise.
48812 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
48814         * sysdeps/generic/dl-irel.h: fix protection against multiple
48815         inclusions.
48816         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48818 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
48820         [BZ #12935]
48821         * malloc/memusage.sh: Fix quoting in message.
48822         * debug/xtrace.sh: Likewise.
48824         * configure.in: Remove support for --experimental-malloc option, make
48825         it the default.
48826         * config.make.in: Likewise.
48827         * malloc/Makefile: Likewise.
48829 2011-06-27  Andreas Schwab  <schwab@redhat.com>
48831         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48832         two-byte characters.
48834 2011-06-27  Roland McGrath  <roland@hack.frob.com>
48836         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48837         AC_CACHE_CHECK invocation.
48838         * configure: Regenerated.
48840         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48842 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
48844         [BZ #12350]
48845         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
48846         bit from old_res_options.
48848         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48850         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48851         value type for setfct.
48853 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
48855         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48856         __gettimeofday instead of gettimeofday.
48858 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
48860         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48862 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
48864         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48866         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48867         info.
48869 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48872         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48873         strcpy-sse2-unaligned strncpy-sse2-unaligned
48874         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48875         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48876         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48877         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48878         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48879         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48880         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48881         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48882         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48883         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48884         (STRCPY): Support SSE2 and SSSE3 versions.
48886 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
48888         [BZ #12874]
48889         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48890         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48891         kernels which artificially limit size of requests.
48893 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48895         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48896         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48897         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48898         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48899         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48900         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48901         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48902         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48903         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48904         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48905         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48906         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48907         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48908         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48909         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48911         Enable unaligned load optimization for Intel Core i3, i5 and i7
48912         processors.
48913         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48914         Define.
48915         (index_Fast_Unaligned_Load): Define.
48916         (HAS_FAST_UNALIGNED_LOAD): Define.
48918 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
48920         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48922 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48924         [BZ #12907]
48925         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48926         until it is clear that the information is realy needed.
48927         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48929 2011-06-22  Andreas Schwab  <schwab@redhat.com>
48931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48933 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48935         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48936         /sys/devices/system/cpu/online if it is usable.
48938         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48939         reading the information from the /proc filesystem to once a second.
48941 2011-06-21  Andreas Jaeger  <aj@suse.de>
48943         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48944         NULL after inclusion of kernel headers.
48946 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
48948         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48949         calls to internal_setent.
48951         [BZ #12885]
48952         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48953         addresses using gethostbyname4_r ignore IPv4 addresses.
48955         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48956         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
48958         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48960 2011-06-20  David S. Miller  <davem@davemloft.net>
48962         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48963         inclusions.
48964         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48966         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48967         (elf_irel): Use it.
48968         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48969         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48970         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48971         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48972         * sysdeps/x86_64/dl-irel.h: Likewise.
48974         * elf/dl-runtime.c: Use elf_ifunc_invoke.
48975         * elf/dl-sym.c: Likewise.
48977 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48979         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
48980         need to dereference resplen2.
48982 2011-06-14  Andreas Schwab  <schwab@redhat.com>
48984         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48986 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48988         * Makeconfig: Define vardbdir and inst_vardbdir.
48989         * nss/Makefile: Add rules to install db-Makefile.
48991         * nss/nss_db/db-XXX.c: Cleanup.
48993         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48994         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48995         GLIBC_PRIVATE.
48996         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48997         * nss/makedb.c: Implement -g option to specify that value strings
48998         are generated and should not be added to table iterated over for
48999         get*ent calls.
49000         * nss/nss_db/db-initgroups.c: New file.
49002         * nss/getent.c: Add support for initgroups lookups through getgrouplist
49003         interface.
49005         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49006         (internal_getgrouplist): Adjust to name change.
49007         Update use_initgroups_entry if this is not the first call.
49008         * nss/databases.def: Add initgroups entry.
49010         * nss/makedb.c (compute_tables): Check result of multiple hash table
49011         sizes to minimize maximum chain length.
49013 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
49015         * Versions.def: Add entry for libnss_db.
49016         * shlib-versions: Likewise.
49017         * nss/Makefile: Add rules to build libnss_db.
49018         * nss/Versions: Add libnss_db information.  Organize libnss_files
49019         entries better.
49020         * nss/db-Makefile: Add gshadow support.  Change rules for the new
49021         makedb progra.  Some minor improvements to generate smaller files.
49022         * nss/nss_db/nss_db.h: Move NSS database header data structures to
49023         here from...
49024         * nss/makedb.c: ...here.
49025         Improve database format to be smaller and require less memory at
49026         runtime.
49027         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
49028         db anymore.
49029         * nss/nss_db/db-netgrp.c: Likewise.
49030         * nss/nss_db/db-open.c: Likewise.
49031         * nss/nss_files/flies-XXX.x: Adjust comments.
49032         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49033         * nss/nss_files/files-grp.c: Likewise.
49034         * nss/nss_files/files-hosts.c: Likewise.
49035         * nss/nss_files/files-network.c: Likewise.
49036         * nss/nss_files/files-proto.c: Likewise.
49037         * nss/nss_files/files-pwd.c: Likewise.
49038         * nss/nss_files/files-rpc.c: Likewise.
49039         * nss/nss_files/files-service.c: Likewise.
49040         * nss/nss_files/files-sgrp.c: Likewise.
49041         * nss/nss_files/files-spwd.c: Likewise.
49042         * nss/nss_db/db-alias.c: Removed.
49043         * nss/nss_db/dummy-db.h: Removed.
49045 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
49047         * nss/makedb.c: Rewritten to not use database library.
49048         * nss/Makefile: Update to build new makedb program.
49050 2011-06-14  Andreas Jaeger  <aj@suse.de>
49052         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49053         memset declaration.
49055 2011-06-10  Andreas Schwab  <schwab@redhat.com>
49057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49058         tmpbuf.
49060 2011-06-10  Roland McGrath  <roland@hack.frob.com>
49062         * Makerules (shlib.lds): Fail if the linker script comes out empty.
49063         * elf/Makefile ($(objpfx)ld.so): Likewise.
49065         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49066         Don't list ld.so twice in dependencies.
49068         * posix/bug-regex31.c: Include <stdlib.h>.
49070         * nscd/hstcache.c (cache_addhst): Remove unused variable.
49072         * nis/nss_compat/compat-spwd.c
49073         (getspent_next_nss_netgr): Remove unused variable.
49074         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49076         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49077         nonmembers" output to use the right array.
49079         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49081         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49083         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49084         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49085         * catgets/gencat.c (read_input_file): Likewise.
49086         * locale/programs/locarchive.c (enlarge_archive): Likewise.
49088         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49089         variable definition inside #if's controlling its use.
49091         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49093         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49095         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49097         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49098         unreachable code.
49100         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49102         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49103         * configure: Regenerated.
49105         * Makerules: Revert last change.
49106         * elf/Makefile: Likewise.
49108 2011-06-09  Roland McGrath  <roland@hack.frob.com>
49110         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49111         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49112         (reloc-link): Likewise.
49114 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49116         * elf/Makefile: Add rules to build pldd.
49117         * elf/pldd.c: New file.
49118         * elf/pldd-xx.c: New file.
49120 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49122         * version.h: Update for 2.15 development version.
49124 2011-06-07  David S. Miller  <davem@davemloft.net>
49126         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49127         ifuncs.
49128         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49129         elf_machine_lazy_rel): Likewise.
49130         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49131         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49132         elf_machine_lazy_rel): Likewise.
49133         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49134         dl_hwcap via passed in argument.
49135         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49136         Likewise.
49138 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49140         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49142 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49144         [BZ #12849]
49145         * manual/fdl-1.1.texi: New file, verbatim from:
49146         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49147         * manual/lgpl-2.1.texi: New file, verbatim from:
49148         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49149         * manual/Makefile (licenses): New variable, list those new file names.
49150         (texis): Use it.
49151         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49153         * manual/fdl.texi: File removed.
49154         * manual/lesser.texi: File removed.
49155         * manual/libc.texinfo (Copying, Documentation License):
49156         Use new @include file names, put @appendix directive before @include.
49158 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49160         [BZ #12841]
49161         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49162         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49163         (mq_open): Add __NTH.
49165 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49168         Assume Intel Core i3/i5/i7 processor if AVX is available.
49170 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49172         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49173         typo.
49175 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49177         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49178         memory.  Use alloca_account.  Fix memory leak when retrying.
49180 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49182         * version.h (RELEASE): Bump for 2.14 release.
49183         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49185         * config.make.in (RANLIB): Remove entry.
49187 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49189         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49190         (libc.pot): Work around missing support for .ksh extension in xgettext.
49192         [BZ #12684]
49193         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49194         if both request failed.
49195         (send_dg): In case of server errors clear resplen or *resplen2.
49197         [BZ #12454]
49198         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49199         when there are multiple maps.
49200         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49201         (_dl_fini): Remove test here.
49203         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49205 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49207         [BZ #12350]
49208         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49209         bit from old_res_options.
49210         (gaih_inet): Likewise.
49212         [BZ #11099]
49213         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49214         as signed.
49216         * resolv/res_init.c (res_setoptions): Make the code more compact.
49218         [BZ #11558]
49219         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49220         set RES_USEVC.
49222         [BZ #11634]
49223         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49225         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49227         [BZ #11781]
49228         * malloc/malloc.h: Declare malloc hook variables as volatile.
49230         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49231         in last patch.
49233         [BZ #11799]
49234         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49235         raise in the comment.
49236         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49237         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49238         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49240 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49242         [BZ #12811]
49243         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49244         grow the buffers more if it already has to be sufficient.
49245         (build_wcs_upper_buffer): Likewise.
49246         * posix/regexec.c (check_matching): Likewise.
49247         (clean_state_log_if_needed): Likewise.
49248         (extend_buffers): Don't enlarge buffers beyond size of the input
49249         buffer.
49250         Patches mostly by Emil Wojak <emil@wojak.eu>.
49251         * posix/bug-regex32.c: New file.
49252         * posix/Makefile (tests): Add bug-regex32.
49254         * locale/findlocale.c (_nl_find_locale): Return right away if
49255         _nl_explode_name failed.
49256         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49258         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49260         * debug/xtrace.sh: Unify messages.
49261         * malloc/memusage.sh: Likewise.
49263         [BZ #12813]
49264         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49265         time symbol from vDSO.  Substitute with vsyscall if not available.
49266         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49267         __vdso_time.
49269         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49270         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49271         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49272         Add sendmmsg and internal_sendmmsg.
49273         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49274         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49275         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49277         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49278         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49279         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49281 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49283         [BZ #12813]
49284         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49285         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49286         available.
49287         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49288         __vdso_getcpu.
49290         [BZ #12814]
49291         * iconvdata/Makefile (tests): Add bug-iconv9.
49292         * iconvdata/bug-iconv9.c: New file.
49294 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49296         [BZ #12814]
49297         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49299 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49301         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49302         (struct user_regs_struct): Change intcs field back to cs.
49304 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49306         * po/ja.po: Update from translation team.
49308 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49310         [BZ #12795]
49311         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49312         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49314 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49316         * stdlib/longlong.h: Update from GCC.
49318 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49320         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49321         parameter name.
49322         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49323         Add parameter name.
49324         (__sysconf): Pass it down.
49326 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
49328         [BZ #12671]
49329         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49330         some situations.
49331         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49332         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49333         add in in __libc_use_alloca calls.  Adjust callers.
49334         (glob): Use malloc in some situations.
49336         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49337         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49338         pltexit.
49340 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
49342         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49343         and CLOCK_BOOTTIME_ALARM.
49345         [BZ #12782]
49346         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49347         is returned.
49349         * string/_strerror.c (__strerror_r): Print negative errors as signed
49350         numbers.
49352         [BZ #12777]
49353         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49354         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49355         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49357         * configure.in: Fix typo in redirection and correct removal of test
49358         files in two cases.
49360         [BZ #12788]
49361         * locale/setlocale.c (new_composite_name): Fix test to check for
49362         identical name of all categories.
49364         [BZ #12792]
49365         * libio/filedoalloc.c (local_isatty): New function.
49366         (_IO_file_doallocate): Use local_isatty.
49367         * stdio-common/perror.c (perror): In case a new stream is used
49368         forward the stream error.
49369         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49370         error flag.
49372 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
49374         [BZ #11869]
49375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49376         alloca.
49377         * include/alloca.h (extend_alloca_account): Define.
49379         [BZ #11857]
49380         * posix/regex.h: Fix comments with documentation of user-accessible
49381         fields after compilation and describe correct free'ing of pattern
49382         after re_compile_pattern.
49383         Patch by Reuben Thomas <rrt@sc3d.org>.
49385 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
49387         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49388         and -mno-altivec to prevent the compiler from using Altivec and/or
49389         VSX instructions when the corresponding registers are not available.
49391 2011-05-19  Andreas Schwab  <schwab@redhat.com>
49393         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49395 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
49397         * libio/freopen.c (freopen): Use __dup2, not dup2.
49398         * libio/freopen64.c (freopen64): Likewise.
49400 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49402         [BZ #12775]
49403         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49404         * math/Makefile (tests): Add test-powl.
49405         (CFLAGS-test-powl.c): Define.
49406         * math/test-powl.c: New file.
49408 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49410         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49412 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
49414         [BZ #11837]
49415         * iconvdata/gb18030.c: Update to GB18020-2005.
49417 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
49419         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49420         RE_SYNTAX_POSIX_AWK): Update to match recent development.
49421         Patch by Aharon Robbins <arnold@skeeve.com>.
49423         [BZ #11892]
49424         * stdlib/putenv.c (putenv): Don't always create copy of the variable
49425         on the stack.
49427         [BZ #11895]
49428         * misc/pselect.c (__pselect): Handle timeout value errors hidden
49429         through underflows.
49431         [BZ #12766]
49432         * misc/error.c (error_at_line): Ensure file_name and old_file_name
49433         point to strings before performing equality test for error_one_per_line
49434         mode.
49436         [BZ #11697]
49437         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49439         [BZ #11820]
49440         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49441         (struct user_fpregs_struct): Avoid __uint*_t types.
49443         [BZ #6420]
49444         * malloc/mtrace.c (tr_where): Add additional parameter to point to
49445         symbol info.  Use it instead of calling _dl_addr locally.
49446         (lock_and_info): New function.
49447         (tr_freehook): Call lock_and_info and pass symbol info as additional
49448         parameter to tr_where.
49449         (tr_mallochook): Likewise.
49450         (tr_reallochook): Likewise.
49451         (tr_memalignhook): Likewise.
49453         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
49454         used and couldn't be at all thread-safe.
49456 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
49458         * libio/freopen.c (freopen): Don't close old file descriptor
49459         before the new one is opened.  Instead dup the new file descriptor
49460         to the old one after the new stream is created.
49461         * libio/freopen64.c (freopen64): Likewise.
49462         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49463         * libio/fileops.c (_IO_new_file_close_it): Handle new
49464         _IO_FLAGS2_NOCLOSE flag.
49465         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49466         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49467         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49468         _IO_FLAGS2_NOCLOSE flag.
49469         * include/unistd.h: Add hidden_proto for dup3.
49470         Define __have_dup3.
49471         * io/dup3.c: Define hidden symbol.
49472         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49474         [BZ #7101]
49475         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49476         when an incomplete long option is used.
49477         * posix/tst-getopt_long1.c: New file.
49478         * posix/Makefile (tests): Add tst-getopt_long1.
49480         [BZ #10138]
49481         * scripts/config.guess: Update from autoconf-2.68.
49482         * scripts/config.sub: Likewise.
49484         [BZ #10157]
49485         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49486         tests into ...
49487         (has_cpuclock): ...this.  New function.
49488         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49489         macro here based on has_cpuclock code.
49491         [BZ #10149]
49492         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49493         First byte (not low byte) is now always NUL.
49494         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49496         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49497         Use non-cancelable interfaces.
49499         [BZ #9809]
49500         * locale/iso-639.def: Add entry for Sorani.
49502         [BZ #11901]
49503         * include/stdlib.h: Move include protection to the right place.
49504         Define abort_msg_s.  Declare __abort_msg with it.
49505         * stdlib/abort.c (__abort_msg): Adjust type.
49506         * assert/assert.c (__assert_fail_base): New function.  Majority
49507         of code from __assert_fail.  Allocate memory for __abort_msg with
49508         mmap.
49509         (__assert_fail): Now call __assert_fail_base.
49510         * assert/assert-perr.c: Remove bulk of implementation.  Use
49511         __assert_fail_base.
49512         * include/assert.hL Declare __assert_fail_base.
49513         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49514         mmap.
49515         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49517 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
49519         [BZ #11952]
49520         [BZ #12453]
49521         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49522         until all modules are registered in the DTV.
49523         * elf/Makefile: Add rules to build and run tst-tls19.
49524         * elf/tst-tls19.c: New file.
49525         * elf/tst-tls19mod1.c: New file.
49526         * elf/tst-tls19mod2.c: New file.
49527         * elf/tst-tls19mod3.c: New file.
49528         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49530         [BZ #12083]
49531         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49532         correctly.
49534         [BZ #12601]
49535         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49536         two-byte sequence errors.
49537         * iconvdata/Makefile (tests): Add bug-iconv8.
49538         * iconvdata/bug-iconv8.c: New file.
49540         [BZ #12626]
49541         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49542         buf2 definition.
49544         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49546         [BZ #12432]
49547         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49548         (dummy_getcfa): New function.
49549         (init): Get _Unwind_GetCFA address, use dummy if not found.
49550         (backtrace_helper): In recursion check, also check whether CFA changes.
49551         (__backtrace): Completely initialize arg.
49553         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49554         storing incomplete byte sequence in state object.  Avoid testing for
49555         guaranteed too small input if we know there is enough data available.
49557 2011-05-11  Andreas Schwab  <schwab@redhat.com>
49559         * Makeconfig (+link-pie): Indent.
49560         * Rules (binaries-pie): Define if $(have-fpie) and
49561         $(build-shared).
49562         (binaries-shared): Also filter out $(binaries-pie).
49563         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49564         * nscd/Makefile (others-pie): Add nscd.
49565         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49566         ($(objpfx)nscd): Remove command override.
49567         * login/Makefile (others-pie): Add pt_chown.
49568         ($(objpfx)pt_chown): Remove command override.
49569         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49570         remove command overrides.
49572 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
49574         * libio/tst_putwc.c: Fix error messages.
49576         [BZ #12724]
49577         * libio/fileops.c (_IO_new_file_close_it): Always flush when
49578         currently writing and seek to current position when not.
49579         * libio/Makefile (tests): Add bug-fclose1.
49580         * libio/bug-fclose1.c: New file.
49582 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
49584         [BZ #12511]
49585         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49586         don't set DF_1_NODELETE here.
49587         (do_lookup_x): When entering new entry test for copy relocation
49588         and if necessary set DF_1_NODELETE flag.
49589         * elf/tst-unique4.cc: New file.
49590         * elf/tst-unique4.h: New file.
49591         * elf/tst-unique4lib.cc: New file.
49592         * elf/Makefile: Add rules to build and run tst-unique4.
49593         Patch by Piotr Bury <pbury@goahead.com>.
49595 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
49597         [BZ #12052]
49598         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49600         [BZ #12625]
49601         * misc/mntent_r.c (addmntent): Flush the stream after the output
49603         [BZ #12393]
49604         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49605         (is_trusted_path_normalize): Skip initial colon.  Append slash
49606         to empty buffer.  Duplicate is_trusted_path code but allow
49607         constructed patch to be prefix.
49608         (is_dst): Allow $ORIGIN followed by /.
49609         (_dl_dst_substitute): Correct clearing of check_for_trusted.
49610         Correct testing of result of is_trusted_path_normalize
49611         (decompose_rpath): Fix warning.
49613 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
49615         [BZ #11257]
49616         * grp/initgroups.c (internal_getgrouplist): When we found the service
49617         list through the initgroups entry in nsswitch.conf do not always
49618         continue on a successful lookup.  Don't always use the
49619         __nss_group_database value if it is set.
49620         * nss/nsswitch.conf (initgroups): Change action for successful db
49621         lookup to continue for compatibility.
49623 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
49625         [BZ #11532]
49626         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49627         and CP774 modules.
49628         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49629         and CP774 modules.
49630         * iconvdata/tst-tables.sh: Likewise.
49631         * iconvdata/cp770.c: New file.
49632         * iconvdata/cp771.c: New file.
49633         * iconvdata/cp772.c: New file.
49634         * iconvdata/cp773.c: New file.
49635         * iconvdata/cp774.c: New file.
49636         * iconvdata/testdata/CP770: New file.
49637         * iconvdata/testdata/CP770..UTF8: New file.
49638         * iconvdata/testdata/CP771: New file.
49639         * iconvdata/testdata/CP771..UTF8: New file.
49640         * iconvdata/testdata/CP772: New file.
49641         * iconvdata/testdata/CP772..UTF8: New file.
49642         * iconvdata/testdata/CP773: New file.
49643         * iconvdata/testdata/CP773..UTF8: New file.
49644         * iconvdata/testdata/CP774: New file.
49645         * iconvdata/testdata/CP774..UTF8: New file.
49647         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49648         END CHARMAP line.
49649         * iconvdata/gen-8bit-gap.sh: Likewise.
49650         * iconvdata/gen-8bit.sh: Likewise.
49652         * locale/iso-639.def: Add ary entry.
49654         [BZ #11258]
49655         * locale/C-translit.h.in: Add U20A1 transliteration.
49657         [BZ #12178]
49658         * locale/iso-639.def: Add wae entry.
49659         Patch by Kevin Bortis <bortis@translate-wae.ch>.
49661         [BZ #12545]
49662         * locale/programs/localedef.c (construct_output_path): Use ssize_t
49663         for n.
49665         [BZ #12711]
49666         * locale/C-translit.h.in: Add entry for U20B9.
49667         Patch by pravin.d.s@gmail.com.
49669 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
49671         [BZ #12713]
49672         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49673         ENAMETOOLONG use generic getcwd.
49674         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
49675         in rtld.  Use *stat64.
49676         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49677         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49678         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49679         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49680         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49681         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49682         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49683         __fstatat64 macros.
49684         * include/dirent.h: Add libc_hidden_proto for rewinddir.
49685         * dirent/rewinddir.c: Add libc_hidden_def.
49686         * sysdeps/mach/hurd/rewinddir.c: Likewise.
49687         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
49689         * include/dirent.h (__alloc_dir): Add flags parameter.
49690         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49691         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49692         __alloc_dir.
49693         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
49694         from fdopendir if O_CLOEXEC is already set.
49696 2011-03-15  Alan Modra  <amodra@gmail.com>
49698         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49699         l_tls_firstbyte_offset non-zero.  Save padding offset in
49700         l_tls_firstbyte_offset for later use.
49701         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49702         freeing static tls block.
49704 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
49706         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49707         where #ifdef was intended.  The intent is to prevent ARG_MAX from
49708         being defined by the kernel headers.
49710 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
49712         [BZ #12734]
49713         * resolv/resolv.h: Define RES_NOTLDQUERY.
49714         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49715         no-tld-query and set RES_NOTLDQUERY.
49716         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49717         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49718         modern BIND to search name as TLD unless forbidden.
49720 2011-05-07  Petr Baudis  <pasky@suse.cz>
49721             Ulrich Drepper  <drepper@gmail.com>
49723         [BZ #12393]
49724         * elf/dl-load.c (fillin_rpath): Move trusted path check...
49725         (is_trusted_path): ...to here.
49726         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49727         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49728         using is_trusted_path_normalize() in setuid scripts.
49730 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49732         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49733         __BEGIN/__END_DECLS.
49735 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
49737         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49738         NSS_STATUS_NOTFOUND if no record was found.
49740 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49742         * sunrpc/Makefile (headers): Add rpc/netdb.h.
49743         (headers-not-in-tirpc): Remove rpc/netdb.h
49744         * resolv/netdb.h: Revert last change.
49746 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49748         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49749         circular dependency between libgcc.a and libc.a.
49751 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49753         * resolv/netdb.h: Don't include <rpc/netdb.h>.
49754         * nis/Makefile: Don't install rpcsvc/*.
49755         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49756         instead of <rpc/types.h>.
49757         (MAXHOSTNAMELEN): Define.
49759 2011-05-03  Andreas Schwab  <schwab@redhat.com>
49761         * elf/ldconfig.c (add_dir): Don't crash on empty path.
49763 2011-04-28  Maciej Babinski  <mbabinski@google.com>
49765         [BZ #12714]
49766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49767         gethostbyname4_r when IPv6 results are possible.
49769 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
49771         [BZ #12723]
49772         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49773         _PC_PIPE_BUF handling.
49775 2011-04-30  Bruno Haible  <bruno@clisp.org>
49777         [BZ #12717]
49778         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49779         * resolv/netdb.h (getnameinfo): Change type of flags parameter
49780         to 'int'.
49781         * inet/getnameinfo.c (getnameinfo): Likewise.
49783 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
49785         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49786         to groups setting in database lookup.
49787         * nss/nsswitch.conf: Add initgroups entry.
49789 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
49791         [BZ #12685]
49792         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49793         mode string.
49794         Patch by Eric Blake <eblake@redhat.com>.
49796 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
49798         * sunrpc/Makefile (need-export-routines): Add svc_run.
49799         (routines): Remove svc_run.
49800         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49801         * sunrpc/clnt_perr.c (clnt_perrno): Export.
49802         * sunrpc/svc_run.c (svc_run): Likewise.
49803         * sunrpc/svc_udp.c (svcudp_create): Likewise.
49805 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
49807         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49808         problem in reallocation in last patch.
49810 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
49812         * sunrpc/Makefile: Move inclusion of Rules.
49814 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49816         * nss/nss_files/files-initgroups.c: New file.
49817         * nss/Makefile (libnss_files-routines): Add files-initgroups.
49818         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49819         _nss_files_initgroups_dyn.
49821 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
49823         * elf/elf.h (R_ARM_IRELATIVE): Define.
49825 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49827         * po/ru.po: Update from translation team.
49829 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49831         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49832         dependencies.
49834 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
49836         [BZ #12653]
49837         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49838         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49839         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49840         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49841         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49843 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
49845         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49846         differing bytes.
49847         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49848         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49849         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49851 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49853         [BZ #12420]
49854         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49855         storing it.
49856         * stdlib/bug-getcontext.c: New file.
49857         * stdlib/Makefile: Add rules to build and run bug-getcontext.
49859 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49861         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49862         instructions into .machine "z9-109".
49863         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49864         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49866 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49868         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49869         between environment variables and auxiliary vector.
49871 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
49873         * Makefile: Add rules to build linkobj/libc.so.
49874         * include/libc-symbols.h: Define libc_hidden_nolink.
49875         * include/rpc/auth.h: Mark functions which are to be hidden.
49876         * include/rpc/auth_des.h: Likewise.
49877         * include/rpc/auth_unix.h: Likewise.
49878         * include/rpc/clnt.h: Likewise.
49879         * include/rpc/des_crypt.h: Likewise.
49880         * include/rpc/key_prot.h: Likewise.
49881         * include/rpc/pmap_clnt.h: Likewise.
49882         * include/rpc/pmap_prot.h: Likewise.
49883         * include/rpc/pmap_rmt.h: Likewise.
49884         * include/rpc/rpc_msg.h: Likewise.
49885         * include/rpc/svc.h: Likewise.
49886         * include/rpc/svc_auth.h: Likewise.
49887         * include/rpc/xdr.h: Likewise.
49888         * nis/Makefile: Link all DSOs against linkobj/libc.so.
49889         * nss/Makefile: Likewise.
49890         * sunrpc/Makefile: Don't install headers.  Build library with normal
49891         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
49892         * sunrpc/auth_des.c: Hide exported symbols by default, export some
49893         for the compat linking library.  Remove use of INTDEF/INTUSE.
49894         * sunrpc/auth_none.c: Likewise.
49895         * sunrpc/auth_unix.c: Likewise.
49896         * sunrpc/authdes_prot.c: Likewise.
49897         * sunrpc/authuxprot.c: Likewise.
49898         * sunrpc/clnt_gen.c: Likewise.
49899         * sunrpc/clnt_perr.c: Likewise.
49900         * sunrpc/clnt_raw.c: Likewise.
49901         * sunrpc/clnt_simp.c: Likewise.
49902         * sunrpc/clnt_tcp.c: Likewise.
49903         * sunrpc/clnt_udp.c: Likewise.
49904         * sunrpc/clnt_unix.c: Likewise.
49905         * sunrpc/des_crypt.c: Likewise.
49906         * sunrpc/des_soft.c: Likewise.
49907         * sunrpc/get_myaddr.c: Likewise.
49908         * sunrpc/key_call.c: Likewise.
49909         * sunrpc/key_prot.c: Likewise.
49910         * sunrpc/netname.c: Likewise.
49911         * sunrpc/pm_getmaps.c: Likewise.
49912         * sunrpc/pm_getport.c: Likewise.
49913         * sunrpc/pmap_clnt.c: Likewise.
49914         * sunrpc/pmap_prot.c: Likewise.
49915         * sunrpc/pmap_prot2.c: Likewise.
49916         * sunrpc/pmap_rmt.c: Likewise.
49917         * sunrpc/publickey.c: Likewise.
49918         * sunrpc/rpc_cmsg.c: Likewise.
49919         * sunrpc/rpc_common.c: Likewise.
49920         * sunrpc/rpc_dtable.c: Likewise.
49921         * sunrpc/rpc_prot.c: Likewise.
49922         * sunrpc/rpc_thread.c: Likewise.
49923         * sunrpc/rtime.c: Likewise.
49924         * sunrpc/svc.c: Likewise.
49925         * sunrpc/svc_auth.c: Likewise.
49926         * sunrpc/svc_authux.c: Likewise.
49927         * sunrpc/svc_raw.c: Likewise.
49928         * sunrpc/svc_run.c: Likewise.
49929         * sunrpc/svc_simple.c: Likewise.
49930         * sunrpc/svc_tcp.c: Likewise.
49931         * sunrpc/svc_udp.c: Likewise.
49932         * sunrpc/svc_unix.c: Likewise.
49933         * sunrpc/svcauth_des.c: Likewise.
49934         * sunrpc/xcrypt.c: Likewise.
49935         * sunrpc/xdr.c: Likewise.
49936         * sunrpc/xdr_array.c: Likewise.
49937         * sunrpc/xdr_float.c: Likewise.
49938         * sunrpc/xdr_intXX_t.c: Likewise.
49939         * sunrpc/xdr_mem.c: Likewise.
49940         * sunrpc/xdr_rec.c: Likewise.
49941         * sunrpc/xdr_ref.c: Likewise.
49942         * sunrpc/xdr_sizeof.c: Likewise.
49943         * sunrpc/xdr_stdio.c: Likewise.
49945 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
49947         [BZ #12650]
49948         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49949         * sysdeps/ia64/dl-tls.h: Likewise.
49950         * sysdeps/powerpc/dl-tls.h: Likewise.
49951         * sysdeps/s390/dl-tls.h: Likewise.
49952         * sysdeps/sh/dl-tls.h: Likewise.
49953         * sysdeps/sparc/dl-tls.h: Likewise.
49954         * sysdeps/x86_64/dl-tls.h: Likewise.
49955         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49957 2011-03-14  Andreas Schwab  <schwab@redhat.com>
49959         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49960         rpath element also skip the following colon.
49961         (expand_dynamic_string_token): Add is_path parameter and pass
49962         down to DL_DST_REQUIRED and _dl_dst_substitute.
49963         (decompose_rpath): Call expand_dynamic_string_token with
49964         non-zero is_path.  Ignore empty rpaths.
49965         (_dl_map_object_from_fd): Call expand_dynamic_string_token
49966         with zero is_path.
49968 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
49970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49971         Make cancelable.
49973 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
49975         [BZ #12655]
49976         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49977         Patch by Filipe David Manana <fdmanana@apache.org>.
49979 2011-04-07  Andreas Schwab  <schwab@redhat.com>
49981         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49982         Maintain aligned stack.
49983         (CHECK_RSP): Remove unused macro.
49985 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
49987         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49988         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49990 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
49992         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49994         * include/features.h: Mention __USE_XOPEN2K8 in comment.
49996 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
49998         [BZ #12518]
49999         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50000         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50001         * sysdeps/x86_64/memmove.c: New file.
50002         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50003         (memcpy): Renamed to ...
50004         (__new_memcpy): This.
50005         (memcpy): Provide GLIBC_2_14 memcpy.
50006         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50007         (memcpy): Provide GLIBC_2_2_5 memcpy.
50009 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50011         [BZ #12631]
50012         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50014 2011-03-30  Andreas Schwab  <schwab@redhat.com>
50016         * misc/syncfs.c: New file.
50017         * misc/Makefile (routines): Add syncfs.
50018         * posix/unistd.h: Declare syncfs.
50019         * sysdeps/unix/syscalls.list: Add syncfs.
50021 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50023         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50024         open_by_handle_at.
50025         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50026         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50027         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50028         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50030         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50031         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50033 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50035         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50036         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50037         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50038         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50039         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50040         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50041         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50043         * io/Makefile: Compile fallocate.c, fallocate64.c, and
50044         sync_file_range.c with -fexceptions.
50045         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50046         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50047         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50048         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50049         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50050         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50051         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50052         sync_file_range as cancellation point
50053         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
50054         now a wrapper around __call_sync_file_range with cancellation handling.
50055         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50056         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
50057         function name to __call_sync_file_range.
50058         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50059         Add call_sync_file_range.
50061 2011-04-01  Andreas Schwab  <schwab@redhat.com>
50063         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50064         bits/timex.h.
50066 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
50068         * iconv/iconv.h: Fix typo in comment.
50069         * io/fcntl.h: Likewise.
50070         * libio/stdio.h: Likewise.
50071         * posix/spawn.h: Likewise.
50072         * posix/unistd.h: Likewise.
50073         * stdlib/stdlib.h: Likewise.
50074         * time/time.h: Likewise.
50075         * wcsmbs/wchar.h: Likewise.
50077         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50078         open_by_handle): Add.
50079         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50080         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
50081         Augment a few comments.
50082         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50083         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50084         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50086         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50087         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50088         open_by_handle.
50090         * io/fcntl.h (AT_EMPTY_PATH): Define.
50092 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
50094         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50095         * sysdeps/unix/sysv/linux/bits/time.h: New file.
50096         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50097         to...
50098         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
50099         * Versions.def: Add GLIBC_2.14.
50100         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50101         Export.
50103 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
50105         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50106         round counter.
50107         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50109 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50111         [BZ #12597]
50112         * string/test-strncmp.c (do_page_test): New function.
50113         (check2): Likewise.
50114         (test_main): Call check2.
50115         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50117 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50119         [BZ #12587]
50120         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50121         Handle cache information in CPU leaf 4.
50122         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50124 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50126         [BZ #12583]
50127         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50128         character representation.
50129         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50131 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50133         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50134         END(__isnan) to END(__isnanf) to match function entry point/label
50135         EALIGN(__isnanf,...).
50137 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50139         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50141 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50143         [BZ #12510]
50144         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50145         copy from the symbol referenced in the relocation to initialize the
50146         used variable.
50147         Patch by Piotr Bury <pbury@goahead.com>.
50148         * elf/Makefile: Add rules to build and tst-unique3.
50149         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50150         * elf/tst-unique3.cc: New file.
50151         * elf/tst-unique3.h: New file.
50152         * elf/tst-unique3lib.cc: New file.
50153         * elf/tst-unique3lib2.cc: New file.
50155         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50157 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50159         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50160         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50161         to _start.
50163 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50165         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50166         to-be-loaded object along a path to loader is ld.so.
50168 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50169             Ulrich Drepper  <drepper@gmail.com>
50171         * sysdeps/x86_64/memset.S: After aligning destination, code
50172         branches to different locations depending on the value of
50173         misalignment, when multiarch is enabled. Fix this.
50175 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50177         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50178         Set _x86_64_preferred_memory_instruction for AMD processsors.
50179         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50180         Set bit_Prefer_SSE_for_memop for AMD processors.
50182 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50184         * libio/fmemopen.c (fmemopen): Optimize a bit.
50186 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50188         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50190 2011-03-03  Roland McGrath  <roland@redhat.com>
50192         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50194 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50196         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50197         __bzero_ultra1 instead of __memset_ultra1.
50199 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50200             Ulrich Drepper  <drepper@gmail.com>
50202         [BZ #12509]
50203         * include/link.h (struct link_map): Add l_orig_initfini.
50204         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50205         returning unsuccessfully.
50206         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50207         close of a file loaded at startup, restore the original l_initfini
50208         list.
50209         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50210         list, store the pointer.
50211         * elf/Makefile ($(objpfx)noload-mem): New rule.
50212         (noload-ENV): Define.
50213         (tests): Add $(objpfx)noload-mem.
50214         * elf/noload.c: Include <memcheck.h>.
50215         (main): Call mtrace.  Close all opened handles.
50217 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50219         [BZ #12454]
50220         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50221         dependencies are missing.
50223 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50225         Fix __if_freereq crash: Unlike the generic version which uses free,
50226         Hurd needs munmap.
50227         * sysdeps/mach/hurd/ifreq.h: New file.
50229 2011-01-27  Petr Baudis  <pasky@suse.cz>
50230             Ulrich Drepper  <drepper@gmail.com>
50232         [BZ 12445]#
50233         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50234         to extend_alloca().
50235         * stdio-common/bug23.c: New file.
50236         * stdio-common/Makefile (tests): Add bug23.
50238 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50239             Ulrich Drepper  <drepper@gmail.com>
50241         [BZ #12489]
50242         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50243         before performing relro protection.  At old place add assertion
50244         to make sure nothing changed.
50246 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50247             Glauber de Oliveira Costa  <glommer@gmail.com>
50249         * elf/elf.h: Add new ARM TLS relocs.
50251 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50254         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50255         cast from r3.
50256         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50257         'tests' variable.
50258         * sysdeps/wordsize-64/tst-writev.c: New file.
50260 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50262         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50263         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50264         insns in _dl_start to prevent a TOC reference before relocs are
50265         resolved.
50267 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50269         [BZ #12469]
50270         * Makeconfig: Remove RANLIB definition.
50271         * Makerules: Don't use RANLIB.
50272         * aclocal.m4: Remove ranlib test.
50273         * configure.in: No need to check for ranlib.
50274         * elf/rtld-Rules: Don't use RANLIB.
50276 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50278         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50279         protection macro.
50280         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50281         inclusion protection macro.
50283         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50284         SIGRTMIN and SIGRTMAX and print information in that case only when
50285         SIGRTMIN is defined.
50287 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50289         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50290         arginfo fn returning -1.
50292         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50293         and thousands string is zero terminated.
50295 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50298         sysdeps/unix/sysv/linux/bits/socket.h.
50300 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50302         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50303         (__CPU_COUNT): Remove old macros.
50304         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50305         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50306         (__CPU_ALLOC, __CPU_FREE): Add macros.
50307         (__sched_cpualloc, __sched_cpufree): Add declarations.
50309 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50311         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50312         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50313         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50314         (readdhstai): Return value of addhstaiX call.
50315         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50316         (addgrbyX): Return value returned by cache_addgr.
50317         (readdgrbyname): Return value returned by addgrbyX.
50318         (readdgrbygid): Likewise.
50319         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50320         (addpwbyX): Return value returned by cache_addpw.
50321         (readdpwbyname): Return value returned by addhstbyX.
50322         (readdpwbyuid): Likewise.
50323         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50324         (addservbyX): Return value returned by cache_addserv.
50325         (readdservbyname): Return value returned by addservbyX:
50326         (readdservbyport): Likewise.
50327         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50328         (addhstbyX): Return value returned by cache_addhst.
50329         (readdhstbyname): Return value returned by addhstbyX.
50330         (readdhstbyaddr): Likewise.
50331         (readdhstbynamev6): Likewise.
50332         (readdhstbyaddrv6): Likewise.
50333         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50334         (readdinitgroups): Return value returned by addinitgroupsX.
50335         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50336         (prune_cache): Keep track of timeout value of re-added entries.
50337         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50338         * nscd/nscd.h: Adjust prototypes of readd* functions.
50340 2011-02-04  Roland McGrath  <roland@redhat.com>
50342         * nis/nis_server.c (nis_servstate): Use the right name for 0.
50343         (nis_stats): Likewise.
50344         * nis/nis_modify.c (nis_modify): Likewise.
50345         * nis/nis_remove.c (nis_remove): Likewise.
50346         * nis/nis_add.c (nis_add): Likewise.
50348         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50350         * posix/fnmatch_loop.c: Add some consts.
50352         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50354 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
50356         [BZ #12460]
50357         * config.make.in (config-cflags-novzeroupper): Define.
50358         * configure.in: Substitute libc_cv_cc_novzeroupper.
50359         * elf/Makefile (AVX-CFLAGS): Define.
50360         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50361         (CFLAGS-tst-auditmod4a.c): Likewise.
50362         (CFLAGS-tst-auditmod4b.c): Likewise.
50363         (CFLAGS-tst-auditmod6b.c): Likewise.
50364         (CFLAGS-tst-auditmod6c.c): Likewise.
50365         (CFLAGS-tst-auditmod7b.c): Likewise.
50366         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50368 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
50370         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50371         function to the callback.
50372         Patch partly by Jiri Olsa <jolsa@redhat.com>.
50374 2011-02-02  Andreas Schwab  <schwab@redhat.com>
50376         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50377         of errno.
50379 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
50381         [BZ #11724]
50382         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50383         of constructors.
50384         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50385         of destructors.
50386         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50388         [BZ #11724]
50389         * elf/Makefile: Add rules to build and run new test.
50390         * elf/tst-initorder.c: New file.
50391         * elf/tst-initorder.exp: New file.
50392         * elf/tst-initordera1.c: New file.
50393         * elf/tst-initordera2.c: New file.
50394         * elf/tst-initordera3.c: New file.
50395         * elf/tst-initordera4.c: New file.
50396         * elf/tst-initorderb1.c: New file.
50397         * elf/tst-initorderb2.c: New file.
50398         * elf/tst-order-a1.c: New file.
50399         * elf/tst-order-a2.c: New file.
50400         * elf/tst-order-a3.c: New file.
50401         * elf/tst-order-a4.c: New file.
50402         * elf/tst-order-b1.c: New file.
50403         * elf/tst-order-b2.c: New file.
50404         * elf/tst-order-main.c: New file.
50405         New test case by George Gensure <werkt0@gmail.com>.
50407 2010-10-01  Andreas Schwab  <schwab@redhat.com>
50409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50410         decoding ACE if AI_CANONIDN.
50412 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
50414         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50416 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
50418         * version.h (RELEASE): Bump for 2.13 release.
50419         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50421         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50423         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50424         MADV_NOHUGEPAGE.
50425         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50426         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50427         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50428         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50429         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50430         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50432         * posix/getconf.c: Update copyright year.
50433         * catgets/gencat.c: Likewise.
50434         * csu/version.c: Likewise.
50435         * debug/catchsegv.sh: Likewise.
50436         * debug/xtrace.sh: Likewise.
50437         * elf/ldconfig.c: Likewise.
50438         * elf/ldd.bash.in: Likewise.
50439         * elf/sprof.c (print_version): Likewise.
50440         * iconv/iconv_prog.c: Likewise.
50441         * iconv/iconvconfig.c: Likewise.
50442         * locale/programs/locale.c: Likewise.
50443         * locale/programs/localedef.c: Likewise.
50444         * malloc/memusage.sh: Likewise.
50445         * malloc/mtrace.pl: Likewise.
50446         * nscd/nscd.c (print_version): Likewise.
50447         * nss/getent.c: Likewise.
50449         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50450         PF_CAIF, and PF_ALG.
50451         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50453 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
50455         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50456         (modules-names): Use them.
50457         (ifunc-test-modules, ifunc-pie-tests): Define.
50458         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50459         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50460         (test-extras): Likewise.
50461         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50462         $(compile-command.c).
50463         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50464         (all-built-dso): Define.
50465         (check-textrel.out, check-execstack.out): Depend on it.
50467         * configure.in: Don't override --enable-multi-arch.
50469 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
50471         [BZ #6812]
50472         * nscd/hstcache.c (tryagain): Define.
50473         (cache_addhst): Return tryagain not notfound for temporary errors.
50474         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50475         failed.
50477 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
50479         [BZ #10563]
50480         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50481         to make the syscall.
50482         * sysdeps/unix/sysv/linux/setgroups.c: New file.
50484         [BZ #12378]
50485         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50486         and fall back to matching as normal character if the string ends before
50487         the matching ']' is found.  This is what POSIX requires.
50488         * posix/testfnm.c: Adjust test result.
50489         * posix/globtest.sh: Adjust test result.  Add new test.
50490         * posix/tst-fnmatch.input: Likewise.
50491         * posix/tst-fnmatch2.c: Add new test.
50493 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
50495         * elf/Makefile (check-execstack): Revert last change.  Depend on
50496         check-execstack.h.
50497         (check-execstack.h): New target.
50498         (generated): Add check-execstack.h.
50499         * elf/check-execstack.c: Include "check-execstack.h".
50500         (main): Revert last change.
50501         (handle_file): Return zero if GNU_STACK is absent and
50502         DEFAULT_STACK_PERMS doesn't include PF_X.
50504 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
50506         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50507         in child fails because the descriptor is already closed.
50508         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50509         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50510         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50512         [BZ #12397]
50513         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50514         syscall.
50516         [BZ #10484]
50517         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50518         temporary buffer used to handle multi lookups locally.
50519         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50521 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50523         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50524         loader is ld.so.
50526 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
50528         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50529         alignment for SSE2.
50531 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50533         [BZ #12394]
50534         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50535         characters.  When rounding increased number of integer digits recompute
50536         number of groups.
50537         * stdio-common/tst-grouping.c: New file.
50538         * stdio-common/Makefile: Add rules to build and run tst-grouping.
50540 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
50542         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50543         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
50545         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50546         void.
50547         * bits/select.h: Likewise.
50549 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
50551         * po/ja.po: Update from translation team.
50553 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
50555         [BZ #11155]
50556         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50557         implementation just like for lxstat, fxstatat, et al.
50559 2010-12-27  Jim Meyering  <meyering@redhat.com>
50561         [BZ #12348]
50562         * posix/regexec.c (build_trtable): Return failure indication upon
50563         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
50565 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
50567         [BZ #12201]
50568         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50569         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50570         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50571         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50573         [BZ #12207]
50574         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50576         [BZ #12204]
50577         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50578         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50580 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
50582         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50583         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50584         script has SORT_BY_INIT_PRIORITY.
50585         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50586         NO_CTORS_DTORS_SECTIONS is defined.
50587         * elf/soinit.c: Likewise.
50588         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50589         NO_CTORS_DTORS_SECTIONS is defined.
50590         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50591         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50592         * sysdeps/sh/init-first.c: Likewise.
50593         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50595 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
50597         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50598         always use the slow path.
50600 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
50602         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50603         similar rule which adds the sysdep directories to the header search in
50604         order to pick up the correct platform stackinfo.h.
50605         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50606         perform test if it is, otherwise return successfully without testing.
50607         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50608         DEFAULT_STACK_PERMS define in stackinfo.h.
50609         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50610         defined in stackinfo.h.
50611         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50612         DEFAULT_STACK_PERMS defined in stackinfo.h.
50613         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50614         * sysdeps/ia64/stackinfo.h: Likewise.
50615         * sysdeps/s390/stackinfo.h: Likewise.
50616         * sysdeps/sh/stackinfo.h: Likewise.
50617         * sysdeps/sparc/stackinfo.h: Likewise.
50618         * sysdeps/x86_64/stackinfo.h: Likewise.
50619         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50620         PF_X for powerpc64.  Retain PF_X for powerpc32.
50622 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
50624         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50625         accurately.
50626         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50627         GETDENTS_64BIT_ALIGNED.
50629 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
50631         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50633 2010-12-10  Andreas Schwab  <schwab@redhat.com>
50635         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50636         _GNU_SOURCE.
50638         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50639         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50640         Remove __restrict.
50641         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50642         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50644 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
50646         [BZ #11655]
50647         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50648         are initialized.
50650 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
50652         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50654 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
50656         * po/it.po: Update from translation team.
50658 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
50660         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50661         unused codes.
50663 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
50665         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50667 2010-11-24  Andreas Schwab  <schwab@redhat.com>
50669         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50670         specially.
50671         (gaih_getanswer_slice): Likewise.
50673 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
50675         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50677 2010-05-31  Petr Baudis  <pasky@suse.cz>
50679         [BZ #11149]
50680         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50681         silently even in the chroot mode.
50683 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
50685         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50686         last patch a bit.  Pretty printing
50688 2010-05-31  Petr Baudis <pasky@suse.cz>
50690         [BZ #10085]
50691         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50692         initialization of skip_initgroups_dyn.
50694 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
50696         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50697         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50699 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
50701         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50703 2010-11-11  Andreas Schwab  <schwab@redhat.com>
50705         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50706         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50707         (tst-fnmatch-ENV): Set MALLOC_TRACE.
50708         ($(objpfx)tst-fnmatch-mem): New rule.
50709         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50710         * posix/tst-fnmatch.c (main): Call mtrace.
50712 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
50714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50715         Support Intel processor model 6 and model 0x2c.
50717 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
50719         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50720           signed comparison.
50722 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
50724         [BZ #12205]
50725         * string/test-strncasecmp.c (check_result): New function.
50726         (do_one_test): Use it.
50727         (check1): New function.
50728         (test_main): Use it.
50729         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50730         Support strcasecmp and strncasecmp.
50732 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
50734         [BZ #12194]
50735         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50736         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50738 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50740         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50741         IFUNC support.
50742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50743         memset-x86-64.
50744         * sysdeps/x86_64/multiarch/bzero.S: New file.
50745         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50746         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50747         * sysdeps/x86_64/multiarch/memset.S: New file.
50748         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50750         Set bit_Prefer_SSE_for_memop for Intel processors.
50751         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50752         Define.
50753         (index_Prefer_SSE_for_memop): Define.
50754         (HAS_PREFER_SSE_FOR_MEMOP): Define.
50756 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
50758         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50759         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50761 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
50763         [BZ #12191]
50764         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50765         (__x86_64_raw_data_cache_size_half): Likewise.
50766         (__x86_64_raw_shared_cache_size): Likewise.
50767         (__x86_64_raw_shared_cache_size_half): Likewise.
50769         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50770         (__x86_64_raw_data_cache_size_half): Likewise.
50771         (__x86_64_raw_shared_cache_size): Likewise.
50772         (__x86_64_raw_shared_cache_size_half): Likewise.
50773         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50774         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50775         and __x86_64_raw_shared_cache_size_half.  Round
50776         __x86_64_data_cache_size_half, __x86_64_data_cache_size
50777         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50778         to multiple of 256 bytes.
50780 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
50782         [BZ #12167]
50783         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50784         of inacessible symlinks.  Verify result of symlink before returning it.
50785         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50786         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50788 2010-10-28  Erich Ritz  <erichritz@gmail.com>
50790         * math/math.h (isinf): Fix typo in comment.
50792 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
50794         * po/da.po: Update from translation team.
50796 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
50798         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50799         is added to the list.
50801 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50802             Ulrich Drepper  <drepper@gmail.com>
50804         * elf/dl-object.c (_dl_new_object): Don't append the new object to
50805         the global list here.  Move code to...
50806         (_dl_add_to_namespace_list): ...here.  New function.
50807         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50808         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50809         * elf/dl-load.c (lose): Don't remove the element from the list.
50810         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50811         (_dl_map_object): Likewise.
50813 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
50815         [BZ #12159]
50816         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50817         into all bytes of SSE register.
50818         Patch by Richard Li <richardpku@gmail.com>.
50820 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
50822         [BZ #12140]
50823         * malloc/malloc.c (_int_free): Fill correct number of bytes when
50824         perturbing.
50826 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
50828         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50829         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50830         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50831         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50833         submachine.
50834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50836 2010-10-22  Andreas Schwab  <schwab@redhat.com>
50838         * include/dlfcn.h (__RTLD_SECURE): Define.
50839         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
50840         mode & __RTLD_SECURE instead.
50841         (open_path): Rename preloaded parameter to secure.
50842         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50843         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50844         * elf/dl-deps.c (openaux): Likewise.
50845         * elf/rtld.c (struct map_args): Remove is_preloaded.
50846         (map_doit): Don't use it.
50847         (dl_main): Likewise.
50848         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50849         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50851 2010-09-09  Andreas Schwab  <schwab@redhat.com>
50853         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50854         (sysd-rules-targets): Remove duplicates.
50855         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50856         rtld-%.$o dependency.
50858 2010-10-18  Andreas Schwab  <schwab@redhat.com>
50860         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50861         _dl_map_object do it.
50863 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
50865         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50866         fast fma builtins, define the macros in the C99 standard.
50867         (FP_FAST_FMAF): Likewise.
50868         (FP_FAST_FMAL): Likewise.
50869         * sysdeps/x86_64/bits/mathdef.h: Likewise.
50871         * bits/mathdef.h: Update copyright year.
50872         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50874 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
50876         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50877         builtins, define the macros in the C99 standard.
50878         (FP_FAST_FMAF): Likewise.
50879         (FP_FAST_FMAL): Likewise.
50880         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50881         multiply/add.
50882         (FP_FAST_FMAF): Likewise.
50884 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
50886         [BZ #3268]
50887         * math/libm-test.inc (fma_test): Some new testcases.
50888         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50889         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50890         y and infinite z.  Do multiplication by C already in long double.
50891         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50893         y and infinite z.  Do bitwise or of inexact bit into u.d.
50894         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50895         * sysdeps/i386/fpu/s_fmaf.S: Removed.
50896         * sysdeps/i386/fpu/s_fma.S: Removed.
50897         * sysdeps/i386/fpu/s_fmal.S: Removed.
50899 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
50901         [BZ #3268]
50902         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50903         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50904         computation is not scheduled after fetestexcept.  Fix value
50905         of minimum denormal long double.
50907 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
50909         [BZ #3268]
50910         * math/libm-test.inc (fma_test): Add some more tests.
50911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50912         correctly.
50914 2010-10-15  Andreas Schwab  <schwab@redhat.com>
50916         * scripts/data/localplt-s390-linux-gnu.data: New file.
50917         * scripts/data/localplt-s390x-linux-gnu.data: New file.
50919 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
50921         [BZ #3268]
50922         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50923         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50924         instead of dbl-64.
50925         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50926         inlines.
50927         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50929         if one of x and y is very large and the other is subnormal.
50930         * sysdeps/s390/fpu/s_fmaf.c: New file.
50931         * sysdeps/s390/fpu/s_fma.c: New file.
50932         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50933         * sysdeps/powerpc/fpu/s_fma.S: New file.
50934         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50935         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50936         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50938 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
50940         [BZ #3268]
50941         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50942         fma tests.
50943         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50944         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50945         * sysdeps/i386/i686/multiarch/s_fma.c: Include
50946         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50947         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50948         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50949         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50951 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
50953         [BZ #12078]
50954         * posix/regcomp.c (parse_branch): One more memory leak plugged.
50955         * posix/bug-regex31.input: Add test case.
50957 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50959         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50960         * posix/bug-regex31.input: New file.
50962         [BZ #12078]
50963         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50964         (parse_sub_exp): Fix last change, use postorder.
50966         * posix/bug-regex31.c: New file.
50967         * posix/Makefile: Add rules to build and run bug-regex31.
50969         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50971         [BZ #12078]
50972         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50974         [BZ #12108]
50975         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50976         to have entries in sys_siglist.
50978         [BZ #12093]
50979         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50980         be NULL.
50982 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
50984         [BZ #3268]
50985         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50986         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50987         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50988         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50989         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50990         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50991         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50992         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50993         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50994         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50995         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50996         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50997         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50998         * math/ftestexcept.c (fetestexcept): Likewise.
50999         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51000         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51001         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51002         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51003         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51004         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51005         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51007 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
51009         [BZ #12107]
51010         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51011         newline.
51013 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
51015         * string/bug-strstr1.c: New file.
51016         * string/Makefile: Add rules to build and run bug-strstr1.
51018 2010-10-05  Eric Blake  <eblake@redhat.com>
51020         [BZ #12092]
51021         * string/str-two-way.h (two_way_long_needle): Always clear memory
51022         when skipping input due to the shift table.
51024 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
51026         [BZ #12005]
51027         * malloc/mcheck.c: Handle large requests.
51029         [BZ #12077]
51030         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51031         for strncmp and strncasecmp.
51032         * string/stratcliff.c: Add tests for strcmp and strncmp.
51033         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51035 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51037         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51038         __set_fpscr.
51040 2010-09-30  Andreas Jaeger  <aj@suse.de>
51042         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51043         (CGROUP_SUPER_MAGIC): Define.
51044         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51045         Handle btrfs and cgroup file systems.
51046         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51047         Likewise.
51049 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
51051         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51052         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51054 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51056         [BZ #12067]
51057         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51058         trying to locate the ELF header.
51060 2010-09-27  Andreas Schwab  <schwab@redhat.com>
51062         [BZ #11611]
51063         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51064         Mask out sign-bit copies when constructing f_fsid.
51066 2010-09-24  Petr Baudis <pasky@suse.cz>
51068         * debug/stack_chk_fail_local.c: Add missing licence exception.
51069         * debug/warning-nop.c: Likewise.
51071 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
51073         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51074         implementing getdents64 using getdents syscall, set d_type if
51075         __ASSUME_GETDENTS32_D_TYPE.
51077 2010-09-16  Andreas Schwab  <schwab@redhat.com>
51079         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51080         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51082 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
51084         [BZ #12037]
51085         * posix/unistd.h: Undo change of feature selection for ftruncate from
51086         2010-01-11.
51088 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
51090         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51091         detection.
51093 2010-09-20  Andreas Schwab  <schwab@redhat.com>
51095         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51096         fanotify_mark.
51097         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51099 2010-09-14  Andreas Schwab  <schwab@redhat.com>
51101         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51102         variables after CHECK_SP call.
51103         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51105 2010-09-13  Andreas Schwab  <schwab@redhat.com>
51106             Ulrich Drepper  <drepper@redhat.com>
51108         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51109         re-relocationg ld.so.
51110         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51111         _dl_init_paths call.
51112         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51113         here anymore.
51115 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51117         * resolv/res_init.c (__res_vinit): Count the default server we added.
51119 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51120             Ulrich Drepper  <drepper@redhat.com>
51122         [BZ #11968]
51123         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51124         (____longjmp_chk): Use %ebx for saving value across system call.
51125         Add unwind info.
51127 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51129         * manual/Makefile: Don't mix pattern rules with normal rules.
51131 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51133         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51134         operation.
51135         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51136         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51137         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51138         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51140         Likewise.
51142 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51144         [BZ #11979]
51145         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51146         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51148 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51150         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51151         * sysdeps/x86_64/addmul_1.S: Likewise.
51152         * sysdeps/x86_64/lshift.S: Likewise.
51153         * sysdeps/x86_64/mul_1.S: Likewise.
51154         * sysdeps/x86_64/rshift.S: Likewise.
51155         * sysdeps/x86_64/sub_n.S: Likewise.
51156         * sysdeps/x86_64/submul_1.S: Likewise.
51158 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51160         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51161         Define __sched_param instead of SCHED_* and sched_param when
51162         <bits/sched.h> is included with __need_schedparam defined.
51163         * bits/sched.h [__need_schedparam]
51164         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51165         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51166         (__defined_schedparam): Define to 1.
51167         (__sched_param): New structure, identical to sched_param.
51168         (__need_schedparam): Undefine.
51170 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51172         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51173         (epoll_create1): Declare.
51175         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51177 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51179         [BZ #7066]
51180         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51181         shifting retval into place.
51183 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51185         * nis/rpcsvc/nis.h: Update copyright notice.
51186         * nis/rpcsvc/nis.x: Likewise.
51187         * nis/rpcsvc/nis_callback.h: Likewise.
51188         * nis/rpcsvc/nis_callback.x: Likewise.
51189         * nis/rpcsvc/nis_object.x: Likewise.
51190         * nis/rpcsvc/nis_tags.h: Likewise.
51191         * nis/rpcsvc/yp.h: Likewise.
51192         * nis/rpcsvc/yp.x: Likewise.
51193         * nis/rpcsvc/ypupd.h: Likewise.
51194         * nis/yp_xdr.c: Likewise.
51195         * nis/ypupdate_xdr.c: Likewise.
51197         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51198         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51199         (pmap_getport): Use __libc_rpc_getport.
51200         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51201         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51202         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51204 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51207         fanotify_mark.
51209 2010-08-27  Roland McGrath  <roland@redhat.com>
51211         * sysdeps/i386/i686/multiarch/Makefile
51212         (CFLAGS-varshift.c): New variable.
51214 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51216         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51217         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51219         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51221         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51223 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51225         * sysdeps/x86_64/strlen.S: Unroll the loop.
51226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51227         strlen-sse2 strlen-sse2-bsf.
51228         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51229         __strlen_no_bsf if bit_Slow_BSF is set.
51230         (__strlen_sse42): Removed.
51231         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51232         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51234 2010-08-25  Roland McGrath  <roland@redhat.com>
51236         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51237         * sysdeps/x86_64/multiarch/varshift.c: New file.
51238         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51239         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51240         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51241         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51243 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51245         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51246         strlen-sse2 strlen-sse2-bsf.
51247         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51248         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51249         (__strlen_sse2): Removed.
51250         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51251         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51253         bit_Slow_BSF for Atom.
51254         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51255         (index_Slow_BSF): Define.
51256         (HAS_SLOW_BSF): Define.
51258 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51260         [BZ #10851]
51261         * resolv/res_init.c (__res_vinit): When no server address at all
51262         is given default to loopback.
51264 2010-08-24  Roland McGrath  <roland@redhat.com>
51266         * configure.in: Remove config-name.h generation.
51267         * configure: Regenerated.
51268         * config-name.in: File removed.
51269         * scripts/config-uname.sh: New file.
51270         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51271         ($(objdir)config-name.h): New target.
51273         * sunrpc/rpc_parse.h: Avoid nested comment.
51275 2010-08-24  Richard Henderson  <rth@redhat.com>
51276             Ulrich Drepper  <drepper@redhat.com>
51277             H.J. Lu  <hongjiu.lu@intel.com>
51279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51281         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51282         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51283         _mm_alignr_epi8 with _mm_loadu_si128.
51284         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51285         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51286         (__m128i_shift_right): Removed.
51287         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51288         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51289         * sysdeps/x86_64/multiarch/varshift.h: New file.
51290         * sysdeps/x86_64/multiarch/varshift.S: New file.
51292 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51294         * configure.in: Move assembler checks to before sysdep dir checking.
51296 2010-08-20  Petr Baudis  <pasky@suse.cz>
51298         * LICENSES: Sync the sunrpc license.
51300 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51302         * sunrpc/auth_des.c: Update copyright notice once again.
51303         * sunrpc/auth_none.c: Likewise.
51304         * sunrpc/auth_unix.c: Likewise.
51305         * sunrpc/authdes_prot.c: Likewise.
51306         * sunrpc/authuxprot.c: Likewise.
51307         * sunrpc/bindrsvprt.c: Likewise.
51308         * sunrpc/clnt_gen.c: Likewise.
51309         * sunrpc/clnt_perr.c: Likewise.
51310         * sunrpc/clnt_raw.c: Likewise.
51311         * sunrpc/clnt_simp.c: Likewise.
51312         * sunrpc/clnt_tcp.c: Likewise.
51313         * sunrpc/clnt_udp.c: Likewise.
51314         * sunrpc/clnt_unix.c: Likewise.
51315         * sunrpc/des_crypt.c: Likewise.
51316         * sunrpc/des_soft.c: Likewise.
51317         * sunrpc/get_myaddr.c: Likewise.
51318         * sunrpc/getrpcport.c: Likewise.
51319         * sunrpc/key_call.c: Likewise.
51320         * sunrpc/key_prot.c: Likewise.
51321         * sunrpc/openchild.c: Likewise.
51322         * sunrpc/pm_getmaps.c: Likewise.
51323         * sunrpc/pm_getport.c: Likewise.
51324         * sunrpc/pmap_clnt.c: Likewise.
51325         * sunrpc/pmap_prot.c: Likewise.
51326         * sunrpc/pmap_prot2.c: Likewise.
51327         * sunrpc/pmap_rmt.c: Likewise.
51328         * sunrpc/rpc/auth.h: Likewise.
51329         * sunrpc/rpc/auth_unix.h: Likewise.
51330         * sunrpc/rpc/clnt.h: Likewise.
51331         * sunrpc/rpc/des_crypt.h: Likewise.
51332         * sunrpc/rpc/key_prot.h: Likewise.
51333         * sunrpc/rpc/netdb.h: Likewise.
51334         * sunrpc/rpc/pmap_clnt.h: Likewise.
51335         * sunrpc/rpc/pmap_prot.h: Likewise.
51336         * sunrpc/rpc/pmap_rmt.h: Likewise.
51337         * sunrpc/rpc/rpc.h: Likewise.
51338         * sunrpc/rpc/rpc_des.h: Likewise.
51339         * sunrpc/rpc/rpc_msg.h: Likewise.
51340         * sunrpc/rpc/svc.h: Likewise.
51341         * sunrpc/rpc/svc_auth.h: Likewise.
51342         * sunrpc/rpc/types.h: Likewise.
51343         * sunrpc/rpc/xdr.h: Likewise.
51344         * sunrpc/rpc_clntout.c: Likewise.
51345         * sunrpc/rpc_cmsg.c: Likewise.
51346         * sunrpc/rpc_common.c: Likewise.
51347         * sunrpc/rpc_cout.c: Likewise.
51348         * sunrpc/rpc_dtable.c: Likewise.
51349         * sunrpc/rpc_hout.c: Likewise.
51350         * sunrpc/rpc_main.c: Likewise.
51351         * sunrpc/rpc_parse.c: Likewise.
51352         * sunrpc/rpc_parse.h: Likewise.
51353         * sunrpc/rpc_prot.c: Likewise.
51354         * sunrpc/rpc_sample.c: Likewise.
51355         * sunrpc/rpc_scan.c: Likewise.
51356         * sunrpc/rpc_scan.h: Likewise.
51357         * sunrpc/rpc_svcout.c: Likewise.
51358         * sunrpc/rpc_tblout.c: Likewise.
51359         * sunrpc/rpc_util.c: Likewise.
51360         * sunrpc/rpc_util.h: Likewise.
51361         * sunrpc/rpcinfo.c: Likewise.
51362         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51363         * sunrpc/rpcsvc/key_prot.x: Likewise.
51364         * sunrpc/rpcsvc/klm_prot.x: Likewise.
51365         * sunrpc/rpcsvc/mount.x: Likewise.
51366         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51367         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51368         * sunrpc/rpcsvc/rex.x: Likewise.
51369         * sunrpc/rpcsvc/rstat.x: Likewise.
51370         * sunrpc/rpcsvc/rusers.x: Likewise.
51371         * sunrpc/rpcsvc/sm_inter.x: Likewise.
51372         * sunrpc/rpcsvc/spray.x: Likewise.
51373         * sunrpc/rpcsvc/yppasswd.x: Likewise.
51374         * sunrpc/rtime.c: Likewise.
51375         * sunrpc/svc.c: Likewise.
51376         * sunrpc/svc_auth.c: Likewise.
51377         * sunrpc/svc_authux.c: Likewise.
51378         * sunrpc/svc_raw.c: Likewise.
51379         * sunrpc/svc_run.c: Likewise.
51380         * sunrpc/svc_simple.c: Likewise.
51381         * sunrpc/svc_tcp.c: Likewise.
51382         * sunrpc/svc_udp.c: Likewise.
51383         * sunrpc/svc_unix.c: Likewise.
51384         * sunrpc/svcauth_des.c: Likewise.
51385         * sunrpc/xcrypt.c: Likewise.
51386         * sunrpc/xdr.c: Likewise.
51387         * sunrpc/xdr_array.c: Likewise.
51388         * sunrpc/xdr_float.c: Likewise.
51389         * sunrpc/xdr_mem.c: Likewise.
51390         * sunrpc/xdr_rec.c: Likewise.
51391         * sunrpc/xdr_ref.c: Likewise.
51392         * sunrpc/xdr_sizeof.c: Likewise.
51393         * sunrpc/xdr_stdio.c: Likewise.
51395         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51396         handling.
51398 2010-08-19  Andreas Schwab  <schwab@redhat.com>
51400         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51402 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
51404         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51405         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51406         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51407         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51408         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51409         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51410         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51411         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51412         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51413         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51414         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51415         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51416         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51417         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51419 2010-07-26  Anton Blanchard  <anton@samba.org>
51421         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51422         * malloc/arena.c (heap_trim): Likewise.
51424 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
51426         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51427         here.  Not...
51428         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51429         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51431 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
51433         * sysdeps/i386/elf/Makefile: New file.
51435 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51437         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51438         from fanotify_init.
51439         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51440         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51442 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
51444         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51445         of strncasecmp_l.
51446         * sysdeps/multiarch/strcmp.S: Likewise.
51448 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
51450         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51451         strncase_l-nonascii.
51452         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51453         Add strncase_l-ssse3.
51454         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51455         * sysdeps/x86_64/strcmp.S: Likewise.
51456         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51457         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51458         * sysdeps/x86_64/strncase.S: New file.
51459         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51460         * sysdeps/x86_64/strncase_l.S: New file.
51461         * string/Makefile (strop-tests): Add strncasecmp.
51462         * string/test-strncasecmp.c: New file.
51464         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51465         warning.
51467         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51468         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51470 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51472         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51474 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
51476         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51477         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51478         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51480 2010-05-01  Alan Modra  <amodra@gmail.com>
51482         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51483         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51484         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51485         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51486         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51487         tidying.  Don't tail-call __sigjmp_save for static lib.
51488         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51489         save location.
51490         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51491         (CALL_MCOUNT): Add eh info, and nop after bl.
51492         (TAIL_CALL_SYSCALL_ERROR): New macro.
51493         (PSEUDO_RET): Use it.
51494         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51495         Correct save location of integer regs and cr.
51496         (_dl_profile_resolve): Correct cr save location.  Delete nops
51497         after bl when SHARED.  Reduce cfi size a little by better
51498         placement of cfi directives.
51499         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51500         make a stack frame.  Instead use parm save area as a temp.
51501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51502         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
51503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51504         Don't make a stack frame for parent, use parm save area.
51505         Increase child stack frame to 112 bytes.  Don't save unused reg,
51506         and adjust reg usage.  Set up cfi on error recovery and
51507         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51509         (__makecontext): Add dummy nop after jump to exit.
51510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51511         Use correct parm save area and cr save, reduce stack frame.
51512         Correct cfi for possible PSEUDO_RET frame setup.
51513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51514         Branch to local label emitted by PSEUDO_RET rather than
51515         __syscall_error.
51517 2010-08-12  Andreas Schwab  <schwab@redhat.com>
51519         [BZ #11904]
51520         * locale/programs/locale.c (print_assignment): New function.
51521         (show_locale_vars): Use it.
51523 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
51525         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51526         field.
51527         (struct statfs64): Likewise.
51528         (_STATFS_F_FLAGS): Define.
51529         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51530         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51531         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51532         (ST_VALID): Define locally.
51533         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51534         __statvfs_getflags, use the provided value.
51535         * sysdeps/unix/sysv/linux/kernel-features.h: Define
51536         __ASSUME_STATFS_F_FLAGS.
51538         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51540         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51541         Add sys/fanotify.h.
51542         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51543         fanotify_mask for GLIBC_2.13.
51544         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51545         fanotify_init and fanotify_mark.
51546         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51547         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51549         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51550         Add prlimit.
51551         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51552         prlimit64 for GLIBC_2.13.
51553         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51554         prlimit64.
51555         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51556         syscall.
51557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51558         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51559         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51560         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51561         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
51562         add prlimit alias.
51563         * sysdeps/unix/sysv/linux/prlimit.c: New file.
51565         [BZ #11903]
51566         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51567         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51569         * nss/Makefile: Add rules to build and run tst-nss-test1.
51570         * shlib-versions: Add entry for libnss_test1.
51571         * nss/nss_test1.c: New file.
51572         * nss/tst-nss-test1.c: New file.
51574         * nss/nsswitch.c (__nss_database_custom): Define new variable.
51575         (__nss_configure_lookup): Set appropriate entry in
51576         __nss_configure_lookup to true.
51577         * nss/nsswitch.h: Define enum with indeces of databases in
51578         databases and __nss_database_custom arrays.  Declare
51579         __nss_database_custom.
51580         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51581         to avoid using nscd when custom rules are installed.
51582         * nss/getXXbyYY_r.c: Likewise.
51583         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51585         * nss/nss_files/files-parse.c: Whitespace fixes.
51587 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
51589         [BZ #11883]
51590         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51591         * posix/fnmatch_loop.c: Likewise.
51593 2010-07-17  Andi Kleen  <ak@linux.intel.com>
51595         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51596         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51597         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51598         * Versions.def [GLIBC_2.13]: Add.
51600 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
51602         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51603         Also fail if tpwd after pwuid call is NULL.
51605 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51607         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51608         when converting to ms.
51610 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51612         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51613         EOPNOTSUPP errors with ENOTTY.
51614         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51615         EOPNOTSUPP errors with ENOTTY.
51617 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
51619         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51620         Add strcasecmp_l-ssse3.
51621         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51622         strcasecmp.
51623         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51624         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51625         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51627 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
51629         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51631         * string/Makefile (strop-tests): Add strcasecmp.
51632         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51633         strcasecmp_l-nonascii.
51634         (gen-as-const-headers): Add locale-defines.sym.
51635         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51636         * sysdeps/x86_64/strcasecmp.S: New file.
51637         * sysdeps/x86_64/strcasecmp_l.S: New file.
51638         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51639         * sysdeps/x86_64/locale-defines.sym: New file.
51640         * string/test-strcasecmp.c: New file.
51642         * string/test-strcasestr.c: Test both ends of the range of characters.
51643         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51645 2010-07-29  Roland McGrath  <roland@redhat.com>
51647         [BZ #11856]
51648         * manual/locale.texi (Yes-or-No Questions): Fix example code.
51650 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
51652         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51653         for ld.so.
51655 2010-07-27  Andreas Schwab  <schwab@redhat.com>
51657         * manual/memory.texi (Malloc Tunable Parameters): Document
51658         M_PERTURB.
51660 2010-07-26  Roland McGrath  <roland@redhat.com>
51662         [BZ #11840]
51663         * configure.in (-fgnu89-inline check): Set and substitute
51664         gnu89_inline, not libc_cv_gnu89_inline.
51665         * configure: Regenerated.
51666         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51668 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
51670         * string/test-strnlen.c: New file.
51671         * string/Makefile (strop-tests): Add strnlen.
51672         * string/tester.c (test_strnlen): Add a few more test cases.
51673         * string/tst-strlen.c: Better error reporting.
51675         * sysdeps/x86_64/strnlen.S: New file.
51677 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
51679         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51680         lower-latency instructions.
51682 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
51684         * string/test-strcasestr.c: New file.
51685         * string/test-strstr.c: New file.
51686         * string/Makefile (strop-tests): Add strstr and strcasestr.
51687         * string/str-two-way.h: Don't undefine MAX.
51688         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51690 2010-07-21  Andreas Schwab  <schwab@redhat.com>
51692         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51693         strcasestr-nonascii.
51694         (CFLAGS-strcasestr-nonascii.c): Define.
51695         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51696         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51697         Remove unused attribute.
51699 2010-07-20  Roland McGrath  <roland@redhat.com>
51701         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51702         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
51703         ld.so.cache was broken.  With it, there is no way to disable dsocaps
51704         like LD_HWCAP_MASK can disable hwcaps.
51706 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51708         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51710 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
51712         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51713         call in strcasestr.
51714         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51715         __strcasestr_sse42_nonascii.
51716         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51717         strcasestr-nonascii.c.
51718         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51720 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
51722         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51723         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51724         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51725         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51727 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
51729         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51730         fcntl.
51732 2010-07-06  Andreas Schwab  <schwab@redhat.com>
51734         [BZ #11577]
51735         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51736         dl_signal_cerror.
51738 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
51740         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51741         _PC_PIPE_BUF using F_GETPIPE_SZ.
51743 2010-07-05  Roland McGrath  <roland@redhat.com>
51745         * manual/arith.texi (Rounding Functions): Fix rint description
51746         implicit in round description.
51748 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
51750         * elf/Makefile: Fix linking for a few tests to make recent linker
51751         happy.
51753 2010-06-30  Andreas Schwab  <schwab@redhat.com>
51755         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51756         $(common-objpfx)libc_nonshared.a.
51758 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
51760         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51761         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51762         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51763         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51764         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51765         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51766         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51767         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51782         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51783         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51784         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51785         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51786         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51787         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51788         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51789         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51790         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51791         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51792         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51793         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51809 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
51811         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51812         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
51813         * string/memmove.c (memmove): Renamed to ...
51814         (MEMMOVE): ...this.  Default to memmove.
51815         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51816         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51817         (END_CHK): Define.
51818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51819         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51820         mempcpy-ssse3-back memmove-ssse3-back.
51821         * sysdeps/x86_64/multiarch/bcopy.S: New file .
51822         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51823         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51824         * sysdeps/x86_64/multiarch/memcpy.S: New file.
51825         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51826         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51827         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51828         * sysdeps/x86_64/multiarch/memmove.c: New file.
51829         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51830         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51831         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51832         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51833         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51834         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51835         Define.
51836         (index_Fast_Copy_Backward): Define.
51837         (HAS_ARCH_FEATURE): Define.
51838         (HAS_FAST_REP_STRING): Define.
51839         (HAS_FAST_COPY_BACKWARD): Define.
51841 2010-06-21  Andreas Schwab  <schwab@redhat.com>
51843         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51844         Restore proper fallback handling.
51846 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
51848         [BZ #11701]
51849         * posix/group_member.c (__group_member): Correct checking loop.
51851         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51852         OOM in getpwuid_r correctly.  Return error number when the caller
51853         should return, otherwise -1.
51854         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51855         call returning > 0 value.
51856         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51858 2010-06-07  Andreas Schwab  <schwab@redhat.com>
51860         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51861         libc_nonshared.a from targets in modules-names.
51863 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
51865         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51866         requires it.
51868 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
51870         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51871         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51872         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51873         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51875 2010-06-02  Andreas Schwab  <schwab@redhat.com>
51877         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51879 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
51881         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51882         and F_GETPIPE_SZ.
51883         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51884         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51885         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51886         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51887         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51888         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51890 2010-06-14  Roland McGrath  <roland@redhat.com>
51892         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51894 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
51896         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51897         __REDIRECT followed by __THROW.
51898         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51899         * posix/getopt.h (getopt): Likewise.
51901 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51903         * hurd/lookup-at.c (__file_name_lookup_at): Accept
51904         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
51905         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51906         in AT_FLAGS.
51907         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51908         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51910 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
51912         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51914 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
51916         [BZ #11640]
51917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51918         Properly check family and model.
51920 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
51922         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51924 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
51926         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51928 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
51930         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51931         symbol reference.
51933 2010-05-19  Andreas Schwab  <schwab@redhat.com>
51935         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51936         symbol reference.
51938 2010-05-21  Andreas Schwab  <schwab@redhat.com>
51940         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51941         and internal_recvmmsg.
51942         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51943         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51944         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51945         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51947         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51948         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51949         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51951 2010-05-20  Andreas Schwab  <schwab@redhat.com>
51953         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51955 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
51957         POWER7 optimizations.
51958         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51959         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51961 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
51963         * version.h: Update for 2.13 development version.
51965 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
51967         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51968         exceptions.  Return 0.
51970 2010-05-07  Roland McGrath  <roland@redhat.com>
51972         * elf/ldconfig.c (main): Add a const.
51974 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
51976         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51977         (args_options): Add no-idn option.
51978         (ahosts_keys_int): Add idn_flags to ai_flags.
51979         (parse_option): Handle 'i' option to clear idn_flags.
51981         * malloc/malloc.c (_int_free): Possible race in the most recently
51982         added check.  Only act on the data if no current modification
51983         happened.
51985 See ChangeLog.17 for earlier changes.